Hi!

Op 17-09-08 13:23, schreef [EMAIL PROTECTED]:
> 
> Thanks. Could you send the complete XeTeX source? I am having trouble
> producing the source, since I have never used XeTeX before.

Here is a sort of minimal example file; use "xelatex" to run it:

%%% Start:

% This is a minimal example file testing inclusion of CID fonts with
% XeLaTeX and xCJK.
%
% Written by Danai Sae-Han.

\documentclass[12pt]{scrartcl}

% Load CJK.

\usepackage[CJK, overlap]{ruby}
\usepackage[boldfont]{xCJK}  %"italicfont" only after XeTeX v0.997
\usepackage{CJKulem}

% Use TeX Gyre Pagella as your main (Latin) font, and fix the "---" m-dash.
\setmainfont[Mapping=tex-text]{TeXGyrePagella}

% You can specify a different default font for all of the CJK characters.
\setCJKmainfont{AR PL UMing TW}

\renewcommand{\rubysep}{-0.3ex}

%% Begin of document.

\begin{document}

\begin{CJK*}{UTF8}{song}

\section{Traditional Chinese}

本常問問答集~(FAQ list)~是從一些經常被問到的問題及其適當的解答中,以方
便的形式摘要而出的。\uline{跟上一版不同的是,其編排結構已徹底改變。}
\textbf{有關新結構的細節,可參考「如何閱讀本問答集及了解其編排結構」該
項中的說明。}


\end{CJK*}


\end{document}


%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-master: t
%%% End:


To get a list of fonts that you can use, run "fc-list".


I have made an more extended example file that shows different fonts on
Debian (and Cyberbit, which isn't free).

You can find it here temporarily:

http://users.edpnet.be/vanmeel/TeX/xCJK-extended.tex
http://users.edpnet.be/vanmeel/TeX/xCJK-extended.pdf


Best regards


-- 
Danai SAE-HAN (韓達耐)

題目:《泊船瓜洲》
作者:王安石(1021-1086)

京口瓜洲一水間,鐘山只隔數重山。
春風又綠江南岸,明月何時照我還。

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to