From d5933fc5b54a0d8022ffc59e3423dd7db5326561 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Thu, 2 Jun 2016 22:48:34 -0700 Subject: [PATCH] Comment only --- src/tex2lyx/Preamble.cpp | 2 +- src/tex2lyx/tex2lyx.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 *); /*! -- 2.39.5