You are not logged in.

#1 2009-10-20 01:54:45

piotr
Member
Registered: 2008-01-26
Posts: 58

{solved} chinese input in latex

I am tryiny to setup latex for multilingualism, particularly for inputting chinese characters. I have followed the tips provided at http://www.reed.edu/cis/help/LaTeX/language.html, but I get an error:

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

I have installed texlive-core and texlive-langcjk. What else am I missing?

Last edited by piotr (2009-10-20 06:03:50)

Offline

#2 2009-10-20 04:23:49

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: {solved} chinese input in latex

Try installing texlive-latexextra.

Here's how I found it. I used the command pkgfile -vg '*ucs.sty'. You can get pkgfile from the pkgtools package.

Last edited by fsckd (2009-10-20 04:28:49)


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#3 2009-10-20 06:02:47

piotr
Member
Registered: 2008-01-26
Posts: 58

Re: {solved} chinese input in latex

Done. Thanks.
For those having similiar problem. After installing texlive-latexextra, most probably you will need to edit this line in your latex:

\newcommand{\cjktext}[1]{\begin{CJK}{UTF8}{cyberbit}#1\end{CJK}};

I had to change the font {cyberbit} to {min} or {goth}

\newcommand{\cjktext}[1]{\begin{CJK}{UTF8}{goth}#1\end{CJK}}.

Only then, latex works by allowing to switch from english to chinese.

Last edited by piotr (2009-10-20 06:08:55)

Offline

Board footer

Powered by FluxBB