]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Parser.cpp
Some new quote styles
[lyx.git] / src / tex2lyx / Parser.cpp
index 69e3460f459de17c1ccc6f15b564eeac8589af69..41ab92063c031a50b2a496d67dd75de963f039a6 100644 (file)
@@ -12,7 +12,6 @@
 
 #include "Encoding.h"
 #include "Parser.h"
-#include "support/foreach.h"
 #include "support/lstrings.h"
 #include "support/textutils.h"
 
@@ -162,6 +161,7 @@ Parser::Parser(idocstream & is, std::string const & fixedenc)
 {
        if (fixed_enc_)
                is_.setEncoding(fixedenc);
+       catInit();
 }
 
 
@@ -173,6 +173,7 @@ Parser::Parser(string const & s)
          // An idocstringstream can not change the encoding
          fixed_enc_(true)
 {
+       catInit();
 }