X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ftex2lyx%2FContext.h;h=427e4020a81556c748b4754eff4885cb243b0047;hb=fd5adacef25eb40f813dedd961920c353448213a;hp=e48bdf35d67b4bf118ef9fb71f1bfce7a0e8f85d;hpb=506ae2d2ea1e646461841c57edd3f79c97d671c2;p=features.git diff --git a/src/tex2lyx/Context.h b/src/tex2lyx/Context.h index e48bdf35d6..427e4020a8 100644 --- a/src/tex2lyx/Context.h +++ b/src/tex2lyx/Context.h @@ -130,6 +130,8 @@ public: std::string par_extra_stuff; /// We may need to add something at the beginning of a list. std::string list_extra_stuff; + /// Stuff between list begin and first item + std::string list_preamble; /// A LaTeXParam to be ignored in parsing. std::string latexparam; /// If there has been an \\begin_deeper, we'll need a matching @@ -139,6 +141,13 @@ public: /// for each paragraph, otherwise this has to be a deeper /// paragraph. bool has_item; + /// If we are in an itemize-like environment, this marks + /// the text before the first \item. Typically, list + /// parameters (such as lengths) are adjusted here. + bool in_list_preamble; + /// Store commands that should not be converted + /// (stored without \\) + std::set pass_thru_cmds; /// we are handling a standard paragraph in an itemize-like /// environment bool deeper_paragraph; @@ -165,6 +174,12 @@ public: TeXFont font; /// font attributes of normal text static TeXFont normalfont; + /// Table rotation angle + int tablerotation; + /// + bool in_table_cell; + /// + char cell_align; private: void begin_layout(std::ostream & os, Layout const * const & l);