]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.h
fix View Source for literate documents
[lyx.git] / src / BufferParams.h
index 743467a9a6931a527bfd081321aa2d5c4fb16478..7d1d7770809725a5c08cf9d83f994eb4a6ff49d4 100644 (file)
@@ -23,6 +23,7 @@
 
 #include "support/copied_ptr.h"
 
+#include <list>
 #include <set>
 #include <vector>
 
@@ -53,7 +54,7 @@ class VSpace;
 class BufferParams {
 public:
        ///
-       typedef std::vector<std::string> LayoutModuleList;
+       typedef std::list<std::string> LayoutModuleList;
        ///
        enum ParagraphSeparation {
                ///
@@ -306,6 +307,8 @@ public:
        };
        ///
        std::string paperSizeName(PapersizePurpose purpose) const;
+       /// set up if and how babel is called
+       std::string babelCall(std::string const & lang_opts) const;
        /// handle inputenc etc.
        void writeEncodingPreamble(odocstream & os, LaTeXFeatures & features,
                                              TexRow & texrow) const;