final touch.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26207 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2008-08-19 07:48:24 +00:00
parent 5da25426f5
commit db9885f882

View File

@ -1872,8 +1872,8 @@ void BufferParams::writeEncodingPreamble(odocstream & os,
set<string> encodings =
features.getEncodingSet(doc_encoding);
// If the encodings EUC-JP-plain, JIS-plain, or SJIS-plain are used, the
// package inputenc must be omitted. Therefore set the encoding to empty.
// If the "japanese" package (i.e. pLaTeX) is used,
// inputenc must be omitted.
// see http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg129680.html
if (package == Encoding::japanese)
features.require("japanese");