]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
Try to be more pedantic wrt blank lines in lyx2lyx output
[lyx.git] / src / BufferParams.h
index 38649e7c2ffd93e5a6927fd382884d4f6f5d45c0..77b4856b4d3bca7b6a435c85c467f1a510354d67 100644 (file)
@@ -367,6 +367,8 @@ public:
        std::string origin;
        ///
        docstring preamble;
+       /// DocumentMetadata as introduced by LaTeX 2022/06
+       docstring document_metadata;
        ///
        std::string options;
        /// use the class options defined in the layout?
@@ -620,6 +622,8 @@ private:
        ///
        void readPreamble(Lexer &);
        ///
+       void readDocumentMetadata(Lexer &);
+       ///
        void readLocalLayout(Lexer &, bool);
        ///
        void readLanguage(Lexer &);
@@ -687,6 +691,10 @@ private:
        support::copied_ptr<Impl, MemoryTraits> pimpl_;
 };
 
+
+///
+BufferParams const & defaultBufferParams();
+
 } // namespace lyx
 
 #endif