*/
mutable bool need_maketitle = false;
- /** have_maketitle == true means that \maketitle already hase been output.
+ /** have_maketitle == true means that \maketitle already has been output.
*/
mutable bool have_maketitle = false;
*/
mutable docstring post_macro;
+ /** Whether we in a command that is not \\long (i.e. cannot have multiple
+ * paragraphs)
+ */
+ mutable bool isNonLong = false;
+
/** Whether we are entering a display math inset.
* Needed to correctly strike out deleted math in change tracking.
*/
bool for_tooltip = false;
/// Are we generating this material for use by advanced search?
- bool for_search = false;
+ enum Search {
+ NoSearch,
+ SearchWithDeleted,
+ SearchWithoutDeleted
+ };
+
+ enum Search for_searchAdv = NoSearch;
/// Are we generating this material for instant preview?
bool for_preview = false;