LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-16-2004, 05:35 PM   #1
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Rep: Reputation: 15
Question 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?
 
Old 05-16-2004, 06:06 PM   #2
guldo
Member
 
Registered: Aug 2003
Location: Morio Cho
Distribution: debian sid
Posts: 124

Rep: Reputation: 15
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
 
Old 05-16-2004, 08:30 PM   #3
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Original Poster
Rep: Reputation: 15
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.
 
Old 05-16-2004, 08:39 PM   #4
mifan
Member
 
Registered: Apr 2004
Distribution: mandrake
Posts: 116

Original Poster
Rep: Reputation: 15
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kylin: A chinese OS ernesto_cgf Linux - News 1 05-08-2005 09:11 PM
I need chinese!! iamthewind Linux - Software 5 10-12-2003 05:05 PM
Any other Chinese here? gexiaofei General 28 08-27-2003 04:11 AM
Chinese dsgdevil Linux - Software 1 08-13-2003 12:32 AM
chinese?! punt Linux - General 3 07-17-2001 07:08 PM


All times are GMT -5. The time now is 09:37 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration