]> git.lyx.org Git - lyx.git/blobdiff - src/LyXRC.h
Account for old versions of Pygments
[lyx.git] / src / LyXRC.h
index 38d8412e69989f65dd44d31ce733d2e1824bbbc2..38fcd3739490f3f220d750ffbf684ab5c9a9c707 100644 (file)
@@ -98,6 +98,7 @@ public:
                RC_INDEX_ALTERNATIVES,
                RC_INDEX_COMMAND,
                RC_INPUT,
+               RC_JBIBTEX_ALTERNATIVES,
                RC_JBIBTEX_COMMAND,
                RC_JINDEX_COMMAND,
                RC_KBMAP,
@@ -132,6 +133,7 @@ public:
                RC_PRINTLANDSCAPEFLAG,
                RC_PRINTPAPERDIMENSIONFLAG,
                RC_PRINTPAPERFLAG,
+               RC_PYGMENTIZE_COMMAND,
                RC_SAVE_COMPRESSED,
                RC_SAVE_ORIGIN,
                RC_SCREEN_DPI,
@@ -167,6 +169,8 @@ public:
                RC_USER_EMAIL,
                RC_USER_NAME,
                RC_USE_CONVERTER_CACHE,
+               RC_USE_CONVERTER_NEEDAUTH_FORBIDDEN,
+               RC_USE_CONVERTER_NEEDAUTH,
                RC_USE_SYSTEM_COLORS,
                RC_USE_TOOLTIP,
                RC_USE_PIXMAP_CACHE,
@@ -238,6 +242,8 @@ public:
        std::string bibtex_command;
        /// command to run japanese bibtex incl. options
        std::string jbibtex_command;
+       /// all available commands to run japanese bibtex incl. options
+       CommandSet jbibtex_alternatives;
        /// all available index commands incl. options
        CommandSet index_alternatives;
        /// command to run makeindex incl. options or other index programs
@@ -248,6 +254,8 @@ public:
        std::string splitindex_command;
        /// command to run makeindex incl. options for nomencl
        std::string nomencl_command;
+       /// command to run the python pygments syntax highlighter
+       std::string pygmentize_command;
        ///
        std::string document_path;
        ///
@@ -288,7 +296,9 @@ public:
        /// Scrolling speed of the mouse wheel
        double mouse_wheel_speed;
        /// Zoom factor for screen fonts
-       unsigned int zoom;
+       int zoom;
+       /// Current zoom factor for screen fonts
+       int currentZoom;
        /// Screen font sizes in points for each font size
        std::string font_sizes[10];
        /// Allow the use of scalable fonts? Default is yes.
@@ -443,6 +453,10 @@ public:
        std::string texinputs_prefix;
        /// Use the cache for file converters?
        bool use_converter_cache;
+       /// Forbid use of external converters with 'needauth' option
+       bool use_converter_needauth_forbidden;
+       /// Ask user before calling external converters with 'needauth' option
+       bool use_converter_needauth;
        /// The maximum age of cache files in seconds
        unsigned int converter_cache_maxage;
        /// Sort layouts alphabetically
@@ -523,7 +537,7 @@ extern LyXRC lyxrc;
 extern LyXRC system_lyxrc;
 
 // used by at least frontends/qt4/GuiPref.cpp
-const long maxlastfiles = 20;
+const long maxlastfiles = 50;
 
 } // namespace lyx