From 9c13b7d529c1df9b36a4a1cfae5893423f71f9f0 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 12 Jan 2006 23:49:33 +0000 Subject: CJK git-svn-id: svn://tug.org/texlive/trunk@630 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/CJK/pinyin/pinyin.ldf | 45 +++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/CJK/pinyin/pinyin.ldf (limited to 'Master/texmf-dist/tex/latex/CJK/pinyin') 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 +% +% 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 -- cgit v1.2.3