]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Context.h
Format and reversion code for new counter inset.
[lyx.git] / src / tex2lyx / Context.h
index 4fd1ff28bb793200ec1881bc8a1787467a73ae75..2d5315b5dff7dc4a1af0540bfa101e8a0dca8211 100644 (file)
@@ -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,10 @@ 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;
        /// we are handling a standard paragraph in an itemize-like
        /// environment
        bool deeper_paragraph;
@@ -165,8 +171,8 @@ public:
        TeXFont font;
        /// font attributes of normal text
        static TeXFont normalfont;
-       /// A rotated longtable
-       bool rotlongtable;
+       /// Table rotation angle
+       int tablerotation;
 
 private:
        void begin_layout(std::ostream & os, Layout const * const & l);