]> git.lyx.org Git - lyx.git/blobdiff - src/tex2lyx/context.h
Removed all redundant using directives from the source.
[lyx.git] / src / tex2lyx / context.h
index f7fe9671c63552ed9a3dd0511b0eb9352dab49ea..737c6d930cb597005c14d5b970aa44f84916d610 100644 (file)
@@ -1,4 +1,14 @@
 // -*- C++ -*-
+/**
+ * \file context.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
+
 #ifndef CONTEXT_H
 #define CONTEXT_H
 
@@ -37,7 +47,14 @@ struct Context {
        // If there has been an \begin_deeper, we'll need a matching
        // \end_deeper
        bool need_end_deeper;
-
+       // If we are in an itemize-like environment, we need an \item
+       // for each paragraph, otherwise this has to be a deeper
+       // paragraph.
+       bool has_item;
+       // we are handling a standard paragraph in an itemize-like
+       // environment
+       bool deeper_paragraph;
+       
        // The textclass of the document. Could actually be a global variable
        LyXTextClass const & textclass;
        // The layout of the current paragraph