Georg Baum wrote: > Angus Leeming wrote: >> Georg, I'm not going to be near the lyx sources for a few days, so >> can't apply this. (Maybe someone else will?) However, I remember >> that several Buffer member functions were not const simply because >> of the existence/use of this nasty variable. I wonder if they can >> now be made const? > > Do you mean makexxxFile()? They are not const because they reset the > texrow. I cannot imagine any other member function, because > niceFile() was only used in makexxxFile().
It used to be used in lots and lots of places, before the runparams struct got a copy of it. Anyway, not to worry. >> As for your relative/absolute path discussion: sounds good to me. >> However, the man who wrote the code (and indeed who knows latex's >> ins and outs far better than me) is Herbert. Maybe drop him a line >> and ask him why the code is the way it is? > > His answer was that it had nothing to do with LaTeX but with tmpdir > vs. nontmpdir setting. My conclusion: If LyX guarantees that the > paths are correct it does not matter wether they are relative or > not. > > Unless somebody comes up with reasons why this is not possible, I'll > prepare a patch that makes relative paths when appropriate. Great! -- Angus