]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/Context.h
FindAdv: Comments
[lyx.git] / src / tex2lyx / Context.h
index cf006f3222964c6aa50d7d2f725045f3253d5924..64d69e356106b64d2f9fe11cd0f1a31727375f04 100644 (file)
@@ -82,7 +82,7 @@ public:
                TeX2LyXDocClass const & textclass_,
                Layout const * layout_ = 0,
                Layout const * parent_layout_= 0,
-               TeXFont font_ = TeXFont());
+               TeXFont const & font_ = normalfont);
        ~Context();
 
        /// Output a \\begin_layout if requested
@@ -128,6 +128,10 @@ public:
        std::string extra_stuff;
        /// We may need to add something after this \\begin_layout command
        std::string par_extra_stuff;
+       /// We may need to add something at the beginning of a list.
+       std::string list_extra_stuff;
+       /// A LaTeXParam to be ignored in parsing.
+       std::string latexparam;
        /// If there has been an \\begin_deeper, we'll need a matching
        /// \\end_deeper
        bool need_end_deeper;
@@ -146,6 +150,8 @@ public:
         * would not work.
         */
        bool new_layout_allowed;
+       /// May -- be converted to endash and --- to emdash?
+       bool merging_hyphens_allowed;
        /// Did we output anything yet in any context?
        static bool empty;
 
@@ -159,6 +165,8 @@ public:
        TeXFont font;
        /// font attributes of normal text
        static TeXFont normalfont;
+       /// Table rotation angle
+       int tablerotation;
 
 private:
        void begin_layout(std::ostream & os, Layout const * const & l);