Jean-Marc Lasgouttes wrote:

>>>>>> "Dekel" == Dekel Tsur <[EMAIL PROTECTED]> writes:
> 
> Dekel> Is there any objection to change the line LATEX=latex in
> Dekel> lyxpreview2bitmap.sh to LATEX=elatex ?
> 
> Dekel> I want this change as latex with Hebrew requires using
> elatex. Dekel> As far as I know, there are no side effects when
> elatex is Dekel> used.
> 
> ... except when elatex is not installed at the site.
> 
> I know I have a crappy installation here, but I think that there are
> other persons that choose not to build these formats for whetever
> reason.
> 
> Actually, what we need is a way for lyxpreview2bitmap.sh to pick up
> the latex->dvi converter setting, but I am not sure how.
> 
> JMarc

If we assume that all 'proper' systems will have a lyxrc.defaults file
that can be found by lyxpreview2bitmap.sh, could we not use this:

sed -n '/^\\converter *latex *dvi/p' ../lyxrc.defaults | cut -d'"' -f 2`

Here is gives
latex $$i

-- 
Angus

Reply via email to