Hi Georg,

pdflatex works now. I had to truncate the filenames to 140 characters. Please see attachment.

Could you please commit? I have no svn access.

Michael


----- Original Message ----- From: "Georg Baum" <[EMAIL PROTECTED]>
To: <lyx-devel@lists.lyx.org>
Sent: Wednesday, March 15, 2006 1:51 PM
Subject: Re: LyX 1.4.0 does not truncate long file names


Michael Gerz wrote:

I found the piece of code below in support/filename.C. I think there is
something wrong with the logic. If dir.size() already exceeds 160
character then LyX will not truncate the filename at all! I guess this is
the case in my case.

You are right. Angus introduced the truncation because of YAP, therefore the
dir name had to be included in the maximum length. We did not know at that
time that pdflatex has a limitation, too. Does the attached patch fix the
problem?


Georg

Attachment: miktexpdflatex.patch
Description: Binary data

Reply via email to