summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cjk/utils
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-01-01 17:59:08 +0000
committerKarl Berry <karl@freefriends.org>2009-01-01 17:59:08 +0000
commitcf88a21d6fd630740e594fe0c7f4a9d18889d559 (patch)
tree1fb1f60c7b5de113e1a37b4448cccb4dc2fcbaf1 /Master/texmf-dist/doc/latex/cjk/utils
parent06b1964526f9f21bba3b50c33085a434ecbc64d3 (diff)
cjk 4.8.2 (29dec08)
git-svn-id: svn://tug.org/texlive/trunk@11791 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/cjk/utils')
-rwxr-xr-xMaster/texmf-dist/doc/latex/cjk/utils/pyhyphen/pytest.tex51
1 files changed, 51 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cjk/utils/pyhyphen/pytest.tex b/Master/texmf-dist/doc/latex/cjk/utils/pyhyphen/pytest.tex
new file mode 100755
index 00000000000..7e694cf433b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/utils/pyhyphen/pytest.tex
@@ -0,0 +1,51 @@
+% This is the file pytest.tex of the CJK package
+% for testing Chinese pinyin hyphenation.
+%
+% created by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.2 (29-Dec-2008)
+%
+%%
+%% Attention! This will work only if you have created a new format file
+%% with `pyhyph.tex' as additional hyphenation patterns for the language
+%% `pinyin'. Otherwise no hyphenation will be used.
+%%
+% Note that the Babel package searches for `pinyin.ldf', not pinyin.sty --
+% the latter is for typesetting accented pinyin syllables.
+
+\documentclass[12pt,b5paper]{article}
+
+\usepackage[10pt]{type1ec} % use only 10pt fonts
+\usepackage[T1]{fontenc}
+\usepackage[pinyin]{babel}
+
+
+\begin{document}
+
+% Taken from the TeXbook (p. 451) to force frequent insertion of hyphens.
+\hyphenpenalty -1000
+\pretolerance -1
+\tolerance 1000
+\doublehyphendemerits -100000
+\finalhyphendemerits -100000
+
+\selectlanguage{pinyin}
+
+Women hen xihuan l"uxing. Zai Beijing women hen xiang kan Tian'anmen.
+Mingtian women xiang yao dao Xi'an qu. Xiage libai zai hui jia.
+Women hen xihuan l"uxing. Zai Beijing women hen xiang kan Tian'anmen.
+Mingtian women xiang yao dao Xi'an qu. Xiage libai zai hui jia.
+Women hen xihuan l"uxing. Zai Beijing women hen xiang kan Tian'anmen.
+Mingtian women xiang yao dao Xi'an qu. Xiage libai zai hui jia.
+Women hen xihuan l"uxing. Zai Beijing women hen xiang kan Tian'anmen.
+Mingtian women xiang yao dao Xi'an qu. Xiage libai zai hui jia.
+Women hen xihuan l"uxing. Zai Beijing women hen xiang kan Tian'anmen.
+Mingtian women xiang yao dao Xi'an qu. Xiage libai zai hui jia.
+Women hen xihuan l"uxing. Zai Beijing women hen xiang kan Tian'anmen.
+Mingtian women xiang yao dao Xi'an qu. Xiage libai zai hui jia.
+Women hen xihuan l"uxing. Zai Beijing women hen xiang kan Tian'anmen.
+Mingtian women xiang yao dao Xi'an qu. Xiage libai zai hui jia.
+Women hen xihuan l"uxing. Zai Beijing women hen xiang kan Tian'anmen.
+Mingtian women xiang yao dao Xi'an qu. Xiage libai zai hui jia.
+
+\end{document}