|
Dear group, I have a document, where I would like to add some Japanese "Kanji" to a BibTeX item. My document contains parts in German, French and English. To keep it simple, and because I don't want to mess my character encodings, I would like to avoid any special Unicode input modes "\usepackage[utf8]{inputenc}" as I'm already using "\usepackage[latin1]{inputenc}", furthermore I prefer just to have ASCII source files. Therefore I thought, considering the limited amount of Kanjis I want to add, that the \CJKchar command would be ideal for me. But I always get some strange error messages, saying something about an "Undefined control sequence". I am using pdfLaTeX, and have therefore installed the "Cyberbit" fonts as described on the web page "http://www.jawiki.de/wiki/display/WAD/MikTex". The test being described on this page (Beispiel) works perfectly. I modify this test to avoid any utf8-encoding, and just use the \CJKchar command, and then I get the strange error message mentioned before. My test sample is as follows: ------------------------------------------------------------- \documentclass[12pt,a4paper]{article} \usepackage[ngerman]{babel} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{CJK} %\usepackage[CJK, overlap]{ruby} % für bessere Schriften im PDF \usepackage{ae} \begin{document} %\begin{CJK} %\Unicode{"23}{"45} %\CJKchar[UTF8]{"02D9}{"04F} \section{This is a problematic Big 5 character: \CJKchar{169}{92}} %\end{CJK} \end{document} --------------------------------------------------------------- As you can tell from the lines being commented out, I have tried plenty of combinations. I am using the newest MikTeX 2.6 version, with CJK 4.7.0. I have shortened the generated log-file, just leaving the (as I think) important parts : --------------------------------------------------------------- This is pdfTeX, Version 3.141592-1.40.4 (MiKTeX 2.6) (preloaded format=pdflatex 2007.11.22) 22 NOV 2007 19:51 entering extended mode **JapTestNext.tex (JapTestNext.tex LaTeX2e <2005/12/01> Babel <v3.8h> and hyphenation patterns for english, dumylang, nohyphenation, ge rman, ngerman, french, loaded. (C:\Programs\Office\LaTeX\MiKTeX26\tex\latex\base\article.cls Document Class: article 2005/09/16 v1.4f Standard LaTeX document class (C:\Programs\Office\LaTeX\MiKTeX26\tex\latex\base\size12.clo File: size12.clo 2005/09/16 v1.4f Standard LaTeX file (size option) : : L )) (C:\Programs\Office\LaTeX\MiKTeX26\tex\latex\cjk\CJK.sty Package: CJK 2006/10/17 4.7.0 (C:\Programs\Office\LaTeX\MiKTeX26\tex\latex\cjk\mule\MULEenc.sty File: MULEenc.sty 2006/10/17 4.7.0 ) (C:\Programs\Office\LaTeX\MiKTeX26\tex\latex\cjk\CJK.enc File: CJK.enc 2006/10/17 4.7.0 : : ! Undefined control sequence. \\CJKchar ... \else [EMAIL PROTECTED] #3\ifnum [EMAIL PROTECTED] > 160\relax \ifnum [EMAIL PROTECTED] l.18 ...ematic Big 5 character: \CJKchar{169}{92}} ? ------------------------------------------------------------------------------------------- I'm not sure, whether this is a bug, or if I do something completely wrong. I have installed MikTeX on two different computers, observing the same behavior. And I have also tested the example file CEF_test.tex provided with the CJK package, also resulting in error messages. I would be very happy if someone could help me out Thanks in advance Cheers Manuel |
_______________________________________________ Cjk maillist - [email protected] https://lists.ffii.org/mailman/listinfo/cjk
