summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/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/tex/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/tex/latex/cjk/utils')
-rwxr-xr-xMaster/texmf-dist/tex/latex/cjk/utils/pyhyphen/pinyin.ldf62
1 files changed, 62 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/cjk/utils/pyhyphen/pinyin.ldf b/Master/texmf-dist/tex/latex/cjk/utils/pyhyphen/pinyin.ldf
new file mode 100755
index 00000000000..b37dc1d7a62
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/cjk/utils/pyhyphen/pinyin.ldf
@@ -0,0 +1,62 @@
+% 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.8.2 (29-Dec-2008)
+
+% Copyright (C) 1994-2008 Werner Lemberg <wl@gnu.org>
+%
+% This program is free software; you can redistribute it and/or modify
+% it under the terms of the GNU General Public License as published by
+% the Free Software Foundation; either version 2 of the License, or
+% (at your option) any later version.
+%
+% This program is distributed in the hope that it will be useful,
+% but WITHOUT ANY WARRANTY; without even the implied warranty of
+% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+% GNU General Public License for more details.
+%
+% You should have received a copy of the GNU General Public License
+% along with this program in doc/COPYING; if not, write to the Free
+% Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+% MA 02110-1301 USA
+
+\ProvidesLanguage{pinyin}
+ [CJK 4.8.2 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