commit b119f849d78127e0c1cab5075055091748f2d282
Author: Uwe Stöhr <[email protected]>
Date: Fri Nov 7 01:28:42 2014 +0100
tex2lyx/Preamble.cpp: support 2 math fonts
- support for kurier and iwona as math font
can also go to branch
diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp
index 934420a..0de0700 100644
--- a/src/tex2lyx/Preamble.cpp
+++ b/src/tex2lyx/Preamble.cpp
@@ -768,6 +768,14 @@ void Preamble::handle_package(Parser &p, string const &
name,
h_font_math = "minion-ntxm";
}
+ if (name == "iwona")
+ if (opts == "math")
+ h_font_math = "iwona-math";
+
+ if (name == "kurier")
+ if (opts == "math")
+ h_font_math = "kurier-math";
+
// after the detection and handling of special cases, we can remove the
// fonts, otherwise they would appear in the preamble, see bug #7856
if (is_known(name, known_roman_fonts) || is_known(name,
known_sans_fonts)
diff --git a/src/tex2lyx/TODO.txt b/src/tex2lyx/TODO.txt
index 17979db..18b30dd 100644
--- a/src/tex2lyx/TODO.txt
+++ b/src/tex2lyx/TODO.txt
@@ -80,7 +80,7 @@ Format LaTeX feature LyX feature
459 beamer: \begin{frame}, \begin_layout Frame
\begin{frame}[plain], \begin_layout PlainFrame
\begin{frame}[fragile] \begin_layout FragileFrame
-461 support for kurier math font (the other kurier fonts are already
supported)
+461 support for kurier math font (the other kurier fonts are already
supported); done in master
462 New libertine LaTeX fonts:
\usepackage[scale|scaled|ttscale=$val]{libertineMono-type1}
\font_typewriter
@@ -96,7 +96,7 @@ Format LaTeX feature LyX feature
\twocolumn[]{}{} Layout Twocolumn, InsetArgument
\item[]<> InsetArgument
\begin{enumerate|itemize|...}[] InsetArgument
-467 support for iwona math font (the other iwona fonts are already supported)
+467 support for iwona math font (the other iwona fonts are already
supported); done in master
General