Op 24-6-2012 15:29, Uwe Stöhr   schreef:
The branch, master, has been updated.

- Log -----------------------------------------------------------------

commit e1b181ddd42742f8762fd216d51ecc8899533629
Author: Uwe Stöhr<uwesto...@lyx.org>
Date:   Sun Jun 24 15:29:32 2012 +0200

     update tex2lyx header format really to fileformat 433

     - tex2lyx/Preamble.cpp/h: not all new header definitions since fileformat 
413 have yet been added to texl2yx, so do it now; also change some new default 
values

diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp
index 2331721..03fbd92 100644
--- a/src/tex2lyx/Preamble.cpp
+++ b/src/tex2lyx/Preamble.cpp
@@ -958,9 +966,12 @@ bool Preamble::writeLyXHeader(ostream&  os, bool subdoc)
        <<  "\\font_sc "<<  h_font_sc<<  "\n"
        <<  "\\font_osf "<<  h_font_osf<<  "\n"
        <<  "\\font_sf_scale "<<  h_font_sf_scale<<  "\n"
-       <<  "\\font_tt_scale "<<  h_font_tt_scale<<  "\n"
+       <<  "\\font_tt_scale "<<  h_font_tt_scale<<  "\n\n"
        <<  "\\graphics "<<  h_graphics<<  "\n"



This extra '\n' seems to have been a side-effect of d7eaaba9 (Juergen Spitzmueller, "support for CJK font argument"; Jun 5 2008).

Shouldn't we fix this in BufferParams instead ?

Vincent

Reply via email to