From: Pavel Sanda Date: Fri, 3 Jun 2016 05:48:34 +0000 (-0700) Subject: Comment only X-Git-Tag: 2.3.0alpha1~1590 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=d5933fc5b54a0d8022ffc59e3423dd7db5326561;p=features.git Comment only --- diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp index 2481a41db5..a52927f2a2 100644 --- a/src/tex2lyx/Preamble.cpp +++ b/src/tex2lyx/Preamble.cpp @@ -811,7 +811,7 @@ void Preamble::handle_package(Parser &p, string const & name, if (is_known(name, known_roman_fonts) || is_known(name, known_sans_fonts) || is_known(name, known_typewriter_fonts) || is_known(name, known_math_fonts)) ; - + //"On". See the enum Package in BufferParams.h if you thought that "2" should have been "42" else if (name == "amsmath" || name == "amssymb" || name == "cancel" || name == "esint" || name == "mhchem" || name == "mathdots" || name == "mathtools" || name == "stackrel" || diff --git a/src/tex2lyx/tex2lyx.h b/src/tex2lyx/tex2lyx.h index 8220877339..5c3595f447 100644 --- a/src/tex2lyx/tex2lyx.h +++ b/src/tex2lyx/tex2lyx.h @@ -85,6 +85,7 @@ std::string join(std::vector const & input, bool is_math_env(std::string const & name); bool is_display_math_env(std::string const & name); +/// Is first string in the array of strings (second parameter) char const * const * is_known(std::string const &, char const * const *); /*!