Georg Baum wrote: > Am Donnerstag, 1. Juli 2004 17:52 schrieb Juergen Spitzmueller: >> Thanks. Attached is your proposed solution for 1.3 (Jean-Marc?). Of > course, >> you'd need to add 'realwidemarginsa4':'widemarginsa4' to lyx2lyx then. > > Oh, I almost forgot that. I think I have a better solution: Don't modify > the file format at all, but detect the empty paperpackage argument when > reading the .lyx file. This has the advantage that even files created > width 1.3.4 or older and the PACKAGE_WIDEMARGINSA4 setting can be read > correctly, and the setting will not vanish if a document is edited with > 1.3.4. The attached patch for 1.3 does that, but I have no time to test > it thoroughly right now.
Incidentally, guys, I had to revert the change in my copy of 1.3.x -char const * string_paperpackages[4] = { - "a4", "a4wide", "widemarginsa4", "" +char const * const string_paperpackages[] = { + "none", "a4", "a4wide", "widemarginsa4", "" }; otherwise I always have a line \usepackage{a4} in the latex file and the latex beamer presentation I was finishing off yesterday would not compile. (Paper package was set to Default). It may be that this report is merely one of my mishandling of something or other, but I didn't have time to investigate. Only to work around. -- Angus