]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/tex2lyx.h
tex2lyx/Preamble.cpp: fix some comments
[lyx.git] / src / tex2lyx / tex2lyx.h
index 9d0e4a192380fd426b0ecfdf9cdb3abd2c2739a7..f0ecf6173cbfdc56b2c0198cbad998b18abc010f 100644 (file)
@@ -43,16 +43,10 @@ public:
        void setName(std::string const & name) { name_ = name; }
 };
 
-/// 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;
-extern const char * const modules_placeholder;
-extern std::string h_inputencoding;
+/// Translate basic color name or RGB color in LaTeX syntax to LyX color code
+extern std::string rgbcolor2code(std::string const & name);
 
 /// in text.cpp
 std::string translate_len(std::string const &);
@@ -165,7 +159,7 @@ extern bool noweb_mode;
 /// Did we recognize any pdflatex-only construct?
 extern bool pdflatex;
 /// LyX format that is created by tex2lyx
-int const LYX_FORMAT = 393;
+extern int const LYX_FORMAT;
 
 /// path of the master .tex file
 extern std::string getMasterFilePath();