[EMAIL PROTECTED] writes:

>  
> -             if (!encodings.empty() || package == Encoding::inputenc) {
> +             // When the language japanese-plain is used, the package 
> inputenc must
> +             // be omitted.
> +             // see 
> http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg129680.html
> +             if ((!encodings.empty() || package == Encoding::inputenc) &&
> +                     language->lang() != "japanese-plain") {
>                       os << "\\usepackage[";
>                       std::set<string>::const_iterator it = encodings.begin();
>                       std::set<string>::const_iterator const end = 
> encodings.end();

What about setting the latex name of the euc-jp-plain encoding to
empty instead?

JMarc

Reply via email to