mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-28 06:49:43 +00:00
tex2lyx: support for libertine-type1
This commit is contained in:
parent
6a3acd336b
commit
d27dac3efc
@ -124,8 +124,8 @@ 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", "lmodern",
|
"ccfonts", "chancery", "charter", "cmr", "fourier", "garamondx", "libertine-type1",
|
||||||
"mathdesign", "mathpazo", "mathptmx", "newcent", "utopia", 0};
|
"lmodern", "mathdesign", "mathpazo", "mathptmx", "newcent", "utopia", 0};
|
||||||
|
|
||||||
const char * const known_sans_fonts[] = { "avant", "berasans", "cmbr", "cmss",
|
const char * const known_sans_fonts[] = { "avant", "berasans", "cmbr", "cmss",
|
||||||
"helvet", "kurier", "kurierl", "lmss", 0};
|
"helvet", "kurier", "kurierl", "lmss", 0};
|
||||||
@ -675,6 +675,14 @@ void Preamble::handle_package(Parser &p, string const & name,
|
|||||||
h_font_osf = "true";
|
h_font_osf = "true";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (name == "libertine-type1") {
|
||||||
|
h_font_roman = "libertine";
|
||||||
|
if (opts == "lining")
|
||||||
|
h_font_osf = "false";
|
||||||
|
else
|
||||||
|
h_font_osf = "true";
|
||||||
|
}
|
||||||
|
|
||||||
if (name == "mathdesign") {
|
if (name == "mathdesign") {
|
||||||
if (opts.find("charter") != string::npos)
|
if (opts.find("charter") != string::npos)
|
||||||
h_font_roman = "md-charter";
|
h_font_roman = "md-charter";
|
||||||
|
@ -61,7 +61,7 @@ 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-type1, libertine.sty, \font_osf, \font_roman
|
434 libertine.sty, \font_osf, \font_roman
|
||||||
libertine-legacy.sty
|
libertine-legacy.sty
|
||||||
435 txtt LaTeX font \font_typewriter
|
435 txtt LaTeX font \font_typewriter
|
||||||
437 TeX Gyre LaTeX fonts \font_*
|
437 TeX Gyre LaTeX fonts \font_*
|
||||||
|
Loading…
Reference in New Issue
Block a user