On Tuesday, November 25, 2008 at 22:14, [EMAIL PROTECTED] wrote:
> I've installed the latest git version of CJK and use the following
> example to do test:

> --------------------
> \documentclass{article}
> \usepackage{CJK}
> \begin{document}
> \begin{CJK*}{GBK}{song}

> \CJKnumber{2008}

> \CJKdigits*{2008}

> \end{CJK*}
> \end{document}
> -------------------

> But I'll meet the following errors:

> ----------------------
> This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
> entering extended mode
> (xelatex_date.tex
> LaTeX2e <2005/12/01>
> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, 
> ge
> rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
> ("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
> Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
> ("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"))
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\CJK.sty
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\mule\MULEenc.
> sty)
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\CJK.enc)
> ) (xelatex_date.aux)
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\standard.bdg)
> 
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\extended.enc
> )
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\extended.chr)

> ! Undefined control sequence.
> l.6 \CJKnumber
>               {2008}
> ?
> -----------------------

> And this:

> ------------------------
> This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
> entering extended mode
> (xelatex_date.tex
> LaTeX2e <2005/12/01>
> Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, 
> ge
> rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
> ("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
> Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
> ("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"))
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\CJK.sty
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\mule\MULEenc.
> sty)
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\CJK.enc)
> ) (xelatex_date.aux)
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\standard.bdg)
> 
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\extended.enc
> )
> (F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\cjk\texinput\extended.chr)

> ! Undefined control sequence.
> l.8 \CJKdigits
>               *{2008}
> ?
> ------------------------

I must told you that in the above test, I install the CJK like this:

put the all stuff in the cjk dir unbundled from the .tar.gz to my
~\$TEXMFHOME/tex/latex/cjk and run texhash.  Is this right or not?

Furthermore, I reinstall the CJK to standand TDS directory (i.e., only
use all of the stuff in the texinput dir, and rename the texinput to
CJK, then put it to ~\$TEXMFHOME/tex/latex/ and run texash) in my home
TEXMF and change the example I used to the following one:

---------------------
\documentclass{article}
\usepackage{CJK,CJKnumb}
\begin{document}
\begin{CJK*}{GBK}{song}

\CJKnumber{2008}

\CJKdigits*{2008}

\end{CJK*}
\end{document}
----------------------

In this case, I meet the errors like this:

---------------------
This is pdfTeX, Version 3.1415926-1.40.9 (MiKTeX 2.7)
entering extended mode
(xelatex_date.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2008-06-18, ngerman-x-2008-06-18, french, loaded.
("C:\Program Files\MiKTeX 2.7\tex\latex\base\article.cls"
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
("C:\Program Files\MiKTeX 2.7\tex\latex\base\size10.clo"))
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\CJK.sty
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\mule\MULEenc.sty)
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\CJK.enc))
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\CJKnumb.sty)
(xelatex_date.aux)
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\standard.bdg)
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\extended.enc)
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\extended.chr)
(F:\zhaohs\TeX-Fonts-CJK\localtexmf-miktex\tex\latex\CJK\GB\c19song.fd)Running m
akemf...
makemf: The gbk source file could not be found.
Running hbf2gf...

hbf2gf (CJK ver. 4.8.0)

Couldn't find `gbk.cfg'
maketfm: No creation rule for font gbk41.

! Font C19/song/m/n/10/41=gbk41 at 10.0pt not loadable: Metric (TFM) file not f
ound.
<to be read again>
                   relax
l.6 \CJKnumber{2008}

?
----------------------

Why?

Regards,
-- 
Hongsheng Zhao <[EMAIL PROTECTED]> 
Xinjiang Technical Institute of Physics and Chemistry
Chinese Academy of Sciences 
GnuPG DSA: 0xD108493
2008-11-25


_______________________________________________
Cjk maillist  -  Cjk@ffii.org
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to