Stefan Kostner wrote:
This means that the filenames of the eps files can be extremely long
causing tools like dvips to crash with either segfault or
for instance "dvips: ! out of string space".

Looks like a fundamental limitation. We don't add characters to the path, just replace them. If your path has more than PATH_MAX characters, you've
lucked out.

So, why not using other filenames. Since those files are only of temporary nature they could just be numberd, or a combination of numbers and the real filename (without the full path), or only a relative paths...?


My (not very convenient) workaround at the moment is to copy the
directory containing the project to the root of the filesystem for
conversion.

I am using lyx 1.3.5 on MacOSX and the fink tetex installation.

Then you are in luck, I think. Isn't MacOSX a unix OS? That means it
supports symbolic links So from your document directory:

$ ln -s /long/and/complex/path/to/image/directory images


Unfortunately this does not help.
Even if we use a symbolic link, the filename of the eps file that is being generated for the latex run contains all characters of the full absolute path. Any symbolic link is resolved for that operation. So, the actual limitation is that all the images used in a lyx project are not allowed to have a long pathname.

regards,
Stefan

Reply via email to