On Wed, Oct 23, 2002 at 07:42:16PM +0200, Dekel Tsur wrote:

> > I could define two convertors .tex -> dvi_p, .dvi_p ->.dvi, but how
> > would I get this to work properly when the post filter is not found ?
> 
> You could define the .dvi_p->.dvi converter as a script that look likes
>  if filter exists
>     filter <infile> <outfile>
>  else
>     mv <infile> <outfile>

Or I could detect this in configure, no ? and define the dvip -> dvi as
"mv in out" if not found.

> Also, you need to define the .tex -> dvi_p converter as a script:
>   latex <infile>
>   Rename <basename>.dvi <basename>.dvi_p

Mmmm, true. Darn.

> Another option, if the filter does not take a lot of processing power, is to
> just change the latex->dvi converter to
>   latex <infile>
>   if filter existsfilter exists
>      filter <outfile> tempfile
>      mv tempfile <outfile>

I think that'd be best option

thanks
john

-- 
"This is playing, not work, therefore it's not a waste of time."
        - Zath

Reply via email to