>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
Georg> Angus Leeming wrote: >> Incidentally, Georg, we received a report some time back that LyX >> was unable to compile latex files containing references to cyrillic >> file names. The solution is to use MakeLatexName, so: out << >> "\includegraphics{" << MakeLatexName(relative_file) << "}"; >> >> As you're looking at this stuff, could you just shove them in? Georg> Certainly, but I don't really understand what MakeLatexName() Georg> is good for. At least the comments in filetools.h and Georg> filetools.C differ, and I don't understand why active latex Georg> characters are allowed for the path but not for the filename. It is supposed to do the right thing for latex :) An approach could be to use it in your code (as logical markup), and then try to fix the function if it does not do the right thing :) I think that the part that changes the 8bit characters is not needed any more on modern tex installations. It would be nice to try it out. In any case, all the parts of the code should agree on the names that are used. JMarc