]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_sty.C
Delay bibfileCache first update up until it is used.
[lyx.git] / src / lyx_sty.C
index 3bd1179874c40aa1318a2cc11458047af3dbff66..b529c5d3601300e04b4cd53759b26d7a063b33b7 100644 (file)
@@ -12,6 +12,9 @@
 
 #include "lyx_sty.h"
 
+
+namespace lyx {
+
 using std::string;
 
 
@@ -75,7 +78,7 @@ string const paragraphleftindent_def =
        "\\newenvironment{LyXParagraphLeftIndent}[1]%\n"
        "{\n"
        "  \\begin{list}{}{%\n"
-       "    \\setlength\\topsep{0pt}%\n"
+       "    \\setlength{\\topsep}{0pt}%\n"
        "    \\addtolength{\\leftmargin}{#1}\n"
 // ho hum, yet more things commented out with no hint as to why they
 // weren't just removed
@@ -83,7 +86,7 @@ string const paragraphleftindent_def =
 //     "%%    \\setlength{\\textwidth}{#2\\textwidth}\n"
 //     "%%    \\setlength\\listparindent\\parindent%\n"
 //     "%%    \\setlength\\itemindent\\parindent%\n"
-       "    \\setlength\\parsep{0pt plus 1pt}%\n"
+       "    \\setlength{\\parsep}{0pt plus 1pt}%\n"
        "  }\n"
        "  \\item[]\n"
        "}\n"
@@ -133,3 +136,6 @@ string const lyxgreyedout_def =
 string const lyxdot_def =
        "%% A simple dot to overcome graphicx limitations\n"
        "\\newcommand{\\lyxdot}{.}\n";
+
+
+} // namespace lyx