X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2Fmath.cpp;h=9fddeea16c7536cd32f0fecf49098c446686d087;hb=8085fc21f8875921adad8970f3f02d484b148789;hp=1a8158b5a27847fa97962d8b5533b5feac004f89;hpb=bb0432d74a7ca6b8e1c1f98d71405dc04eb6257a;p=lyx.git diff --git a/src/tex2lyx/math.cpp b/src/tex2lyx/math.cpp index 1a8158b5a2..9fddeea16c 100644 --- a/src/tex2lyx/math.cpp +++ b/src/tex2lyx/math.cpp @@ -121,7 +121,7 @@ void parse_math(Parser & p, ostream & os, unsigned flags, const mode_type mode) else if (t.cat() == catComment) { if (!t.cs().empty()) - cerr << "Ignoring comment: " << t.asInput(); + os << t.asInput(); else // "%\n" combination p.skip_spaces(); @@ -237,6 +237,11 @@ void parse_math(Parser & p, ostream & os, unsigned flags, const mode_type mode) preamble.registerAutomaticallyLoadedPackage("varioref"); } + else if (t.cs() == "textipa") { + os << t.asInput(); + preamble.registerAutomaticallyLoadedPackage("tipa"); + } + else os << t.asInput();