mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Do not load the xunicode package with TeX fonts
This commit is contained in:
parent
66c7759e67
commit
740c247dfe
@ -1958,7 +1958,8 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features,
|
||||
|
||||
// xunicode needs to be loaded at least after amsmath, amssymb,
|
||||
// esint and the other packages that provide special glyphs
|
||||
if (features.runparams().flavor == OutputParams::XETEX)
|
||||
if (features.runparams().flavor == OutputParams::XETEX
|
||||
&& useNonTeXFonts)
|
||||
lyxpreamble += "\\usepackage{xunicode}\n";
|
||||
|
||||
// Polyglossia must be loaded last
|
||||
|
Loading…
Reference in New Issue
Block a user