mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-10 18:58:10 +00:00
isAvailable is static
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28702 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fd051070a1
commit
7bd971ff32
@ -1900,7 +1900,7 @@ void BufferParams::writeEncodingPreamble(odocstream & os,
|
|||||||
}
|
}
|
||||||
if (package == Encoding::CJK || features.mustProvide("CJK")) {
|
if (package == Encoding::CJK || features.mustProvide("CJK")) {
|
||||||
if (language->encoding()->name() == "utf8-cjk"
|
if (language->encoding()->name() == "utf8-cjk"
|
||||||
&& features.isAvailable("CJKutf8"))
|
&& LaTeXFeatures::isAvailable("CJKutf8"))
|
||||||
os << "\\usepackage{CJKutf8}\n";
|
os << "\\usepackage{CJKutf8}\n";
|
||||||
else
|
else
|
||||||
os << "\\usepackage{CJK}\n";
|
os << "\\usepackage{CJK}\n";
|
||||||
@ -1921,7 +1921,7 @@ void BufferParams::writeEncodingPreamble(odocstream & os,
|
|||||||
break;
|
break;
|
||||||
case Encoding::CJK:
|
case Encoding::CJK:
|
||||||
if (encoding().name() == "utf8-cjk"
|
if (encoding().name() == "utf8-cjk"
|
||||||
&& features.isAvailable("CJKutf8"))
|
&& LaTeXFeatures::isAvailable("CJKutf8"))
|
||||||
os << "\\usepackage{CJKutf8}\n";
|
os << "\\usepackage{CJKutf8}\n";
|
||||||
else
|
else
|
||||||
os << "\\usepackage{CJK}\n";
|
os << "\\usepackage{CJK}\n";
|
||||||
|
Loading…
Reference in New Issue
Block a user