LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Chinese typesetting? (http://www.linuxquestions.org/questions/linux-newbie-8/chinese-typesetting-182190/)

mifan 05-16-2004 05:35 PM

Chinese typesetting?
 
Hi everyone,

I have a question about typesetting in chinese. I have downloaded cjk-lyx and installed it. I can type chinese and english, but when I view the dvi file in xdvi, i get gibberish. when i export to pdf, its the same thing. I've exported to LaTeX and when I opened in Kwrite to see what it looked like, I saw the following:

%% LyX 1.3 created this file. For more info, see http lyx. org/.
%% Do not edit unless you really know what you are doing.
\documentclass[letterpaper,oneside,twocolumn,english]{book}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage[latin1]{inputenc}
\usepackage{fancyhdr}
\pagestyle{fancy}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}

\makeatletter
\usepackage{babel}
\makeatother
\begin{document}
wo (the chinese character for "I")
\end{document}

Do I need to change settings in LyX or LaTeX to make it work? or do I need to do something with my dvi viewer and pdf printer?

Is there a better typesetter out there for handling chinese?

guldo 05-16-2004 06:06 PM

Have you installed all the needed fonts too?
I can write japanese using emacs, and produce pdf using the cjk package; all I can tell you is to install all of the chinese fonts.

Guldo

mifan 05-16-2004 08:30 PM

I have the following chinese fonts installed: SimHei, AR PL KaitiM Big5/GB, AR PL Mingti2L Big5, AR PL SungtiL GB.

If I need to sepcify which font to use, how do I do this?

Thanks.

mifan 05-16-2004 08:39 PM

I also notice, on LyX, the chinese language option is non-existant, and GB2312 and GB18030 are not selectable choices for encoding. Did i install the cjk-lyx rpm incorrectly? Which files do i need to modify to accept chinese encoding?

the editor can see the chinese words correctly, but the output file (pdf/dvi) reads it as gibberish.


All times are GMT -5. The time now is 12:35 PM.