]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/tex2lyx.h
The roundtrip of the math manual produces a compilable document now:
[lyx.git] / src / tex2lyx / tex2lyx.h
index f6fae1e9b4cb40ee0d9e5e1305fb1b4559badc0a..da3ee8015e9a5ae0f9a3e11957590090cfd0dc08 100644 (file)
@@ -43,6 +43,8 @@ class TeX2LyXDocClass : public DocumentClass
 /// in preamble.cpp
 void parse_preamble(Parser & p, std::ostream & os, 
        std::string const & forceclass, TeX2LyXDocClass & tc);
+/// Translate babel language name to LyX language name
+extern std::string babel2lyx(std::string const & language);
 
 /// used packages with options
 extern std::map<std::string, std::vector<std::string> > used_packages;
@@ -61,7 +63,8 @@ void parse_text(Parser & p, std::ostream & os, unsigned flags, bool outer,
  * Therefore this may only be used to parse text in insets or table cells.
  */
 void parse_text_in_inset(Parser & p, std::ostream & os, unsigned flags,
-                        bool outer, Context const & context);
+                         bool outer, Context const & context,
+                         InsetLayout const * layout = 0);
 
 
 /// in math.cpp