]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/math.cpp
hyperref support for tex2lyx
[lyx.git] / src / tex2lyx / math.cpp
index e5ba486957a34f680e1674611c44195b26b3c204..f615926efa6e2d6daf0eae8902b58891e6025c18 100644 (file)
@@ -3,7 +3,7 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author André Pönitz
+ * \author André Pönitz
  *
  * Full author contact details are available in file CREDITS.
  */
@@ -58,7 +58,7 @@ void parse_math(Parser & p, ostream & os, unsigned flags, const mode_type mode)
                //
                if (t.cat() == catMath) {
                        if (mode == MATHTEXT_MODE) {
-                               // we are inside some text mode thingy, so opening new math is allowed
+                               // we are inside some text mode thing, so opening new math is allowed
                                Token const & n = p.get_token();
                                if (n.cat() == catMath) {
                                        // TeX's $$...$$ syntax for displayed math
@@ -94,7 +94,7 @@ void parse_math(Parser & p, ostream & os, unsigned flags, const mode_type mode)
                               t.cat() == catAlign ||
                               t.cat() == catActive ||
                               t.cat() == catParameter)
-                       os << t.character();
+                       os << t.cs();
 
                else if (t.cat() == catBegin) {
                        os << '{';