summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/CJK/pinyin
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-01-12 23:49:33 +0000
committerKarl Berry <karl@freefriends.org>2006-01-12 23:49:33 +0000
commit9c13b7d529c1df9b36a4a1cfae5893423f71f9f0 (patch)
treefb0eab8645d8ce722f854856b6281582007930d7 /Master/texmf-dist/tex/latex/CJK/pinyin
parent537a62abf2208730c27ee774a90f39a41a8cce70 (diff)
CJK
git-svn-id: svn://tug.org/texlive/trunk@630 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/CJK/pinyin')
-rw-r--r--Master/texmf-dist/tex/latex/CJK/pinyin/pinyin.ldf45
1 files changed, 45 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/CJK/pinyin/pinyin.ldf b/Master/texmf-dist/tex/latex/CJK/pinyin/pinyin.ldf
new file mode 100644
index 00000000000..092ea3a44cb
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/CJK/pinyin/pinyin.ldf
@@ -0,0 +1,45 @@
+% This is the file pinyin.ldf of the CJK package
+% for hyphenating Chinese pinyin syllables.
+%
+% We use the latin-1 character code for `umlaut u' (0xfc). Additionally,
+% the quote character "'" is used in its standard sense (resolving syllabic
+% ambiguities).
+%
+% created by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.6.0 (11-Aug-2005)
+
+\ProvidesLanguage{pinyin}
+ [CJK 4.6.0 pinyin support for the babel system]
+
+\LdfInit{pinyin}{captionspinyin}
+
+\ifx\l@pinyin\@undefined
+ \@nopatterns{pinyin}
+ \adddialect\l@pinyin0
+\fi
+
+\def\pinyinhyphenmins{11}
+\def\captionspinyin{}
+\def\datepinyin{}
+
+\initiate@active@char{"}
+
+\addto\extraspinyin{\languageshorthands{pinyin}}
+\addto\extraspinyin{\bbl@activate{"}}
+\addto\extraspinyin{\babel@save\"\umlautlow}
+\addto\extraspinyin{%
+ \babel@savevariable{\lccode"27}%
+ \lccode"27 "27}
+
+\addto\noextraspinyin{\umlauthigh}
+
+\declare@shorthand{pinyin}{"u}{\textormath{\"{u}}{\ddot u}}
+\declare@shorthand{pinyin}{"U}{\textormath{\"{U}}{\ddot U}}
+
+\def\mdqon{\shorthandon{"}}
+\def\mdqoff{\shorthandoff{"}}
+
+\ldf@finish{pinyin}
+
+\endinput