]> git.lyx.org Git - lyx.git/blobdiff - src/LaTeXFeatures.cpp
MathML for InsetMathBig.
[lyx.git] / src / LaTeXFeatures.cpp
index 9538fd0dea3adff1e462535354f5a236c9dcf2a0..457029319b8109da841cf89bfac087c1840ee31e 100644 (file)
@@ -414,7 +414,6 @@ bool LaTeXFeatures::isAvailable(string const & name)
 
 void LaTeXFeatures::addPreambleSnippet(string const & preamble)
 {
-       LYXERR0(preamble);
        SnippetList::const_iterator begin = preamble_snippets_.begin();
        SnippetList::const_iterator end   = preamble_snippets_.end();
        if (find(begin, end, preamble) == end)
@@ -641,7 +640,7 @@ string const LaTeXFeatures::getPackages() const
        // the document does not contain integrals (then isRequired("esint")
        // is false) or if esint is used, since esint redefines all relevant
        // integral symbols from wasysym and amsmath.
-       // See http://bugzilla.lyx.org/show_bug.cgi?id=1942
+       // See http://www.lyx.org/trac/ticket/1942
        if (mustProvide("wasysym") &&
            (params_.use_esint != BufferParams::package_off || !isRequired("esint")))
                packages << "\\usepackage{wasysym}\n";
@@ -770,11 +769,8 @@ string LaTeXFeatures::getPreambleSnippets() const
        ostringstream snip;
        SnippetList::const_iterator pit  = preamble_snippets_.begin();
        SnippetList::const_iterator pend = preamble_snippets_.end();
-       for (; pit != pend; ++pit) {
-               LYXERR0(*pit);
+       for (; pit != pend; ++pit)
                snip << *pit << '\n';
-       }
-       LYXERR0(snip.str());
        return snip.str();
 }