Hi again Umbraticus,

Sorry for spamming you today.  But I wanted to let you know your
command works and I had made a typo implementing it.
>
> This solution has acme load up the dvi file to edit.  I want to
> display the image rendered by page, but after it has been passed
> through dvips.  So either
>
> plumb start window kertex/dvips $wdir/$0 '|' page
>
> or
>
> plumb start window kertex/dvips $wdir/$0 '|' page -w
>
> or
>
> plumb start window kertex/dvips $wdir/$0 '|' plumb -id image
>
> have this work for me.  The first one opens a small window, rather
> than the full page that is loaded once I have converted the file to a
> postscript file.  This can be adjusted to the full window rendering
> with the use of page -w, but I can see the initial window that dvips
> loaded in the background.  The plumb -id image solution loads up the
> initial window, runs dvips and then resizes the window with the output
> from the repiping.  Not too sure which solution is the ideal one, but
> it's currently working with the pipe to plumb -id.  I'm probably not
> explaining myself well enough.  I ideally want the result from
> running.
>
> kertex/dvips <filename.dvi> | page -w
>
> which I think I should get running 'plumb start rc -c 'kertex/dvips
> '$wdir'/'$0' | page -w', but for some reason it doesn't work. :(

The final plumb command became,

data     matches '([a-zA-Z¡-�0-9_\-.,/]+)\.(dvi|DVI)'
arg isfile $0
plumb start rc -c 'kertex/dvips -q '$wdir'/'$0' | page -w'

My only addition to what you suggested was to run dvips with -q to
suppress the stdout output.  Thanks for the help today.

Take care,

Chris

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tce7385fe52c532d6-M89d36b357efea549a8b62c02
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to