Georg Baum wrote:
Am Dienstag, 17. Februar 2004 10:46 schrieb Helge Hafting:

I've had one problem that forced me to not use temp dirs:

Latex code (in ERT or in the preamble or in the preamble/textstyles
of a custom document layout) may use \input, \includegraphics, or
some other command that opens a user-provided file from the working

directory


or from some subdirectory thereof.


You can always do something in ERT that makes latex choke if you want to.
Yes, and I don't believe in supporting any crazy latex construct, or even
all the convenient ones.  I can rewrite when there is a working way.
It is impossible to prevent this, but of course your point below is an example for something sensible that should be doable.


The real-life example: I wrote a textbook on algorithms, using a custom

layout.


One of the paragraph types was "tip", which included an image of a little
lightbulb in the margin.  This was fetched from a subdirectory "graphichs"
under the working directory.  There where several other iamges in that
directory too, such as a chapter-page graphic.


The attached example works for me with both 1.3cvs and 1.4cvs and using a temp dir.

It works for me too. This happened a year ago, and I remembered wrong. /includegraphichs seems fine.

So I opened up one of those files trying to see what happens with a temp dir.
The first thing that broke was the xfig external inset.  The .fig
is converted into a .pstex_t and a .eps, the .pstex_t file was not
found although it was created in the document directory.

I also use the listings package in order to include nice document listings
from source files. There seems to be trouble with that too.

Do you need a test document with these problems?


Helge Hafting




Reply via email to