Am Mittwoch, 7. Januar 2004 10:39 schrieb Jean-Marc Lasgouttes:
> >>>>> "John" == John Levon <[EMAIL PROTECTED]> writes:
> 
> John> On Tue, Jan 06, 2004 at 05:03:16PM +0100, Jean-Marc Lasgouttes
> John> wrote:
> >> If you want to export to dvi and have an eps image, I seem to
> >> remember that the dvi will contain an hardcoded reference to a file
> >> that does not exist: http://bugzilla.lyx.org/show_bug.cgi?id=1244

Is there anything else that may not work if the tmp dir is always used?

> Yes. It would be great if someone could take the time to think about
> all these issue and get the big picture. The current converter stuff
> needs a redesign, IMO. It may be that LyX needs to keep trace of files
> it generates (with checksums). But how can it know what files are
> generated? 

The converter could keep a list.

> Georg, if you feel like venturing this territory, you will be very
> welcome. I thought once or twice about writing a text on how the
> converter really works and how it should work, but this never
> happened obviously.

I will try what happens if I remove the tmp dir choice (only the checkbox, 
not the path setting) and use it always. I imagine that this simplifies the 
code, and after that I might be able to understand it better.
Keeping track of the generated files is important also for performance. I do 
this currently with a converter shell script that only converts the file if 
it was modified and returns a cached copy from a hidden directory 
otherwise. Without this trick some of my lecture notes would take about 10 
minutes to convert to ps, since they contain a lot of figures (some of them 
bitmapped).


Georg


Reply via email to