]> git.lyx.org Git - features.git/commitdiff
Finally fix tex2lyx, lyx2lyx round trip
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 2 Feb 2005 18:25:56 +0000 (18:25 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Wed, 2 Feb 2005 18:25:56 +0000 (18:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9577 a592a061-630c-0410-9148-cb99ea01b6c8

src/tex2lyx/ChangeLog
src/tex2lyx/text.C

index bc20ac68d56207151717877744c8da232257f4cb..cf4b7e711d20bb173131777c5a6f5b48d737e049 100644 (file)
@@ -1,3 +1,7 @@
+2005-02-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
+
+       * text.C (parse_text): Use '\n' and not '\\n' for a newline ;-)
+
 2005-02-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
 
        * text.C (parse_text): Only reset font changes if not at the
index 5e886f4a6ca1e07c3c76f6ad5799e853f6014fda..9b2d8096f8d127655461e8e295dfd7c373e58e6f 100644 (file)
@@ -1000,7 +1000,7 @@ void parse_text(Parser & p, ostream & os, unsigned flags, bool outer,
                                // it here
                                os << s;
                                if (!context.atParagraphStart())
-                                       os << "\\n\\size "
+                                       os << "\n\\size "
                                           << context.font.size << "\n";
                        } else if (is_known(next.cs(), known_font_families)) {
                                // s will change the font family, so we must