mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 06:20:28 +00:00
tex2lyx: fix handling of fourier: Utopia as roman font can be combined with any other tt font, not only with tt-fourier
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39964 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ad8c0df251
commit
999222b0c2
@ -19,7 +19,7 @@ Format LaTeX feature LyX feature
|
|||||||
228 draft InsetExternal
|
228 draft InsetExternal
|
||||||
231 sidewaysfigure/sidewaystable InsetFloat
|
231 sidewaysfigure/sidewaystable InsetFloat
|
||||||
232 bibtopic InsetBibTeX
|
232 bibtopic InsetBibTeX
|
||||||
247 utopia.sty, ccfonts.sty, font settings (header)
|
247 ccfonts.sty, font settings (header)
|
||||||
chancery.sty, beraserif.sty
|
chancery.sty, beraserif.sty
|
||||||
248 booktabs.sty InsetTabular
|
248 booktabs.sty InsetTabular
|
||||||
254 esint.sty \use_esint
|
254 esint.sty \use_esint
|
||||||
|
@ -503,10 +503,14 @@ void handle_package(Parser &p, string const & name, string const & opts,
|
|||||||
|
|
||||||
// typewriter fonts
|
// typewriter fonts
|
||||||
if (is_known(name, known_typewriter_fonts)) {
|
if (is_known(name, known_typewriter_fonts)) {
|
||||||
h_font_typewriter = name;
|
// fourier can be set as roman font _only_
|
||||||
if (!opts.empty()) {
|
// fourier as typewriter is handled in handling of \ttdefault
|
||||||
scale = opts;
|
if (name != "fourier") {
|
||||||
h_font_tt_scale = scale_as_percentage(scale);
|
h_font_typewriter = name;
|
||||||
|
if (!opts.empty()) {
|
||||||
|
scale = opts;
|
||||||
|
h_font_tt_scale = scale_as_percentage(scale);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user