Michael Gerz wrote: > Hi all, > > I encountered a regression with LyX 1.4.0 on Windows using MikTeX (the bug > probably occurs on Linux as well). > > LyX 1.3 truncates long graphics file names, whereas LyX 1.4 does not. > Unfortunately, pdflatex (from MikTeX) does not accept file names like > > 1C__Dokumente_und_Einstellungen_ms_Eigene_Dateien_Publikationen_Veröffentlichungen_Work_in_Progress_AnotherDir_ThisIsTheNameOfMyFile.pdf > Any solution (forward port from 1.3?) is highly appreciated!
A forward port will not happen, because the 1.3 design is broken. The only thing we could do is to not encode the full path name in the temporary file. This would be fairly easy to do (in FileName::mangledFilename). In fact, there is already code to truncate the name to 160 characters. If you could tell us the limit of pdflatex we can adjust this value. Georg