Hello all,
I am trying to implement a rule that will display dvi files in plumber. There are currently two rules that cover dvi files. Neither will allow for rendered displaying via a mouse 3 click in acme. This does work for ps and pdf files, so I would like to change it to allow for dvi's as well. My thought is to pass this through a pipe from dvips to page. I have built and installed kertex thanks to Thierry Laronde. In a terminal all I have to call is kertex/dvips <filename.dvi> | page. Unfortunately the logic escapes me on how to do this properly with the plumber.
I have the following blocks that pertain to the implementation of pdf / ps viewing.
type is text
data matches '[a-zA-Z¡-�0-9_\-.,/]+'
data matches '([a-zA-Z¡-�0-9_\-.,/]+)\.(ps|PS|eps|EPS|pdf|PDF|dvi|DVI|doc|DOC|epub|EPUB|cb[tz]|CB[TZ])'
arg isfile $0
plumb to postscript
plumb start page -w $file
type is text
data matches '[a-zA-Z¡-�0-9_\-.,/]+'
data matches '([a-zA-Z¡-�0-9_\-.,/]+)\.(ps|PS|eps|EPS|pdf|PDF|dvi|DVI|doc|DOC|epub|EPUB|cb[tz]|CB[TZ])'
arg isfile $0
plumb to postscript
plumb start page -w $file
dst is image
plumb to image
plumb client page -wi
dst is postscript
arg isfile $data
plumb start page -w $data
These were the settings set by the system. I have hacked around with them, but can't seem to get a solution and I am sadly not versed enough with plumb(6). Does anyone have a hint or idea on how I might accomplish my goal? Reading man plumb pages as I await a reply.
Thanks in advance,
Chris Gorman