Vietnamese no longer requires any special handling.

It is a normal babel support package.
This commit is contained in:
Juergen Spitzmueller 2017-08-13 11:53:41 +02:00
parent 048c3fd429
commit 7e121117bb
3 changed files with 1 additions and 4 deletions

View File

@ -379,7 +379,6 @@
\TestPackage{url} \TestPackage{url}
\TestPackage{varioref} \TestPackage{varioref}
\TestPackage{varwidth} \TestPackage{varwidth}
\TestPackage[vietnamese.ldf]{vietnamese}
\TestPackage{wallpaper} \TestPackage{wallpaper}
\TestPackage{wrapfig} \TestPackage{wrapfig}
\TestPackage{xargs} \TestPackage{xargs}

View File

@ -1198,7 +1198,6 @@ Language vietnamese
QuoteStyle english QuoteStyle english
Encoding utf8 Encoding utf8
LangCode vi_VN LangCode vi_VN
Requires vietnamese
End End
Language welsh Language welsh

View File

@ -2050,13 +2050,12 @@ bool BufferParams::writeLaTeX(otexstream & os, LaTeXFeatures & features,
// http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144349.html // http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg144349.html
os << from_ascii(features.getColorOptions()); os << from_ascii(features.getColorOptions());
// If we use hyperref, jurabib, japanese, varioref or vietnamese, // If we use hyperref, jurabib, japanese or varioref,
// we have to call babel before // we have to call babel before
if (use_babel if (use_babel
&& (features.isRequired("jurabib") && (features.isRequired("jurabib")
|| features.isRequired("hyperref") || features.isRequired("hyperref")
|| features.isRequired("varioref") || features.isRequired("varioref")
|| features.isRequired("vietnamese")
|| features.isRequired("japanese"))) { || features.isRequired("japanese"))) {
os << features.getBabelPresettings(); os << features.getBabelPresettings();
// FIXME UNICODE // FIXME UNICODE