dear werner,

thank you very very much. will try to implement this tomorrow and keep the 
list posted on successes/setbacks.

all the best

paul

On Saturday 26 April 2008 11:57:00 Werner LEMBERG wrote:
> > i'm currently writing my thesis, using tetex-3, emacs and
> > gfsneohellenic fonts for fully accented classical greek (all under
> > gentoo linux).
>
> Which encoding do you use for Greek?  LGR or LGI?  In case you use the
> former, you might get my new Unicode support files from
>
>   http://www.latex-project.org/cgi-bin/ltxbugs2html?pr=babel/4015
>
> which then work fine together with CJKutf8.sty.  I've attached a
> proper lgr.cmap file for Vladimir Volovich's cmap.sty too.
>
> > i have installed arphicfonts and put the tfm files of bsmi in
> > /usr/share/texmf/fonts/tfm/arphic/bsmi00lp, [...]
>
> Hopefully, these TFMs are for Unicode encoding -- I call them
> `bsmiuXX', where `XX' is a lowercase hexadecimal number between 00 and
> ff.
>
> Maybe tetex-3 doesn't have them; you might either update to TeXLive or
> get the stuff from <CTAN>/tex/fonts/arphic.
>
> > \usepackage[encapsulated]{CJK}
>
> Say
>
>   \usepackage{CJKutf8}
>
> instead, in combination with the abovementioned lgrenc.dfu and
> lgrenc.def files.
>
> > \CJKencfamily{Bg5}{bsmi}
>
> For UTF-8 encoding, this is wrong, of course.
>
> > \usepackage[LGR,T1]{fontenc}
>
> Hmm.  For proper language support, you should use the babel package
> which takes care of switching the encoding.
>
> > \usepackage{ucs}
> > \usepackage[utf8x]{inputenc}
>
> This you should omit.
>
> To summarize, here a small example document:
>
>   \documentclass{article}
>
>   \usepackage[resetfonts]{cmap}
>   \usepackage[T1]{fontenc}
>   \usepackage{CJKutf8}
>   \usepackage[greek, USenglish]{babel}
>
>   \newcommand{\cntext}[1]{{\CJKfamily{bsmi}#1}}
>
>
>   \begin{document}
>   \begin{CJK}{UTF8}{}
>
>   Testing Greek: \foreignlanguage{greek}{Γιάννης Χαραλάμπους}
>
>   Testing traditional Chinese: \cntext{你好}
>
>   \end{CJK}
>   \end{document}
>
>
>     Werner



-- 
Paul Feigelfeld + + + + + + + + +
Mehringdamm 72 | 10965 Berlin + +
T +49.30.78954666 + + + + + + + +
M +49.177.8878054 + + + + + + + +
[EMAIL PROTECTED] + + + + + + + +
+ + + + + + + + + + + + + + + + +

_______________________________________________
Cjk maillist  -  [email protected]
https://lists.ffii.org/mailman/listinfo/cjk

Reply via email to