Uwe Stöhr wrote:
Angus Leeming wrote:
LyXWin 1.3.6 version 21 doesn't install. I get the error
message:
LyXTextClassList::Read: unable to find textclass file `'. Exiting.
Oh, for [EMAIL PROTECTED]'s sake!
Thanks for the report. Now have you any idea why not?
Not yet. I need more time to find the bug.
Anyway, if the problem lies in ghostscript then perhaps the solution
is to use a more modern version. The fact that yap crashed on Paul
(and on you) and not on me suggests that my version of ghostscript is
better in this regard than yours. (I'm using a fairly recent AFPL
gs.)
I use the actual version ghostscript 8.51 and see the crash.
To test it, I attached a lyx-file with an eps with a long file name.
When you open it with LyX you can see that convert.exe fails to convert
the image. (LyX's debug maode shows that the problem is ghostscript)
regards Uwe
Just to clarify things a bit: the (approximately) 220 character limit I
think I found in yap applies not to the path/filename but to the
argument string to the specials command. That argument string includes
the literal "PSFile=", the path/filename, bounding box information and
assorted spaces and quotation marks. IIRC, the path/filename itself
accounted for somewhat over half the string. So the likelihood of
encountering it in practice may be greater than it would appear at first
blush.
Is this problem unique to 1.3.6? Someone mentioned relative paths in
1.4. Assuming plausible lengths for file names, will that cure the
problem? I agree that recommending C:\Temp as the temp directory
mitigates the problem in 1.3.6.
-- Paul