[XeTeX] XeTeX Digest, Vol 48, Issue 26
David Rangel
dprangelito at gmail.com
Mon Mar 17 17:59:49 CET 2008
Hello,
Is there a simple example of how to use everyshi or atbegshi
to typeset vertical right to left Chinese text (the thread:
http://tug.org/pipermail/xetex/2008-January/008341.html
does not provide an example, and the package at
ctug did not have an example that would serve as a guide
for this issue).
On a separate, but related note, the packages gezhu and zhspacing
give the following error when run on a simple document:
....
(/usr/local/texlive/2007/../texmf-local/tex/xelatex/fontspec/
fontspec.cfg))kpathsea: Running mktextfm SimHei/ICU
/usr/local/texlive/2007/texmf/web2c/mktexnam: Could not map source
abbreviation I for ICU.
/usr/local/texlive/2007/texmf/web2c/mktexnam: Need to update /usr/
local/texlive/2007/texmf-dist/fonts/map/fontname/special.map?
mktextfm: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1;
nonstopmode; input ICU
This is METAFONT, Version 2.71828 (Web2C 7.5.6)
kpathsea: Running mktexmf ICU
! I can't find file `ICU'.
<*> \mode:=ljfour; mag:=1; nonstopmode; input ICU
Please type another input file name
! Emergency stop.
<*> \mode:=ljfour; mag:=1; nonstopmode; input ICU
Transcript written on mfput.log.
grep: ICU.log: No such file or directory
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode;
input ICU' failed to make ICU.tfm.
kpathsea: Appending font creation commands to missfont.log.
! Font \@tempfontb=SimHei/ICU at 10.0pt not loadable: Metric (TFM)
file or inst
alled font not found.
\\zf at make@font at shapes ...f at suffix " at \f at size pt
\edef \@tempb
{\fontname \...
l.568 ...family\zhfont[BoldFont=SimHei]{SimSun}}{}
.....
and here is the TeX source:
....
\documentclass{article}
\usepackage{zhspacing}
\zhspacing
\usepackage{zhulem}
\usepackage{gezhu}
\begin{document}
\begin{withgezhu}
世祖光武皇帝讳秀,字文叔,|{礼“{祖有功而宗有
德}”,光武中兴,故庙称世祖。
\end{withgezhu}
\end{document}
Now, I was able to get the package to work on the example: testgezhu-
xelatex.tex,
but only by replacing SimSun by BauiKai in the \zhfont selection. Then
I was able
to typeset the document, but only with characters that were NOT
vertically rotated
Is there not a simpler way to typeset Chinese text vertically using
the basic XeLaTeX
compilation without having to use these additional packages and using
the
\setromanfont[Scale=2.5,Vertical=RotatedGlyphs]{LiSong Pro}
option?
Thank you for any input,
David
PS if these questions are too basic for this forum, could you suggest
where I should
turn for more remedial help on typesetting Chinese text with complex
layout?
On Mar 14, 2008, at 4:00 AM, xetex-request at tug.org wrote:
> everyshi or atbegshi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/xetex/attachments/20080317/7e3b91ef/attachment.html
More information about the XeTeX
mailing list