]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/tex2lyx.h
do not hardcode packages loaded by external insets
[lyx.git] / src / tex2lyx / tex2lyx.h
index f0ecf6173cbfdc56b2c0198cbad998b18abc010f..bff05191a8325ac9b90081da357ea83bd8f9daa3 100644 (file)
@@ -71,8 +71,8 @@ void parse_math(Parser & p, std::ostream & os, unsigned flags, mode_type mode);
 
 
 /// in table.cpp
-void handle_tabular(Parser & p, std::ostream & os, bool is_long_tabular,
-                   Context & context);
+void handle_tabular(Parser & p, std::ostream & os, std::string const & name,
+                    std::string const & width, Context & context);
 
 
 /// in tex2lyx.cpp
@@ -84,6 +84,7 @@ std::string join(std::vector<std::string> const & input,
        char const * delim);
 
 bool is_math_env(std::string const & name);
+bool is_display_math_env(std::string const & name);
 char const * const * is_known(std::string const &, char const * const *);
 
 /*!
@@ -115,9 +116,12 @@ std::string active_environment();
 
 enum ArgumentType {
        required,
+       req_group,
        verbatim,
        item,
-       optional
+       optional,
+       opt_group,
+       displaymath,
 };
 
 class FullCommand {
@@ -158,6 +162,8 @@ extern FullEnvironmentMap possible_textclass_environments;
 extern bool noweb_mode;
 /// Did we recognize any pdflatex-only construct?
 extern bool pdflatex;
+/// Did we recognize any xetex-only construct?
+extern bool xetex;
 /// LyX format that is created by tex2lyx
 extern int const LYX_FORMAT;