[XeTeX] simple font installation question

Daniel Greenhoe dgreenhoe at yahoo.com
Mon Apr 21 09:55:09 CEST 2008


I am trying to use XeLaTeX from the Miktex 2.7 distribution (Windows) to typeset a simple document containing Latin and traditional Chinese characters. But XeLaTeX is not finding the fonts for the Chinese characters. How do I specify this font information? How would I even know which fonts are available and which font to use? Is there a FAQ somewhere explaining font installation?

In the past, I was using CwTeX (Chinese LaTeX) for processing of the Chinese fonts. I think CwTeX uses Big5 character encoding and generates an extra input file called "cinput.tex" which provides font-family information. Now I would very much like to switch to XeLaTeX because it supports UTF-8 encoding.

Here is my tex file ("main.xtx"):
\documentclass{book}
\begin{document}
  Chinese 1 2 3 \\
  中文  一二三 \\
  end
\end{document}

Here is my command line entry:
  xelatex main.xtx

Here is the log information:
This is XeTeX, Version 3.1415926-2.2-0.997 (MiKTeX 2.7) (preloaded format=xelatex 2008.4.21)  21 APR 2008 15:23
entering extended mode
**main.xtx
(main.xtx
LaTeX2e <2005/12/01>
Babel <v3.8j> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, french, loaded.
(c:\p\miktex\tex\latex\base\book.cls
Document Class: book 2005/09/16 v1.4f Standard LaTeX document class
(c:\p\miktex\tex\latex\base\bk10.clo
File: bk10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
)
\c at part=\count79
\c at chapter=\count80
\c at section=\count81
\c at subsection=\count82
\c at subsubsection=\count83
\c at paragraph=\count84
\c at subparagraph=\count85
\c at figure=\count86
\c at table=\count87
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
) (main.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 2.
LaTeX Font Info:    ... okay on input line 2.
Missing character: There is no 中 in font cmr10!
Missing character: There is no 文 in font cmr10!
Missing character: There is no 一 in font cmr10!
Missing character: There is no 二 in font cmr10!
Missing character: There is no 三 in font cmr10!

Underfull \hbox (badness 10000) in paragraph at lines 3--6

 []

[1

] (main.aux) ) 
Here is how much of TeX's memory you used:
 224 strings out of 30500
 2136 string characters out of 1191872
 46383 words of memory out of 1500000
 3421 multiletter control sequences out of 110000
 3993 words of font info for 15 fonts, out of 1200000 for 2000
 14 hyphenation exceptions out of 8191
 23i,4n,17p,134b,142s stack positions out of 5000i,500n,10000p,200000b,5000s

Output written on main.pdf (1 page).

Many thanks in advance,
Dan

-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.pdf
Type: application/pdf
Size: 3285 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20080421/9ae75e88/attachment.pdf 


More information about the XeTeX mailing list