mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-27 06:19:36 +00:00
tex2lyx: support for libertine
This commit is contained in:
parent
8332ceb4e8
commit
2066b57ca2
@ -124,9 +124,9 @@ const char * const known_old_language_packages[] = {"french", "frenchle",
|
|||||||
char const * const known_fontsizes[] = { "10pt", "11pt", "12pt", 0 };
|
char const * const known_fontsizes[] = { "10pt", "11pt", "12pt", 0 };
|
||||||
|
|
||||||
const char * const known_roman_fonts[] = { "ae", "beraserif", "bookman",
|
const char * const known_roman_fonts[] = { "ae", "beraserif", "bookman",
|
||||||
"ccfonts", "chancery", "charter", "cmr", "fourier", "garamondx", "libertine-type1",
|
"ccfonts", "chancery", "charter", "cmr", "fourier", "garamondx", "libertine",
|
||||||
"lmodern", "mathdesign", "mathpazo", "mathptmx", "newcent", "tgbonum",
|
"libertine-type1", "lmodern", "mathdesign", "mathpazo", "mathptmx", "newcent",
|
||||||
"tgchorus", "tgpagella", "tgschola", "tgtermes", "utopia", 0};
|
"tgbonum", "tgchorus", "tgpagella", "tgschola", "tgtermes", "utopia", 0};
|
||||||
|
|
||||||
const char * const known_sans_fonts[] = { "avant", "berasans", "biolinum-type1",
|
const char * const known_sans_fonts[] = { "avant", "berasans", "biolinum-type1",
|
||||||
"cmbr", "cmss", "helvet", "kurier", "kurierl", "lmss", "tgadventor", "tgheros", 0};
|
"cmbr", "cmss", "helvet", "kurier", "kurierl", "lmss", "tgadventor", "tgheros", 0};
|
||||||
@ -678,6 +678,12 @@ void Preamble::handle_package(Parser &p, string const & name,
|
|||||||
h_font_osf = "true";
|
h_font_osf = "true";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (name == "libertine") {
|
||||||
|
h_font_roman = "libertine-legacy";
|
||||||
|
if (opts == "osf")
|
||||||
|
h_font_osf = "true";
|
||||||
|
}
|
||||||
|
|
||||||
if (name == "libertine-type1") {
|
if (name == "libertine-type1") {
|
||||||
h_font_roman = "libertine";
|
h_font_roman = "libertine";
|
||||||
if (opts == "lining")
|
if (opts == "lining")
|
||||||
|
@ -60,8 +60,6 @@ Format LaTeX feature LyX feature
|
|||||||
411 support for polyglossia \language_package (the cases of no package, of babel and of custom package is supported)
|
411 support for polyglossia \language_package (the cases of no package, of babel and of custom package is supported)
|
||||||
415 undertilde.sty fonts
|
415 undertilde.sty fonts
|
||||||
427 tipa.sty \begin{IPA}, \textipa InsetTIPA
|
427 tipa.sty \begin{IPA}, \textipa InsetTIPA
|
||||||
434 libertine.sty, \font_osf, \font_roman
|
|
||||||
libertine-legacy.sty
|
|
||||||
438 \tone{51}, \tone{15}, \tone{45}, InsetTIPA
|
438 \tone{51}, \tone{15}, \tone{45}, InsetTIPA
|
||||||
\tone{12}, \tone{454}, \toptiebar,
|
\tone{12}, \tone{454}, \toptiebar,
|
||||||
\bottomtiebar
|
\bottomtiebar
|
||||||
|
Loading…
Reference in New Issue
Block a user