On Tuesday 04 March 2003 3:07 pm, Jean-Marc Lasgouttes wrote:
> >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> Angus> Ummmmm. The script currently requires 'latex', 'dvips' and
> Angus> 'gs'. I don't think that LyX should know too much about the
> Angus> details of how the conversion is performed. F.ex., some people
> Angus> might decide to try out the dvipng that is being developed by
> Angus> the preview-latex people.
>
> Sure, but people should not have to configure latex in a lot of
> different places... Could your script start from the dvi+log instead
> of .tex?

I think that this just makes life more complicated. There must be a better 
way.

> Angus> We could get lib/configure to generate a file lyxpreviewrc that
> Angus> contains: LATEX=latex DVIPS=dvips GS=gs and run this script
> Angus> from within lyxpreview2bitmap.sh to tell it about these
> Angus> definitions. I see that the RedHat init scripts do something
> Angus> similar and it works well for those.
>
> I think it is too complicated for its own good. However, having the
> programs set in variables at the top of the script would be a good
> start.

Next thought. reLyX is generated from reLyX.in for exactly the reasons you 
describe. Should we do the same for this script too?

Reply via email to