LyXProblem with Japanese Input

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
nomnex
Posts: 2
Joined: Tue Dec 20, 2011 6:15 am

Problem with Japanese Input

Post by nomnex »

--- Configuration ---
  • Fedora 15 LXDE
  • OS Language: en_US
  • Input framework: i-bus (Japanese)
  • I have installed LyX 2.0.2 from the Fedora repository two days ago. It comes with texlive2007.
  • User level (LyX/Tex): Complete newbie (LyX introduction & Tutorial completed; User manual in the reading process).
--- Problem ---

I need to write documents in English/Japanese. I can input Japanese in LyX, but no matter the Document settings (see: below [01][03]), it always return error messages (see:below [02][03]) when I output to DVI or PDFLATEX.

LyX complains about 'CJK.st' not found. There is no 'tex-cjk' package in the Fedora repository to my knowledge. I have installed 'texlive-east-asian', see detail:
http://zid-luxinst.uibk.ac.at/linux/rpm ... oarch.html
I do not know if this package is necessary, or if I can remove it?

In the LyX Document settings: the only fonts I see are Latin fonts. I do not see any Japanese fonts (with or without 'texlive-east-asian' package installed). There is only an empty CJK font field.

The LyX wiki did not help me. Some web pages refers to a CJK package to install manually, but I am not positive. I don't really know if my problem if is a setting, or a missing package.

Help greatly appreciated.


[01]---Setting---

Language: Japanese
Encoding: Other: Unicode (CJK) (utf8)

[03]---Error---

Code: Select all

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex 2011.12.16)  20 DEC 2011 13:26
entering extended mode
 %&-line parsing enabled.
**newfile1.tex
(./newfile1.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, 
turkish, ukenglish, ukrainian, loaded.

(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)

! LaTeX Error: File `CJK.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)

Enter file name: 
! Emergency stop.
<read *> 
         
l.7 \usepackage
               [japanese]{babel}^^M
*** (cannot \read from terminal in nonstop modes)

 
Here is how much of TeX's memory you used:
 201 strings out of 256217
 2107 string characters out of 1917094
 48804 words of memory out of 1500000
 3575 multiletter control sequences out of 10000+200000
 3640 words of font info for 14 fonts, out of 1200000 for 2000
 645 hyphenation exceptions out of 8191
 23i,0n,17p,140b,36s stack positions out of 5000i,500n,6000p,200000b,15000s
No pages of output.
[02]---Document Setting---

Language: Japanese
Encoding: Other: Unicode (utf8)

[04]---Error 02---

Code: Select all

This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=latex 2011.12.16)  20 DEC 2011 13:27
entering extended mode
 %&-line parsing enabled.
**newfile1.tex
(./newfile1.tex
LaTeX2e <2005/12/01>
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, arabic, basque, bulgarian, coptic, welsh, czech, slovak, german, ng
erman, danish, esperanto, spanish, catalan, galician, estonian, farsi, finnish,
 french, greek, monogreek, ancientgreek, croatian, hungarian, interlingua, ibyc
us, indonesian, icelandic, italian, latin, mongolian, dutch, norsk, polish, por
tuguese, pinyin, romanian, russian, slovenian, uppersorbian, serbian, swedish, 
turkish, ukenglish, ukrainian, loaded.

(/usr/share/texmf/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/share/texmf/tex/latex/base/size10.clo
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (/usr/share/texmf/tex/generic/babel/babel.sty
Package: babel 2005/11/23 v3.8h The Babel package

! Package babel Error: Language definition file japanese.ldf not found.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.141 \ProcessOptions*
                      
Maybe you misspelled the language option?


! Package babel Error: You haven't specified a language option.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.149 ...ry to proceed from here, type x to quit.}
                                                  
You need to specify a language, either as a global option
or as an optional argument to the \usepackage command; 
You shouldn't try to proceed from here, type x to quit.

(/usr/share/texmf/tex/generic/babel/babel.def
File: babel.def 2005/11/23 v3.8h Babel common definitions
\babel@savecnt=\count87
\U@D=\dimen103
)) (./newfile1.aux

! Package babel Error: You haven't loaded the option english yet.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.2 \select@language{english}
                             
You may proceed, but expect unexpected results

)
\openout1 = `newfile1.aux'.

LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 7.
LaTeX Font Info:    ... okay on input line 7.

! Package babel Error: You haven't loaded the option english yet.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.7 \begin{document}
                    
You may proceed, but expect unexpected results

Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
Missing character: There is no � in font cmr10!
[1

] (./newfile1.aux

! Package babel Error: You haven't loaded the option english yet.

See the babel package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.2 \select@language{english}
                             
You may proceed, but expect unexpected results

) ) 
Here is how much of TeX's memory you used:
 485 strings out of 256217
 5373 string characters out of 1917094
 55155 words of memory out of 1500000
 3847 multiletter control sequences out of 10000+200000
 3640 words of font info for 14 fonts, out of 1200000 for 2000
 645 hyphenation exceptions out of 8191
 23i,4n,18p,152b,107s stack positions out of 5000i,500n,6000p,200000b,15000s

Output written on newfile1.dvi (1 page, 208 bytes).

Copy: LyX user mailing list

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply