summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/xetex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-03-14 23:24:55 +0000
committerKarl Berry <karl@freefriends.org>2012-03-14 23:24:55 +0000
commited4534197eb59eaaf55a6254c40708e64bfc6890 (patch)
tree1a1df807cfbb555c3e6429864f4f0d7b0cf06db4 /Master/texmf-dist/doc/xetex
parent7ae8d02f3d6d6c4c97fc8c8cba605d61c863a2b8 (diff)
zhspacing (14mar12)
git-svn-id: svn://tug.org/texlive/trunk@25644 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/xetex')
-rw-r--r--Master/texmf-dist/doc/xetex/zhspacing/test/zhspacing-context-test.tex (renamed from Master/texmf-dist/doc/xetex/zhspacing/zhspacing-context-test.tex)0
-rw-r--r--Master/texmf-dist/doc/xetex/zhspacing/zhs-man.pdfbin192721 -> 151236 bytes
-rw-r--r--Master/texmf-dist/doc/xetex/zhspacing/zhs-man.tex53
3 files changed, 33 insertions, 20 deletions
diff --git a/Master/texmf-dist/doc/xetex/zhspacing/zhspacing-context-test.tex b/Master/texmf-dist/doc/xetex/zhspacing/test/zhspacing-context-test.tex
index 1f6c528d25c..1f6c528d25c 100644
--- a/Master/texmf-dist/doc/xetex/zhspacing/zhspacing-context-test.tex
+++ b/Master/texmf-dist/doc/xetex/zhspacing/test/zhspacing-context-test.tex
diff --git a/Master/texmf-dist/doc/xetex/zhspacing/zhs-man.pdf b/Master/texmf-dist/doc/xetex/zhspacing/zhs-man.pdf
index c0a828fb9f3..30a336d2ddc 100644
--- a/Master/texmf-dist/doc/xetex/zhspacing/zhs-man.pdf
+++ b/Master/texmf-dist/doc/xetex/zhspacing/zhs-man.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/xetex/zhspacing/zhs-man.tex b/Master/texmf-dist/doc/xetex/zhspacing/zhs-man.tex
index 0ec7e478aba..6959a38d641 100644
--- a/Master/texmf-dist/doc/xetex/zhspacing/zhs-man.tex
+++ b/Master/texmf-dist/doc/xetex/zhspacing/zhs-man.tex
@@ -8,7 +8,7 @@
\usepackage{zhspacing}
\usepackage[fakebold]{zhfont}
\usepackage[noactive]{zhmath}
-\usepackage[dvipdfmx]{hyperref}
+\usepackage{hyperref}
\newfontfamily\zhcjkextafont{Sun-ExtA}
\newfontfamily\zhcjkextbfont{Sun-ExtB}
\zhspacing
@@ -26,10 +26,10 @@
\makeatother
\begin{document}
\title{Typesetting Chinese in \XeTeX: |zhspacing| user's
-manual\footnote{Revision: \zhspacingrevision.}}
+manual\thanks{Revision: \zhspacingrevision.}}
\author{\textsc{Yin} Dian\footnote{Lab.\ of Network Comm. System \&
Control, Univ.\ of Sci.\ \& Tech.\ of China.}}
-\date{2007.12.11.}
+\date{2012/03/14}
\maketitle
\tableofcontents
\newpage
@@ -221,9 +221,9 @@ Here is the way to do it.\footnote{See zhfont.sty later for convenient ways.}
\fi\fi
}
\newfontfamily\zhrmfont[BoldFont=SimHei,
- ItalicFont=KaiTi_GB2312]{SimSun}
+ ItalicFont=KaiTi]{SimSun}
\newfontfamily\zhsffont{SimHei}
-\newfontfamily\zhttfont[BoldFont=SimHei]{KaiTi_GB2312}
+\newfontfamily\zhttfont[BoldFont=SimHei]{KaiTi}
\def\zhfont{\ifcase\zhs@curr@fam\zhrmfont\or\zhsffont
\or\zhttfont\else\zhrmfont\fi}
\end{verbatim}
@@ -300,8 +300,9 @@ customization, of course.
Vertical Chinese can be achieved by adding raw feature |vertical| to the
specified font. An example could be, \hfil
\setbox0=\hbox to 0pt{\vbox{\noindent
-\newfontfamily\zhfont[RawFeature={vertical:},BoldFont=SimHei]{SimSun}
-\newfontfamily\zhpunctfont[RawFeature={vertical:+vert:+vhal}]{[AdobeSongStd-Light.otf]}
+\newfontfamily\zhfont[RawFeature={script=hani:language=CHN:vertical:+vert},
+ BoldFont=SimHei]{SimSun}
+\let\zhpunctfont\zhfont
\haltskipscheme
\rotatebox{-90}{\fbox{\raise 0.8em\hbox{我是中国人,我爱自己的祖国。}}}
}\hss}
@@ -309,13 +310,13 @@ specified font. An example could be, \hfil
\begin{verbatim}
\documentclass[12pt]{article}
- \usepackage[dvipdfm]{graphicx}
+ \usepackage{graphicx}
\usepackage{zhspacing}
\zhspacing
\begin{document}
- \newfontfamily\zhfont[RawFeature={vertical:}]{SimSun}
- \newfontfamily\zhpunctfont[RawFeature={vertical:
- +vert:+vhal}]{[AdobeSongStd-Light.otf]}
+ \newfontfamily\zhfont[
+ RawFeature={script=hani:language=CHN:vertical:+vert}]{SimSun}
+ \let\zhpunctfont\zhfont
\haltskipscheme
\rotatebox{-90}{我是中国人,我爱自己的祖国。}
\end{document}
@@ -347,13 +348,21 @@ definitions of |ulem|'s new \cs{hskip} and \cs{penalty} in |zhulem|, and advice
users to use this modified one.}. Use |zhulem| provided along with
|zhspacing| instead.
-\subsection{Working with the \texttt{ctex} package}
+|zhspacing| may be not compatible with macro packages which use
+\cs{XeTeXinterchartoks} faculty. For example, the |polyglossia| package (some
+languages).
+
+\subsection{Working with other Chinese package}
+
+|zhspacing| is not compatible with |xeCJK|. The latter can be only used in
+\LaTeX\ format. |zhspacing| is now supposed to be mainly used in Plain \TeX\
+format; in \LaTeX, |xeCJK| is a better choice.
+
The |ctex| package, made by \href{http://www.ctex.org}{|ctex.org|}, is a widely
used Chinese document framework which hides the underlying Chinese processing
details to the user, which enables portability between different Chinese
-processing packages or systems, such as |CCT| and |CJK|. \name{Jjgod} has made
-a \XeTeX\ port of the |ctex| package, named |cxetex|, which can be found at
-\url{http://www.newsmth.net/att.php?s.460.257121.452.bz2}.
+processing packages or systems. New version of |ctex| package supports \XeTeX\
+through |xeCJK| package, |zhspacing| is not necessary.
To use |zhspacing| in |cxetex|, a slight modification of the file |ctexcjk.clo|
should be made. Change the corresponding lines to the followes (\% means the
@@ -376,9 +385,13 @@ original lines).
You can surely change these lines to your own taste.
\section{Getting \texttt{zhspacing}}
-|zhspacing| is hosted on an open-source project at googlecode. The project
-homepage is \url{http://code.google.com/p/zhspacing/}. You can get the lastest
-source from the download page or via SVN.
+
+You can get latest stable version of |zhspacing| on CTAN.
+
+|zhspacing| was hosted on an open-source project at googlecode. The old project
+homepage is \url{http://code.google.com/p/zhspacing/}.
+
+Now |zhspacing| is part of |ctex-kit| project (\url{http://code.google.com/p/ctex-kit/}). You can get the lastest source via SVN.
\goodbreak
\part{zhfont.sty}
@@ -419,7 +432,7 @@ The following example is generated with |zhfont| loaded with option
\begin{verbatim}
\newfontfamilywithslant\zhrmfont{SimSun}
中文\textbf{测试}。\textit{中文\textbf{测试}。}
-\newfontfamilywithslant\zhrmfont{FangSong_GB2312}
+\newfontfamilywithslant\zhrmfont{FangSong}
中文\textbf{测试}。\textit{中文\textbf{测试}。}
\end{verbatim}
}
@@ -427,7 +440,7 @@ The following example is generated with |zhfont| loaded with option
{
\newfontfamilywithslant\zhrmfont{SimSun}
中文\textbf{测试}。\textit{中文\textbf{测试}。}
-\newfontfamilywithslant\zhrmfont{FangSong_GB2312}
+\newfontfamilywithslant\zhrmfont{FangSong}
中文\textbf{测试}。\textit{中文\textbf{测试}。}
}
\goodbreak