summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/cjk
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-07-12 00:58:13 +0000
committerKarl Berry <karl@freefriends.org>2008-07-12 00:58:13 +0000
commitb644be7550076c874437a062a31c63be6daaa12e (patch)
treec65475d5cd98a50d3b77049242bb980d75d3554d /Master/texmf-dist/doc/latex/cjk
parent438c86541627788f5c36d5af5d2fdd2682bf4d4c (diff)
cjk 4.8.0 update (named CJK before)
git-svn-id: svn://tug.org/texlive/trunk@9456 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/cjk')
-rw-r--r--Master/texmf-dist/doc/latex/cjk/ChangeLog1972
-rw-r--r--Master/texmf-dist/doc/latex/cjk/MANIFEST453
-rw-r--r--Master/texmf-dist/doc/latex/cjk/Makefile226
-rw-r--r--Master/texmf-dist/doc/latex/cjk/README39
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/CEF.txt86
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/CJK.txt1238
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/CJKutf8.txt40
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/COPYING340
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/INSTALL686
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/TDS.txt172
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/TeXLive.txt549
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/chinese/README7
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/chinese/READMEb5.tex1150
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/chinese/READMEgb.tex92
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/chinese/emTeXb5.txt357
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/chinese/teTeXb5.txt327
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/cjk-enc.txt438
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/commands.txt388
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/dvidrv.txt56
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/fdxfiles.txt111
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/fonts.txt311
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/hbf2gf.txt384
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/history.2_5202
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/history.txt1459
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/japanese/README18
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/japanese/ascii.txt58
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/japanese/japanese.jis642
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/japanese/japanese.txt637
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/japanese/jp-fonts.txt54
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/japanese/jp-tex.txt50
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/japanese/preview.txt39
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/japanese/shibuaki.txt150
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/HOWTO.txt425
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/bkai.map55
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/cid-x.map364
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/cwtb.map55
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/dvipdfmx.cfg164
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/gen-map.pl120
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/map.list78
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/Bg5/c00cwtb.fd11
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/Bg5/c00tmpl.fd11
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/GB/c10tmpl.fd10
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/JIS/c40tmpl.fd10
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/SJIS/c49tmpl.fd10
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/updmap.my161
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/wcl.sfd62
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pinyin.txt62
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/pyhyphen.txt107
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/reftex.txt34
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/ruby.txt139
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/thaifont.txt129
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/vertical.txt120
-rw-r--r--Master/texmf-dist/doc/latex/cjk/doc/xCJK.txt73
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/Big5.tex35
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/Big5vert.tex35
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/CEF_test.tex41
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/CJKbabel.tex135
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/CJKfntef.tex61
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex81
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/CJKutf8.tex117
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/GB.tex31
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/JIS.tex35
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/KS.tex31
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/README66
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/SJIS.tex39
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/UTF8.tex38
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/muletest.tex149
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/py_test.tex43
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/rubytest.tex56
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/thai.tex37
-rw-r--r--Master/texmf-dist/doc/latex/cjk/examples/xCJK.tex127
71 files changed, 16088 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/cjk/ChangeLog b/Master/texmf-dist/doc/latex/cjk/ChangeLog
new file mode 100644
index 00000000000..3906abeadac
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/ChangeLog
@@ -0,0 +1,1972 @@
+2008-05-22 Werner LEMBERG <wl@gnu.org>
+
+ Version 4.8.0 released
+ ======================
+
+ Set version to 4.8.0.
+
+ * doc/history.txt, doc/INSTALL, doc/TeXLive.txt, README: Updated.
+
+ Update headers in all text files.
+
+ * utils/hbf2gf/config.guess, utils/hbf2gf/config.sub: Updated to
+ current versions.
+
+ * utils/hbf2gf/configure: Regenerated with autoconf 2.62.
+
+2008-05-18 Werner LEMBERG <wl@gnu.org>
+
+ * Makefile (DISTDIRS): We are now using git, not CVS.
+
+2008-05-18 Werner LEMBERG <wl@gnu.org>
+
+ * doc/history.txt: Mention xCJK.sty.
+
+2008-05-17 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty (\CJK@UnicodeEnc): New macro (so that xCJK.sty
+ can overwrite it).
+ * texinput/CJKnumb.sty: Use it.
+
+ * texinput/xCJK.sty: Simplify -- unicode mappings to other encodings
+ are no longer supported (since it hasn't worked for Big5 or GBK
+ anyway).
+
+ (\xCJK@xUTF): Removed.
+ (\CJKsymbol): Simplified.
+ (\toutf@XXX): Removed.
+ (\xCJK@CJKenc, \CJKenc): Removed.
+ (\CJK@envStart): Produce error if encoding is not `UTF8'.
+ Simplified.
+ (\xCJK@setenc, \CJK@xpmC, \xCJK@enc@UTF8, \xCJK@xUTF8@hook):
+ Removed.
+ (\CJK@xUTF8@hook, \CJK@UnicodeEnc): New macros.
+ (\xCJK@@char): Removed.
+ (\CJK@XXpdf): Simplified.
+ (\CJK@@XXpdf): Removed.
+
+ Add support for non-BMP Unicode.
+
+ (\CJK@nameppppdef): New macro.
+ (\xCJK@char): Redefined.
+ (\xCJK@@char, \xCJK@@@char): New macros.
+ (\CJK@XXp, \CJK@XXXp): Redefined.
+ (\CJK@XXXXp): New macro.
+
+ xdvipdfmx automatically handles UTF-8 encoded bookmarks.
+
+ (\xCJK@four, \xCJK@@@char, <\if@filesw>): Removed.
+
+ (\special): Use \utfout.
+
+2008-05-12 Danai SAE-HAN <danai.sae-han@edpnet.be>
+
+ * utils/hbf2gf/hbf2gf.1: Replace some `-' with `\-'.
+
+2008-03-10 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/hbf2gf.1: s|-|\-| where appropriate.
+
+2008-03-09 Werner LEMBERG <wl@gnu.org>
+
+ * Makefile (XELATEX): Call xelatex twice.
+ (manpages): Increase font size to 11pt for DVI and PDF output.
+
+2008-03-09 Werner LEMBERG <wl@gnu.org>
+
+ Add support for EUC-JP with DNP font encoding.
+
+ * texinput/CJK.enc (\CJK@@@EUC-JPdnp@hook, \CJK@EUC-JPdnp@enc): New
+ macros.
+
+ * texinput/JIS/EUC-JPdnp.enc: New file.
+
+ * texinput/JIS/EUC-JP.chr (\CJK@shiftchar): Define \CJK@plane as
+ empty.
+
+ * doc/history.txt, MANIFEST: Updated.
+
+2008-03-09 Werner LEMBERG <wl@gnu.org>
+
+ Make \CJK@bold work with C49 encoding too. The idea is to handle
+ the font as a CJK font but with \CJK@plane set to empty.
+
+ * texinput/SJIS/SJIS.chr, texinput/SJIS/SJIdnp.chr (\CJK@sjischar):
+ Define \CJK@plane as empty.
+
+ * texinput/SJIS/c49song.fd: Use `CJK' size function.
+
+ * doc/history.txt: Updated.
+
+2008-03-03 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKutf8.sty, texinput/xCJK.sty,
+ texinput/mule/MULEenc.sty: Use \ProvidesPackage, not \ProvidesFile.
+
+2008-03-03 Werner LEMBERG <wl@gnu.org>
+
+ Better control for \baselinestretch with CJKvert.sty.
+
+ * texinput/CJKvert.sty (usebaselinestretch): New option.
+ (\CJKbaselinestretch): New macro.
+
+ * doc/history.txt, doc/vertical.txt: Document it.
+
+2008-02-11 Werner LEMBERG <wl@gnu.org>
+
+ * doc/xCJK.txt: New file.
+ * MANIFEST: Updated.
+
+2008-02-11 Werner LEMBERG <wl@gnu.org>
+
+ * doc/fonts.txt: Document installation of cyberbit.ttf.
+
+2008-02-05 Werner LEMBERG <wl@gnu.org>
+
+ Add SUN Wen-Chang's xCJK bundle.
+
+ * examples/xCJK.tex, texinput/UTF8/xUTF8.chr,
+ texinput/UTF8/xUTF8.enc, texinput/xCJK.sty, texinput/xpmC.chr,
+ texinput/xpmC.enc: New files.
+
+ * MANIFEST: Updated.
+
+ * Makefile (XELATEX): New macro.
+ (xCJK): New target.
+ (CJK2DVI, LATE2DVI): Simplify.
+
+2008-01-15 Gernot Hassenpflug <aikishugyo@gmail.com>
+
+ * contrib/wadalab/c70goth.fdx, contrib/wadalab/c70min.fdx,
+ contrib/wadalab/c70maru.fdx: Rotate more glyphs for vertical
+ typesetting.
+ Shift small kana for vertical typesetting.
+ Other minor improvements.
+
+2007-12-27 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfonts/vertical.pe, utils/subfonts/vertref.pe: Abort if no
+ vertical glyph representation forms are available.
+
+2006-12-05 Werner LEMBERG <wl@gnu.org>
+
+ Make pinyin syllables work with \MakeUppercase and \MakeLowercase.
+
+ * pinyin.sty: Almost completely rewrite macro logic to replace e.g.
+ `\py@@@a' with `\py@ a' so that the argument gets handled by
+ \MakeUppercase.
+
+2006-12-04 Werner LEMBERG <wl@gnu.org>
+
+ Make pinyin syllables work with hyperref bookmarks.
+
+ * pinyin.sty: Use \AtBeginDocument hook to add missing characters to
+ PU encoding needed for pinyin syllables.
+ Use \AtBeginDocument hook to set up some replacement macros for
+ bookmarks.
+ (\py@hr@macron, \py@hr@v): New replacement macros for
+ bookmarks.
+
+2007-11-23 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.enc: Add punctuation tables for GBK encoding.
+
+2007-11-06 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfonts/subfonts.pe, utils/subfonts/vertical.pe,
+ utils/subfonts/vertref.pe: Put current time stamp into copyright
+ string.
+ Need FontForge 20071105 or newer.
+
+2007-11-02 SUN Wenchang <sunwch@hotmail.com>
+
+ * texinput/CJKfntef.sty (\CJK@preUnderdot): Use \cdot (in math mode).
+ (\CJKxout): Use `/' in math mode.
+ (\CJKunderdotbasesep, \CJKunderdotsep): Adjusted.
+
+2007-10-26 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfonts/vertical.pe: Use glyph names of the horizontal
+ representation glyphs with an appended `.vert'. This makes dvipdfmx
+ automatically create a correct /ToUnicode CMap.
+
+2007-10-25 Werner LEMBERG <wl@gnu.org>
+
+ Provide final fix for patch 2007-10-04.
+
+ * utils/subfonts/makefdx.pl: Provide flag `-u' to produce a CMap
+ macro in the FDX file.
+ Don't specify FDX file directly on the command line but give family
+ name and encoding separately which are then concatenated to give the
+ FDX name (we need the family name separately).
+ Add code to produce a macro which provides a /ToUnicode CMap entry
+ as needed by pdfTeX.
+ Fix loop to not omit last glyph.
+
+ * texinput/UTF8/c70bsmi.fdx, texinput/UTF8/c70bkai.fdx: Regenerated.
+ These now provide the macros \CJK@cmap@bsmiv and \CJK@cmap@bkaiv,
+ respectively.
+
+ * texinput/CJKutf8.sty (\pickup@font): Call `\CJK@cmap@...' if it
+ exists.
+
+2007-10-04 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKutf8.sty (\pickup@font): Disable generation of
+ ToUnicode cmap for `v' subfont (which holds vertical representation
+ glyphs). This is a temporary hack; the right solution is to modify
+ makefdx.pl so that it creates a ToUnicode macro for the specific
+ font; \CJK@addcmap should be then modified to use this macro instead
+ of autogenerating a cmap.
+
+ Problem reported by Edward G.J. Lee.
+
+2007-09-10 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfonts/vertical.pe, utils.subfonts/vertref.pe: Adapt to
+ FontForge version 2007-Sep-10 and newer.
+
+2007-07-26 Gernot Hassenpflug <gernot@nict.go.jp>
+
+ * contrib/wadalab/c70goth.fdx, contrib/wadalab/c70min.fdx,
+ contrib/wadalab/c70maru.fdx: New files to support vertical writing
+ with Unicode encoded Wadalab fonts.
+
+2007-07-07 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/pinyin.sty (\ding): Rename to...
+ (\py@ding): This to make \ding work actually.
+
+2007-05-04 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKvert.sty (\CJKsymbol): Honour \CJKhdef{offset}{...}.
+ * doc/fdxfiles.txt, doc/history.txt: Document it.
+
+2007-04-08 Werner LEMBERG <wl@gnu.org>
+
+ * utils/pyhyphen/pyhyph.tex: Replace latin-1 characters with
+ ^^xx sequences. Suggested by David Kastrup.
+
+ * doc/cjk-enc.txt: Document special space handling for Emacs quail
+ input methods.
+
+2006-11-06 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/pinyin.sty (\py@macron, \py@@@v): Support T5 encoding.
+ * doc/history.txt: Document it.
+
+2006-10-31 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CJK.txt, doc/CJKutf8.txt: Mention Byte Order Mark in UTF-8.
+
+2006-10-19 Werner LEMBERG <wl@gnu.org>
+
+ * doc/TeXLive.txt, MANIFEST: Minor fixes.
+
+ * Makefile (DVI2PDF): Add argument for paper format.
+ (CONVERT, MULE, LATEX): Add optional argument for paper format;
+ default to `letter'.
+ (manpages, cweb): Use letter paper format.
+ (READMEb5): Use A4 paper.
+
+ * examples/README: Minor fix.
+
+2006-10-17 Werner LEMBERG <wl@gnu.org>
+
+ Version 4.7.0 released
+ ======================
+
+ Set version to 4.7.0.
+
+ * doc/history.txt, doc/INSTALL, doc/TeXLive.txt, README: Updated.
+
+ Update headers in all text files.
+
+2006-10-09 Werner LEMBERG <wl@gnu.org>
+
+ * Makefile (abs-distdir): Fix assignment.
+ (distdoc): Remove generated C files.
+
+ * utils/hbf2gf/hbf2gf.1: s/`/\(oq/ and s/'/\(cq/ where appropriate.
+
+2006-10-06 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CJKutf8.txt, doc/history.txt: Minor additions.
+ * MANIFEST: Sorted and updated.
+
+2006-10-05 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKutf8.sty (\CJK@surr): Use \expandafter to make
+ \uppercase work actually.
+
+ * texinput/CJK.sty (\CJK@makeActive, \CJK@makeInactive): Handle 0x80
+ also (which is needed for UTF8).
+
+2006-10-05 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKutf8.sty (\CJK@surr): New function.
+ (\CJK@addcmap): Use \CJK@surr so that values > U+FFFF are correctly
+ represented as surrogates.
+
+2006-09-30 Werner LEMBERG <wl@gnu.org>
+
+ In CJKutf8.sty, add ToUnicode cmaps for pdfTeX. Note, however, that
+ it currently fails with virtual fonts: pdftex 3.141592-1.30.4-2.2
+ can't resolve them to the used base fonts.
+
+ * texinput/CJKutf8.sty: Require ifpdf package.
+ (\pickup@font) [\ifpdf]: Redefine, adding a call to CJK@addcmap.
+ (\CJK@addcmap) [\ifpdf]: New function.
+
+ * doc/history.txt: Updated.
+
+2006-09-16 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty (\CJK@ifundefined): New macro.
+ Update all affected files where possible to use it instead of
+ \@ifundefined. This fixes a bug reported by Danai which made
+ \chapter work in the `scrartcl' article class (instead of
+ reporting an error) after using a CJK caption file.
+
+ * *.cap, *.cpx: Don't redefine \thepart but use its previous
+ definition for \partformat. This fixes a bug reported by Danai
+ which produced bad TOC entries.
+
+ * doc/history.txt: Updated.
+
+2006-09-12 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/UTF8/ko-Hanj.cpx: Renamed to...
+ * texinput/UTF8/ko-Hani.cpx: This to use the correct ISO 15924
+ script tag.
+
+ * doc/history.txt, doc/CJK.txt: Updated.
+
+2006-09-08 Werner LEMBERG <wl@gnu.org>
+
+ Add caption files for UTF8 encoding.
+
+ * texinput/UTF8/{ja,ko-Hang,ko-Hang2,ko-Hanj,zh-Hans,zh-Hant}.cap:
+ New files.
+
+ * doc/history.txt, doc/CJK.txt: Mention them.
+
+2006-08-31 Werner LEMBERG <wl@gnu.org>
+
+ Reimplement the \CJKbold mechanism to call the last argument of
+ \DeclareFontShape each time the font is selected only if a CJK size
+ function has been used. This fixes shape declarations like the ones
+ in the fourier package which rely on being called only once.
+
+ * texinput/CJK.sty (\CJK@curr@fontshape): New macro.
+ (\CJK@empty, \CJK@fixed, \CJK@sub, \CJK@DNPgen, \CJK@DNP): Define a
+ macro where the name is the argument of \CJK@curr@fontshape.
+ (\selectfont): Execute macro where the name is the argument of
+ \CJK@curr@fontshape only if it exists.
+
+ * doc/history.txt, doc/CJK.txt: Mention it.
+
+2006-08-29 Danai SAE-HAN <danai.sae-han@skynet.be>
+
+ * utils/subfonts/hlatex2agl.pl: Make it accept a third parameter
+ which specifies the used SFD file.
+ (process_afmfile, process_pfbfile): Add minor tweaks to handle fonts
+ generated with other tools than FontForge.
+
+2006-08-29 Werner LEMBERG <wl@gnu.org>
+
+ * utils/Bg5conv/bg5conv.w, utils/extconv/extconv.w,
+ utils/hbf2gf/hbf2gf.w, utils/CEFconv/cefconv.w,
+ utils/CEFconv/cef5conv.w, utils/CEFconv/cefsconv.w,
+ utils/SJISconv/sjisconv.w: s/@/@@/ in email address.
+
+ * utils/Bg5conv/bg5conv.c, utils/extconv/extconv.c,
+ utils/hbf2gf/hbf2gf.c, utils/CEFconv/cefconv.c,
+ utils/CEFconv/cef5conv.c, utils/CEFconv/cefsconv.c,
+ utils/SJISconv/sjisconv.c: Removed. These files are now generated
+ by the Makefile.
+
+ * Makefile (version): Set to 4.7.0.
+ (CJK2DVI, LATEX2DVI): Add `texlive' subdirectory
+ (distsrc): Build .c from .w files.
+
+2006-08-28 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/*: Add various replacement files for TeXLive.
+
+2006-08-17 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CJK.txt: Mention problem with fourier.sty.
+
+2006-08-01 Werner LEMBERG <wl@gnu.org>
+
+ * doc/cjk-enc.txt: Mention problems with UTF-8.
+
+2006-07-30 Werner LEMBERG <wl@gnu.org>
+
+ * contrib/wadalab/DNP.txt: Fix patch for wftodm.c.
+
+2006-04-25 Danai SAE-HAN <danai.sae-han@skynet.be>
+
+ * <many files>: Add GPL.
+ * MANIFEST: New file.
+
+2006-03-25 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKutf8.sty (\pdfstringdefPreHook): Don't overwrite but
+ prepend to this macro.
+
+2006-03-23 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfonts/hlatex2agl.pl: New script (which has been used
+ to create the Korean fonts in TeXLive 2005).
+
+
+ * texinput/CJKutf8.sty: Add support for Unicode bookmarks.
+ (\CJK@UnicodeFourBytesFirst, \CJK@UnicodeFourBytesSecond,
+ \CJK@UnicodeFourBytesThird, \CJK@UnicodeThreeBytesFirst,
+ \CJK@UnicodeThreeBytesSecond, \CJK@UnicodeTwoBytesFirst,
+ \CJK@UnicodeLast): New macros to convert UTF-8 into UTF-16BE.
+ (\CJK@XXpdf, \CJK@XXXpdf, \CJK@XXXXpdf): Replacements for the
+ \CJK@XX, \CJK@XXX, and \CJK@XXXX macros, respectively.
+ (\pdfstringdefPreHook): Activate them.
+
+2006-03-22 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/KS/HLaTeX/c63sh.fd, texinput/KS/HLaTeX/c64sh.fd,
+ texinput/KS/HLaTeX/c65sh.fd: Fix font declaration. Bug reported by
+ Danai SAE-HAN <danai.sae-han@skynet.be>.
+
+2006-02-20 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/UTF8/UTF8.bdg: Bugfix: Handle 0x80 also.
+
+ * doc/history.txt: Mention it.
+
+2006-02-09 Werner LEMBERG <wl@gnu.org>
+
+ Support complete Unicode range (up to U+10FFFF).
+
+ * texinput/UTF8/UTF8.bdg: Handle leading characters 0xF0-0xF4.
+
+ * texinput/UTF8/UTF8.enc: Ditto.
+
+ * texinput/UTF8/UTF8.chr (\CJK@altxchar): New macro for four-byte
+ Unicode values.
+
+ * texinput/CJK.enc (\CJK@unicodexError): New error macro.
+
+ * texinput/CJK.sty (\CJK@numbxToHex): New auxiliary macro to convert
+ a number to a four-digit hex number string.
+ (\Unicode): Accept values greater than U+FFFF.
+
+ * doc/command.txt, doc/CJK.txt: Document extended \Unicode (and
+ \CJKchar) command.
+ * doc/history.txt: Updated.
+
+2006-01-23 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.enc (\CJK@HK@enc): Load `HK' encoding, not `Bg5'.
+ Use \def, not \@namedef.
+
+ * doc/CJK.txt: Mention `HKtext' environment.
+
+2006-01-22 Werner LEMBERG <wl@gnu.org>
+
+ Add new encoding `HK' (C05) for Hong Kong's HKSCS-2004.
+
+ * texinput/Bg5/HK.enc, texinput/Bg5/c05song.fd: New files.
+ * texinput/CJK.enc: Add support for `HK' (C05).
+ * texinput/CJKnumb.sty: Handle `HK'.
+
+ * doc/CJK.txt: Bg5+ *cannot* be used for HKSCS. Fix this.
+ * doc/history.txt: Document `HK' encoding.
+
+2006-01-19 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CJK.txt: Mention usage of Bg5+ for HKSCS-2001/HKSCS-2004.
+
+2006-01-04 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/pinyin.sty (\PYding): New \let.
+ (\PYactivate, \PYdeacticate): Handle \ding (from pifont.sty).
+
+ * doc/pinyin.tex: Document possible problems with pifont.sty.
+
+ * doc/history.txt: Updated.
+
+2005-12-27 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/cfg/csso12.cfg: Fix typo.
+
+2005-10-31 Danai SAE-HAN <danai.sae-han@skynet.be>
+
+ * utils/subfonts/makefdx.pl: Provide header for output.
+ Add \CJKvlet lines.
+
+2005-08-19 Werner LEMBERG <wl@gnu.org>
+
+ * doc/TeXLive.txt: New file, describing the relationship between
+ CJK files and TeXLive packages.
+
+2005-08-18 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/mule/MULEenc.sty: Define \CJK@verbatim correctly if not
+ already defined. Reported by Andre Dierker.
+
+ * doc/pdf/*: Move to...
+ * doc/pdfhowto/*: This.
+
+2005-08-11 Werner LEMBERG <wl@gnu.org>
+
+ Version 4.6.0 released
+ ======================
+
+ Set version to 4.6.0.
+
+ * doc/history.txt, doc/INSTALL, Makefile (version): Updated.
+
+ Update headers in all text files.
+
+2005-08-10 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CEF.txt, doc/CJK.txt, doc/CJKutf8.txt, doc/INSTALL,
+ doc/TDS.txt, doc/cjk-enc.txt, doc/commands.txt, doc/dvidrv.txt,
+ doc/fonts.txt, doc/hbf2gf.txt, doc/history.2_5, doc/history.txt,
+ doc/pinyin.txt, doc/pyhyphen.txt, doc/ruby.txt, doc/thaifont.txt,
+ doc/vertical.txt: Updated and revised.
+
+2005-08-05 Werner LEMBERG <wl@gnu.org>
+
+ * COPYING: Updated to new FSF address.
+
+2005-08-05 Werner LEMBERG <wl@gnu.org>
+
+ After email exchange with Ross Paterson, the old (too restrictive)
+ license of the hbf module has been changed to the three-clause BSD
+ license -- Ross no longer maintains and distributes this code.
+
+ * utils/hbf2gf/hbf.c: Change license to BSD.
+ (strdup) [WIN32]: Define. Change taken from teTeX distribution.
+
+ * utils/hbf2gf/hbf.h: Change license to BSD.
+
+ * utils/hbf2gf/config.guess, utils/hbf2gf/config.sub: Updated to
+ current versions.
+
+ * utils/hbf2gf/configure: Regenerated with autoconf 2.59b.
+
+2005-08-04 Werner LEMBERG <wl@gnu.org>
+
+ Update files to compile with the forthcoming TeXLive 2005.
+
+ * doc/README: Updated, extended.
+
+ * examples/muletest.tex: Updated to new VnTeX (for Vietnamese).
+ Use type1ec.sty.
+ Suppress hyphenation.
+
+ * examples/CJKbabel.tex: Don't use t5.sty but `vietnam' option of
+ babel.
+ Use type1ec.sty.
+
+ * examples/CJKmixed.tex: Define and use `TChinese' environment.
+ Call \CJKhorz at the beginning of document.
+
+ * examples/CJKutf8.tex: Don't use cyberbit but the new Unicode
+ (virtual) fonts of gbsn, bsmi, and mj.
+
+ * texinput/Bg5/c00bsmi.fdx: Updated to new bsmi vertical glyph font.
+
+ * texinput/Bg5/c00bkai.fdx: New file.
+
+ * texinput/UTF8/c70bkai.fd, texinput/UTF8/c70bkai.fdx,
+ texinput/UTF8/c70bsmi.fd, texinput/UTF8/c70bsmi.fdx,
+ texinput/UTF8/c60gbsn.fd, texinput/UTF8/c70gkai.fd,
+ texinput/UTF8/c70mj.fd: New files.
+
+ * utils/pyhyphen/pytest.tex: Usae type1ec.sty.
+
+ * Makefile: Add rules for new example and documentation files.
+ (version): Set top 4.5.3.
+ (CJK2DVI, LATEX2DVI): Add `utils/pyhyphen' to TEXINPUTS variable.
+ (DVI2PS): Replace it with...
+ (DVI2PDF): New variable.
+ Update all callers.
+ (MULE): Add path to `cjk-enc.el' while calling emacs.
+ (DISTTARGETS): Add new example and documentation files.
+ (predistdoc): Don't create `ps' but `pdf' subdirectories.
+ (manpages): Add `-ww' option to groff.
+ Don't create `ps' but `pdf' files.
+ (cweb): Don't create `ps' but `pdf' file.
+
+2005-08-04 Werner LEMBERG <wl@gnu.org>
+
+ * doc/*.doc, doc/japanese/*.doc, doc/chinese/*.doc,
+ contrib/wadalab/DNP.doc: Renamed to ...
+ * doc/*.txt, doc/japanese/*.txt, doc/chinese/*.txt,
+ contrib/wadalab/DNP.txt: This.
+
+ Update all references.
+
+2005-08-03 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKvert.sty (\CJKvert, \CJKhorz): Make commands act
+ completely local.
+ * doc/history.txt: Mention it.
+
+ * doc/pdf/HOWTO.txt: Mention new $SFDFONTS variable from TDS 1.1.
+
+2005-08-02 Werner LEMBERG <wl@gnu.org>
+
+ Update of HLaTeX support to version 1.0.1.
+
+ * texinput/KS/HLaTeX/c63mg.fd, texinput/KS/HLaTeX/c63mgt.fd,
+ texinput/KS/HLaTeX/c63mmj.fd, texinput/KS/HLaTeX/c63mnv.fd,
+ texinput/KS/HLaTeX/c63msr.fd, texinput/KS/HLaTeX/c63ol.fd,
+ texinput/KS/HLaTeX/c63pbm.fd, texinput/KS/HLaTeX/c63pgr.fd,
+ texinput/KS/HLaTeX/c63pgs.fd, texinput/KS/HLaTeX/c63pgt.fd,
+ texinput/KS/HLaTeX/c63pmg.fd, texinput/KS/HLaTeX/c63pmgt.fd,
+ texinput/KS/HLaTeX/c63pmj.fd, texinput/KS/HLaTeX/c63pmmj.fd,
+ texinput/KS/HLaTeX/c63pmnv.fd, texinput/KS/HLaTeX/c63pmsr.fd,
+ texinput/KS/HLaTeX/c63pol.fd, texinput/KS/HLaTeX/c63ppg.fd,
+ texinput/KS/HLaTeX/c63ppn.fd, texinput/KS/HLaTeX/c63psm.fd,
+ texinput/KS/HLaTeX/c63ptt.fd, texinput/KS/HLaTeX/c63pyt.fd,
+ texinput/KS/HLaTeX/c63sm.fd, texinput/KS/HLaTeX/c63tt.fd,
+ texinput/KS/HLaTeX/c64mg.fd, texinput/KS/HLaTeX/c64mgt.fd,
+ texinput/KS/HLaTeX/c64mmj.fd, texinput/KS/HLaTeX/c64mnv.fd,
+ texinput/KS/HLaTeX/c64msr.fd, texinput/KS/HLaTeX/c64ol.fd,
+ texinput/KS/HLaTeX/c64pbm.fd, texinput/KS/HLaTeX/c64pgr.fd,
+ texinput/KS/HLaTeX/c64pgs.fd, texinput/KS/HLaTeX/c64pgt.fd,
+ texinput/KS/HLaTeX/c64pmg.fd, texinput/KS/HLaTeX/c64pmgt.fd,
+ texinput/KS/HLaTeX/c64pmj.fd, texinput/KS/HLaTeX/c64pmmj.fd,
+ texinput/KS/HLaTeX/c64pmnv.fd, texinput/KS/HLaTeX/c64pmsr.fd,
+ texinput/KS/HLaTeX/c64pol.fd, texinput/KS/HLaTeX/c64ppg.fd,
+ texinput/KS/HLaTeX/c64ppn.fd, texinput/KS/HLaTeX/c64psm.fd,
+ texinput/KS/HLaTeX/c64ptt.fd, texinput/KS/HLaTeX/c64pyt.fd,
+ texinput/KS/HLaTeX/c64sm.fd, texinput/KS/HLaTeX/c64tt.fd,
+ texinput/KS/HLaTeX/c65mg.fd, texinput/KS/HLaTeX/c65mgt.fd,
+ texinput/KS/HLaTeX/c65mmj.fd, texinput/KS/HLaTeX/c65mnv.fd,
+ texinput/KS/HLaTeX/c65msr.fd, texinput/KS/HLaTeX/c65ol.fd,
+ texinput/KS/HLaTeX/c65pbm.fd, texinput/KS/HLaTeX/c65pgr.fd,
+ texinput/KS/HLaTeX/c65pgs.fd, texinput/KS/HLaTeX/c65pgt.fd,
+ texinput/KS/HLaTeX/c65pmg.fd, texinput/KS/HLaTeX/c65pmgt.fd,
+ texinput/KS/HLaTeX/c65pmj.fd, texinput/KS/HLaTeX/c65pmmj.fd,
+ texinput/KS/HLaTeX/c65pmnv.fd, texinput/KS/HLaTeX/c65pmsr.fd,
+ texinput/KS/HLaTeX/c65pol.fd, texinput/KS/HLaTeX/c65ppg.fd,
+ texinput/KS/HLaTeX/c65ppn.fd, texinput/KS/HLaTeX/c65psm.fd,
+ texinput/KS/HLaTeX/c65ptt.fd, texinput/KS/HLaTeX/c65pyt.fd,
+ texinput/KS/HLaTeX/c65sm.fd, texinput/KS/HLaTeX/c65tt.fd: Removed.
+
+ * texinput/KS/HLaTeX/c63dn.fd, texinput/KS/HLaTeX/c63jgt.fd,
+ texinput/KS/HLaTeX/c63jmj.fd, texinput/KS/HLaTeX/c63jnv.fd,
+ texinput/KS/HLaTeX/c63jsr.fd, texinput/KS/HLaTeX/c63pga.fd,
+ texinput/KS/HLaTeX/c63ph.fd, texinput/KS/HLaTeX/c63sh.fd,
+ texinput/KS/HLaTeX/c63tz.fd, texinput/KS/HLaTeX/c63vd.fd,
+ texinput/KS/HLaTeX/c64dn.fd, texinput/KS/HLaTeX/c64jgt.fd,
+ texinput/KS/HLaTeX/c64jmj.fd, texinput/KS/HLaTeX/c64jnv.fd,
+ texinput/KS/HLaTeX/c64jsr.fd, texinput/KS/HLaTeX/c64pga.fd,
+ texinput/KS/HLaTeX/c64ph.fd, texinput/KS/HLaTeX/c64sh.fd,
+ texinput/KS/HLaTeX/c64tz.fd, texinput/KS/HLaTeX/c64vd.fd,
+ texinput/KS/HLaTeX/c65dn.fd, texinput/KS/HLaTeX/c65jgt.fd,
+ texinput/KS/HLaTeX/c65jmj.fd, texinput/KS/HLaTeX/c65jnv.fd,
+ texinput/KS/HLaTeX/c65jsr.fd, texinput/KS/HLaTeX/c65pga.fd,
+ texinput/KS/HLaTeX/c65ph.fd, texinput/KS/HLaTeX/c65sh.fd,
+ texinput/KS/HLaTeX/c65tz.fd, texinput/KS/HLaTeX/c65vd.fd: New files.
+
+ * texinput/KS/HLaTeX/c63bm.fd, texinput/KS/HLaTeX/c63gr.fd,
+ texinput/KS/HLaTeX/c63gs.fd, texinput/KS/HLaTeX/c63gt.fd,
+ texinput/KS/HLaTeX/c63mj.fd, texinput/KS/HLaTeX/c63pg.fd,
+ texinput/KS/HLaTeX/c63pn.fd, texinput/KS/HLaTeX/c63yt.fd,
+ texinput/KS/HLaTeX/c64bm.fd, texinput/KS/HLaTeX/c64gr.fd,
+ texinput/KS/HLaTeX/c64gs.fd, texinput/KS/HLaTeX/c64gt.fd,
+ texinput/KS/HLaTeX/c64mj.fd, texinput/KS/HLaTeX/c64pg.fd,
+ texinput/KS/HLaTeX/c64pn.fd, texinput/KS/HLaTeX/c64yt.fd,
+ texinput/KS/HLaTeX/c65bm.fd, texinput/KS/HLaTeX/c65gr.fd,
+ texinput/KS/HLaTeX/c65gs.fd, texinput/KS/HLaTeX/c65gt.fd,
+ texinput/KS/HLaTeX/c65mj.fd, texinput/KS/HLaTeX/c65pg.fd,
+ texinput/KS/HLaTeX/c65pn.fd, texinput/KS/HLaTeX/c65yt.fd: Updated.
+
+ * texinput/KS/HLaTeX/pshan.sty: No longer needed. Make it empty for
+ backwards compatibility.
+
+ * texinput/CJK.enc (\CJK@KSHL@enc): Updated.
+
+ * doc/history.txt, doc/CJK.doc: Updated.
+
+2005-08-01 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfont/uni2sfd.pl (read_tfmfile): Fix reading CHARWD,
+ CHARHT, and CHARDP.
+
+2005-07-31 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfont/sfd2uni.pl: New script to produce Unicode virtual
+ subfonts from encoding specific subfonts.
+
+2005-07-29 Werner LEMBERG <wl@gnu.org>
+
+ * contrib/wadalab/DNP.sfd: Fix typo. Found by Shunsaku Hirata.
+ * contrib/wadalab/fixwada2.pl: Since Wadalab fonts have already
+ been uploaded to CTAN, and the bug in DNP.sfd makes it necessary to
+ regenerate the fonts, and to update the version number and creation
+ date.
+
+2005-07-18 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfonts/makefdx.pl, utils/subfonts/uni2sfd.pl: Fix typos.
+
+ * utils/subfonts/clonevf.pl: New script to produce a VF clone of
+ a TFM file.
+
+2005-07-18 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfonts/makefdx.pl: New script to create FDX entries.
+
+2005-07-17 Werner LEMBERG <wl@gnu.org>
+
+ * utils/subfonts/subfonts.pe, utils/subfonts/uni2sfd.pl,
+ utils/subfonts/vertical.pe, utils/vertref.pe: New perl and FontForge
+ scripts for creating and handling subfonts.
+
+2005-07-12 Werner LEMBERG <wl@gnu.org>
+
+ * contrib/wadalab/fixwada2.pl, contrib/wadalab/makeuniwada.pl: New
+ scripts which fix glyph names and create virtual Unicode fonts for
+ the Wadalab font families.
+
+ * contrib/wadalab/DNP.sfd: A subfont definition file used by
+ `fixwada2.pl' and `makeuniwada.pl'.
+
+ * contrib/wadalab/c70goth.fd, contrib/wadalab/c70maru.fd,
+ contrib/wadalab/c70min.fd: New font definition files for Wadalab
+ fonts in Unicode encoding.
+
+ * contrib/wadalab/DNP.doc: Completely revised and updated.
+
+2005-07-07 Werner LEMBERG <wl@gnu.org>
+
+ * doc/history.txt: Updated.
+
+2005-07-05 Werner LEMBERG <wl@gnu.org>
+
+ * utils/thaifont/tools/c90.etx: Fix some typos.
+
+2005-07-04 Werner LEMBERG <wl@gnu.org>
+
+ Update Thai support:
+
+ . Use fontinst. We no longer need virtual fonts.
+ . Replace support for dbtt (which has an uncertain license) with
+ garuda.
+ . Update to TDS 1.1.
+
+ * utils/thaifont/texmf/dvips/base/dbtt.enc: Removed.
+ * utils/thaifont/texmf/dvips/config/config.dbtt: Removed.
+ * utils/thaifont/texmf/dvips/config/dbtt.map: Removed.
+ * utils/thaifont/texmf/fonts/tfm/public/dbtt/*: Removed.
+ * utils/thaifont/texmf/fonts/vf/public/dbtt/*: Removed.
+
+ * utils/thaifont/texmf/dvips/base/norasi.enc: Removed.
+ * utils/thaifont/texmf/dvips/config/config.norasi: Move to...
+ * utils/thaifont/texmf/dvips/norasi/config.norasi: Here.
+ * utils/thaifont/texmf/dvips/config/norasi.map: Moved to...
+ * utils/thai/font/texmf/fonts/map/dvips/norasi/norasi.map: Here.
+ Updated.
+ * utils/thaifont/texmf/fonts/tfm/public/norasi/ftnr9z,
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftnb9z,
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftnbo9z,
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftno9z: Removed.
+ * utils/thaifont/texmf/fonts/tfm/public/norasi/ftnr8z,
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftnb8z,
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftnbo8z,
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftno8z: Updated.
+ * utils/thaifont/texmf/fonts/vf/public/norasi/*: Removed.
+
+ * utils/thaifont/texmf/dvips/garuda/config.garuda: New file.
+ * utils/thaifont/texmf/fonts/map/dvips/garuda/garuda.map: New file.
+ * utils/thaifont/texmf/fonts/tfm/public/garuda/fgdr8z,
+ utils/thaifont/texmf/fonts/tfm/public/garuda/fgdb8z,
+ utils/thaifont/texmf/fonts/tfm/public/garuda/fgdbo8z,
+ utils/thaifont/texmf/fonts/tfm/public/garuda/fgdo8z: New files.
+
+ * utils/thaifont/texmf/fonts/enc/dvips/thai/c90.enc: New file,
+ generated by fontinst.
+
+ * utils/thaifont/tools/c90.etx: New file.
+ * utils/thaifont/tools/c90.mtx: New file.
+ * utils/thaifont/tools/garuda.fontinst: New file.
+ * utils/thaifont/tools/norasi.fontinst: New file.
+ * utils/thaifont/tools/INSTALL: New file.
+ * utils/thaifont/tools/dbtt-old/*: New files.
+ * utils/thaifont/tools/README: Removed.
+ * utils/thaifont/tools/thai-dummy.afm: Removed.
+ * utils/thaifont/tools/thai.enc: Removed.
+ * utils/thaifont/tools/thailigs.vpl: Removed.
+
+ * texinput/thai/c90cmss.fd, texinput/thai/c90cmtt.fd,
+ texinput/thai/c90nrsr.fd: Updated.
+ * texinput/thai/c90dbss.fd: Removed.
+ * texinput/thai/c90gar.fd: New file.
+
+2005-06-27 Werner LEMBERG <wl@gnu.org>
+
+ Remove the `rotate' keyword for vertical typesetting and introduce
+ the opposite, `norotate'.
+
+ * texinput/Bg5/c00bsmir.fdx, texinput/Bg5/c00kair.fdx: New files.
+
+ * doc/fdxfiles.doc, doc/vertical.doc, texinput/Bg5/c00bsmi.fdx,
+ texinput/GB/c10gbsn.fdx, texinput/CJKvert.sty: Updated.
+
+2005-06-25 Werner LEMBERG <wl@gnu.org>
+
+ * examples/CJKmixed.tex: New example file to demonstrate how to
+ use CJK scripts vertically and horizontally at the same time.
+
+2005-06-24 Werner LEMBERG <wl@gnu.org>
+
+ * doc/vertical.doc: Mention that you need an `.fdx' file if you
+ want to use rotated glyphs for vertical typesetting.
+
+2005-05-23 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CJK.doc: Improve documentation of `encapsulated' option.
+ Suggested by Brian Murphy.
+
+2005-04-26 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/UTF8/UTF8.chr (\CJK@punctchar): Wrap code after \usefont
+ into three groups to make it work with CJKulem.sty.
+
+ * texinput/CJKutf8.sty, examples/CJKutf8.tex, doc/CJKutf8.doc: New
+ files.
+
+ * doc/history.txt: Updated.
+
+2005-04-22 Werner LEMBERG <wl@gnu.org>
+
+ * utils/lisp/emacs/cjk-enc.el (cjk-viscii-lower, cjk-viscii-upper),
+ utils/lisp/mule-2.3/cjk-enc.el (cjk-viscii-lower, cjk-viscii-upper):
+ Update to next vntex version which no longer uses dblaccnt.sty.
+
+2005-03-27 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty (\CJKspace): Don't use \relax but \@empty.
+
+2005-03-02 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CJK.doc: Mention `CJKbookmarks' option of hyperref package.
+
+2005-02-23 Werner LEMBERG <wl@gnu.org>
+
+ * README: Updated. No public CVS access possible currently.
+
+2004-07-26 Werner LEMBERG <wl@gnu.org>
+
+ * utils/lisp/emacs/thai-word.el (thai-word-table): Use Thai word
+ list from IBM's ICU4J project; it is slightly larger and uses an
+ X license.
+
+2004-07-25 Werner LEMBERG <wl@gnu.org>
+
+ * utils/lisp/emacs-20.3/*: Moved to...
+ * utils/lisp/emacs/*: This.
+
+ * utils/thaifont/tools/thai.enc: Minor updates. Will be replaced
+ with a fontinst solution soon.
+
+2004-06-08 Werner LEMBERG <wl@gnu.org>
+
+ * doc/reftex.doc: New file.
+ * doc/history.txt: Updated.
+
+2004-06-07 Werner LEMBERG <wl@gnu.org>
+
+ * utils/lisp/emacs-20.3/cjk-enc.el (cjk-write-all-files): Handle
+ case where files are in other directories. Bug reported by Hartwig
+ Crailsheim.
+
+ * doc/cjk-enc.doc, doc/history.txt: Updated.
+
+2004-06-04 Werner LEMBERG <wl@gnu.org>
+
+ * contrib/wadalab/c42goth.fdx, contrib/wadalab/c42maru.fdx,
+ contrib/wadalab/c42min.fdx: Don't rotate the Hiragana-Katagana
+ prolongation mark.
+
+ * doc/vertical.doc: Updated.
+ Move text describing .fdx files to...
+ * doc/fdxfiles.doc: New file.
+
+ * texinput/CJK.sty: Minor spelling improvements.
+
+2004-06-03 Werner LEMBERG <wl@gnu.org>
+
+ * contrib/wadalab/DNP.doc: Improve patch for wftodm.c.
+
+2004-04-29 Werner LEMBERG <wl@gnu.org
+ Wenchang Sun <sunwch@hotmail.com>
+
+ Add a style file for various CJK font effects.
+
+ * texinput/CJKfntef.sty, examples/CJKfntef.tex: New files.
+ * doc/CJK.doc, doc/history.txt: Document it.
+
+2004-03-13 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/*.enc: Replace \relax with \@empty in the \CJK@namegdef
+ assignments to assure that we only have expansion at this macro
+ level.
+
+ * doc/history.txt: Updated.
+
+2004-02-08 Werner LEMBERG <wl@gnu.org>
+
+ Bug fix: Umlaut u with diacritic appears bold.
+
+ * texinput/pinyin.sty (\py@@@v): Apply kerning at correct place.
+
+2004-02-07 Werner LEMBERG <wl@gnu.org>
+
+ Bug fix: Umlaut u with macron above was broken.
+
+ * texinput/pinyin.sty (\py@macron): Add second argument to
+ initialize \dimen@. Update all callers.
+
+2004-02-06 Werner LEMBERG <wl@gnu.org>
+
+ Bug fix: Use user-defined \CJKglue value.
+
+ * texinput/CJKulem.sty (\CJK@skip): New skip register.
+ (\UL@CJKglue): Use it.
+ (\UL@hook): Initialize \CJK@skip.
+ Move assignments of \LA@CJKglue, \LA@Thaiglue, and \LA@Thaibreak
+ to here.
+
+2004-02-05 Wenchang Sun <sunwch@hotmail.com>
+
+ Bug fix: Disable line breaks before a post-punctuation CJK glyph
+ when \uline, \uwave, etc., are used.
+
+ * texinput/CJK.sty (\CJKnobreakglue): New macro.
+ (\Unicode): Use it.
+
+ * texinput/CJKulem.sty (\UL@CJKnobreakglue): New macro.
+
+ * texinput/standard.chr, texinput/extended.chr, texinput/pmC.chr,
+ texinput/Bg5/bg5.chr, texinput/JIS/EUC-JP.chr,
+ texinput/SJIS/SJIS.chr, texinput/SJIS/SJISdnp.chr,
+ texinput/UTF8/UTF8.chr, texinput/CNS/EUC-TW.chr (\CJK@char,
+ \CJK@charx, \CJK@punctchar, \CJK@punctcharx): Use \CJKnobreakglue.
+
+2004-02-02 Hin-Tak Leung <htl10@users.sourceforge.net>
+
+ * doc/pdf/*: New directory tree documenting usage of CJK for
+ improved PDF output.
+ * doc/history.txt: Document it.
+
+2004-01-29 Wenchang Sun <sunwch@hotmail.com>
+
+ * texinput/CJK.sty (\CJKpunctsymbol): New \let to \CJKsymbol.
+
+ * texinput/standard.chr, texinput/extended.chr, texinput/pmC.chr,
+ texinput/Bg5/bg5.chr, texinput/JIS/EUC-JP.chr, texinput/KS/KS.chr,
+ texinput/SJIS/SJIS.chr, texinput/SJIS/SJISdnp.chr,
+ texinput/UTF8/UTF8.chr, texinput/CNS/EUC-TW.chr (\CJK@punctchar,
+ \CJK@punctcharx): Replace \CJKsymbol with \CJKpunctsymbol.
+
+2003-10-12 Werner LEMBERG <wl@gnu.org>
+
+ A first step to allow modification of horizontal character widths
+ which is needed for CJK fonts which don't have punctuation glyphs
+ centered within the CJK square. The same mechanism will work with
+ vertical glyphs also; since a common interface will differ from the
+ current implementation, *.fdv files are renamed to *.fdx. Note that
+ special character width handling of punctuation characters is still
+ missing.
+
+ * texinput/CJK.sty (\CJK@load@fdx): New function, used as a hook
+ for \try@load@fontshape. It defines the macros \CJKhdef, \CJKhlet,
+ \CJKvdef, and \CJKvlet. The writing direction is appended to the
+ character macros -- this also fixes a bug for vertical writing
+ support with Big5 encoding (some characters disappeared in the
+ output without any warning due to character macro name clashes with
+ the subfont macro names).
+ (\CJK@direction): New macro to select the writing direction.
+ (\ifCJK@vertical@): Moved to CJKvert.sty.
+
+ * texinput/CJKvert.sty (\ifCJK@vertical@): Moved from CJK.sty.
+ (\CJKvert, \CJKhorz): Set \CJK@direction.
+ (\CJKsymbol): Updated to use writing direction.
+ (\CJK@load@fdv): Removed.
+
+ * texinput/*.chr: Simplified since \ifCJK@vertical@ is no longer
+ needed.
+
+ * texinput/*.fdv, contrib/wadalab/*.fdv: Renamed to...
+ * texinput/*.fdx, contrib/wadalab/*.fdx: This.
+
+2003-10-25 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/mule/MULEenc.sty: Fix positions of \texordfeminine and
+ \textordmasculine.
+
+2003-09-20 Werner LEMBERG <wl@gnu.org>
+
+ With the help of Paul Eggert <eggert@twinsum.com> and Edward G.J.
+ Lee <edt1023@ms17.hinet.net>, the conversion scripts now accept
+ parameters.
+
+ * utils/Bg5conv/bg5{pdf,}latex,
+ utils/CEFconv/{cef5{pdf,}latex,cef{pdf,}latex,cefs{pdf,}latex},
+ utils/SJISconv/sjis{pdf,}latex,
+ utils/extconv/{bg5+{pdf,}latex,gbk{pdf,}latex}: Rewritten to accept
+ arguments.
+ * doc/history.txt: Updated.
+
+2003-09-16 Werner LEMBERG <wl@gnu.org>
+
+ * utils/Bg5conv/bg5pdflatex,
+ utils/CEFconv/{cef5pdflatex,cefpdflatex,cefspdflatex},
+ utils/SJISconv/sjispdflatex,
+ utils/extconv/{bg5+pdflatex,gbkpdflatex}: New scripts to call
+ pdflatex.
+ * doc/history.txt: Updated.
+
+2003-07-06 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/mule/MULEenc.sty: Add some \@gobble macros in commands
+ defined with \mule@def.
+ Change definition of Thai EOL macro to make it really work.
+ (\mule@ignorespaces, \Thaispace, \Thainospace): New macros.
+
+ * doc/cjk-enc.doc, doc/history.txt: Document \Thaispace and
+ \Thainospace.
+
+2003-03-30 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CJK.doc: Add item how to handle \bibliography which has
+ author names containing CJK characters.
+
+ * utils/hbf2gf/hbf2gf.1: Minor workarounds for current grohtml bugs.
+
+2003-03-28 Werner LEMBERG <wl@gnu.org>
+
+ Version 4.5.2 released
+ ======================
+
+ Update version numbers and time stamps in all non-binary files.
+
+2003-03-19 Werner LEMBERG <wl@gnu.org>
+
+ Add improved support for pseudo-vertical typesetting. Based on
+ ideas by Robert Fendt <robert.fendt@epost.de>.
+
+ * texinput/CJK.sty (\ifCJK@vertical@): New if.
+
+ * texinput/CJKvert.sty: Require `graphicx' package.
+ (\CJKvert, \CJKhorz, \CJKvdef, \CJKvlet, \CJKsymbolsimple): New
+ commands.
+ (\CJKsymbol): Add support for vertical parameters (`rotate',
+ `offset', `fullheight, `height') in the new *.fdv files.
+ (\CJK@load@fdv): New command to be appended to LaTeX's
+ \try@load@fontshape.
+
+ * texinput/*/*.chr: Replace calls to \CJKsymbol with an extended
+ version which, if \CJKvert is active, checks the existence of a
+ macro
+
+ \<encoding>/<family>/<series>/<shape>/<plane>/<code>
+
+ This macro is then called if it exists, instead of calling
+ \CJKsymbol. For halfwidth katakana, the macro is called
+
+ \<encoding>/<family>/<series>/<shape>/<code>
+
+ For HLaTeX, the macro is called
+
+ \<encoding>/<family>/<series>/<shape>/<first byte>/<second byte>
+
+ For UTF8, only characters in the range 0x800-0xFFFF get the new
+ code.
+
+ <code>, <first byte>, and <second byte> are decimal numbers.
+
+ * contrib/wadalab/c42{goth,maru,min}.fdv,
+ contrib/wadalab/c52{maru,min}.fdv, texinput/Bg5/c00bsmi.fdv,
+ texinput/GB/c10gbsn.fdv: New files containing information for
+ vertical typesetting.
+
+ * examples/Big5vert.tex: Use font shape `bsmi'.
+
+ * doc/history.txt, doc/chinese/README, contrib/wadalab/DNP.doc,
+ doc/vertical.doc, examples/README, README: Updated.
+
+ * Makefile (DVI2PS): Load bsmilp.map and gbsnlp.map.
+ (cweb): Fix typo (cms->cmz).
+
+ * utils/hbf2gf/config.guess, utils/hbf2gf/config.sub: Updated to
+ current versions.
+
+ * utils/extconv/extconv.w: Remove duplicated lines.
+ Fix incorrect use of \@.
+ * utils/extconv/extconv.c: Regenerated.
+
+2003-03-18 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/pinyin.sty (\rua): New syllable. While only dialect, it
+ actually is used...
+
+2003-03-12 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/pinyin.sty (\den, \chua): Add missing syllables (found by
+ Jean-Luc Koning <Jean-Luc.Koning@esisar.inpg.fr>).
+
+2003-03-07 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/pinyin.sty (\py@hy): Assure horizontal mode.
+
+2003-02-10 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty (\CJKchar): Make \CJKchar accept 7bit input for
+ character definitions other than standard.chr.
+ * doc/history.txt: Updated.
+
+2003-02-06 Werner LEMBERG <wl@gnu.org>
+
+ Horizontal hints in Wadalab fonts weren't shifted vertically,
+ causing inferior results at small sizes.
+
+ * contrib/wadalab/makefont: Rewritten using awk.
+ * contrib/wadalab/fixwada: New.
+ * contrib/wadalab/DNP.doc, doc/history.txt: Updated.
+ * doc/INSTALL: Minor fixes. Mention wadalab.doc and pfaedit.
+
+2003-01-31 Werner LEMBERG <wl@gnu.org>
+
+ Add two commands \CJKhwkatakana and \CJKnohwkatakana to control
+ whether C49 encoding is used or whether SJIS half-width katakana are
+ mapped to full-width glyphs instead.
+
+ * texinput/CJK.sty (\CJKhwkatakana, \CJK@nohwkatakana): New commands.
+ (\ifCJK@hwkatakana@): New if-macro.
+
+ * texinput/SJIS/SJIS.chr, texinput/SJIS/SJISdnp.chr (\CJK@sjischar):
+ Add second and third parameter to call \CJK@XXX conditionally.
+ * texinput/SJIS/SJIS.enc (\CJK@SJISEncoding): Fill second and
+ third parameters for half-width katakana.
+ * texinput/SJIS/SJISdnp.enc (\CJK@SJISdnpEncoding): Ditto.
+ * doc/commands.doc, doc/CJK.doc, doc/history.txt: Updated.
+
+ * examples/README: New file.
+
+2002-07-29 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CNS/EUC-TW.chr (\CJK@shiftchar): Pass correct parameters
+ to \CJKchar.
+
+2002-06-19 Werner LEMBERG <wl@gnu.org>
+
+ Version 4.5.1 released
+ ======================
+
+ Update version numbers and time stamps in all non-binary files.
+
+2002-06-17 Werner LEMBERG <wl@gnu.org>
+
+ Preparation of release 4.5.1.
+
+ * README: Updated.
+ * texinput/CJK.sty, doc/CJK.doc: Require LaTeX 2001/06/01 to have
+ support for \textkra, \texttstroke, and \textTstroke.
+ Other minor documentation updates.
+ * doc/*: Updated.
+
+2002-06-16 Werner LEMBERG <wl@gnu.org>
+
+ * doc/chinese/READMEgb.tex: Use `gbsn' font.
+ * Makefile (CJK2DVI): Remove *.toc also.
+ (LATEX2DVI): Take two arguments.
+ (LATEX): Ditto.
+ (DISTTARGETS): Add READMEb5 and pytest.
+ (READMEgb, pytest): New rules
+ (GB...): Updated.
+ (predistdoc): Create README file.
+ (distdoc): Depend also on `cweb'.
+ (cweb): New target.
+
+2002-06-14 Edward Lee <edt1023@ms17.hinet.net>
+
+ * texinput/Bg5/c00bsmi.fd, texinput/Bg5/c00bsmir.fd: Fix typo.
+
+2002-06-13 Werner LEMBERG <wl@gnu.org>
+
+ * Makefile: New file, used for creating the tarballs.
+ * README: Updated.
+ * texinput/GB/c10gbsn.fd, texinput/Bg5/c00bsmi.fd,
+ texinput/Bg5/c00bsmir.fd: New files for fonts from the TeXLive CD.
+ * doc/chinese/READMEb5.tex, examples/*: Changed to use the fonts
+ provided by the TeXLive CD.
+
+2002-06-12 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/JISdnp.enc (\CJK@JISdnpEncoding): Fix position of closing
+ brace.
+
+2002-06-07 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/thai/c90enc.def: New file, contributed by Dominique
+ Unruh <dominique@unruh.de>.
+ * texinput/thai/thaicjk.ldf: Use it.
+ * doc/history.txt: Updated.
+
+2002-05-16 Werner LEMBERG <wl@gnu.org>
+
+ * doc/cjk-enc.doc: Document behaviour for master files without CJK
+ characters.
+ * doc/CJK.doc: Explain usage of `~' for BibTeX.
+
+2002-05-10 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKnumb.sty (\CJKnullspace): New macro to control the
+ additional space inserted before and after a circle used as a
+ CJK zero digit.
+ * doc/history.txt: Updated.
+
+2002-05-09 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKnumb.sty (\CJK@traditionalNumbers,
+ \CJK@simplifiedNumbers): New macros.
+ Use them for GB, GBK, Bg5, Bg5+ hooks.
+
+2002-05-01 Werner LEMBERG <wl@gnu.org>
+
+ * doc/commands.doc: Minor fix.
+
+ * utils/hbf2gf/config.guess, utils/hbf2gf/config.sub: Updated to
+ current versions.
+ * utils/hbf2gf/configure.in: Renamed to...
+ * utils/hbf2gf/configure.ac: This.
+ Updated to autoconf 2.53.
+ * utils/hbf2gf/configure: Regenerated with autoconf 2.53.
+ * utils/hbf2gf/README: Text improved.
+ * utils/hbf2gf/hbf2gf.1: Minor typographical fixes.
+
+2002-04-30 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty (\CJK@errxx, \CJKindent): New macros.
+ * texinput/CJK.enc (\CJK@spaceChar): Define it for all encodings.
+ It is used by \CJKindent.
+ (\CJK@KSHL@enc): Add \CJK@min and \CJK@max.
+ * texinput/SJIS/SJISdnp.enc (\CJK@SJISdnpEncoding),
+ texinput/JIS/JISdnp.enc (\CJK@JISdnpEncoding),
+ texinput/KS/HLaTeX/KSHL.enc (\CJK@KSHLEncoding): Use \CJK@errxx
+ for unused slots.
+
+ * doc/history.txt, doc/commands.doc: Document \CJKindent.
+
+ * utils/CEFconv/cef5conv.w, utils/CEFconv/cefconv.w: Fix
+ documentation errors.
+ * utils/CEFconv/cef5conv.c, utils/CEFconv/cefconv.c: Regenerated.
+
+2002-04-29 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty (\pickup@font): Add comment character.
+
+2002-04-28 Werner LEMBERG <wl@gnu.org>
+
+ Preparation of release 4.5.0.
+
+ * README: Updated.
+
+2002-04-27 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty (\CJKsymbol, \CJKsymbols): Simplified.
+ (\Unicode, \CJKenc): Fix error text.
+
+2001-10-08 Mike Fabian <mfabian@suse.de>
+
+ * contrib/wadalab/c42goth.fd: Use `dgj' for normal series and add
+ `\CJKbold' for bold series.
+
+2001-07-31 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CJK.doc: Note use of \cleardoublepage if problems occur with
+ two-column printing.
+
+2001-07-27 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
+
+ * utils/cjklatex/cjklatex.c: New file.
+
+2001-06-27 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CJK.doc: Add info how to use a CJK environment in the
+ preamble.
+ * doc/cjk-enc.doc: Simplify usage of AUC TeX.
+ Modify definition of `TeX-run-CJK-LaTeX' to handle directories
+ properly.
+
+2001-06-15 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.enc (\CJK@disableMakeUppercase): Define it as \relax
+ if in preprocessed mode.
+
+2001-06-14 HANDA Ken'ichi <handa@etl.go.jp>
+
+ * utils/lisp/emacs-20.3/cjk-enc.el (cjk-set-buffer-multibyte):
+ Use backquote operator to make cjk-enc.elc work correctly.
+
+2001-06-08 Werner LEMBERG <wl@gnu.org>
+
+ The next LaTeX release will use \textkra, \texttstroke, and
+ \textTstroke for the missing latin-4 characters.
+
+ * texinput/mule/MULEenc.sty: Use \textkra. Add \TEXTTSTROKE.
+ * utils/lisp/emacs-20.3/cjk-enc.el, utils/lisp/mule-2.3/cjk-enc.el:
+ Use \texttstroke and \TEXTTSTROKE.
+
+2001-05-26 Werner LEMBERG <wl@gnu.org>
+
+ * texinputs/CJK.sty: Restore EOL character before loading `CJK.cfg'.
+
+2001-05-18 Werner LEMBERG <wl@gnu.org>
+
+ * contrib/wadalab/DNP.doc: Document installation for pdfTeX.
+ * contrib/wadalab/makefont: Updated to normalize font matrix of
+ PS fonts.
+
+2001-04-24 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/config.guess, utils/hbf2gf/config.sub: Updated to
+ latest version from gnu.org.
+
+2001-04-21 Werner LEMBERG <wl@gnu.org>
+
+ * examples/muletest.tex: Remove Thai support so that this file can
+ really be run with Mule 2.3.
+ Update comment.
+ * example/CJKbabel.tex, example/rubytest.tex: Update comment.
+
+ * utils/lisp/emacs-20.3/cjk-enc.el (cjk-format-spec-table): Fix
+ Thai.
+ * texinput/mule/MULEenc.sty (\mule@char): Don't use delimiter.
+ * texinput/SJIS/sjisdnp.enc: Update this file also to the changes
+ introduced 2001-03-15.
+
+2001-04-17 Werner LEMBERG <wl@gnu.org>
+
+ * examples/*.tex: Added local variables for Emacs to specify
+ encoding.
+ * doc/history.txt: Emphasize the need of local variables for the
+ encoding if `cjk-enc.el' is used.
+
+2001-04-02 Werner LEMBERG <wl@gnu.org>
+
+ * utils/lisp/emacs-20.3/cjk-enc.el: Fix documentation to follow
+ Elisp documentation conventions.
+
+2001-04-01 Werner LEMBERG <wl@gnu.org>
+
+ Make UTF8 encoding work in TOC.
+
+ * texinput/CJK.sty (\CJK@namedef): New macro.
+ * texinput/UTF8/UTF8.bdg: Use it.
+
+2001-03-28 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/mule/MULEenc.sty: Use \textnumero instead of \CYRNo
+ (found by Vladimir Volovich).
+
+2001-03-18 Werner LEMBERG <wl@gnu.org>
+
+ * utils/lisp/cjkspace.el, INSTALL: Fix documentation.
+
+2001-03-15 Werner LEMBERG <wl@gnu.org>
+
+ A major change: Preprocessed and non-preprocessed mode can be used
+ simultaneously! For example, you can now use include a file encoded
+ in UTF-8 in another file encoded in Big5.
+
+ To achieve this, ^^7f will always start a command in preprocessed
+ mode, even for CJK macros.
+
+ * texinput/CJK.sty: Require MULEenc.sty.
+ Remove ^^7f handling.
+ Remove preprocessed versions of \CJK@XX, \CJK@XXX, and \CJK@XXXX.
+ (\CJKcaption): Always include .cpx files.
+
+ * texinput/CJK.enc (\CJK@disableMakeUppercase): New macro.
+ (\CJK@shiftError): New macro.
+ (\CJK@unicodeError): New macro.
+ (\CJK@makeEnvironment): Don't handle \MakeUppercase.
+ (\CJK@*@enc): Always use `true' branch in \CJKpreproc conditionals.
+
+ * texinput/mule/MULEenc.sty (\mule@@@arg, \mule@def): Use \string.
+ (\mule@@def): New function to set up macros for leading bytes in the
+ range ^^81-^^fe.
+ * texinput/extended.enc (\CJK@extendedEncoding),
+ texinput/Bg5/Bg5.enc (\CJK@Bg5Encoding), texinput/SJIS/SJIS.enc
+ (\CJK@SJISEncoding): Use \CJK@disableMakeUppercase.
+ * texinput/pmCbig.enc (\CJK@pmCbigEncoding), texinput/pmCsmall.enc
+ (\CJK@pmCsmallEncoding), texinput/standard.enc
+ (\CJK@standardEncoding): Add \relax.
+ * texinput/CNS/EUC-TW.enc (\CJK@EUC-TWEncoding),
+ texinput/JIS/EUC-JP.enc (\CJK@EUC-JPEncoding): Use \CJK@shiftError
+ for single shifts. Add \relax for all other macros.
+ * texinput/UTF8/UTF8.enc (\CJK@UTF8Encoding): Use \CJK@unicodeError
+ for three-byte sequences. Add \relax for all other macros.
+
+ * texinput/*/*.cpx: Updated to new preprocessing scheme.
+
+ * utils/*conv/*conv.w: Updated to new preprocessing scheme.
+ * utils/*conv/*conv.c: Regenerated.
+
+ * utils/lisp/emacs-20.3/cjk-enc.el (cjk-format-spec-table): Updated
+ to new preprocessing scheme.
+ (cjk-encode): Fix file header insertion strings.
+ * utils/lisp/mule-2.3/cjk-enc.el (cjk-enc-table): Updated to new
+ preprocessing scheme.
+ (cjk-encode): Fix file header insertion strings.
+
+ * doc/*: Updated and revised.
+
+2001-03-13 Werner LEMBERG <wl@gnu.org>
+
+ Implement \CJKinput.
+
+ * mule/MULEenc.sty (\CJKinput): New macro.
+ (\CJKinclude): Fix error message.
+
+ * utils/lisp/emacs-20.3/cjk-enc.el (cjk-write-all-files): Update
+ docstring.
+ (tex-input-regexp): New test for \CJKinput.
+ (do-batch-cjk-write-file): Fix typo.
+
+ * texinput/thai/thaicjk.ldf: Fix typo.
+
+2001-02-21 Werner LEMBERG <wl@gnu.org>
+
+ * doc/INSTALL: Minor improvements.
+
+2001-02-13 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/config.{guess,sub}: Updated (from ftp.gnu.org).
+
+2000-12-17 Werner LEMBERG <wl@gnu.org>
+
+ * utils/SJISconv/sjisconv.w: Fix typo ff -> 7f.
+ * utils/CEFconv/cef5conv.w, utils/CEFconv/cefconv.w: Ditto.
+
+ * utils/*conv/*conv.w: \XXXpreproc will now contain the version of
+ the conversion program.
+ * utils/*conv/*conv.c: Updated.
+
+ * doc/history.txt: Updated.
+
+ * all files: Version number changed to 4.4.0.
+
+2000-12-03 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/configure.in: Fix kpathsea checking message.
+ * utils/hbf2gf/configure: Updated.
+
+2000-12-02 Werner LEMBERG <wl@gnu.org>
+
+ * doc/cjk-enc.doc: Clarify usage of cjk-coding.
+ * doc/INSTALL: Add hints how to use kpsewhich to check
+ configuration.
+
+2000-12-01 Werner LEMBERG <wl@gnu.org>
+
+ * doc/INSTALL: Fix documentation of --with-kpathsea-include.
+ * doc/cjk-enc.doc: Fix typo.
+
+2000-09-21 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/{CJK.sty, CJKulem.sty, pinyin.sty, ruby.sty}: Replacing
+ some \ifdim with \ifnum.
+
+2000-09-20 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKulem.sty: Fixed two nasty bugs (spotted by Sim Ing
+ <sim@ubs-aptsocap.org>): No underlining for \CJKglue and no \CJKglue
+ before and after \uline.
+
+2000-08-28 Werner LEMBERG <wl@gnu.org>
+
+ * utils/thaifont/texmf/dvips/config/config.{norasi,dbtt}: New files.
+ * doc/thaifont.doc: Added info about PS font configuration.
+
+2000-08-24 Werner LEMBERG <wl@gnu.org>
+
+ * utils/lisp/emacs-20.3/thai-word.el (thai-update-word-table): Add
+ documentation string.
+
+2000-08-24 HANDA Ken'ichi <handa@etl.go.jp>
+
+ * utils/lisp/emacs-20.3/thai-word.el (thai-update-word-table): New
+ function.
+ (thai-find-word-ends): Fix loop.
+
+2000-08-23 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/thai/thaicjk.ldf: Remove warning about nonexistent
+ hyphenation patterns.
+
+2000-08-20 Werner LEMBERG <wl@gnu.org>
+
+ Another big sigh. Wrong glyph names for Norasi's Thai digits.
+ Additionally, all ligature rules no longer use `>' to make kerning
+ possible.
+
+ * utils/thaifont/texmf/dvips/base/norasi.enc: Fixed.
+ * utils/thaifont/tools/{thai.enc,thailigs.vpl}: Updated.
+ * utils/thaifont/texmf/fonts/{tfm,vf}/public/{dbtt,norasi}/*:
+ Regenerated.
+
+2000-08-19 Werner LEMBERG <wl@gnu.org>
+
+ * examples/thai.tex: New file.
+ * doc/history.txt: Updated.
+
+ * examples/CJKbabel.tex: Doc fixes.
+
+2000-08-17 Werner LEMBERG <wl@gnu.org>
+
+ * doc/cjk-enc.el, doc/thaifont.doc: Give better URL for thailatex
+ package.
+
+2000-08-15 Werner LEMBERG <wl@gnu.org>
+
+ Sigh, another forgotten Thai ligature rule.
+
+ * utils/thaifont/tools/{thai.enc,thailigs.vpl}: Updated.
+ * utils/thaifont/texmf/fonts/{tfm,vf}/public/{dbtt,norasi}/*:
+ Regenerated.
+
+2000-08-15 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/thai/c90{cmr,cmss.cmtt}.fd: Make font substitution
+ silent.
+
+ * utils/thaifont/texmf/dvips/base/norasi.enc: Fixing typo.
+ * utils/thaifont/texmf/fonts/{tfm,vf}/public/norasi/*: Updated.
+
+2000-08-13 Werner LEMBERG <wl@gnu.org>
+
+ Improved support for Thai.
+
+ * doc/thaifont.doc: New file.
+
+ * utils/thaifont/*: Metrics and support files for Thai fonts.
+
+ * texinput/thai/c90{nrsr,dbss}.fd: New font definition files for
+ dbtt and norasi font families.
+ * texinput/thai/c90{cmr,cmss,cmtt}.fd: Font alias files.
+ * texinput/thai/thaicjk.ldf: New file for thai support in Babel.
+ * texinput/thai/thai.sty: Removed.
+
+ * utils/lisp/emacs20.3/cjk-enc.el: Redesigned Thai support by
+ HANDA Ken'ichi <handa@etl.go.jp>.
+ Will now run under XEmacs also (with help of Martin Buchholz
+ <martin@xemacs.org>). No Thai support yet due to limitations in
+ current XEmacs version (21.2).
+ (cjk-write-all-files): New optional argument to force the processing
+ of all files.
+ (do-batch-cjk-write-file): New function.
+ (batch-cjk-write-file): Use do-batch-cjk-write-file.
+ (batch-force-cjk-write-file): New function. Uses
+ do-batch-cjk-write-file also.
+ * utils/lisp/mule-2.3/cjk-enc.el: Rename write-cjk-file to
+ cjk-write-file for consistency.
+ * utils/lisp/emacs20.3/thai-word.el: New file written by HANDA
+ Ken'ichi for Thai word breaking support. Replaces thaiconv.
+ * utils/thaiconv: Removed.
+
+ * utils/lisp/emacs20/cjk-enc.el: Removed. No longer supported.
+
+ * texinput/mule/MULEenc.sty: Adapted to new cjk-enc.el version.
+ Make it robust for CJKulem.sty.
+
+ * examples/CJKbabel.tex: Use CJKulem.sty and thaicjk module for
+ Babel.
+ * examples/muletest.tex: Remove \if... \fi clause for Thai.
+
+ * doc/history.txt, doc/INSTALL: Updated.
+
+2000-08-12 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJKulem.sty: New file which provides CJK support for
+ ulem.sty.
+ * doc/history.txt, doc/CJK.doc: Updated.
+
+2000-08-09 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/configure.in: Replaced --with-kpathsea-dir with
+ --with-kpathsea-lib and --with-kpathsea-include.
+ * utils/hbf2gf/configure, doc/history.txt, doc/INSTALL,
+ doc/hbf2gf.doc: Updated.
+
+ * texinput/CJK.sty, texinput/mule/MULEenc.sty: New command
+ \CJKverbatim which disables \Thaiglue and \CJKglue in verbatim
+ environments if the `verbatim' package is loaded.
+ * doc/history.txt, doc/CJK.doc, doc/commands.doc: Updated.
+
+2000-07-30 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/config.guess, utils/hbf2gf/config.sub: Updated to
+ latest version from ftp.gnu.org.
+
+2000-07-27 Werner LEMBERG <wl@gnu.org>
+
+ * utils/thaiconv/thaiconv.c: Improve comment.
+
+ * *.fd: Set \hyphenchar to -1 for all CJK fonts.
+
+2000-06-23 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/config.guess, utils/hbf2gf/config.sub: Updated to
+ latest version from ftp.gnu.org.
+
+ * texinput/CJK.enc: Removed redefinition of C42 and C49.
+
+2000-05-03 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty: Specifying an optional argument to the `CJK'
+ size function will no longer produce a warning message for each
+ subfont.
+
+ * contrib/wadalab/*.fd, doc/CJK.doc, doc/fonts.doc: Wadalab PS fonts
+ now use `CJK' size functions instead of `DNP' ones.
+
+ * doc/history.txt: Updated.
+
+2000-05-02 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/*/*.cpx: Replace incorrect 0xFF with 0x7F.
+
+2000-04-18 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty, texinput/pinyin.sty, texinput/ruby.sty:
+ Balancing the small kern control values, e.g. using
+ `\kern -1sp\kern 1sp' instead of `\kern 1sp' only.
+
+ Replacing kern value of 3sp with 5sp to avoid clash with ulem.sty.
+
+2000-04-01 Werner LEMBERG <wl@gnu.org>
+
+ Version 4.3.0 released
+ ======================
+
+ This version exists on the Tex Live CD 5 only; a lot of files have
+ been adapted to the special needs of the CD's texmf tree -- these
+ changes are not in the CVS tree.
+
+2000-03-15 Werner LEMBERG <wl@gnu.org>
+
+ * contrib/wadalab/wadalab.map: Renamed from Wadalab.map
+ * contrib/wadalab/DNP.doc: Updated accordingly.
+
+ * utils/hbf2gf/cfg/*: Updated -- if possible, the foundry is used
+ as the target directory instead of the encoding, e.g.
+ `tfm/ntu/b5ka12'.
+
+2000-03-14 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/SJIS/SJISdnp.{chr,enc}: New files to support SJIS
+ encoding with DNP fontencoding.
+ * texinput/CJK.enc: Add SJISdnp.
+ Add forgotten punctuation pattern macro to KSHL encoding.
+ * doc/history.txt, doc/CJK.doc, doc/command.doc: Update.
+
+2000-03-13 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty: Fixing definition of ^^7f to do nothing if
+ written to the TOC file.
+
+2000-03-12 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/KS/HLaTeX/pshan.sty: Fix typo.
+
+ Call \mj to activate default family correctly.
+
+ * contrib/wadalab/makefont: Add echo commands.
+ * contrib/wadalab/DNP.doc: Updated. Add info about gsftopk.
+
+2000-03-03 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/README: New file.
+ * utils/hbf2gf/hbf2gf.1, doc/hbf2gf.doc: Small improvements.
+
+ * README: Removed `romaji environment' from TODO section. According
+ to HANDA Ken'ichi <handa@etl.go.jp> it is impossible to provide
+ hyphenation patterns for transcribed Japanese without semantic
+ analysis.
+
+2000-03-02 Werner LEMBERG <wl@gnu.org>
+
+ * README, doc/INSTALL: Slight improvements.
+
+ * utils/hbf2gf/Makefile.in, utils/hbf2gf/configure.in: Fix incorrect
+ test for NO_STRDUP. Thanks to <Andries.Brouwer@cwi.nl>.
+
+2000-02-06 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/CJK.sty, texinput/mule/MULEenc.sty,
+ utils/lisp/*/cjk-enc.el, utils/*conv/*conv.[cw], history.txt,
+ CJK.doc, cjk-enc.doc: Use 0x7F both as the multiplex character and
+ as a delimiter -- apparently no package uses this character...
+ This solves all problems with \uppercase and \lowercase.
+
+ * utils/hbf2gf/cfg/j2so12.cfg: Added `min_char' parameter to get
+ correct offsets (thanks to Martin Minich
+ <minich5@kepler.fmph.uniba.sk> for finding this bug).
+
+2000-01-26 Werner LEMBERG <wl@gnu.org>
+
+ * doc/cjk-enc.doc, doc/history.txt, examples/CJKbabel.tex,
+ examples/muletest.tex, texinput/mule/MULEenc.sty,
+ utils/lisp/*/cjk-enc.el: Change X5 to T5.
+
+2000-01-20 Werner LEMBERG <wl@gnu.org>
+
+ * examples/muletest.tex: Greek added; updated to X5 encoding.
+ * examples/CJKbabel.tex: Greek added; updated to X5 encoding.
+
+ * texinput/mule/MULEenc.sty: Use \AtBeginDocument for \mule@<accent>
+ definitions.
+
+2000-01-14 Werner LEMBERG <wl@gnu.org>
+
+ * doc/cjk-enc.doc: Added info about file variables to specify
+ document encoding.
+
+2000-01-03 Ching-Mo CHANG <chingmo@mail.onweb.com.tw>
+
+ * utils/lisp/emacs-20.3/cjk-enc.el (cjk-write-all-files): Always
+ returned nul for include and bib file names due to incorrect
+ pattern matching.
+
+1999-12-18 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/configure.in: Removed `-pedantic' flag which causes
+ problems with newer gcc versions.
+
+1999-11-19 Werner LEMBERG <wl@gnu.org>
+
+ * examples/muletest.tex, examples/CJKbabel.tex: Fixing a typo.
+
+1999-11-07 Werner LEMBERG <wl@gnu.org>
+
+ * doc/CEF.doc: Minor fixes.
+
+ * doc/CJK.doc: Updated; minor fixes.
+
+1999-11-06 Werner LEMBERG <wl@gnu.org>
+
+ * doc/cjk-enc.doc, doc/commands.doc, doc/fonts.doc: Minor fixes.
+
+ * doc/vertical.doc, doc/history.txt: Updated.
+
+1999-11-05 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/mule/MULEenc.sty: Added \CJKinclude{<file>} and
+ \CJKbibliography{<file>}. These functions act identically to
+ \include resp. \bibliography but load <file>.cjk
+ resp. <file>-cjk.bib.
+
+ * utils/lisp/emacs-20.3/cjk-enc.el: Using `cjk' throughout as the
+ prefix to variable and function names. This causes a renaming of
+ virtually all functions. Some other local variables were renamed
+ also for consistency.
+
+ Changing ET5 to X5 encoding for Vietnamese.
+
+ (decompose-char): Removed. Not needed at all.
+
+ (cjk-tex-in-comment): New function. Similar to AUC TeX's
+ TeX-in-comment function; has been added to be independent from AUC
+ TeX.
+
+ (cjk-write-all-files): New function. It checks for \CJKinclude
+ and \CJKbibliography commands in the master file and converts the
+ referenced files accordingly if necessary. Intended as a hook to
+ AUC TeX to make multiple files work as expected.
+
+1999-11-02 Werner LEMBERG <wl@gnu.org>
+
+ * doc/cjk-enc.doc: Small improvement in explanation of usage with
+ AUC TeX.
+
+1999-10-24 Werner LEMBERG <wl@gnu.org>
+
+ * utils/lisp/emacs-20.3/cjk-enc.el (get-cjk-name): New function.
+
+ (file-write-cjk-file, batch-write-cjk-file): New functions which
+ do the same as write-cjk-file but operate on a given file (resp. a
+ suite of files and directories given on the command line).
+
+ (write-cjk-file): Will now properly ask for a file name if the
+ current buffer is not visiting a file.
+
+ * doc/cjk-enc.doc: Expanded TeX-translate-location-hook to cover
+ CJK BibTeX input files also.
+
+ TeX-run-CJK-LaTeX now checks whether it must call write-cjk-file
+ at all (emacs > 20.3 only).
+
+1999-10-07 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/mule/MULEenc.sty: Removed \textendash wrapper macro.
+
+ * utils/lisp/{emacs-20.3,emacs-20,mule-2.3}/cjk-enc.el: Added
+ iso-8859-9 (Greek) support (mapped to LGR encoding as used in the
+ Babel package).
+
+ Fixed character `SOFT-HYPHEN' in iso-8859-x encodings (using `\-'
+ instead of \textendash).
+
+ * README, doc/cjk-enc.doc, doc/history.txt: Updated.
+
+ * doc/CJK.doc: Fixed a typo.
+
+ * texinput/CJK.enc, texinput/CJK.sty, texinput/*/{*.cap,*.cpx}:
+ Replaced `\ifx\foo \undefined' with `\@ifundefined{}{}' to fix the
+ case that a not-defined macro has been tested with \@ifundefined
+ before. In this case, it is no longer undefined but identical to
+ \relax.
+
+ * texinput/pmC.chr: Fixed punctuation macros for pmC.
+
+1999-10-02 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/pinyin.sty: The method with appending `\-' to all
+ syllables fails (stupid I am :-), so here a solution which really
+ works. It uses a small kern (4sp, similar to the ruby and CJK
+ packages) to tell the following pinyin syllable that a
+ discretionary has to be inserted.
+
+1999-10-01 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/mule/MULEenc.sty: \lccode and \uccode of ^^ff must not
+ be modified, otherwise hyphenation patterns containing \ss will
+ fail (which happens e.g. in German).
+
+1999-09-28 Werner LEMBERG <wl@gnu.org>
+
+ * doc/history.txt: Updated.
+
+ * utils/pyhyphen/pyhyph.tex, utils/pyhyphen/pytest.tex,
+ utils/pyhyphen/pinyin.ldf, doc/pyhpyhen.doc: Hyphenation patterns
+ for unaccented pinyin syllables to be used with the Babel package.
+
+ * utils/pyhyphen/pinyin.c, utils/pyhpyhen/pinyin.tr: Utility files
+ for creating pinyin hyphenation patterns.
+
+1999-09-27 Werner LEMBERG <wl@gnu.org>
+
+ * doc/history.txt: Updated.
+
+1999-09-21 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/pinyin.sty: Adding hyphenation points at the end of all
+ syllables.
+
+1999-09-18 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/pinyin.sty: Making accent commands like \py@a robust.
+
+ Added option `useCMmacron' (for LaTeX only) to use a macron accent
+ from the CM fonts in case the used font doesn't have it
+ (e.g. some versions of virtual files for Palatino).
+
+1999-08-26 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/hbf2gf.1: Added some documentation how to find out
+ the expanded value of a kpathsea variable (like $MISCFONT).
+
+1999-08-07 Werner LEMBERG <wl@gnu.org>
+
+ * utils/thaiconv/thaiconv.c (adj): Fixed invalid array index in
+ case of marks without base characters.
+
+1999-07-07 Werner LEMBERG <wl@gnu.org>
+
+ * texinput/Bg5/Bg5.chr,
+ texinput/extended.chr: Fixed a typo \CJK@temp->\CJK@gtemp
+
+1999-06-30 Werner LEMBERG <wl@gnu.org>
+
+ * utils/lisp/emacs-20/cjk-enc.el,
+ utils/lisp/emacs-20.3/cjk-enc.el,
+ utils/lisp/mule-2.3: Fixed code for 0x80 multiplex character.
+
+1999-06-22 Werner LEMBERG <wl@gnu.org>
+
+ * doc/TDS.doc: Completely revised.
+
+1999-06-10 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/configure.in: Removed `-ansi' flag which can cause
+ problems with the kpathsea library (which is not compiled with
+ -ansi).
+
+1999-06-07 Werner LEMBERG <wl@gnu.org>
+
+ * utils/hbf2gf/hbf2gf.1: Added documentation about MiKTeX.
+
+ * utils/hbf2gf/hbf2gf.w: Added support for MiKTeX file search
+ library.
+
+ * texinput/CEF/*.fd: Removed -- these files were erroneously
+ included into the CVS repository.
+
+1999-06-04 Werner LEMBERG <wl@gnu.org>
+
+ * *.fd files: minor documentation addition regarding font
+ encoding.
+
+ * all files: Changed date/version to 4.3.0.
+
+1999-06-02 Werner LEMBERG <wl@gnu.org>
+
+ * README: Added info about http and ftp home sites and how to
+ access the CVS repository.
+
+1999-06-01 Werner LEMBERG <wl@gnu.org>
+
+ * README: Added info about CVS mailing list.
+
+1999-05-29 Werner LEMBERG <wl@gnu.org>
+
+ * README: Added mailing list.
+
+ * doc/INSTALL: Small correction.
+
+ * README: Small additions.
+
+;; Local Variables:
+;; coding: utf-8
+;; End:
+
+ Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
+ Werner Lemberg <wl@gnu.org>
+
+ This file is part of the CJK package for using Asian logographs
+ (Chinese/Japanese/Korean) with LaTeX2e.
+
+ 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, 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 GNU Emacs; see the file COPYING. If not, write to the
+ Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
diff --git a/Master/texmf-dist/doc/latex/cjk/MANIFEST b/Master/texmf-dist/doc/latex/cjk/MANIFEST
new file mode 100644
index 00000000000..9a4922cc63e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/MANIFEST
@@ -0,0 +1,453 @@
+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
+
+This license applies to all files of the CJK package, unless otherwise
+stipulated in the source file.
+
+
+The CJK package contains the following files:
+
+ ChangeLog
+ MANIFEST
+ Makefile
+ README
+ contrib/wadalab/DNP.sfd
+ contrib/wadalab/DNP.txt
+ contrib/wadalab/c42goth.fd
+ contrib/wadalab/c42goth.fdx
+ contrib/wadalab/c42maru.fd
+ contrib/wadalab/c42maru.fdx
+ contrib/wadalab/c42min.fd
+ contrib/wadalab/c42min.fdx
+ contrib/wadalab/c52maru.fd
+ contrib/wadalab/c52maru.fdx
+ contrib/wadalab/c52min.fd
+ contrib/wadalab/c52min.fdx
+ contrib/wadalab/c70goth.fd
+ contrib/wadalab/c70goth.fdx
+ contrib/wadalab/c70maru.fd
+ contrib/wadalab/c70maru.fdx
+ contrib/wadalab/c70min.fd
+ contrib/wadalab/c70min.fdx
+ contrib/wadalab/fixwada
+ contrib/wadalab/fixwada2.pl
+ contrib/wadalab/makefont
+ contrib/wadalab/makeuniwada.pl
+ contrib/wadalab/wadalab.map
+ doc/CEF.txt
+ doc/CJK.txt
+ doc/CJKutf8.txt
+ doc/COPYING
+ doc/INSTALL
+ doc/TDS.txt
+ doc/TeXLive.txt
+ doc/chinese/README
+ doc/chinese/READMEb5.tex
+ doc/chinese/READMEgb.tex
+ doc/chinese/emTeXb5.txt
+ doc/chinese/teTeXb5.txt
+ doc/cjk-enc.txt
+ doc/commands.txt
+ doc/dvidrv.txt
+ doc/fdxfiles.txt
+ doc/fonts.txt
+ doc/hbf2gf.txt
+ doc/history.2_5
+ doc/history.txt
+ doc/japanese/README
+ doc/japanese/ascii.txt
+ doc/japanese/japanese.jis
+ doc/japanese/japanese.txt
+ doc/japanese/jp-fonts.txt
+ doc/japanese/jp-tex.txt
+ doc/japanese/preview.txt
+ doc/japanese/shibuaki.txt
+ doc/pdfhowto/HOWTO.txt
+ doc/pdfhowto/examples/bkai.map
+ doc/pdfhowto/examples/cid-x.map
+ doc/pdfhowto/examples/cwtb.map
+ doc/pdfhowto/examples/dvipdfmx.cfg
+ doc/pdfhowto/examples/gen-map.pl
+ doc/pdfhowto/examples/map.list
+ doc/pdfhowto/examples/texinput/Bg5/c00cwtb.fd
+ doc/pdfhowto/examples/texinput/Bg5/c00tmpl.fd
+ doc/pdfhowto/examples/texinput/GB/c10tmpl.fd
+ doc/pdfhowto/examples/texinput/JIS/c40tmpl.fd
+ doc/pdfhowto/examples/texinput/SJIS/c49tmpl.fd
+ doc/pdfhowto/examples/updmap.my
+ doc/pdfhowto/examples/wcl.sfd
+ doc/pinyin.txt
+ doc/pyhyphen.txt
+ doc/reftex.txt
+ doc/ruby.txt
+ doc/thaifont.txt
+ doc/vertical.txt
+ doc/xCJK.txt
+ examples/Big5.tex
+ examples/Big5vert.tex
+ examples/CEF_test.tex
+ examples/CJKbabel.tex
+ examples/CJKfntef.tex
+ examples/CJKmixed.tex
+ examples/CJKutf8.tex
+ examples/GB.tex
+ examples/JIS.tex
+ examples/KS.tex
+ examples/README
+ examples/SJIS.tex
+ examples/UTF8.tex
+ examples/muletest.tex
+ examples/py_test.tex
+ examples/rubytest.tex
+ examples/thai.tex
+ examples/xCJK.tex
+ texinput/Bg5/Bg5.cap
+ texinput/Bg5/Bg5.chr
+ texinput/Bg5/Bg5.cpx
+ texinput/Bg5/Bg5.enc
+ texinput/Bg5/HK.enc
+ texinput/Bg5/c00bkai.fdx
+ texinput/Bg5/c00bsmi.fd
+ texinput/Bg5/c00bsmi.fdx
+ texinput/Bg5/c00bsmir.fd
+ texinput/Bg5/c00bsmir.fdx
+ texinput/Bg5/c00cns.fd
+ texinput/Bg5/c00fs.fd
+ texinput/Bg5/c00kai.fd
+ texinput/Bg5/c00kair.fd
+ texinput/Bg5/c00kair.fdx
+ texinput/Bg5/c00song.fd
+ texinput/Bg5/c01song.fd
+ texinput/Bg5/c05song.fd
+ texinput/Bg5/c09song.fd
+ texinput/CEF/c80song.fd
+ texinput/CEF/c81song.fd
+ texinput/CJK.enc
+ texinput/CJK.sty
+ texinput/CJKfntef.sty
+ texinput/CJKnumb.sty
+ texinput/CJKulem.sty
+ texinput/CJKutf8.sty
+ texinput/CJKvert.sty
+ texinput/CNS/EUC-TW.bdg
+ texinput/CNS/EUC-TW.chr
+ texinput/CNS/EUC-TW.enc
+ texinput/CNS/c31song.fd
+ texinput/CNS/c32song.fd
+ texinput/CNS/c33song.fd
+ texinput/CNS/c34song.fd
+ texinput/CNS/c35song.fd
+ texinput/CNS/c36song.fd
+ texinput/CNS/c37song.fd
+ texinput/GB/GB.cap
+ texinput/GB/GB.cpx
+ texinput/GB/c10fs.fd
+ texinput/GB/c10gbsn.fd
+ texinput/GB/c10gbsn.fdx
+ texinput/GB/c10song.fd
+ texinput/GB/c11song.fd
+ texinput/GB/c19song.fd
+ texinput/GB/c20song.fd
+ texinput/GB/c21song.fd
+ texinput/JIS/EUC-JP.bdg
+ texinput/JIS/EUC-JP.chr
+ texinput/JIS/EUC-JP.enc
+ texinput/JIS/EUC-JPdnp.enc
+ texinput/JIS/JIS.cap
+ texinput/JIS/JIS.cpx
+ texinput/JIS/JISdnp.enc
+ texinput/JIS/c40song.fd
+ texinput/JIS/c41song.fd
+ texinput/JIS/c42song.fd
+ texinput/JIS/c43song.fd
+ texinput/JIS/c50song.fd
+ texinput/KS/HLaTeX/HLaTeX.chr
+ texinput/KS/HLaTeX/KSHL.enc
+ texinput/KS/HLaTeX/c63bm.fd
+ texinput/KS/HLaTeX/c63dn.fd
+ texinput/KS/HLaTeX/c63gr.fd
+ texinput/KS/HLaTeX/c63gs.fd
+ texinput/KS/HLaTeX/c63gt.fd
+ texinput/KS/HLaTeX/c63jgt.fd
+ texinput/KS/HLaTeX/c63jmj.fd
+ texinput/KS/HLaTeX/c63jnv.fd
+ texinput/KS/HLaTeX/c63jsr.fd
+ texinput/KS/HLaTeX/c63mj.fd
+ texinput/KS/HLaTeX/c63pg.fd
+ texinput/KS/HLaTeX/c63pga.fd
+ texinput/KS/HLaTeX/c63ph.fd
+ texinput/KS/HLaTeX/c63pn.fd
+ texinput/KS/HLaTeX/c63sh.fd
+ texinput/KS/HLaTeX/c63tz.fd
+ texinput/KS/HLaTeX/c63vd.fd
+ texinput/KS/HLaTeX/c63yt.fd
+ texinput/KS/HLaTeX/c64bm.fd
+ texinput/KS/HLaTeX/c64dn.fd
+ texinput/KS/HLaTeX/c64gr.fd
+ texinput/KS/HLaTeX/c64gs.fd
+ texinput/KS/HLaTeX/c64gt.fd
+ texinput/KS/HLaTeX/c64jgt.fd
+ texinput/KS/HLaTeX/c64jmj.fd
+ texinput/KS/HLaTeX/c64jnv.fd
+ texinput/KS/HLaTeX/c64jsr.fd
+ texinput/KS/HLaTeX/c64mj.fd
+ texinput/KS/HLaTeX/c64pg.fd
+ texinput/KS/HLaTeX/c64pga.fd
+ texinput/KS/HLaTeX/c64ph.fd
+ texinput/KS/HLaTeX/c64pn.fd
+ texinput/KS/HLaTeX/c64sh.fd
+ texinput/KS/HLaTeX/c64tz.fd
+ texinput/KS/HLaTeX/c64vd.fd
+ texinput/KS/HLaTeX/c64yt.fd
+ texinput/KS/HLaTeX/c65bm.fd
+ texinput/KS/HLaTeX/c65dn.fd
+ texinput/KS/HLaTeX/c65gr.fd
+ texinput/KS/HLaTeX/c65gs.fd
+ texinput/KS/HLaTeX/c65gt.fd
+ texinput/KS/HLaTeX/c65jgt.fd
+ texinput/KS/HLaTeX/c65jmj.fd
+ texinput/KS/HLaTeX/c65jnv.fd
+ texinput/KS/HLaTeX/c65jsr.fd
+ texinput/KS/HLaTeX/c65mj.fd
+ texinput/KS/HLaTeX/c65pg.fd
+ texinput/KS/HLaTeX/c65pga.fd
+ texinput/KS/HLaTeX/c65ph.fd
+ texinput/KS/HLaTeX/c65pn.fd
+ texinput/KS/HLaTeX/c65sh.fd
+ texinput/KS/HLaTeX/c65tz.fd
+ texinput/KS/HLaTeX/c65vd.fd
+ texinput/KS/HLaTeX/c65yt.fd
+ texinput/KS/HLaTeX/pshan.sty
+ texinput/KS/KS.chr
+ texinput/KS/KS.enc
+ texinput/KS/c60dr.fd
+ texinput/KS/c60gr.fd
+ texinput/KS/c60gs.fd
+ texinput/KS/c60gt.fd
+ texinput/KS/c60hgt.fd
+ texinput/KS/c60hmj.fd
+ texinput/KS/c60hol.fd
+ texinput/KS/c60hpg.fd
+ texinput/KS/c60mj.fd
+ texinput/KS/c61dr.fd
+ texinput/KS/c61gr.fd
+ texinput/KS/c61gs.fd
+ texinput/KS/c61gt.fd
+ texinput/KS/c61hgt.fd
+ texinput/KS/c61hmj.fd
+ texinput/KS/c61hol.fd
+ texinput/KS/c61hpg.fd
+ texinput/KS/c61mj.fd
+ texinput/KS/c62song.fd
+ texinput/KS/hangul.cap
+ texinput/KS/hangul.cpx
+ texinput/KS/hangul2.cap
+ texinput/KS/hangul2.cpx
+ texinput/KS/hanja.cap
+ texinput/KS/hanja.cpx
+ texinput/SJIS/SJIS.bdg
+ texinput/SJIS/SJIS.cap
+ texinput/SJIS/SJIS.chr
+ texinput/SJIS/SJIS.cpx
+ texinput/SJIS/SJIS.enc
+ texinput/SJIS/SJISdnp.chr
+ texinput/SJIS/SJISdnp.enc
+ texinput/SJIS/c49song.fd
+ texinput/UTF8/UTF8.bdg
+ texinput/UTF8/UTF8.chr
+ texinput/UTF8/UTF8.enc
+ texinput/UTF8/c70bkai.fd
+ texinput/UTF8/c70bkai.fdx
+ texinput/UTF8/c70bsmi.fd
+ texinput/UTF8/c70bsmi.fdx
+ texinput/UTF8/c70gbsn.fd
+ texinput/UTF8/c70gkai.fd
+ texinput/UTF8/c70mj.fd
+ texinput/UTF8/c70song.fd
+ texinput/UTF8/ja.cpx
+ texinput/UTF8/ko-Hang2.cpx
+ texinput/UTF8/ko-Hang.cpx
+ texinput/UTF8/ko-Hani.cpx
+ texinput/UTF8/xUTF8.chr
+ texinput/UTF8/xUTF8.enc
+ texinput/UTF8/zh-Hans.cpx
+ texinput/UTF8/zh-Hant.cpx
+ texinput/extended.chr
+ texinput/extended.enc
+ texinput/mule/MULEenc.sty
+ texinput/pinyin.sty
+ texinput/pmC.chr
+ texinput/pmCbig.enc
+ texinput/pmCsmall.enc
+ texinput/ruby.sty
+ texinput/standard.bdg
+ texinput/standard.chr
+ texinput/standard.enc
+ texinput/thai/c90cmr.fd
+ texinput/thai/c90cmss.fd
+ texinput/thai/c90cmtt.fd
+ texinput/thai/c90enc.def
+ texinput/thai/c90gar.fd
+ texinput/thai/c90nrsr.fd
+ texinput/thai/thaicjk.ldf
+ texinput/xCJK.sty
+ texinput/xpmC.chr
+ texinput/xpmC.enc
+ texlive/README
+ texlive/c63mj.fd
+ texlive/c64mj.fd
+ texlive/c65mj.fd
+ utils/Bg5conv/bg5conv.1
+ utils/Bg5conv/bg5conv.c
+ utils/Bg5conv/bg5conv.w
+ utils/Bg5conv/bg5latex
+ utils/Bg5conv/bg5latex.bat
+ utils/Bg5conv/bg5latex.cmd
+ utils/Bg5conv/bg5pdflatex
+ utils/CEFconv/cef5conv.1
+ utils/CEFconv/cef5conv.c
+ utils/CEFconv/cef5conv.w
+ utils/CEFconv/cef5latex
+ utils/CEFconv/cef5ltx.bat
+ utils/CEFconv/cef5ltx.cmd
+ utils/CEFconv/cef5pdflatex
+ utils/CEFconv/cefconv.1
+ utils/CEFconv/cefconv.c
+ utils/CEFconv/cefconv.w
+ utils/CEFconv/ceflatex
+ utils/CEFconv/ceflatex.bat
+ utils/CEFconv/ceflatex.cmd
+ utils/CEFconv/cefpdflatex
+ utils/CEFconv/cefsconv.1
+ utils/CEFconv/cefsconv.c
+ utils/CEFconv/cefsconv.w
+ utils/CEFconv/cefslatex
+ utils/CEFconv/cefsltx.bat
+ utils/CEFconv/cefsltx.cmd
+ utils/CEFconv/cefspdflatex
+ utils/SJISconv/sjisconv.1
+ utils/SJISconv/sjisconv.c
+ utils/SJISconv/sjisconv.w
+ utils/SJISconv/sjislatex
+ utils/SJISconv/sjisltx.bat
+ utils/SJISconv/sjisltx.cmd
+ utils/SJISconv/sjispdflatex
+ utils/cjklatex/cjklatex.c
+ utils/extconv/bg5+latex
+ utils/extconv/bg5+pdflatex
+ utils/extconv/bg5pltx.bat
+ utils/extconv/bg5pltx.cmd
+ utils/extconv/extconv.1
+ utils/extconv/extconv.c
+ utils/extconv/extconv.w
+ utils/extconv/gbklatex
+ utils/extconv/gbklatex.bat
+ utils/extconv/gbklatex.cmd
+ utils/extconv/gbkpdflatex
+ utils/f_name.bat
+ utils/hbf2gf/Makefile.gnu
+ utils/hbf2gf/Makefile.in
+ utils/hbf2gf/README
+ utils/hbf2gf/c-auto.h
+ utils/hbf2gf/cfg/README
+ utils/hbf2gf/cfg/b5ka12.cfg
+ utils/hbf2gf/cfg/b5kr12.cfg
+ utils/hbf2gf/cfg/b5so12.cfg
+ utils/hbf2gf/cfg/c1so12.cfg
+ utils/hbf2gf/cfg/c2so12.cfg
+ utils/hbf2gf/cfg/c3so12.cfg
+ utils/hbf2gf/cfg/c4so12.cfg
+ utils/hbf2gf/cfg/c5so12.cfg
+ utils/hbf2gf/cfg/c6so12.cfg
+ utils/hbf2gf/cfg/c7so12.cfg
+ utils/hbf2gf/cfg/csso12.cfg
+ utils/hbf2gf/cfg/gsfs14.cfg
+ utils/hbf2gf/cfg/j2so12.cfg
+ utils/hbf2gf/cfg/jsso12.cfg
+ utils/hbf2gf/cfg/ksso17.cfg
+ utils/hbf2gf/config.guess
+ utils/hbf2gf/config.sub
+ utils/hbf2gf/configure
+ utils/hbf2gf/configure.ac
+ utils/hbf2gf/dvidrv.btm
+ utils/hbf2gf/emdir.c
+ utils/hbf2gf/emdir.h
+ utils/hbf2gf/emtexdir.c
+ utils/hbf2gf/emtexdir.h
+ utils/hbf2gf/hbf.c
+ utils/hbf2gf/hbf.h
+ utils/hbf2gf/hbf2gf.1
+ utils/hbf2gf/hbf2gf.c
+ utils/hbf2gf/hbf2gf.def
+ utils/hbf2gf/hbf2gf.w
+ utils/hbf2gf/install-sh
+ utils/hbf2gf/mkinstalldirs
+ utils/hbf2gf/scripts/teTeX-0.4/MakeTeXPK.diff
+ utils/hbf2gf/scripts/teTeX-0.4/MakeTeXTFM.diff
+ utils/hbf2gf/scripts/web2c-6.1/MakeTeXPK.diff
+ utils/hbf2gf/scripts/web2c-6.1/README
+ utils/hbf2gf/scripts/web2c-7.0/MakeTeXPK.diff
+ utils/hbf2gf/scripts/web2c-7.0/MakeTeXTFM.diff
+ utils/hbf2gf/scripts/web2c-7.1/MakeTeXPK.diff
+ utils/hbf2gf/scripts/web2c-7.1/MakeTeXTFM.diff
+ utils/hbf2gf/scripts/web2c-7.2/mktexpk.diff
+ utils/hbf2gf/scripts/web2c-7.2/mktextfm.diff
+ utils/lisp/cjkspace.el
+ utils/lisp/cjktilde.el
+ utils/lisp/emacs/cjk-enc.el
+ utils/lisp/emacs/thai-word.el
+ utils/lisp/mule-2.3/cjk-enc.el
+ utils/pyhyphen/pinyin.c
+ utils/pyhyphen/pinyin.ldf
+ utils/pyhyphen/pinyin.tr
+ utils/pyhyphen/pyhyph.tex
+ utils/pyhyphen/pytest.tex
+ utils/subfonts/clonevf.pl
+ utils/subfonts/hlatex2agl.pl
+ utils/subfonts/makefdx.pl
+ utils/subfonts/sfd2uni.pl
+ utils/subfonts/subfonts.pe
+ utils/subfonts/uni2sfd.pl
+ utils/subfonts/vertical.pe
+ utils/subfonts/vertref.pe
+ utils/thaifont/texmf/dvips/garuda/config.garuda
+ utils/thaifont/texmf/dvips/norasi/config.norasi
+ utils/thaifont/texmf/fonts/enc/dvips/thai/c90.enc
+ utils/thaifont/texmf/fonts/map/dvips/garuda/garuda.map
+ utils/thaifont/texmf/fonts/map/dvips/norasi/norasi.map
+ utils/thaifont/texmf/fonts/tfm/public/garuda/fgdb8z.tfm
+ utils/thaifont/texmf/fonts/tfm/public/garuda/fgdbo8z.tfm
+ utils/thaifont/texmf/fonts/tfm/public/garuda/fgdo8z.tfm
+ utils/thaifont/texmf/fonts/tfm/public/garuda/fgdr8z.tfm
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftnb8z.tfm
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftnbi8z.tfm
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftni8z.tfm
+ utils/thaifont/texmf/fonts/tfm/public/norasi/ftnr8z.tfm
+ utils/thaifont/tools/INSTALL
+ utils/thaifont/tools/c90.etx
+ utils/thaifont/tools/c90.mtx
+ utils/thaifont/tools/dbtt-old/config.dbtt-old
+ utils/thaifont/tools/dbtt-old/dbtt-old-alias.etx
+ utils/thaifont/tools/dbtt-old/dbtt-old-alias.mtx
+ utils/thaifont/tools/dbtt-old/dbtt-old-alias.tex
+ utils/thaifont/tools/dbtt-old/dbtt-old.fontinst
+ utils/thaifont/tools/dbtt-old/dbtt-old.map
+ utils/thaifont/tools/garuda.fontinst
+ utils/thaifont/tools/norasi.fontinst
+
+
+---End of MANIFEST---
diff --git a/Master/texmf-dist/doc/latex/cjk/Makefile b/Master/texmf-dist/doc/latex/cjk/Makefile
new file mode 100644
index 00000000000..2be48884ca8
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/Makefile
@@ -0,0 +1,226 @@
+# 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
+
+# You need GNU make to run this Makefile.
+#
+# Some issues:
+#
+# o This Makefile is intended to build the distribution tarballs only,
+# not to compile binaries.
+#
+# o Binaries of the CJK utility programs (and the standard tex stuff,
+# including dvipdfmx) must work.
+#
+# o GNU extensions of various utility programs are used.
+#
+# o emacs 22 and the `cweave' program from the `c2cweb' package,
+# renamed to `cweavex', are needed.
+#
+# o The TeXLive version of some font definition files are used (in the
+# `texlive' subdirectory).
+
+version=4.8.0
+
+distdir=cjk-$(version)
+abs-distdir=$(shell pwd)/$(distdir)
+
+DISTDIRS=$(shell find . -type d | grep -v .git | grep -v $(distdir))
+
+# expected: subdirs `dvi' and `cjk'
+CJK2DVI=\
+ (cd dvi; \
+ TEXINPUTS=$(abs-distdir)/{texlive,texinput//,contrib/wadalab,utils/pyhyphen}: \
+ texi2dvi -l latex ../cjk/$@.cjk; \
+ rm -f $@.aux $@.log $@.toc)
+
+# LATEX2DVI srcdir targetdir
+# expected: targetdir/dvi
+LATEX2DVI=\
+ cp $(1)/$@.tex $(2)/dvi; \
+ (cd $(2)/dvi; \
+ TEXINPUTS=$(abs-distdir)/{texlive,texinput//,contrib/wadalab,utils/pyhyphen}: \
+ texi2dvi -l latex $@.tex; \
+ rm -f $@.tex $@.aux $@.log $@.toc)
+
+# DVI2PDF paper-format
+# expected: subdir `pdf' and `dvi'
+DVI2PDF=\
+ dvipdfmx -v -p $(1) -o pdf/$@.pdf dvi/$@.dvi
+
+
+# CONVERT converter srcdir targetdir [paper-format]
+CONVERT=\
+ cd $(distdir); \
+ $(1) < $(2)/$@.tex > $(3)/cjk/$@.cjk; \
+ cd $(3); \
+ $(CJK2DVI); \
+ $(if $(4),$(call DVI2PDF,$(4)),$(call DVI2PDF,letter))
+
+# MULE srcdir targetdir [paper-format]
+MULE=\
+ cd $(distdir); \
+ emacs --batch \
+ --load utils/lisp/emacs/cjk-enc.el \
+ --funcall batch-cjk-write-file \
+ $(1)/$@.tex; \
+ mv $(1)/$@.cjk $(2)/cjk; \
+ cd $(2); \
+ $(CJK2DVI); \
+ $(if $(3),$(call DVI2PDF,$(3)),$(call DVI2PDF,letter))
+
+# LATEX srcdir targetdir [paper-format]
+LATEX=\
+ cd $(distdir); \
+ $(call LATEX2DVI,$(1),$(2)); \
+ cd $(2); \
+ $(if $(3),$(call DVI2PDF,$(3)),$(call DVI2PDF,letter))
+
+# XELATEX srcdir targetdir
+XELATEX=\
+ cd $(distdir); \
+ cp $(1)/$@.tex $(2)/pdf; \
+ (cd $(2)/pdf; \
+ TEXINPUTS=$(abs-distdir)/{texlive,texinput//,contrib/wadalab,utils/pyhyphen}: \
+ xelatex $@.tex; \
+ TEXINPUTS=$(abs-distdir)/{texlive,texinput//,contrib/wadalab,utils/pyhyphen}: \
+ xelatex $@.tex; \
+ rm -f $@.tex $@.aux $@.log $@.toc $@.out $@.ovt)
+
+
+DISTTARGETS=\
+ READMEb5 \
+ READMEgb \
+ Big5 \
+ Big5vert \
+ CEF_test \
+ CJKbabel \
+ CJKfntef \
+ CJKutf8 \
+ CJKmixed \
+ xCJK \
+ GB \
+ JIS \
+ KS \
+ SJIS \
+ UTF8 \
+ muletest \
+ pytest \
+ py_test \
+ rubytest \
+ thai \
+ c90
+
+
+all:
+ @echo
+ @echo " Say \`make dist' to build the tarballs."
+ @echo
+
+
+READMEb5:
+ $(call CONVERT,bg5conv,doc/chinese,doc,a4)
+READMEgb:
+ $(call LATEX,doc/chinese,doc)
+Big5 Big5vert:
+ $(call CONVERT,bg5conv,examples,examples)
+CEF_test:
+ $(call CONVERT,cefconv,examples,examples)
+SJIS:
+ $(call CONVERT,sjisconv,examples,examples)
+CJKbabel muletest rubytest thai:
+ $(call MULE,examples,examples)
+GB JIS KS UTF8 py_test CJKfntef CJKutf8 CJKmixed:
+ $(call LATEX,examples,examples)
+xCJK:
+ $(call XELATEX,examples,examples)
+pytest:
+ $(call LATEX,utils/pyhyphen,examples)
+c90:
+ (cd $(abs-distdir)/utils/thaifont/tools; \
+ ln -s c90.etx c90.tex)
+ $(call LATEX,utils/thaifont/tools,doc)
+
+
+dist: distsrc predistdoc distdoc
+
+distsrc:
+ -rm -rf $(distdir)
+ rm -f $(distdir).tar.gz
+ rm -f $(distdir)-doc.tar.gz
+ mkdir $(distdir)
+ srcdir=`pwd`; \
+ for d in $(DISTDIRS); do \
+ mkdir -p $(distdir)/$$d; \
+ (cd $(distdir)/$$d; \
+ f=`find $$srcdir/$$d -maxdepth 1 -type f`; \
+ test -z "$$f" || ln -s $$f . || true); \
+ done
+ for f in `find $(abs-distdir)/utils -name '*.w'`; do \
+ ctangle $$f - `echo $$f | sed s/w$$/c/`; \
+ done
+ tar cfh - $(distdir) | gzip -c > $(distdir).tar.gz
+
+predistdoc:
+ mkdir -p $(distdir)/doc/{cjk,dvi,pdf}
+ mkdir -p $(distdir)/examples/{cjk,dvi,pdf}
+ mkdir -p $(distdir)/doc/man/{dvi,html,pdf,txt}
+ echo "This directory contains files which are \`preprocessed' with" \
+ > $(distdir)/doc/cjk/README
+ echo "cjk-enc.el, bg5conv, etc." \
+ >> $(distdir)/doc/cjk/README
+ echo \
+ >> $(distdir)/doc/cjk/README
+ echo "You can feed them directly into LaTeX." \
+ >> $(distdir)/doc/cjk/README
+
+distdoc: $(DISTTARGETS) manpages cweb
+ for f in `find $(distdir) -type l`; do \
+ rm $$f; \
+ done
+ for f in `find $(distdir) -name '*.c'`; do \
+ rm $$f; \
+ done
+ -for d in `find $(distdir) -depth -type d`; do \
+ rmdir --ignore-fail-on-non-empty $$d; \
+ done
+ tar cfh - $(distdir) | gzip -c > $(distdir)-doc.tar.gz
+ rm -rf $(distdir)
+
+manpages:
+ for f in `find utils -type f -name '*.1'`; do \
+ groff -ww -Tdvi -dpaper=letter -P-pletter -mec -man -rS11 $$f > \
+ $(abs-distdir)/doc/man/dvi/`basename $$f .1`.dvi; \
+ groff -ww -Tps -dpaper=letter -P-pletter -man -rS11 $$f | \
+ ps2pdf - $(abs-distdir)/doc/man/pdf/`basename $$f .1`.pdf; \
+ groff -ww -Tlatin1 -man -P-bcu $$f > \
+ $(abs-distdir)/doc/man/txt/`basename $$f .1`.txt; \
+ groff -ww -Thtml -man $$f > \
+ $(abs-distdir)/doc/man/html/`basename $$f .1`.html; \
+ done
+
+cweb:
+ for f in `find utils -type f -name '*.w'`; do \
+ cp $$f $(abs-distdir)/doc/dvi; \
+ (cd $(abs-distdir)/doc/dvi; \
+ F=`basename $$f .w`; \
+ cweavex +a $$F.w; \
+ tex $$F; \
+ rm -rf $$F.idx $$F.log $$F.scn $$F.tex $$F.toc $$F.w; \
+ dvipdfmx -v -p letter -o ../pdf/$$F.pdf $$F); \
+ done
+
+# EOF
diff --git a/Master/texmf-dist/doc/latex/cjk/README b/Master/texmf-dist/doc/latex/cjk/README
new file mode 100644
index 00000000000..e75e3eab857
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/README
@@ -0,0 +1,39 @@
+Welcome to CJK version 4.8.0 (22-May-2008), a LaTeX2e macro package which
+enables the use of CJK scripts (Chinese/Japanese/Korean) in various
+encodings, written by Werner Lemberg <wl@gnu.org>.
+
+A mailing list exists at cjk@ffii.org; bugs should be sent to
+cjk-bug@ffii.org. To subscribe one of the lists, send a mail with the
+subject `subscribe' (without the quotes) to <list>-request@ffii.org, e.g.,
+cjk-request@ffii.org.
+
+If you are interested in the process of development you may observe
+
+ http://git.savannah.gnu.org/gitweb/?p=cjk.git;a=summary
+
+to see the commitments to the git repository of the CJK package, and which
+also provides snapshots.
+
+The home site of the CJK package is
+
+ http://cjk.ffii.org
+
+Additionally, the latest non-development version can be found on all CTAN
+hosts and its mirrors in the directory <CTAN>/language/chinese.
+
+
+The package comes in two parts:
+
+ CJK-4.8.0.tar.gz: The source files. Needed for all platforms.
+ CJK-4.8.0-doc.tar.gz: Preformatted documentation files: DVI, PS,
+ output from cjk-enc.el, etc.
+
+Note that on CTAN and its mirrors, the `src' archive is unpacked; you must
+thus get all files and subdirectories from language/chinese/CJK/.
+
+
+Here a small to-do-list:
+
+ READMEs in Korean.
+
+ More support for Omega.
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/CEF.txt b/Master/texmf-dist/doc/latex/cjk/doc/CEF.txt
new file mode 100644
index 00000000000..012e91d17b6
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/CEF.txt
@@ -0,0 +1,86 @@
+This is the file CEF.txt of the CJK macro package ver. 4.8.0 (22-May-2008).
+
+The Chinese Encoding Framework (CEF)
+------------------------------------
+
+Christian Wittern (http://www.kanji.zinbun.kyoto-u.ac.jp/~wittern/),
+developed CEF, the Chinese Encoding Framework. It is a method to embed CJK
+characters in seldom used encodings (which usually no editor provides) in
+ordinary text (which may be of any encoding). This is done by using SGML
+(Standardized Generalized Markup Language) macros of the form
+
+ &xx-yyzz;
+
+To input these characters Wittern wrote KanjiBase for Windows, essentially a
+character data base search engine written in Visual Basic. This application
+is rather obsolete today.
+
+
+`xx' in the SGML macro can have the following values:
+
+ C0 Big 5 encoded characters
+ C1 characters from CNS plane 1
+ ...
+ C7 characters from CNS plane 7
+ CX characters from a reserved encoding defined by IRIZ
+ CY private encoding
+ U Unicode characters
+
+`yy' and `zz' are the first and second byte in hexadecimal notation.
+For C0-C7, CX, and CY the 7bit notation must be used (GL).
+
+Examples:
+
+ &C0-A4CD;
+ &C4-275F;
+ &U-DCFF;
+
+
+TeX can't process these macros directly. They must be converted with one of
+the following preprocessors:
+
+ cefconv standard converter (also for use with cjk-enc.el)
+ cef5conv also converts Big 5 characters to preprocessed form
+ cefsconv also converts SJIS characters to preprocessed form
+
+ceflatex.bat is a simple batch file for DOS to show how to use the converter
+(cef5ltx.bat and cefsltx.bat are its siblings---for Unix, the scripts are
+called ceflatex, cef5latex, and cefslatex, respectively).
+
+Say
+
+ ceflatex mytext[.tex]
+
+to get mytext.tex processed. All CEF macros must be inside of a CJK (or
+CJK*) environment.
+
+To input CEF characters without preprocessing you can use the \CJKchar
+macro. Here an example:
+
+ \CJKchar[CNS4]{"27}{"5F}
+
+Note: The OS/2 script files ceflatex.cmd, etc., need REXX which you probably
+ have to install first.
+
+
+Availability
+------------
+
+The file
+
+ http://iriz.hanazono.ac.jp/pdf/eb4/x-level_kanjibase_codes.pdf
+
+contains a list of X level CJK characters defined by IRIZ. It isn't very
+useful because the document is a just a scan of some pages of the magazine
+`The Electronic Bodhidharma', published by the International Research
+Institute for Zen Buddhism (IRIZ) at the Hanazono University in Kyoto, Japan
+(iriz.hanazono.ac.jp). Note that this institute still publishes many
+Buddhist documents using CEF (there it is called `KanjiBase').
+
+More data about CEF and KanjiBase can be found at Christian Wittern's old
+home page
+
+ http://www.chibs.edu.tw/~chris/gwdg/home.htm
+
+
+---End of CEF.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/CJK.txt b/Master/texmf-dist/doc/latex/cjk/doc/CJK.txt
new file mode 100644
index 00000000000..d77a8725b89
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/CJK.txt
@@ -0,0 +1,1238 @@
+
+This is the LaTeX2e style package CJK Version 4.8.0 (22-May-2008)
+=================================================================
+
+It is freely distributable under the GNU Public License.
+
+
+ **************************************************
+ * *
+ * You need LaTeX 2e version 2001/06/01 or newer! *
+ * *
+ **************************************************
+
+
+Usage
+-----
+
+Use CJK.sty as a package, e.g.,
+
+ \documentclass{article}
+ \usepackage[<option>]{CJK} .
+
+See section `Caveats' below for the available options. Normally, you don't
+need them.
+
+Two new environments,
+
+ \begin{CJK}[<fontencoding>]{<encoding>}{<family>}
+ ...
+ \end{CJK}
+
+and
+
+ \begin{CJK*}[<fontencoding>]{<encoding>}{<family>}
+ ...
+ \end{CJK*}
+
+are defined. The parameters have the following meaning:
+
+ <encoding> These character sets and encodings are currently
+ implemented in CJK.enc:
+
+ Bg5 (For traditional Chinese. Mainly used in Taiwan.
+ Character set: Big 5.
+ Encoding: Big 5 without UDA2 and UDA3.)
+ Bg5+ (For traditional Chinese. Obsolete.
+ Character set: Big 5+.
+ Encoding: GBK.)
+
+ HK (For traditional Chinese. Used in Hong Kong.
+ Character set: Big 5 + HKSCS-2004.
+ Encoding: Full Big 5.)
+
+ GB (For simplified Chinese. Mainly used in
+ PR China. Also called `EUC-CN'.
+ Character set: GB 2312-1980.
+ Encoding: EUC.)
+ GBt (For traditional Chinese. Rarely used in
+ PR China.
+ Character set: GB/T 12345-1990.
+ Encoding: EUC.)
+ GBK (For Chinese. An extension of GB 2312.
+ Character set: GBK.
+ Encoding: GBK.)
+
+ JIS (For Japanese.
+ Character set: JIS X 0208:1997.
+ Encoding: EUC.)
+ JIS2 (Japanese supplementary character set,
+ Character set: JIS X 0212-1990.
+ Encoding: EUC.)
+ SJIS (For Japanese. Used mainly on PCs. Also known
+ as `MS Kanji'.
+ Character sets:
+ 1-byte characters from JIS X 0201-1997
+ (half-width katakana),
+ 2-byte characters from JIS X 0208:1997.
+ Encoding: SJIS.)
+
+ KS (For Korean. Also called `EUC-KR'.
+ Character set: KS X 1001:1992 = KS C 5601-1992.
+ Encoding: EUC.)
+
+ UTF8 (Unicode Transformation format 8, also called
+ `UTF-2' or `FSS-UTF'.
+ Character set: Unicode.
+ Encoding: UTF-8.)
+
+ CNS1 (Chinese National Standard Plane 1,
+ Character set: CNS 11643-1992 plane 1.
+ Encoding: EUC.)
+ CNS2
+ ...
+ CNS7 (Character set: CNS 11643-1992 plane 2 - 7.
+ Encoding: EUC.)
+
+ CEFX (reserved CEF character set for IRIZ.
+ Encoding: EUC.)
+ CEFY (private CEF character set.
+ Encoding: EUC.)
+
+ Note: The value `HK' can be also used for complete Big 5
+ support which needs user-defined areas 2 and 3
+ (UDA2 and UDA3), located in the ranges
+ 0x8E40-0xA0FE and 0x8140-0x8DFE, respectively.
+
+ For details on HKSCS-2004 see
+
+ http://www.info.gov.hk/digital21/eng
+ /hkscs/download/e_sect3_2004.pdf
+
+
+ These encodings (except Big 5, Big 5+, HK, GBK, SJIS, and
+ UTF-8) are simplified EUC (Extended Unix Code) character
+ sets without single shifts. The used character set slot
+ G1 stands for two-byte encodings with byte values taken
+ from the GR (Graphic Right) character range 0xA1-0xFE
+ (as defined in ISO 2022).
+
+ Note that CNS1 and CNS2 contain almost the same
+ characters in the same order as Big 5 (but in EUC).
+
+ For CEF and CNS character sets see CEF.txt also.
+
+ Big 5+ and GBK have exactly the same encoding layout
+ (but their origins differ).
+
+ Additionally, the following encodings *with* single
+ shifts are implemented, using some of the above defined
+ character sets:
+
+ EUC-JP (for Japanese.
+ Character sets:
+ Half-width katakana (from JIS X 0201-1997),
+ JIS X 0208:1997,
+ JIS X 0212-1992.)
+
+ EUC-TW (for traditional Chinese.
+ Character sets:
+ CNS 11643-1992 planes 1-7.)
+
+ EUC-JP, EUC-TW, and UTF-8 encodings can't be used in
+ preprocessed mode (see below) because it makes no sense.
+ (To be more precise, UTF-8 sequences with more than two
+ bytes can't be used.)
+
+
+ If you use this parameter it is the same as you would
+ have used \CJKenc: Writing e.g.,
+
+ \begin{CJK}{Bg5}{...}
+ ...
+
+ is identical to
+
+ \begin{CJK}{}{...}
+ \CJKenc{Bg5}
+ ...
+
+ Note: A `character set' is an ordered collection of
+ glyphs. The order of the glyphs is just for
+ defining purposes and for reference.
+
+ An `encoding' is an ordering scheme to access a
+ character set. LaTeX 2e also uses the term `input
+ encoding'.
+
+ A character set can have many encodings
+ (cf. JIS X 0208 -> EUC, SJIS).
+
+ An encoding can be used for many character sets
+ (cf. EUC -> KS X 1001, GB 2312, etc.).
+
+ Sometimes, the character set has the same name
+ as the encoding (Big 5, Big 5+, GBK).
+
+ For more details I suggest to read the document
+ cjk.inf from Ken Lunde; it is available from
+
+ ftp://ftp.ora.com/pub/examples/cjkvinfo/
+ doc/cjk.inf
+
+ A really thorough reference is his latest book
+ `CJKV Information Processing' (O'Reilly).
+
+ Throughout this CJK documentation, `encoding'
+ refers to the valid encoding/character set
+ combinations defined just above.
+
+ <fontencoding> These font encodings are currently defined: `' (empty;
+ the default), `pmC' (available for Bg5, GB, GBt, JIS,
+ and KS), `dnp' (for JIS and SJIS), `wn' (for JIS), and
+ `HL' (for KS).
+
+ `Font encoding' means the order of characters in the
+ subfonts itselves. A change of the font encoding neither
+ alters the meaning of a CJK character nor changes the
+ character code in the selected encoding.
+
+ The font encoding `pmC' is defined for compatibility
+ with the pmC package (which is obsolete). It is not
+ encouraged to use this font encoding because of wasting
+ subfonts. If possible, convert your original CJK bitmap
+ fonts with hbf2gf (see hbf2gf.txt) or other tools to CJK
+ encodings.
+
+ `dnp' implements the character order of the Dai Nippon
+ Printing fonts and is only available for JIS and SJIS
+ encoding. `wn' (only available for JIS) is the font
+ encoding for watanabe jfonts. There exists a linking
+ package which maps the watanabe jfonts onto the dnp
+ naming scheme (thus you can use the real dnp fonts for
+ printing and the mapped jfonts for previewing). See the
+ documentation files in the `japanese' subdirectory for
+ further details.
+
+ `HL' allows the use of the new HLaTeX fonts (starting
+ with version 1.0); note that the definition of fonts is
+ rather different compared to HLaTeX. See the section
+ `Korean input' below for a detailed description.
+
+ You can change the font encoding per encoding with the
+ command \CJKfontenc; the first parameter is the
+ encoding, the second the font encoding.
+
+ <family> It is impossible to know in advance what fonts are
+ available at your site; look at the example FD (font
+ definition) files how to create or modify appropriate FD
+ files suiting your needs. See fonts.txt also for further
+ hints.
+
+ If this parameter is empty, the default value given in
+ CJK.enc is selected: `song' for all encodings except KS
+ (which defaults to `mj'). If you use this parameter it
+ is the same as you would have used \CJKfamily; all
+ encodings then use this family:
+
+ \begin{CJK}{...}{song}
+ ...
+
+ is identical to
+
+ \begin{CJK}{...}{}
+ \CJKfamily{song}
+ ...
+
+ You can change the families per encoding (and font
+ encoding) with the command \CJKencfamily; the first
+ parameter is the encoding, the second the family, the
+ optional argument is the font encoding. This overrides
+ the default value.
+
+ Note that \CJKfamily or a non-empty `family' parameter
+ of the CJK environment overrides any \CJKencfamily
+ commands. Say `\CJKfamily{}' to enable \CJKencfamily
+ again.
+
+
+ The CJK* environment swallows unprotected spaces and newlines after a
+ CJK character (the usual habit for Chinese and Japanese text), whereas
+ CJK does not (for European and Korean text). You can switch between
+ these two `modes' with \CJKspace (CJK* -> CJK) and \CJKnospace (CJK ->
+ CJK*).
+
+ If you use cjk-enc.el, you don't need to specify a CJK environment. This
+ is done automatically. See cjk-enc.txt for details.
+
+
+This is a typical example:
+
+ \begin{CJK*}{GB}{kai}
+ ...
+ Chinese simplified text in GB encoding
+ ...
+ \end{CJK*}
+
+
+How it works
+------------
+
+Asian logographs can't be represented completely with one byte per
+character. (At least) two bytes are needed, and the most common encoding
+schemes (UTF-8, GB, Big 5, JIS, KS, etc.) have a certain range for the first
+byte (usually 0xA1-0xFE or a part of it) which signals that this and the
+next byte represent an Asian logograph. This means almost all plain ASCII
+characters (characters between 0x00 and 0x7E) are left undisturbed, and the
+remaining character codes (0x80-0xFF) are assigned to a CJK encoding,
+creating a multiple-byte encoding with 1-byte and 2-byte characters (and
+even 3-byte and 4-byte characters for UTF-8).
+
+The character 0x7F is reserved also for the CJK package. See the section
+`Preprocessors' below.
+
+Encodings like EUC-TW access additional character sets using escape
+characters (0x8E and 0x8F) which signals that the next character comes
+from another character set (which is `shifted' to the GR range); up to
+four bytes are needed for a single character. Example:
+
+ 0x8E 0xA3 0xB7 0xCE
+
+ 0x8E is a single shift escape character; 0xA3 selects CNS plane 3, and
+ 0xB7CE is the character code (in GR representation) in this plane.
+
+CJK.sty makes the character codes 0x7F and 0x81-0xFE active inside of the
+CJK environment and assigns macros to the active characters which then
+select the proper font and character. The real mechanism is a bit more
+complex to assure robustness (it was borrowed and modified from LaTeX 2e's
+inputenc.sty) and correct handling of punctuation characters.
+
+* emTeX users: you must activate 8bit input and output while creating the
+* LaTeX2e format file! Do this by using the switches -o and -8 (additional
+* to the iniTeX switch -i).
+*
+* Example:
+*
+* tex386 -i -o -8 latex.ltx
+
+
+Some internals
+--------------
+
+Internally three levels (bindings, encodings, character macro sets) are
+defined:
+
+ active characters
+ |
+ +--------------> bindings (standard, SJIS, UTF8)
+ |
+ active character macros
+ |
+ +--------------> encodings (GB, Big 5, ...) +
+ | font encodings (none, dnp, wn, pmC, HL)
+ |
+ subfont selecting macros
+ |
+ +--------------> character macro sets (standard, Big 5, ...)
+ |
+ character selecting macros
+
+User-selectable are only the encoding and the font encoding (as explained
+above); the other levels are selected by the CJK package.
+
+These levels correspond to the following internal macros:
+
+ \CJK@xxxxBinding (`xxxx.bdg' files):
+ Possible values for `xxxx' are: standard, SJIS, UTF8, EUC-JP, and
+ EUC-TW.
+
+ \CJK@xxxxEncoding (`xxxx.enc' files):
+ Possible values for `xxxx' are: standard, extended, Bg5, SJIS, KS, UTF8,
+ pmCsmall, pmCbig, JISdnp, SJISdnp, KSHL, EUC-JP, and EUC-TW.
+
+ \CJK@xxxxChr (`xxxx.chr' files):
+ Possible values for `xxxx' are: standard, Bg5, KS, SJIS, UTF8, pmC,
+ HLaTeX, EUC-JP, and EUC-TW.
+
+In preprocessed mode (see below), no bindings are used.
+
+
+And now a more detailed description of the various encodings. Please note
+that you should never access these macros directly.
+
+ \CJK@standardEncoding is used for EUC encodings with the first and second
+ byte in the range 0xA1-0xFE (GB, GBt, JIS, JIS2, CNS, CEF).
+
+ \CJK@extendedEncoding is used for Big 5+ and GBK encodings. The first byte
+ is in the range 0x81-0xFE, the second byte in the range 0x40-0xFE (with a
+ gap at 0x7F).
+
+ \CJK@Bg5Encoding is used for Big 5 encoding with the first byte in the
+ range 0xA1-0xFE and the second byte in the range 0x40-0xFE (with a gap
+ from 0x7F-0xA0).
+
+ \CJK@SJISEncoding is used for SJIS encoding; one-byte characters are in
+ the range 0xA1-0xDF, two-byte characters have the first byte in the ranges
+ 0x81-0x9F and 0xE0-0xEF, the second byte runs from 0x40 to 0xFC except
+ 0x7F. Since SJIS only squeezes the JIS X 0208 character set into a new
+ scheme without changing the ordering, fonts produced by hbf2gf or ttf2pk
+ look the same for EUC and SJIS encoding except one-byte SJIS characters.
+ For more details see below the section `SJIS encoding'.
+
+ \CJK@KSEncoding is used for the KS X 1001 character set in EUC encoding.
+ Two sets of subfonts are defined, one for Hangul syllables and elements,
+ and a second for Hanja. For more details see below the section `Korean
+ input'.
+
+ \CJK@UTF8Encoding is used for Unicode in UTF-8 encoding. The first byte is
+ in the range 0xC0-0xDF for two-byte values, 0xE0-0xEF for three-byte
+ values, and 0xF0-0xF4 for four-byte values. The other byte(s) are in the
+ range 0x80-0xBF. Note that CJK expects two hexadecimal digits as a running
+ number in the font name (as defined in UTF8.enc) instead of two decimal
+ digits for subfonts covering characters up to U+FFFF. Subfonts for Unicode
+ values greater than 0xFFFF use four hexadecimal digits in the font name.
+ Select the option `unicode yes' in the hbf2gf config file if you use
+ hbf2gf to transform bitmap fonts in HBF format to PK fonts as used by
+ CJK.sty . Three commands (\CJKCJKchar, \CJKhangulchar, and \CJKlatinchar)
+ control the handling of intercharacter glue: \CJKCJKchar (the default)
+ selects CJK style (using \CJKglue), \CJKhangulchar selects hangul style
+ (using \CJKtolerance), and \CJKlatinchar selects none of them. This
+ encoding does not work in preprocessed mode.
+
+ \CJK@pmCsmallEncoding and \CJK@pmCbigEncoding can be activated with
+ \pmCsmall (this is the default) and \pmCbig inside the CJK environment.
+ Note that the original pmC fonts have two character sizes per font (the
+ bigger ones with an offset of -128); Bg5pmC encoded fonts cannot contain
+ big characters. The names of the fonts in the FD files reflect the
+ modifications added by Marc Leisher <mleisher@nmsu.edu> to the original
+ poor man's Chinese (pmC) package written by Thomas Ridgeway
+ <ridgeway@blackbox.hacc.washington.edu>.
+
+ \CJK@JISdnpEncoding is the JIS X 0208 character set in EUC encoding with
+ dnp fonts. The main difference (besides the offsets) is the composition of
+ real font names; a dnp font name consists of name stem + subfont name +
+ designsize: an example is dmjkata10. Note that the wadalab PS fonts omit
+ the designsize part in the font names, thus it is sufficient (and even
+ better) to use the `CJK' size functions in FD files instead of the `DNP'
+ ones. \CJK@JISwnEncoding is similar to JISdnp encoding but uses Watanabe
+ jfonts; \CJK@SJISdnpEncoding maps SJIS onto dnp encoded fonts.
+
+ \CJK@KSHLEncoding finally uses the new fonts of the HLaTeX package for
+ Korean; three internal encodings are necessary to represent it. See the
+ next section for details.
+
+ \CJK@EUC-TWEncoding and \CJK@EUC-JPEncoding are quite similar to
+ \CJK@standardEncoding but implement single shift access additionally. They
+ can't be used in preprocessed mode.
+
+
+Korean input
+------------
+
+There is already a package which handles Hangul and Hanja (but no other
+CJK character sets): HLaTeX.
+
+To use KS encoding, say
+
+ \begin{CJK}{KS}{}
+ ...
+ \end{CJK} .
+
+These font switches are available inside the environment:
+
+ hangul fonts from former hlatex (in the han font packages):
+
+ * \mj MyoungJo (default)
+ \gt Gothic
+ \gs BootGulssi
+ \gr Graphic
+ \dr Dinaru
+
+ hangul fonts from former jhtex (in the han1 font packages):
+
+ * \hgt Hangul Gothic
+ * \hmj Hangul MyoungJo (MunHwaBu fonts)
+ * \hpg Hangul Pilgi
+ \hol Hangul Outline (MyoungJo)
+
+
+If a font is marked with a star, real bold series are available. All other
+bold fonts are defined using poor man's boldface (see below the section
+`Poor man's boldface').
+
+See the file INSTALL how to get these fonts. Both `han' and `han1' packages
+contain bitmap fonts only (in PK format).
+
+Note that the font switches are abbreviations for \CJKencfamily and not for
+\CJKfamily.
+
+
+For characters with the first byte in the ranges 0xA1-0xAF (except 0xA4) and
+0xC9-0xFD (graphic characters, hanja, archaic hangul, etc.) fonts with the
+encoding C60 are used. C61 is assigned to hangul fonts (for hangul elements
+with the first byte 0xA4 and hangul characters in the range 0xB0-0xC8). This
+enables the use of many hangul fonts and perhaps only one or two different
+hanja fonts. If you want to use C60 encoding for hangul characters also say
+\CJKhanja. The opposite command is \CJKhangul (of course this works only if
+you have hangul characters in the C60 font).
+
+Archaic hangul elements (KS X 1001 0xA4D5-0xA4FE) and the character
+KS X 1001 0xA4D4 are only accessible if \CJKhanja is active.
+
+You should convert your KS X 1001 hanja fonts using hbf2gf (or ttf2pk) as
+described above.
+
+
+To use HLaTeX fonts, say
+
+ \begin{CJK}[HL]{KS}{}
+ ...
+ \end{CJK} .
+
+All HLaTeX fonts are PS fonts; these font switches are available inside the
+environment (as defined in HLaTeX 1.0; this differs from older versions):
+
+ \bm Bom
+ * \dn Dinaru
+ * \gr Graphic
+ + \gs Gungseo
+ + * \gt Gothic
+ \jgt Jamo Gothic
+ \jmj Jamo Myoungjo
+ \jnv Jamo Novel
+ \jsr Jamo Sora
+ + * \mj Myoungjo
+ * \pg Pilgi
+ \pga Pilgia
+ \ph Pen Heulim
+ \pn Pen
+ + \sh Shinmun Myoungjo
+ + \tz Typewriter
+ \vd Vada
+ \yt Yetgul
+
+If a font is marked with an asterisk, real bold series are available. All
+other fonts are defined using poor man's boldface (see below). Only fonts
+marked with a plus sign are available for hanja too; the other font families
+are mapped to these six hanja families. For backwards compatibility, \ol and
+\sm are defined also; both are now equivalent to \mj.
+
+UN Koaung-Hi <koaunghi@kornet.net>, the author of HLaTeX, defines three
+groups of fonts: hangul, hanja, and symbols. The CJK package needs three
+internal encodings (C63 for hanja, C64 for symbols, and C65 for hangul) to
+represent the font encoding scheme of HLaTeX.
+
+HLaTeX options:
+
+The option `hardbold' has been integrated into the FD files---I consider the
+fact whether you have bold series available or not as a fundamental local
+font setup decision which should be coded into the FD files and not into the
+document. As a consequence you have to change your FD files to emulate the
+`softbold' option with CJK's poor man's boldface. Example:
+
+ \DeclareFontShape{C63}{gt}{bx}{n}{<-> CJK * wgtb}{}
+
+should be changed to
+
+ \DeclareFontShape{C63}{gt}{bx}{n}{<-> CJKb * wgt}{\CJKbold} .
+
+and similar font definitions too.
+
+[Well, it is not really necessary to modify the FD files to emulate the
+ `softbold' option: just insert the appropriate \DeclareFontShape and/or
+ \DeclareFontFamily commands in the preamble of your document.]
+
+Finally a warning: Please bear in mind that CJK does not emulate the
+behaviour of HLaTeX, it only supports its fonts.
+
+
+Big 5 encoding
+--------------
+
+See below the section `Preprocessors' for the preferred input method using
+bg5conv.
+
+The characters `\', `{', and `}' are used as second bytes in the Big 5
+encoding. This collides with TeX. If you write Big 5 text mixed with other
+encodings (and you don't want/can't use Mule, Emacs or bg5conv), you should
+use the Bg5text environment which changes the category codes of these
+characters. The command prefix is now the forward slash `/', and the
+grouping characters are `(' and `)', respectively.
+
+An example:
+
+ \begin{CJK}{Bg5}{song}
+ \begin{Bg5text}
+ ...
+ /begin(center)
+ ...
+ /end(center)
+ ...
+ /end(Bg5text)
+ \end{CJK}
+
+To get the `/', `(', and `)' characters, write `//', `/(', and `/)' inside
+the Bg5text environment.
+
+This environment is ugly, and some commands like \newcommand don't work in
+it. Starting with CJK version 3.0 it is also possible to use different
+encodings in preprocessed mode, thus this environment is almost obsolete.
+
+Instead of using the Bg5text environment you can protect the offending
+second bytes with a backslash, i.e., `\{', `\}', `\\' (using a non-Chinese
+editor). This doesn't increase the readability of the Chinese text, but for
+short texts it is perhaps more comfortable. Alas, it doesn't work in page
+header commands because the macros `\{', etc., are not expanded.
+
+Be careful not to use any commands inside the Bg5text environment which
+write something into an external file (commands like \chapter, etc.).
+
+If it is not possible to avoid Big 5 character codes with `\', `{', or `}'
+outside of the Bg5text environment (e.g., having Big 5 text in a \chapter or
+\section command), you can replace them with the \CJKchar macro manually:
+
+ \section{This is a problematic Big 5 character: \CJKchar{169}{92}}
+
+The parameters are the first and second byte of the Big 5 character code.
+You can also use hexadecimal or octal notation. See commands.txt for a full
+description of \CJKchar.
+
+An environment `HKtext' similar to `Bg5text' is defined for the `HK'
+encoding; the same restrictions as explained above hold.
+
+
+SJIS encoding
+-------------
+
+See below the section `Preprocessors' for the preferred input method using
+sjisconv.
+
+Shift-JIS encoding is widely used on PCs for Japanese. A special feature is
+the simultaneous use of one-byte and two-byte encoded characters which arose
+because of backwards compatibility. The two-byte encoded character set is
+completely identical to the JIS X 0208 character set, even the ordering is
+the same. Thus there is no need for special two-byte SJIS FD files; the font
+definition files for JIS X 0208 are used.
+
+The situation is different for one-byte SJIS characters, the so called
+`half-width' Katakana (encoding C49) from JIS X 0201. Usually you should use
+full-width Katakana fonts too to get a typographically correct output. The
+exception is a typewriter font which should really have only the half width
+of normal Kanji or Katakana to represent screen snapshots or similar things.
+The use of C49 encoding can be controlled with the \CJKhwkatakana and
+\CJKnohwkatakana macros (see commands.txt for more information).
+
+Fonts in C49 encoding scheme must have the character glyphs at the code
+points 0xA1-0xDF.
+
+An environment `SJIStext' similar to `Bg5text' is defined; the same
+restrictions as explained in the previous section hold.
+
+
+Big 5+ and GBK encodings
+------------------------
+
+See below the section `Preprocessors' for the preferred input method using
+extconv.
+
+These relatively new encodings are used in some older MS Windows versions in
+Taiwan (Big 5+) and Mainland China (GBK). Both encodings implement the whole
+CJK character repertory of Unicode in the Basic Multilingual Plane
+(U+4E00-U+9FFF, approx. 21000 characters) and a few other characters but
+still try to be backwards compatible. All code points of Big 5 are identical
+to the code points in Big 5+, and the same holds for GB 2312-1980 and GBK.
+Note that the default CJK font encodings for Big 5+ and Big 5 are *not*
+compatible. The same is true for GBK and GB2312.
+
+Two new environments, `Bg5+text' and `GBKtext' similar to `Bg5text' are
+defined also; the same restrictions as above hold.
+
+
+CJK captions
+------------
+
+To use the supplied caption files you need the koma-script package. The main
+reason why I choose these style files instead of the standard classes is the
+fact that the author of koma-script is willing to support CJK. On the other
+hand, the philosophy of the LaTeX 2e maintainers is not to add new features
+to the standard classes.
+
+The koma-script style files are maintained by Markus Kohm
+(Markus.Kohm@gmx.de); they are available at the CTAN hosts.
+
+
+If you say \CJKcaption{<caption>} inside of a CJK environment, the file
+<caption>.cpx is loaded (.cpx is a preprocessed version of .cap)
+
+Example:
+
+ \documentclass{scrartcl}% this is a KOMA-script class
+ \usepackage{CJK}
+
+ \begin{document}
+ \begin{CJK*}{GB}{kai}
+ \CJKcaption{GB}% loading GB.cpx
+
+ \chapter{blablabla}% is formatted in Chinese
+
+ ...
+
+ \end{CJK*}
+ \end{document}
+
+
+Note that for Korean three caption files are available: hanja.cap for
+captions using hanja (this corresponds to HLaTeX's `hanja' option) and
+two caption files (hangul.cap and hangul2.cap) using hangul.
+
+For GBK encoding use the GB.cap file. Similarly, use Big5.cap for Big 5+
+encoding.
+
+In case you want to edit a CAP file, you must create its corresponding
+CPX file too. After editing, preprocess the file with
+
+ bg5conv < xxx.cap > xxx.cpx
+
+(for caption files in SJIS encoding use sjisconv instead), then change
+the file name identification strings in the CPX file accordingly.
+
+In UTF-8 encoding, the following caption files are available.
+
+ ja Japanese
+ ko-Hang Korean using Hangul
+ ko-Hang2 another version using Hangul
+ ko-Hani Korean using Hanja
+ zh-Hans Chinese simplified
+ zh-Hant Chinese traditional
+
+Since those files are identical to its encoding-specific counterparts,
+only CPX versions are provided.
+
+
+Underlining and other font effects
+----------------------------------
+
+Full support for Donald Arseneau's ulem.sty package (beginning with version
+2000-05-26) is available by using CJKulem.sty (which loads ulem.sty
+automatically). No changes to ulem's interface.
+
+Even more font effects specific to CJK scripts can be found in CJKfntef.sty;
+usage examples can be found in the file CJKfntef.tex .
+
+A word of caution: Don't use \CJKfamily{...} or similar commands within the
+argument to \uline and friends.
+
+
+Poor man's boldface
+-------------------
+
+Most CJK fonts available in the public domain do not have bold series. To
+emulate boldface by printing the character three times with slight
+horizontal offsets some special features are used:
+
+ CJK uses \CJKsymbol internally instead of \symbol to access CJK
+ characters (after the correct font has been selected). This macro
+ honours the \ifCJK@bold@ flag; if set it emulates boldface. The default
+ value of the horizontal offset is 0.015em; to change it you should
+ redefine \CJKboldshift, the macro which holds this shift.
+
+ \ifCJK@bold@ can be set and unset globally with the commands \CJKbold
+ and \CJKnormal. These commands are intended to be used with
+ \DeclareFontShape as follows:
+
+ \DeclareFontShape{C00}{CNS}{m}{n}{<-> CJK * csso12}{}
+ \DeclareFontShape{C00}{CNS}{bx}{n}{<-> CJKb * csso12}{\CJKbold}
+
+ It should be never necessary to use \CJKnormal since \selectfont has
+ been modified to always reset \ifCJK@bold@ and to call the
+ loading-settings (i.e., the sixth parameter) of \DeclareFontShape if
+ a CJK size function is in use.
+
+ Additionally, new size functions (CJKb, sCJKb, CJKfixedb, sCJKfixedb,
+ and others; see fonts.txt for details) have been introduced which are
+ completely identical to its counterparts without the final `b'. The only
+ reason to use them is, as shown in the above example, to make the fifth
+ parameter of \DeclareFontShape for bold series different from the one
+ for medium series (LaTeX 2e uses this parameter as a macro name to
+ execute loading-settings, thus they must not be equal).
+
+
+Embedding non-CJK words into CJK text
+-------------------------------------
+
+To enable line breaking you should separate non-CJK words and CJK characters
+with horizontal space. But the ordinary space dimensions inserted by TeX
+based on the current non-CJK font often looks bad because the surrounding
+CJK characters are printed almost side by side (the non-stretched value of
+\CJKglue is 0pt). Especially in extreme cases which happen in underfull
+\hbox commands the default space distorts the CJK text too much.
+
+If you say \CJKtilde, the active `~' character doesn't produce an
+unbreakable space; instead, the following definition is used:
+
+ \def~{\hspace{0.25em plus 0.125em minus 0.08em}} .
+
+This defines a space which has a normal width of a quarter (CJK) space. See
+the file japanese/shibuaki.txt for some further details.
+
+Here an example:
+
+ ThisIsChineseText~test~ThisIsChineseText
+
+ ^^^^^^
+
+Simply use tilde characters instead of spaces at the border between CJK and
+non-CJK characters.
+
+In BibTeX entries, you have to use `{~}' instead of `~'.
+
+The original definition of `~' is available as \nbs (non-breakable space, a
+shorthand for the LaTeX command \nobreakspace). To return to the standard
+`~' macro definition say \standardtilde.
+
+Note that the opposite is not true: To embed CJK words into non-CJK text an
+ordinary space is optimal.
+
+If you use Mule or Emacs 20 please consider the use of cjktilde.el in
+utils/lisp. This small package defines a minor mode (cjk-tilde-mode) which
+exchanges the space key with the tilde key. It is convenient to bind this
+mode to a key, e.g., C-insert.
+
+For AUC TeX you can also use cjkspace.el which is similar (but not
+identical) to cjktilde.el .
+
+
+Preprocessors
+-------------
+
+Using the `XXXtext' environments like `Bg5text' is a mess. Thus three
+preprocessors are provided to overcome the restrictions of the XXXtext
+environments: bg5conv and sjisconv Big 5 and SJIS encoding, and extconv for
+GBK and Big 5+ encoding characters. Compile them with
+
+ cc -O -s -o bg5conv bg5conv.c
+ cc -O -s -o sjisconv sjisconv.c
+ cc -O -s -o extconv extconv.c
+
+and move the binaries to a location in your path, e.g., /usr/local/bin in
+a Unix system. [`cc' is the C compiler.]
+
+See the batch files bg5latex[.bat], etc., for examples how to use them.
+
+Each Big 5, Big 5+, or GBK character (and each two-byte encoded SJIS
+character) `XY' is converted into the form `^^7fX^^7fZZZ^^7f'; ZZZ is the
+decimal equivalent of Y, and ^^7f is a character with the hex value 0x7F.
+The use of bg5conv/sjisconv/extconv is completely transparent; no changes to
+your documents are necessary.
+
+It is possible to mix preprocessed and non-preprocessed data; simply use
+\CJKenc to change the encoding; you can use \CJKinput and \CJKinclude to
+load preprocessed data (see commands.txt for a detailed description).
+
+If you use traditional Chinese characters within Mule or Emacs 20, it is not
+necessary to call bg5conv after the use of *cjk-coding* output encoding (but
+it is necessary if you write out the file in Big 5 encoding).
+
+Note 1: The OS/2 script files bg5latex.cmd, etc., need REXX which you
+ probably have to install first.
+
+Note 2: With extconv, you can also preprocess encodings like GB or SJIS.
+ This has the advantage that such data is robust against any changes
+ of the uc/lccodes in the range 0xA1-0xFE. Only three encodings can't
+ be preprocessed: UTF8, EUC-TW, and EUC-JP.
+
+
+Customization
+-------------
+
+In case you want to add encodings, font encodings, and related things, or if
+you must change or customize some CJK settings, you should use a
+configuration file called `CJK.cfg' which is loaded (if it exists) by
+CJK.sty just before the final \endinput command.
+
+
+Caveats
+-------
+
+ o You can of course use CJK environments inside of a CJK environment,
+ but it is possible that you must increase the so called `save size'
+ of TeX (with emTeX you can adjust this with -ms=...; web2c users
+ can control it with the `save_size' parameter in texmf.cnf).
+
+ The CJK package has optional arguments which control the scope of
+ CJK environments:
+
+ lowercase If you want to use \lowercase with encodings
+ inside CJK environments. You need less save size
+ using the `encapsulated' option if `lowercase'
+ is not set. You must use bg5conv (sjisconv) or
+ cjk-enc.el to use Big 5 (SJIS) characters with
+ this option.
+
+ Use this with caution! All \lccode values in the
+ range 0x80-0xFF are set to zero, thus disabling
+ TeX's hyphenation mechanism for words which
+ contain characters of this range in the *input
+ encoding* (e.g., Latin-1 encoded words with
+ accents). This is due to an unfortunate mangling
+ of the input and output encoding mechanism in
+ TeX itself.
+
+ global \lccode (if `lowercase' set), \uccode, \catcode
+ and the activation of the characters 0x81-0xFE
+ are globally modified (\lccode and \uccode reset
+ to 0). This is the most economical mode
+ concerning save size, but you can't have CJK
+ environments inside of CJK environments or other
+ environments which manipulate the character
+ range 0x81-0xFE.
+
+ All CJK font selection commands are globally too!
+
+ Packages which change some of the above values
+ only once (e.g., in the preamble) also don't
+ work after the first use of a CJK environment.
+
+ cjk-enc.el automatically selects this option.
+
+ local \lccode (if `lowercase' set) and \uccode
+ together with bindings are modified globally.
+ This is the default. You can stack CJK
+ environments.
+
+ active If activated, bindings are local additionally.
+ You need this option if you want to mix
+ preprocessed text with non-preprocessed text in
+ nested CJK environments. This can happen if you
+ merge texts in various encodings.
+
+ encapsulated If you want to access e.g., T1 fonts directly
+ (i.e., without the macros defined in t1enc.def)
+ or if you want to use a non-CJK LaTeX 2e input
+ encoding outside of the CJK environment (e.g.,
+ `latin1' for Western European, `latin2' for
+ Eastern European), you must use this option.
+ This also ensures that \uppercase and \lowercase
+ (together with \MakeUppercase and
+ \MakeLowercase) work correctly. All values
+ mentioned above are local, so you can stack
+ environments. This option probably causes an
+ overflow of the save size.
+
+ Note: All macro packages which access T1 fonts
+ with the macros defined in t1enc.def work in CJK
+ environments! E.g., the command `"s' of
+ german.sty works with \MakeUppercase too.
+
+
+ Say
+
+ \usepackage[<option>]{CJK}
+
+ to activate <option>.
+
+ o There is another way to overcome the problem of stacked
+ environments. CJK implements four CJK attribute switches: \CJKenc,
+ \CJKfontenc, \CJKencfamily, and \CJKfamily; see commands.txt for a
+ detailed description. If you need two different encodings/families
+ at the same output line, you must use these macros.
+
+ An example for \CJKfamily:
+
+ \begin{CJK}{GB}{song}
+ ... Text in GB song ... \CJKenc{GBt}
+ ... Text in GBt song ... \CJKfamily{kai}
+ ... Text in GBt kai ...
+ \end{CJK}
+
+ An example for \CJKencfamily:
+
+ \CJKencfamily{Bg5}{fs}% fangsong
+ \CJKencfamily{GB}{kai}
+
+ \begin{CJK*}{}{}
+ \CJKenc{Bg5} ... Text in Big 5 fangsong ...
+ \CJKenc{GB} ... Text in GB kai ...
+ \end{CJK*}
+
+ Contrary to \begin{CJK}{...}{...} it is not necessary to start a new
+ line in your TeX document file after \CJKenc.
+
+ o A similar command to \CJKchar is \Unicode{<byte1>}{<byte2>} to
+ access Unicode characters (real Unicode values, not UTF-8 encoded
+ Unicode) directly; the parameters are the first (high) and second
+ (low) byte of the Unicode. \Unicode works only in UTF-8 encoding; in
+ all other encodings you must use \CJKchar[UTF8]{<byte1>}{<byte2>}
+ instead.
+
+ For Unicode characters greater than U+FFFF, put the first two bytes
+ into the first argument, and the third byte into the second
+ argument. Examples are \Unicode{"25E}{"9A} and
+ \CJKchar[UTF8]{"25E}{"9A} to represent U+25E9A.
+
+ o CJK disables \MakeUppercase (preserving the command as
+ \CJKuppercase) if you select Big 5 or SJIS encoding without using
+ bg5conv or sjisconv. This usually affects the headers of the LaTeX
+ 2e standard classes only.
+
+ o Because CJK.sty and MULEenc.sty insert glue between CJK (and Thai)
+ characters, it is possible to get unwanted line breaks in verbatim
+ environments if lines are too long. To avoid this, use the command
+ \CJKverbatim in combination with the `verbatim' package. It installs
+ a hook which disables \CJKglue and \Thaiglue in verbatim
+ environments.
+
+
+Possible errors
+---------------
+
+ o If you write Chinese (or Japanese) text, don't forget to suppress
+ the linefeed character with a trailing `%' in the CJK environment,
+ otherwise you get unwanted spaces in the output. On the other side,
+ say `\ ' or something similar inside the CJK* environment to get a
+ space after a CJK character.
+
+ o To suppress a line break before a CJK character, say \CJKkern. This
+ command prevents the insertion of \CJKglue before the CJK character.
+
+ You may wonder about the strange name: a small kern (2 sp) between
+ two CJK characters signals that the first one is a punctuation
+ character.
+
+ o If you get the error message: `\CJK... undefined' or other `...
+ undefined ...' messages and you can't find an error, try inserting
+ \newpage, \clearpage, or \cleardoublepage (the latter for two-column
+ printing) before saying \end{CJK} or \end{CJK*}. This can happen if
+ LaTeX 2e writes headers, footers, or index entries (both \index and
+ \printindex) of a page containing CJK characters after closing the
+ CJK environment.
+
+ In case of footnotes with CJK characters which are split across
+ pages, you have to close the CJK environment on the page on which
+ the particular footnote ends (probably preceded by a \newpage
+ command).
+
+ o A similar message to the one mentioned in the last item can be
+ caused by using the \EveryShipout command from everyshi.sty; here
+ the reason is exactly the opposite, namely the possible use of a
+ non-CJK font within an implicit CJK environment. For example, if
+ you have
+
+ \EveryShipout{
+ \fontfamily{phv}%
+ \selectfont
+ ...
+ }
+
+ it can happen that LaTeX tries to use family `phv' for a `CXX'
+ encoding. The solution is to specify the encoding in \EveryShipout
+ also:
+
+ \EveryShipout{
+ \fontfamily{phv}%
+ \fontencoding{T1}%
+ \selectfont
+ ...
+ }
+
+ o Some file editors insert a Byte Order Mark (BOM, U+FEFF) even if
+ they emit UTF-8. This sequence consists of the three bytes 0xEF
+ 0xBB 0xBF, always to be found at the very beginning of a file,
+ and which should be ignored.
+
+ Unfortunately, there is no way to handle them automatically in the
+ CJK package so that they don't produce output or warnings (or even
+ error messages) -- it would be necessary to add a hack to the LaTeX
+ kernel itself. With other words, these three bytes must be removed
+ before LaTeX is called.
+
+ o If you get overfull \hbox'es caused by CJK characters, try to
+ increase \CJKglue. It defines the glue between CJK characters; the
+ default definition is
+
+ \newcommand{\CJKglue}{\hskip 0pt plus 0.08\baselineskip} .
+
+ \CJKglue is inserted by CJK.sty between CJK characters (except
+ punctuation characters as defined in the punctuation tables; see
+ CJK.enc for the lists). You should separate non-CJK text from CJK
+ characters with spaces to enable hyphenation, or you write
+ \CJKtilde and then use `~' instead of spaces to embed non-CJK text
+ into CJK characters.
+
+ o If you get overfull \hbox'es caused by Hangul syllables, try to
+ increase \CJKtolerance. The default definition is
+
+ \newcommand{\CJKtolerance}{400} .
+
+ Alternatively, try to increase \emergencystretch (which is a TeX
+ primitive), setting it to a reasonable value.
+
+ o It is not possible to start a new encoding inside of a verbatim
+ environment which has not been loaded before (CJK.sty emits an
+ \input ... command which causes the encoding file to be printed
+ verbatim instead of being executed). In this case, write a proper
+ \CJKenc{...} command before opening the verbatim environment.
+
+ Example:
+
+ \CJKenc{JIS} % this loads standard.enc and standard.chr
+
+ \begin{verbatim}
+ ...
+ first time JIS characters appear
+ ...
+ \end{verbatim}
+
+
+ cjk-enc.el does this automatically for you.
+
+ o If you get an error message which looks like this:
+
+
+ ! Undefined control sequence.
+ try@size@range ...extract@rangefontinfo font@info
+ <-*>@nil <@nnil
+
+
+ then you are using an unknown family for a CJK encoding.
+
+ Reason: If you declare an NFSS font encoding in the standard way the
+ corresponding FD file for the default font is loaded. For the CJK
+ package this would be almost 30 files which is inacceptable. To
+ avoid this overhead NFSS is faked with some rudimentary definitions
+ just enough to pass the NFSS tests. Of course this has a
+ disadvantage: An unknown CJK family causes the above error instead
+ of switching to the fallback family usually defined with
+ \DeclareFontSubstitution. Nevertheless, replacing an undefined
+ series or shape works correctly.
+
+ The CJK package's default family value is `song' for all encodings
+ except KS; to avoid the error just described in cases you start an
+ environment with an empty family parameter the files `XXXsong.fd'
+ for all encodings `XXX' (except for KS) are already provided.
+
+ o It is neither possible to use a CJK character in a \cite command of
+ standard LaTeX, nor is it possible to use the `alpha' citation
+ style. This is a limitation of LaTeX and not of the CJK package.
+
+ o Sometimes it is necessary to define or redefine a command or
+ environment globally in the preamble, using CJK characters. Example:
+
+ \newtheorem{Them}{some Chinese characters}[section]
+
+ This won't work directly because of the Chinese characters,
+ producing an error. The next idea is to use a CJK environment in the
+ preamble:
+
+ \begin{CJK}{...}{...}
+ \newtheorem{Them}{some Chinese characters}}[section]
+ \end{CJK}
+
+ Don't be surprised that this also fails! Most commands like
+ \newtheorem expand to \def which define a macro locally only;
+ consequently, the just defined command is undefined again after
+ leaving the CJK environment.
+
+ The correct solution is to use a globally defined macro:
+
+ \begin{CJK}{...}{...}
+ \gdef\ChineseTheorem{some Chinese characters}
+ \end{CJK}
+
+ \newtheorem{Them}{\ChineseTheorem}[section]
+
+ o The \makelabels command of letter.sty needs special treatment if you
+ have an address with CJK characters because it uses the
+ \AtEndDocument hook to write out its data. Since \AtEndDocument is
+ called by \end{document} after all environments have been closed
+ already, a CJK environment must be explicitly inserted into the AUX
+ file. Example:
+
+ \documentclass{letter}
+
+ \usepackage{CJK}
+
+ \makeatletter
+ \AtBeginDocument{%
+ \if@filesw
+ \immediate\write\@mainaux{\string\begin{CJK*}{...}{...}}%
+ \fi}
+ \makelabels
+ \AtEndDocument{%
+ \if@filesw
+ \immediate\write\@mainaux{\string\end{CJK*}}%
+ \fi}
+ \makeatother
+
+
+ \begin{CJK*}{...}{...}
+ \address{An address\\
+ with some CJK characters}
+ \signature{...}
+ \end{CJK*}
+
+
+ \begin{document}
+
+ \begin{CJK*}{...}{...}
+
+ \begin{letter}{Another address\\
+ with some CJK characters}
+ \opening{...}
+
+ Your letter text
+
+ \closing{...}
+ \end{letter}
+
+ \end{CJK*}
+
+ \end{document}
+
+ o A similar solution is needed if you use \bibliography and your
+ bibliographic database contains author names with CJK characters.
+
+ \makeatletter
+ \AtBeginDocument{%
+ \if@filesw
+ \immediate\write\@mainaux{\string\begin{CJK*}{...}{...}}%
+ \immediate\write\@mainaux{\string\makeatletter}%
+ \fi}
+ \AtEndDocument{%
+ \if@filesw
+ \immediate\write\@mainaux{\string\end{CJK*}}%
+ \fi}
+ \makeatother
+
+ o If you get strange error messages while using the hyperref package,
+ add the `CJKbookmarks' option:
+
+ \usepackage[CJKbookmarks]{hyperref}
+
+ o Some versions of fourier.sty cause the following error message:
+
+ ! Undefined control sequence.
+ \<->futr8t ->\SetFourierSpace
+
+ A simple solution is to insert the line
+
+ \providecommand{\SetFourierSpace}{}
+
+ right before loading fourier.sty .
+
+
+Author
+------
+
+Werner Lemberg <wl@gnu.org>
+
+Kleine Beurhausstr. 1
+D-44137 Dortmund
+Germany
+
+Tel. +49 231 165290
+
+Please report any errors or suggestions to cjk-bug@ffii.org.
+
+
+---End of CJK.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/CJKutf8.txt b/Master/texmf-dist/doc/latex/cjk/doc/CJKutf8.txt
new file mode 100644
index 00000000000..7cae09f4655
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/CJKutf8.txt
@@ -0,0 +1,40 @@
+This is the file CJKutf8.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+CJKutf8.sty
+-----------
+
+This package merges base LaTeX's and CJK's UTF-8 support. If a Unicode
+character (within a CJK environment) corresponds to a glyph from the
+selected LaTeX font encoding, use it, otherwise it is taken from the
+selected CJK unicode font.
+
+Usage:
+
+ \usepackage[<font encoding>]{CJKutf8}
+
+ The <font encoding> value is directly passed to the `fontenc' package.
+ Besides `fontenc', CJKutf8.sty also loads the CJK package with the
+ `encapsulated' option so that you can use UTF-8 outside of the CJK
+ environment also.
+
+ Note that only font encodings with a corresponding DFU file actually
+ have Unicode definitions (for example, `t1enc.dfu').
+
+ Only use UTF-8 encoding for the CJK environment! Other encodings
+ don't give an error but might replace some CJK characters with glyphs
+ from the selected LaTeX encoding.
+
+If pdftex is used, ToUnicode cmaps are automatically generated (for C70
+encoding); use it in combination with Vladimir Volovich's `cmap' package.
+
+If CJKutf8.sty is used together with the `unicode' option of the hyperref
+package, pdftex automatically produces correct Unicode bookmarks.
+
+Both ToUnicode cmaps and Unicode bookmarks support characters greater than
+U+FFFF.
+
+Please read section `Possible errors' in CJK.txt regarding the Byte Order
+Mark (BOM) -- this should always be removed.
+
+---End of CJKutf8.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/COPYING b/Master/texmf-dist/doc/latex/cjk/doc/COPYING
new file mode 100644
index 00000000000..b2fe7b6af35
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/COPYING
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ 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; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/INSTALL b/Master/texmf-dist/doc/latex/cjk/doc/INSTALL
new file mode 100644
index 00000000000..27521d044ee
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/INSTALL
@@ -0,0 +1,686 @@
+This is the file INSTALL of the CJK macro package ver. 4.8.0 (22-May-2008).
+
+Installation Guide
+==================
+
+It is probably a good idea to get a packaged version of CJK---be warned that
+installing CJK is *not* trivial.
+
+The easiest solution is to use the TeX Live CD which is distributed among
+members of TeX user groups worldwide. It comes with a ready-to-run CJK setup
+together with basic CJK fonts (in outline format if freely available) for
+almost all encodings. To get a recent snapshot, try the SVN archive. See
+
+ http://www.tug.org/texlive/svn/
+
+for more details.
+
+. Using web sites like http://rpmseek.com you can find and download CJK
+ packages for most GNU/Linux distributions like SuSE or Debian.
+
+. For FreeBSD try this:
+
+ http://www.freebsd.org/ports/chinese.html
+
+. MikTeX also provides packages for CJK.
+
+
+Here a check list for the impatient (experienced) user which tries to show
+whether you've done all steps to install the CJK package and fonts. It is
+assumed that you want to install both ttf2pk and hbf2gf.
+
+Detailed explanations can be found below.
+
+
+--- begin checklist ---------------------------------------------------------
+
+. Have you installed a LaTeX 2e version newer or equal to 2001/06/01? The
+ version of LaTeX is given in each log file produced by LaTeX. For using
+ CJKutf8.sty you even need version 2003/12/01.
+
+. Have you removed an older version of CJK? If not, do it now but don't
+ forget to save your FD and other files which you have changed! Don't
+ forget also to remove the ttf2pk and hbf2gf binaries.
+
+. Can the texinput tree of the CJK package be found by your TeX
+ implementation? Have you activated subdirectory searching?
+
+. Have you downloaded the needed font packages (either ps, hbf or ttf)? See
+ also contrib/wadalab/DNP.txt for the Japanese Wadalab fonts. Have you
+ moved the TFM files into your TFM-tree (or updated TFMINPUTS accordingly)?
+ Ditto for VF files if needed.
+
+. Have you installed ttf2pk and ttf2tfm from the FreeType 1 package (only
+ needed for TrueType fonts)? Note that FreeType 2 won't work.
+
+. Have you run ttf2tfm to create the proper TFM files from your TrueType
+ fonts? This won't be done automatically via mktextfm or MakeTeXTFM!
+
+. Have you updated the ttfonts.map file for ttf2pk? Have you updated the
+ various hbf2gf config files? Have you copied them to the right places?
+ Don't forget to install ttf2pk's SFD and other data files which define the
+ various CJK subfonts and encodings.
+
+. Have you modified and installed the script files for automatic font
+ generation (not necessary for teTeX 1.0 or newer)?
+
+. If you want Thai support, have you followed the instructions given in
+ thaifont.txt?
+
+
+web2c/teTeX users:
+
+. Do you have a C compiler and a make program available for compilation? GNU
+ gcc and GNU make are recommended.
+
+. Have you updated special.map?
+
+. Have you used the options --with-kpathsea-include=... and
+ --with-kpathsea-lib=... while calling the configure script of hbf2gf
+ (or ttf2pk)? Otherwise no file searching library is used which yields
+ surprising results... Note: Don't use `/usr/include/kpathsea', for
+ example, but `/usr/include' as an argument to --with-kpathsea-include.
+
+. To check whether kpathsea correctly finds HBF files and configuration
+ files for hbf2gf, say:
+
+ kpsewhich -progname=hbf2gf -format='misc fonts' <your_font>.hbf
+ kpsewhich -progname=hbf2gf -format='other text files' <your_file>.cfg
+
+ The same for TrueType fonts and the ttf2pk config file:
+
+ kpsewhich -progname=ttf2pk <your_font>.ttf
+ kpsewhich -progname=ttf2pk -format='other text files' ttfonts.map
+
+ [Recent kpathsea versions (like 3.5.5) which come with the new teTeX or
+ TeXLive distributions have a new variable `TEXFONTMAPS' for map files;
+ you should use this test
+
+ kpsewhich -progname=ttf2pk -format=map ttfonts.map
+
+ instead of the last one.]
+
+. Have you compiled the various *conv utility programs (like bg5conv)? Have
+ you installed them together with the caller scripts (like bg5latex) in
+ your path? FOR BIG 5 ENCODING YOU SHOULD ALWAYS USE bg5latex or
+ bg5pdflatex (except if you use cjk-enc.el). FOR SJIS ENCODING YOU SHOULD
+ ALWAYS USE sjislatex or sjispdflatex.
+
+. Have you updated and controlled the texmf.cnf configuration file or set
+ the various environment variables? (TEXINPUTS, TFMFONTS, PKFONTS,
+ MISCFONTS, TTFONTS, probably TTF2PKINPUTS, TTF2TFMINPUTS, HBF2GFINPUTS)
+
+. ttf2pk and hbf2gf should be in the same directory where your TeX binaries
+ like `texconfig' or `gftopk' are (or you must set TEXMFCNF and probably
+ TEXMF in the environment). Soft links won't work!
+
+. Finally, have you run texhash (or mktexlsr) after finishing all other
+ things?
+
+
+emTeX users:
+
+. Have you created a LaTeX format file which allows plain 8bit input and
+ output without using any TeX Code Page (tcp)?
+
+. Have you installed 4DOS (4OS2 or Take Command) for running the file
+ dvidrv.btm?
+
+. Have you configured dvidrv.btm?
+
+. Have you installed the various *conv utility programs (like bg5conv)?
+ together with the caller scripts (like bg5latex.bat)? FOR BIG 5 ENCODING
+ YOU SHOULD ALWAYS USE bg5latex.bat . FOR SJIS ENCODING YOU SHOULD ALWAYS
+ USE sjisltx.bat .
+
+. Have you created and installed TFM files for fonts not in a CJK font
+ package?
+
+. Check whether you have updated all needed environment variables (TEXINPUT,
+ TEXTFM, TTFONTS, TTFCFG, HBFONTS, HBFCFG) and your dvidrv configuration
+ file or files (+font-files, +virtual-fonts).
+
+
+In case of errors, verify the list step by step. Detailed information for
+each step can be found in the documentation files of CJK. Under web2c or
+teTeX, you can set the KPATHSEA_DEBUG environment variable to -1, then all
+debugging info is shown and sent to stderr; it is *highly* recommended that
+you read the kpathsea.info files. Under emTeX, read the various
+documentation files, especially dvidrv.doc and tex.doc, and check the log
+file of your dvi driver.
+
+For hbf2gf, read hbf2gf.txt and its manual page (hbf2gf.1 or a formatted
+version of it). Similarly, more info on ttf2tfm and ttf2pk can be found in
+ttf2pk.doc and the manual pages ttf2pk.1 and ttf2tfm.1 (or a formatted
+version).
+
+--- end checklist -----------------------------------------------------------
+
+
+
+Unix (web2c and teTeX)
+----------------------
+
+. If you can become root, rename the `texinput' directory tree of CJK into
+ `CJK' or something else and add it to your (local) web2c texinput tree
+ (for example, /usr/local/share/texmf.local/tex/latex/CJK).
+
+. If you can't become root, modify the TEXINPUTS environment variable
+ instead so that it includes the CJK directory; use a command similar to
+
+ setenv TEXINPUTS :<your CJK directory>//
+
+ to let TeX search the standard directories and your CJK tree, e.g.,
+
+ setenv TEXINPUTS :/home/joe_user/CJK/4_3.0/texinput//
+
+ (Note the leading double colon to append a path, and the double slash to
+ activate subdirectory searching---for details see the kpathsea info
+ files.)
+
+ [Recent teTeX and TeXLive versions automatically search a TEXMF tree in
+ your home directory called `texmf'.]
+
+ See contrib/wadalab/DNP.txt for the Japanese Wadalab fonts.
+
+. Edit the FD files of the encodings you want to use to specify the fonts
+ you have. An explanation of the additional size commands CJK provides can
+ be found in fonts.txt .
+
+ Note: Most FD example files from the CJK package are set up for PS fonts
+ from the TeXLive distribution.
+
+ If you use the CJK font packages (see below) no changes are needed.
+
+. [In case you plan to use only outline fonts (PFB, TTF) you can omit the
+ installation of hbf2gf and HBF fonts.]
+
+ If necessary, create TFM (and PK) files from CJK bitmaps with hbf2gf
+ (found in utils/hbf2gf). This program comes with a configure script; say
+ `./configure --help' in the utils/hbf2gf directory for configuration
+ options. You need a compiled kpathsea library and its header files; in
+ most cases you say
+
+ ./configure --prefix=/usr/local/TeX \
+ --with-kpathsea-include=<INCLUDEDIR> \
+ --with-kpathsea-lib=<LIBDIR>
+ make
+ make install
+
+ for a normal compilation and installation. Replace `/usr/local/TeX' with a
+ path to your TeX distribution, and <DIR> with the directory one level
+ higher than the library and the include files themselves. Example:
+ libkpathsea.a is in /usr/local/TeX/lib/i686-linux, kpathsea.h is in
+ /usr/local/TeX/include/kpathsea; then <LIBDIR> should be
+ `/usr/local/TeX/TeX/lib/i686-linux', and <INCLUDEDIR> should be
+ `/usr/local/TeX/include' (and not `/usr/local/TeX/include/kpathsea).
+
+ See hbf2gf.txt, the man page (hbf2gf.1), and the documentation of the
+ source file (hbf2gf.dvi) for further details. Usually it is sufficient to
+ let hbf2gf create a complete set of TFM files; PK fonts are then created
+ on demand.
+
+ Older kpathsea versions need a patched MakeTeXPK or mktexpk script; you
+ should apply the proper patch(es) from utils/hbf2gf/scripts. No changes to
+ the script files are necessary for teTeX 1.0 and newer.
+
+ The CJK font packages already contain TFM (and VF) files arranged for the
+ (new) TDS directory structure; add it directly to your TEXMF tree.
+
+. Free Chinese TrueType fonts (for both simplified and traditional Chinese)
+ with a license similar to the GPL can be found on
+
+ ftp://ftp.gnu.org/gnu/nongnu
+
+ and its mirrors worldwide. You might also search websites of companies
+ offering WWW browser; they often come with CJK language packs which
+ contain CJK TrueType fonts.
+
+ Please note that many CJK TrueType fonts only have a Unicode mapping
+ table. You should use the SFD files from the ttf2pk package starting with
+ the letter `U' (e.g., UKS.sfd) which maps Unicode fonts to language
+ specific encoded subfonts as needed by the CJK package.
+
+ The ttf2pk package found in the contrib/ttf2pk directory of
+
+ ftp://ftp.freetype.org/pub/
+ freetype/unstable/freetype1-contrib-current.tar.gz
+
+ contains the two programs ttf2tfm and ttf2pk for converting TrueType fonts
+ into TFM and PK fonts, respectively. By the way, this package is not
+ restricted to CJK TrueType fonts; it works with other TrueType fonts too.
+ Read the manual pages and the documentation for further information. For
+ compilation you also need the FreeType 1 package:
+
+ ftp://ftp.freetype.org/pub/freetype/unstable/freetype-current.tar.gz
+
+. The font editor `fontforge' (available from http://fontforge.sf.net) is
+ capable of generating Type 1 subfonts as needed by CJK from other formats
+ like TTF, OTF or CID (using the subfont definition files from ttf2pk).
+ Such subfonts should be usable by virtually all platforms.
+
+ (Funnnily, fontforge uses the `.sfd' extension also for saving font files
+ it creates.)
+
+ Although fontforge needs the X Window System, it can be compiled without a
+ graphical interface, using a scripting language to control font
+ conversion. The directory `utils/subfonts' of the CJK package contains
+ useful scripts for manipulating subfonts.
+
+. It is recommended to add all CJK fonts which are converted to the PK font
+ format (either with hbf2gf or ttf2pk) to the file special.map: Assuming
+ that your PK fonts should be generated in
+
+ $TEXMF/fonts/pk/modeless/gb2312/gsfs14/
+
+ the proper entries would be
+
+ gsfs1401 gb2312 gsfs14
+ gsfs1402 gs2312 gsfs14
+ ...
+
+. Compile the small preprocessors in the utils subdirectories with
+
+ cc -O -s -o bg5conv bg5conv.c
+ cc -O -s -o sjisconv sjisconv.c
+ cc -O -s -o cefconv cefconv.c
+ cc -O -s -o cef5conv cef5conv.c
+ cc -O -s -o cefsconv cefsconv.c
+ cc -O -s -o extconv extconv.c
+
+ and move them into TeX's bin directory (together with the shell scripts)
+ or modify the PATH environment variable appropriately. (`cc' can be any C
+ compiler.)
+
+ The script files `...latex' make the use of these programs transparent.
+
+. Move the man pages into your man1 directory tree.
+
+. If you want to use Mule, emacs, or XEmacs together with the CJK package,
+ you should install cjk-enc.el (in utils/lisp). See cjk-enc.txt for
+ documentation. Choose the correct cjk-enc.el version---note that the Mule
+ version has limited capabilities compared to the Emacs version.
+
+ Move cjk-enc.el to a place which is searched by Mule (e.g.,
+ /usr/local/lib/mule/site-lisp) and put the following line into your emacs
+ file:
+
+ (load-library "cjk-enc")
+
+ The default directory for emacs is /usr/local/share/emacs/site-lisp.
+
+ Note that you don't need cjk-enc.el in case you are editing UTF-8 encoded
+ files only.
+
+. If you mainly write Chinese or Japanese with Emacs or Mule, consider the
+ use of cjktilde.el (in utils/lisp). This file contains a minor mode which
+ exchanges the tilde key with the space key. See the documentation of
+ \CJKtilde in CJK.txt for the reasons to use `~' in most cases instead of
+ a space character.
+
+ To install, move cjktilde.el to a place which is searched by Emacs or Mule
+ (e.g., /usr/local/share/emacs/site-lisp) and put the following line into
+ your .emacs file:
+
+ (load-library "cjktilde")
+
+ To toggle the CJK tilde mode say
+
+ M-x cjk-tilde-mode
+
+ You can then assign cjk-tilde-mode to a key, e.g., shift-insert.
+
+. If you use AUCTeX you can try cjkspace.el instead of cjktilde.el; it works
+ in a similar (but not identical) way and is special to LaTeX buffers. Move
+ the file to the local lisp directory and put the following lines into your
+ .emacs file:
+
+ (autoload 'CJK-insert-space "cjkspace"
+ "Insert tildes appropriately in CJK document." t)
+ (defun my-LaTeX-mode-hook ()
+ "My personal key definitions for LaTeX mode."
+ (define-key LaTeX-mode-map " " 'CJK-insert-space))
+ (add-hook 'LaTeX-mode-hook 'my-LaTeX-mode-hook)
+
+ Please read the documentation in the file cjkspace.el .
+
+. For Thai support please follow the instructions given in `thaifont.txt'.
+
+
+DOS and OS/2 (emTeX)
+--------------------
+
+web2c has been ported to MS-DOS. If you use this (which I recommend), follow
+the instructions above.
+
+. Note that some Unix specific shell scripts and other files have names
+ longer than 8 characters. You don't need them. Some of the TeX input files
+ have lower and uppercase characters in its filenames, but none of the
+ filenames collide under DOS.
+
+. Move the `texinput' directory tree to a place where TeX scans for input
+ files (and rename it to `cjk' or something else). Note that its
+ subdirectories are specific to encoding schemes. emTeX allows for
+ recursively scanned search paths, thus retaining the directory tree is
+ possible.
+
+ Example:
+
+ CJK files: c:\emtex\texinput\cjk\...
+ environment: set emtexdir=c:\emtex
+ set texinput=%emtexdir%\texinput!!
+
+ See contrib/wadalab/DNP.txt for the Japanese Wadalab fonts.
+
+. [In case you plan to use only outline fonts (PFB, TTF) you can omit
+ this step.]
+
+ Compile hbf2gf. You need GNU make and either the emx (DOS and OS/2) or
+ the djgpp (DOS and Windows) compiler.
+
+ Say `make -f Makefile.gnu' to see the possible options; more info can be
+ found in hbf2gf.txt .
+
+. Compile the utility programs.
+
+ cc -O -s -o bg5conv bg5conv.c
+ cc -O -s -o sjisconv sjisconv.c
+ cc -O -s -o cefconv cefconv.c
+ cc -O -s -o cef5conv cef5conv.c
+ cc -O -s -o cefsconv cefsconv.c
+ cc -O -s -o extconv extconv.c
+
+. Move the various BAT files (for DOS) and/or the CMD REXX scripts (for
+ OS/2) into a directory in the path (e.g., c:\emtex\bin).
+
+. Edit the FD files of your encoding(s) to specify the fonts you have. An
+ explanation of the additional size commands CJK provides can be found in
+ fonts.txt .
+
+ Note: Most FD example files from the CJK package are set up for PS fonts
+ from the TeXLive distribution.
+
+ If you use the CJK font packages (see below) no changes are needed.
+
+. [In case you plan to use only outline fonts (PFB, TTF) you can omit this
+ step.]
+
+ If necessary, create TFM (and PK) files from CJK bitmaps with hbf2gf
+ (found in utils\hbf2gf). See hbf2gf.txt and the documentation of the
+ source file (hbf2gf.dvi) for explanation. Usually it is sufficient to let
+ hbf2gf create a complete set of TFM files; PK fonts are then created on
+ demand (this is done with the dvidrv.btm shell script of the CJK package).
+
+ You need 4DOS or 4OS/2 (these are shareware replacements for command.com)
+ to run dvidrv.btm.
+
+ dvidrv.btm should also work with Take Command/16, Take Command/32, or Take
+ Command for OS/2.
+
+ The CJK font packages already contain TFM (and VF) files (arranged for the
+ (new) TDS directory structure; unpack the font packages in the root
+ directory with
+
+ gzip -d CJK_font_archive.tgz
+ tar xvf CJK_font_archive.tar
+
+ Rearrange the directory structure as suggested below (to make the file
+ search mechanism of emTeX faster) and modify the appropriate environment
+ variables to include the additional directories. The same holds for the
+ CJK bitmap fonts, its HBF header files and the hbf2gf configuration files.
+
+ [Note: Binaries for the gzip and tar archive programs can be found on CTAN
+ in the `utils' subdirectory.]
+
+ Example:
+
+ jfs56.tar.gz (should be ftp'ed as jfs56.tgz if you work under DOS
+ since two dots are not allowed)
+
+ suggested final directory structure (after unpacking and rearranging):
+
+ c:\texmf\fonts\tfm\gsfs1401.tfm ...
+ c:\texmf\hbf2gf\gsfs14.cfg
+ c:\texmf\fonts\hbf\gb2312\jfs56\jfs56.a ...
+ [ c:\texmf\fonts\pk\modeless\XXXdpi\gsfs1401.pk ... ]
+
+ Add these lines to the end of autoexec.bat:
+
+ set texmfdir=c:\texmf
+ set cjkpk=%texmfdir%\fonts\pk
+ set textfm=%textfm%;%texmfdir%\fonts\tfm
+
+ Under OS/2, add similar lines (but with expanded pathnames) to the end
+ of config.sys:
+
+ set texmfdir=c:\texmf
+ set cjkpk=c:\texmf\fonts\pk
+ set textfm=<your old textfm path>;c:\texmf\fonts\tfm
+
+ Changes in gsfs14.cfg:
+
+ pk_directory $texmfdir\fonts\pk\modeless\432dpi\
+ tfm_directory $texmfdir\fonts\tfm\
+
+ Changes in dvidrv.btm:
+
+ set pkdir=%texmfdir%\fonts\pk
+ set ttfcfg=%texmfdir%\ttf2pk
+ set hbfcfg=%texmfdir%\hbf2gf
+
+ set pre_dpi=
+ set post_dpi=dpi
+
+ Changes in a dvi driver configuration file (.cnf) for emTeX:
+
+ +font-files:{<your old pk path>,$texmfdir:fonts\modeless}\@Rrdpi\@f.pk
+
+. Free Chinese TrueType fonts (for both simplified and traditiional Chinese)
+ with a license similar to the GPL can be found on
+ ftp://ftp.gnu.org/gnu/nongnu and its mirrors worldwide. You might also
+ search websites of companies offering WWW browser; they often come with
+ CJK language packs which contain CJK TrueType fonts.
+
+ Please note that many CJK TrueType fonts only have a Unicode mapping
+ table. You should use the SFD files from the ttf2pk package starting with
+ the letter `U' (e.g., UKS.sfd) which maps Unicode fonts to language
+ specific encoded subfonts as needed by the CJK package.
+
+ The ttf2pk package can be found in the contrib/ttf2pk directory of
+
+ ftp://ftp.freetype.org/
+ freetype/unstable/freetype1-contrib-current.tar.gz
+
+ contains the two programs ttf2tfm and ttf2pk for converting TrueType fonts
+ into TFM and PK fonts, respectively. By the way, this package is not
+ restricted to CJK TrueType fonts; it works with other TrueType fonts too.
+ Read the manual pages and the documentation for further information. For
+ compilation you also need the FreeType 1 package:
+
+ ftp://ftp.freetype.org/pub/freetype/unstable/freetype-current.tar.gz
+
+. The font editor `fontforge' (available from http://fontforge.sf.net) is
+ capable to generate Type 1 subfonts as needed by CJK from other formats
+ like TTF, OTF or CID (using the subfont definition files from ttf2pk).
+ Such subfonts should be usable by virtually all platforms.
+
+ (Funnnily, fontforge uses the `.sfd' extension also for saving font files
+ it creates.)
+
+ Although fontforge needs the X Window System, it can be compiled without a
+ graphical interface, using a scripting language to control font
+ conversion. The directory `utils/subfonts' of the CJK package contains
+ useful scripts for manipulating subfonts.
+
+. You find the some standard Hangul PK fonts for 300dpi (cx) and 600dpi
+ (ljfour) resolution in the following archives:
+
+ han.300.tar.gz
+ han1.300.tar.gz
+ han.600.tar.gz
+ han1.600.tar.gz
+ han.tfmvf.tar.gz
+ han1.tfmvf.tar.gz
+
+ It is necessary to rearrange not only the directory structure but the
+ names of the dpi directories too: The TeX directory standards specifies
+ `dpiXXX', but emTeX provides by default `XXXdpi'.
+
+ The final locations of the packages' files should be
+
+ c:\texmf\fonts\tfm\
+ c:\texmf\fonts\vf\
+ c:\texmf\fonts\pk\{cx,ljfour}\XXXdpi\
+
+ Additionally to the above example you should add this to the end of
+ autoexec.bat:
+
+ set cjkvf=%texmfdir%\fonts\vf
+
+ or config.sys for OS/2:
+
+ set cjkvf=c:\texmf\fonts\vf
+
+ Assuming that you use the 300dpi Hangul PK fonts (for a cx printer) you
+ should do the following changes in your dvi driver configuration file
+ (suffix `.cnf') for emTeX (still continuing the above example):
+
+ +font-files:{<your old pk path>,$texmfdir:fonts\{modeless,cx}}\@Rrdpi\@f.pk
+ +virtual-fonts:{<your old vf path>,$texmfdir:fonts}\@f.vf
+
+. For Thai support please follow the instructions given in `thaifont.txt'.
+
+
+Other systems
+-------------
+
+Recent versions of CJK have only been tested with web2c; nevertheless, it
+should run on other systems too:
+
+ The font editor `fontforge' (available from http://fontforge.sf.net) is
+ capable to generate Type 1 subfonts as needed by CJK from other formats
+ like TTF, OTF or CID (using the subfont definition files from ttf2pk).
+ Such subfonts should be usable by virtually all platforms.
+
+ (Funnnily, fontforge uses the `.sfd' extension also for saving font files
+ it creates.)
+
+ Although fontforge needs the X Window System, it can be compiled without a
+ graphical interface, using a scripting language to control font
+ conversion. The directory `utils/subfonts' of the CJK package contains
+ useful scripts for manipulating subfonts.
+
+ If no outline fonts are available and you have to use HBF fonts, try to
+ compile hbf2gf. Since it is written in ANSI C it should be fairly portable
+ (if patches are needed please send them to the author; most likely you
+ have to modify the file operating routines). If this fails it is necessary
+ to build the various PK fonts on a different machine. It has been reported
+ that older GNU compilers on the NeXT have difficulties with `%i'
+ formatting parameters in the HBF API (hbf.c): replace all occurrences of
+ `%i' with `%d'.
+
+ If there exists an equivalent to mktexpk (or dvidrv.btm), try to modify it
+ similar to CJK's changes so that CJK fonts can be created on the fly. If
+ this fails you can only use precompiled sets of CJK fonts (this is, using
+ PK fonts generated on another platform).
+
+ The rest should be rather trivial for the experienced user; again, please
+ write the author if you have successfully installed the package and send a
+ report how to install.
+
+
+How to get CJK and related software
+-----------------------------------
+
+. You find CJK and software related to TeX at the CTAN hosts (Comprehensive
+ TeX Archive Network). These completely identical ftp servers (concerning
+ TeX software) are
+
+ ftp.dante.de DANTE (Deutsche Anwendervereinigung fuer TeX)
+ Hamburg (Germany)
+ ftp.tex.ac.uk Cambridge University
+ Cambridge (England)
+ ctan.tug.org TUG (TeX Users Group)
+ Massachusetts (USA)
+
+ You should use the nearest one, or even better, a local mirror of a CTAN
+ host: The file `CTAN.sites' on CTAN contains a list.
+
+ On CTAN, the CJK package itself is unpacked. To receive the complete
+ package, go to the parent directory of CJK and say
+
+ get CJK.zip
+
+ or
+
+ get CJK.tar.gz
+
+ whatever is appropriate for your system.
+
+ The CJK directory and all its subdirectories are sent to you in compressed
+ form. Be aware that not all mirrors of CTAN sites support compression of
+ directories.
+
+. The documentation bundle of the CJK package is not unpackaged; download it
+ as
+
+ get cjk-4.8.0-doc.tar.gz
+
+ or
+
+ get cjk-4.8.0-doc.tar.gz cjkdoc.tgz
+
+ whatever is appropriate for your system. It contains precompiled versions
+ (in DVI, PDF, text format) of all documentation and example files.
+
+. PostScript font packages with subfonts which can be directly used by the
+ CJK package are already available on CTAN:
+
+ traditional Chinese:
+ fonts/arphic/bkai00mp-<version>.tar.gz
+ fonts/arphic/bsmi00lp-<version>.tar.gz
+
+ simplified Chinese:
+ fonts/arphic/gbsn00lp-<version>.tar.gz
+ fonts/arphic/gkai00mp-<version>.tar.gz
+
+ Japanese:
+ fonts/wadalab/gothic-0-13-<version>.tar.gz
+ fonts/wadalab/maru-0-8-<version>.tar.gz
+ fonts/wadalab/maru-1-8-<version>.tar.gz
+ fonts/wadalab/mincho-0-12-<version>.tar.gz
+ fonts/wadalab/mincho-0-8-<version>.tar.gz
+ fonts/wadalab/mincho-1-8-<version>.tar.gz
+
+ Korean:
+ fonts/korean/HLaTeX/uhc-bom.tar.gz
+ fonts/korean/HLaTeX/uhc-dinaru.tar.gz
+ fonts/korean/HLaTeX/uhc-fonts.tar.gz
+ fonts/korean/HLaTeX/uhc-gothic.tar.gz
+ fonts/korean/HLaTeX/uhc-graphic.tar.gz
+ fonts/korean/HLaTeX/uhc-gungseo.tar.gz
+ fonts/korean/HLaTeX/uhc-jamo.tar.gz
+ fonts/korean/HLaTeX/uhc-myoungjo.tar.gz
+ fonts/korean/HLaTeX/uhc-pen.tar.gz
+ fonts/korean/HLaTeX/uhc-pilgi.tar.gz
+ fonts/korean/HLaTeX/uhc-pilgia.tar.gz
+ fonts/korean/HLaTeX/uhc-shinmun.tar.gz
+ fonts/korean/HLaTeX/uhc-taza.tar.gz
+ fonts/korean/HLaTeX/uhc-vada.tar.gz
+ fonts/korean/HLaTeX/uhc-yetgul.tar.gz
+
+ You should consult the documentation and the font samplers of those
+ packages (if available) for more informations.
+
+. Mule 2.3 can be downloaded from this Japanese host:
+
+ ftp://ftp.m17n.org/pub/mule/mule-2.3.tar.gz
+
+ [Note: You need Mule 2.3 only for right-to-left scripts like Arabic or
+ Hebrew which aren't yet supported in emacs. Otherwise, I strongly
+ recommend to get FSF emacs 22 or newer, or XEmacs 21.1 or newer which is
+ available from ftp.gnu.org (USA) and ftp.xemacs.org, respectively, and
+ its many mirrors.]
+
+
+---End of INSTALL---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/TDS.txt b/Master/texmf-dist/doc/latex/cjk/doc/TDS.txt
new file mode 100644
index 00000000000..d50d879453c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/TDS.txt
@@ -0,0 +1,172 @@
+This is the file TDS.txt of the CJK macro package ver. 4.8.0 (22-May-2008).
+
+The TeX Directory Structure (TDS)
+---------------------------------
+
+A working group of the American TeX Users Group (TUG) has developed the TDS
+standard (available from the CTAN hosts in tex-archive/tds). That document
+describes a default directory structure where and how to store the many
+different files needed for a complete TeX system.
+
+The following describes the recommended default directories used in the CJK
+package for its files; $TEXMF stands for the place where the texmf directory
+resides (a possibly better place for distributions based on web2c is
+$TEXMFLOCAL; see texmf.cnf of your TeX package for details):
+
+We follow TDS 1.1 and the setup of TeXLive 2005; this corresponds to
+kpathsea 3.5.5. Some of the variables don't exist in older kpathsea
+implementations---please read the man page of ttf2tfm for more information
+on the old locations.
+
+
+CJK TeX files (you should move the whole `texinput' tree of the CJK package
+ to this place):
+
+ $TEXMF/tex/latex/CJK/<CJK subdirs>/<CJK TeX files>
+
+ example:
+ /usr/local/web2c-7.0/texmf/tex/latex/CJK/Bg5/Bg5.cap
+
+ affected variable: $TEXINPUTS
+
+
+TrueType fonts:
+
+ $TEXMF/fonts/truetype/<supplier>/<truetype font>
+
+ example:
+ /usr/local/teTeX/texmf/fonts/truetype/arphic/gbsn00lp.ttf
+
+ affected variable: $TTFONTS
+
+ You should append proper entries for all subfonts to special.map to make
+ web2c's name parsing algorithm happy (otherwise it can happen that the
+ created PK and TFM files are placed into rather strangely named
+ directories).
+
+ Example lines to append for the above font:
+
+ gbsnlp01 arphic gbsnlp
+ gbsnlp02 arphic gbsnlp
+ ...
+
+
+HBF fonts:
+
+ $TEXMF/fonts/misc/hbf/<supplier>/<hbf name stem>/<hbf files>
+
+ [If no supplier is given, you should use `public' instead.]
+
+ example:
+ /usr/local/share/texmf/fonts/misc/hbf/public/kanji48/kanji48.{bin,hbf}
+
+ affected variable: $MISCFONTS
+
+ You should append proper entries for all subfonts to special.map to make
+ web2c's name parsing algorithm happy (otherwise it can happen that the
+ created PK and TFM files are placed into rather strangely named
+ directories).
+
+ Example lines to append for the above font:
+
+ kanji4801 public kanji48
+ kanji4802 public kanji48
+ ...
+
+
+ttf2pk configuration and replacement files (ttf2pk.cfg and *.rpl):
+
+ $TEXMF/ttf2pk
+
+ example:
+ /usr/local/texmf/ttf2pk/ttf2pk.cfg
+
+ affected variable: $TTF2PKINPUTS
+
+
+ttf2pk map files (*.map):
+
+ $TEXMF/fonts/map/ttf2pk
+
+ example:
+ /usr/local/texmf/fonts/map/ttf2pk/config/ttfonts.map
+
+ affected variable: $TEXFONTMAPS
+
+
+ttf2pk encoding files (*.enc):
+
+ $TEXMF/fonts/enc/ttf2pk
+
+ example:
+ /usr/local/texmf.local/fonts/enc/ttf2pk/base/T1-WGL4.enc
+
+ affected variable: $ENCFONTS
+
+ [Note that this location is normally found by ttf2tfm also since the
+ `ttf2pk' path component doesn't appear explicitly in web2c's $ENCFONTS
+ value. Instead, it starts subdirectory searching one level higher.]
+
+
+ttf2pk subfont definition files (*.sfd):
+
+ $TEXMF/fonts/sfd
+
+ example:
+ /home/sx0005/texmf/fonts/sfd/Bg5.sfd
+
+ affected variable: $SFDFONTS
+
+
+hbf2gf configuration files:
+
+ $TEXMF/hbf2gf/<config files>
+
+ example:
+ /dos/texmf/hbf2gf/gsfs14.cfg
+
+ affected variable: $HBF2GFINPUTS
+
+
+TFM files (<supplier> and <name stem> as specified in special.map):
+
+ $TEXMF/fonts/tfm/<supplier>/<name stem>/<tfm file>
+
+ example:
+ /usr/local/teTeX/texmf/fonts/tfm/arphic/gbsnlp/gbsnlp23.tfm
+
+ affected variable: $TFMFONTS
+
+
+PK files (<supplier> and <name stem> as specified in special.map)
+
+ $TEXMF/fonts/pk/modeless/<supplier>/<name stem>/<pk file>
+
+ example:
+ /usr/local/share/texmf/fonts/pk/modeless/uw/uwcxmf/uwcxmf23.3252pk
+
+ affected variable: $PKFONTS
+
+[There are further possibilities how to store PK files:
+
+ 1. instead of <name>.<dpi>pk you can use dpi<dpi>/<name>.pk
+
+ example:
+ /texmf/fonts/pk/modeless/public/b5ka12/dpi600/b5ka1217.pk
+
+ 2. teTeX additionally allows you to omit either <supplier> or <name stem>
+ or both (for PK, TFM, and MF files)
+
+ example:
+ /texmf/fonts/pk/modeless/b5ka12/dpi600/b5ka1217.pk
+
+
+ The first option is necessary on operating systems like DOS which only
+ allow 8.3 filenames. The second option enables you to use the `!' feature
+ of the emTeX subdirectory searching algorithm (only one level) instead of
+ `!!' (search all subdirectory levels) together with its template mechanism
+ to make emTeX much faster in finding PK files. Now teTeX and emTeX could
+ share one common texmf tree.]
+
+
+---End of TDS.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/TeXLive.txt b/Master/texmf-dist/doc/latex/cjk/doc/TeXLive.txt
new file mode 100644
index 00000000000..571f57c7cd2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/TeXLive.txt
@@ -0,0 +1,549 @@
+This file shows which files of the `CJK-4.8.0' and `CJK-4.8.0-doc' packages
+are stored in which TeXLive bundles (if at all). The format of the entries
+is
+
+ <filename> <TeXLive package>[,<TeXLive package>] <remark>
+
+
+CJK-4.8.0
+---------
+
+ChangeLog CJK
+contrib/wadalab/c42goth.fd CJK
+contrib/wadalab/c42goth.fdx CJK
+contrib/wadalab/c42maru.fd CJK
+contrib/wadalab/c42maru.fdx CJK
+contrib/wadalab/c42min.fd CJK
+contrib/wadalab/c42min.fdx CJK
+contrib/wadalab/c52maru.fd CJK
+contrib/wadalab/c52maru.fdx CJK
+contrib/wadalab/c52min.fd CJK
+contrib/wadalab/c52min.fdx CJK
+contrib/wadalab/c70goth.fd CJK
+contrib/wadalab/c70goth.fdx CJK
+contrib/wadalab/c70maru.fd CJK
+contrib/wadalab/c70maru.fdx CJK
+contrib/wadalab/c70min.fd CJK
+contrib/wadalab/c70min.fdx CJK
+contrib/wadalab/DNP.sfd bin-cjkutils
+contrib/wadalab/DNP.txt CJK
+contrib/wadalab/fixwada CJK
+contrib/wadalab/fixwada2.pl CJK
+contrib/wadalab/makefont CJK
+contrib/wadalab/makeuniwada.pl CJK
+contrib/wadalab/wadalab.map CJK (1)
+doc/CEF.txt CJK
+doc/chinese/emTeXb5.txt CJK
+doc/chinese/README CJK
+doc/chinese/READMEb5.tex CJK
+doc/chinese/READMEgb.tex CJK
+doc/chinese/teTeXb5.txt CJK
+doc/cjk-enc.txt CJK
+doc/CJK.txt CJK
+doc/CJKutf8.txt CJK
+doc/commands.txt CJK
+doc/COPYING CJK
+doc/dvidrv.txt CJK
+doc/fdxfiles.txt CJK
+doc/fonts.txt CJK
+doc/hbf2gf.txt bin-cjkutils
+doc/history.2_5 CJK
+doc/history.txt CJK
+doc/INSTALL CJK
+doc/japanese/ascii.txt CJK
+doc/japanese/japanese.jis CJK
+doc/japanese/japanese.txt CJK
+doc/japanese/jp-fonts.txt CJK
+doc/japanese/jp-tex.txt CJK
+doc/japanese/preview.txt CJK
+doc/japanese/README CJK
+doc/japanese/shibuaki.txt CJK
+doc/pdfhowto/examples/bkai.map CJK
+doc/pdfhowto/examples/cid-x.map CJK
+doc/pdfhowto/examples/cwtb.map CJK
+doc/pdfhowto/examples/dvipdfmx.cfg CJK
+doc/pdfhowto/examples/gen-map.pl CJK
+doc/pdfhowto/examples/map.list CJK
+doc/pdfhowto/examples/texinput/Bg5/c00cwtb.fd CJK
+doc/pdfhowto/examples/texinput/Bg5/c00tmpl.fd CJK
+doc/pdfhowto/examples/texinput/GB/c10tmpl.fd CJK
+doc/pdfhowto/examples/texinput/JIS/c40tmpl.fd CJK
+doc/pdfhowto/examples/texinput/SJIS/c49tmpl.fd CJK
+doc/pdfhowto/examples/updmap.my CJK
+doc/pdfhowto/examples/wcl.sfd CJK
+doc/pdfhowto/HOWTO.txt CJK
+doc/pinyin.txt CJK
+doc/pyhyphen.txt CJK
+doc/reftex.txt CJK
+doc/ruby.txt CJK
+doc/TDS.txt CJK
+doc/TeXLive.txt CJK
+doc/thaifont.txt CJK
+doc/vertical.txt CJK
+doc/xCJK.txt CJK
+examples/Big5.tex CJK
+examples/Big5vert.tex CJK
+examples/CEF_test.tex CJK
+examples/CJKbabel.tex CJK
+examples/CJKfntef.tex CJK
+examples/CJKmixed.tex CJK
+examples/CJKutf8.tex CJK
+examples/GB.tex CJK
+examples/JIS.tex CJK
+examples/KS.tex CJK
+examples/muletest.tex CJK
+examples/py_test.tex CJK
+examples/README CJK
+examples/rubytest.tex CJK
+examples/SJIS.tex CJK
+examples/thai.tex CJK
+examples/UTF8.tex CJK
+examples/xCJK.pdf CJK
+
+Makefile ---
+MANIFEST CJK
+README CJK
+texinput/Bg5/Bg5.cap CJK
+texinput/Bg5/Bg5.chr CJK
+texinput/Bg5/Bg5.cpx CJK
+texinput/Bg5/Bg5.enc CJK
+texinput/Bg5/c00bkai.fdx CJK
+texinput/Bg5/c00bsmi.fd CJK
+texinput/Bg5/c00bsmi.fdx CJK
+texinput/Bg5/c00bsmir.fd CJK
+texinput/Bg5/c00bsmir.fdx CJK
+texinput/Bg5/c00cns.fd CJK
+texinput/Bg5/c00fs.fd CJK
+texinput/Bg5/c00kai.fd CJK
+texinput/Bg5/c00kair.fd CJK
+texinput/Bg5/c00kair.fdx CJK
+texinput/Bg5/c00song.fd CJK
+texinput/Bg5/c01song.fd CJK
+texinput/Bg5/c05song.fd CJK
+texinput/Bg5/c09song.fd CJK
+texinput/Bg5/HK.enc CJK
+texinput/CEF/c80song.fd CJK
+texinput/CEF/c81song.fd CJK
+texinput/CJK.enc CJK
+texinput/CJKfntef.sty CJK
+texinput/CJKnumb.sty CJK
+texinput/CJK.sty CJK
+texinput/CJKulem.sty CJK
+texinput/CJKutf8.sty CJK
+texinput/CJKvert.sty CJK
+texinput/CNS/c31song.fd CJK
+texinput/CNS/c32song.fd CJK
+texinput/CNS/c33song.fd CJK
+texinput/CNS/c34song.fd CJK
+texinput/CNS/c35song.fd CJK
+texinput/CNS/c36song.fd CJK
+texinput/CNS/c37song.fd CJK
+texinput/CNS/EUC-TW.bdg CJK
+texinput/CNS/EUC-TW.chr CJK
+texinput/CNS/EUC-TW.enc CJK
+texinput/extended.chr CJK
+texinput/extended.enc CJK
+texinput/GB/c10fs.fd CJK
+texinput/GB/c10gbsn.fd CJK
+texinput/GB/c10gbsn.fdx CJK
+texinput/GB/c10song.fd CJK
+texinput/GB/c11song.fd CJK
+texinput/GB/c19song.fd CJK
+texinput/GB/c20song.fd CJK
+texinput/GB/c21song.fd CJK
+texinput/GB/GB.cap CJK
+texinput/GB/GB.cpx CJK
+texinput/JIS/c40song.fd CJK
+texinput/JIS/c41song.fd CJK
+texinput/JIS/c42song.fd CJK
+texinput/JIS/c43song.fd CJK
+texinput/JIS/c50song.fd CJK
+texinput/JIS/EUC-JP.bdg CJK
+texinput/JIS/EUC-JP.chr CJK
+texinput/JIS/EUC-JP.enc CJK
+texinput/JIS/EUC-JPdnp.enc CJK
+texinput/JIS/JIS.cap CJK
+texinput/JIS/JIS.cpx CJK
+texinput/JIS/JISdnp.enc CJK
+texinput/KS/c60dr.fd CJK
+texinput/KS/c60gr.fd CJK
+texinput/KS/c60gs.fd CJK
+texinput/KS/c60gt.fd CJK
+texinput/KS/c60hgt.fd CJK
+texinput/KS/c60hmj.fd CJK
+texinput/KS/c60hol.fd CJK
+texinput/KS/c60hpg.fd CJK
+texinput/KS/c60mj.fd CJK
+texinput/KS/c61dr.fd CJK
+texinput/KS/c61gr.fd CJK
+texinput/KS/c61gs.fd CJK
+texinput/KS/c61gt.fd CJK
+texinput/KS/c61hgt.fd CJK
+texinput/KS/c61hmj.fd CJK
+texinput/KS/c61hol.fd CJK
+texinput/KS/c61hpg.fd CJK
+texinput/KS/c61mj.fd CJK
+texinput/KS/c62song.fd CJK
+texinput/KS/hangul2.cap CJK
+texinput/KS/hangul2.cpx CJK
+texinput/KS/hangul.cap CJK
+texinput/KS/hangul.cpx CJK
+texinput/KS/hanja.cap CJK
+texinput/KS/hanja.cpx CJK
+texinput/KS/HLaTeX/c63bm.fd CJK
+texinput/KS/HLaTeX/c63dn.fd CJK
+texinput/KS/HLaTeX/c63gr.fd CJK
+texinput/KS/HLaTeX/c63gs.fd CJK
+texinput/KS/HLaTeX/c63gt.fd CJK
+texinput/KS/HLaTeX/c63jgt.fd CJK
+texinput/KS/HLaTeX/c63jmj.fd CJK
+texinput/KS/HLaTeX/c63jnv.fd CJK
+texinput/KS/HLaTeX/c63jsr.fd CJK
+texinput/KS/HLaTeX/c63mj.fd CJK (2)
+texinput/KS/HLaTeX/c63pga.fd CJK
+texinput/KS/HLaTeX/c63pg.fd CJK
+texinput/KS/HLaTeX/c63ph.fd CJK
+texinput/KS/HLaTeX/c63pn.fd CJK
+texinput/KS/HLaTeX/c63sh.fd CJK
+texinput/KS/HLaTeX/c63tz.fd CJK
+texinput/KS/HLaTeX/c63vd.fd CJK
+texinput/KS/HLaTeX/c63yt.fd CJK
+texinput/KS/HLaTeX/c64bm.fd CJK
+texinput/KS/HLaTeX/c64dn.fd CJK
+texinput/KS/HLaTeX/c64gr.fd CJK
+texinput/KS/HLaTeX/c64gs.fd CJK
+texinput/KS/HLaTeX/c64gt.fd CJK
+texinput/KS/HLaTeX/c64jgt.fd CJK
+texinput/KS/HLaTeX/c64jmj.fd CJK
+texinput/KS/HLaTeX/c64jnv.fd CJK
+texinput/KS/HLaTeX/c64jsr.fd CJK
+texinput/KS/HLaTeX/c64mj.fd CJK (2)
+texinput/KS/HLaTeX/c64pga.fd CJK
+texinput/KS/HLaTeX/c64pg.fd CJK
+texinput/KS/HLaTeX/c64ph.fd CJK
+texinput/KS/HLaTeX/c64pn.fd CJK
+texinput/KS/HLaTeX/c64sh.fd CJK
+texinput/KS/HLaTeX/c64tz.fd CJK
+texinput/KS/HLaTeX/c64vd.fd CJK
+texinput/KS/HLaTeX/c64yt.fd CJK
+texinput/KS/HLaTeX/c65bm.fd CJK
+texinput/KS/HLaTeX/c65dn.fd CJK
+texinput/KS/HLaTeX/c65gr.fd CJK
+texinput/KS/HLaTeX/c65gs.fd CJK
+texinput/KS/HLaTeX/c65gt.fd CJK
+texinput/KS/HLaTeX/c65jgt.fd CJK
+texinput/KS/HLaTeX/c65jmj.fd CJK
+texinput/KS/HLaTeX/c65jnv.fd CJK
+texinput/KS/HLaTeX/c65jsr.fd CJK
+texinput/KS/HLaTeX/c65mj.fd CJK (2)
+texinput/KS/HLaTeX/c65pga.fd CJK
+texinput/KS/HLaTeX/c65pg.fd CJK
+texinput/KS/HLaTeX/c65ph.fd CJK
+texinput/KS/HLaTeX/c65pn.fd CJK
+texinput/KS/HLaTeX/c65sh.fd CJK
+texinput/KS/HLaTeX/c65tz.fd CJK
+texinput/KS/HLaTeX/c65vd.fd CJK
+texinput/KS/HLaTeX/c65yt.fd CJK
+texinput/KS/HLaTeX/HLaTeX.chr CJK
+texinput/KS/HLaTeX/KSHL.enc CJK
+texinput/KS/HLaTeX/pshan.sty CJK
+texinput/KS/KS.chr CJK
+texinput/KS/KS.enc CJK
+texinput/mule/MULEenc.sty CJK
+texinput/pinyin.sty CJK
+texinput/pmCbig.enc CJK
+texinput/pmC.chr CJK
+texinput/pmCsmall.enc CJK
+texinput/ruby.sty CJK
+texinput/SJIS/c49song.fd CJK
+texinput/SJIS/SJIS.bdg CJK
+texinput/SJIS/SJIS.cap CJK
+texinput/SJIS/SJIS.chr CJK
+texinput/SJIS/SJIS.cpx CJK
+texinput/SJIS/SJISdnp.chr CJK
+texinput/SJIS/SJISdnp.enc CJK
+texinput/SJIS/SJIS.enc CJK
+texinput/standard.bdg CJK
+texinput/standard.chr CJK
+texinput/standard.enc CJK
+texinput/thai/c90cmr.fd CJK
+texinput/thai/c90cmss.fd CJK
+texinput/thai/c90cmtt.fd CJK
+texinput/thai/c90enc.def CJK
+texinput/thai/c90gar.fd CJK
+texinput/thai/c90nrsr.fd CJK
+texinput/thai/thaicjk.ldf CJK
+texinput/UTF8/c70bkai.fd CJK
+texinput/UTF8/c70bkai.fdx CJK
+texinput/UTF8/c70bsmi.fd CJK
+texinput/UTF8/c70bsmi.fdx CJK
+texinput/UTF8/c70gbsn.fd CJK
+texinput/UTF8/c70gkai.fd CJK
+texinput/UTF8/c70mj.fd CJK
+texinput/UTF8/c70song.fd CJK
+texinput/UTF8/ja.cpx CJK
+texinput/UTF8/ko-Hang2.cpx CJK
+texinput/UTF8/ko-Hang.cpx CJK
+texinput/UTF8/ko-Hani.cpx CJK
+texinput/UTF8/UTF8.bdg CJK
+texinput/UTF8/UTF8.chr CJK
+texinput/UTF8/UTF8.enc CJK
+texinput/UTF8/xUTF8.chr CJK
+texinput/UTF8/xUTF8.enc CJK
+texinput/UTF8/zh-Hans.cpx CJK
+texinput/UTF8/zh-Hant.cpx CJK
+texinput/xCJK.sty CJK
+texinput/xpmC.chr CJK
+texinput/xpmC.enc CJK
+utils/Bg5conv/bg5conv.1 bin-cjkutils
+utils/Bg5conv/bg5conv.c source.development
+utils/Bg5conv/bg5conv.w ---
+utils/Bg5conv/bg5latex source.development,bin-cjkutils
+utils/Bg5conv/bg5latex.bat source.development
+utils/Bg5conv/bg5latex.cmd ---
+utils/Bg5conv/bg5pdflatex source.development,bin-cjkutils
+utils/CEFconv/cef5conv.1 bin-cjkutils
+utils/CEFconv/cef5conv.c source.development
+utils/CEFconv/cef5conv.w ---
+utils/CEFconv/cef5latex source.development,bin-cjkutils
+utils/CEFconv/cef5ltx.bat source.development
+utils/CEFconv/cef5ltx.cmd ---
+utils/CEFconv/cef5pdflatex source.development,bin-cjkutils
+utils/CEFconv/cefconv.1 bin-cjkutils
+utils/CEFconv/cefconv.c source.development
+utils/CEFconv/cefconv.w ---
+utils/CEFconv/ceflatex source.development,bin-cjkutils
+utils/CEFconv/ceflatex.bat source.development
+utils/CEFconv/ceflatex.cmd ---
+utils/CEFconv/cefpdflatex source.development,bin-cjkutils
+utils/CEFconv/cefsconv.1 bin-cjkutils
+utils/CEFconv/cefsconv.c source.development
+utils/CEFconv/cefsconv.w ---
+utils/CEFconv/cefslatex source.development,bin-cjkutils
+utils/CEFconv/cefsltx.bat source.development
+utils/CEFconv/cefsltx.cmd ---
+utils/CEFconv/cefspdflatex source.development,bin-cjkutils
+utils/cjklatex/cjklatex.c source.development
+utils/extconv/bg5+latex source.development,bin-cjkutils
+utils/extconv/bg5+pdflatex source.development,bin-cjkutils
+utils/extconv/bg5pltx.bat source.development
+utils/extconv/bg5pltx.cmd ---
+utils/extconv/extconv.1 bin-cjkutils
+utils/extconv/extconv.c source.development
+utils/extconv/extconv.w ---
+utils/extconv/gbklatex source.development,bin-cjkutils (4)
+utils/extconv/gbklatex.bat source.development
+utils/extconv/gbklatex.cmd ---
+utils/extconv/gbkpdflatex source.development,bin-cjkutils (5)
+utils/f_name.bat source.development
+utils/hbf2gf/c-auto.h source.development
+utils/hbf2gf/cfg/b5ka12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/b5kr12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/b5so12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/c1so12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/c2so12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/c3so12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/c4so12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/c5so12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/c6so12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/c7so12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/csso12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/gsfs14.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/j2so12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/jsso12.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/ksso17.cfg source.development,bin-cjkutils
+utils/hbf2gf/cfg/README source.development,bin-cjkutils
+utils/hbf2gf/config.guess --- (3)
+utils/hbf2gf/config.sub --- (3)
+utils/hbf2gf/configure --- (3)
+utils/hbf2gf/configure.ac source.development
+utils/hbf2gf/dvidrv.btm ---
+utils/hbf2gf/emdir.c source.development
+utils/hbf2gf/emdir.h source.development
+utils/hbf2gf/emtexdir.c source.development
+utils/hbf2gf/emtexdir.h source.development
+utils/hbf2gf/hbf2gf.1 source.development,bin-cjkutils
+utils/hbf2gf/hbf2gf.c source.development
+utils/hbf2gf/hbf2gf.def source.development
+utils/hbf2gf/hbf2gf.w source.development
+utils/hbf2gf/hbf.c source.development
+utils/hbf2gf/hbf.h source.development
+utils/hbf2gf/install-sh source.development
+utils/hbf2gf/Makefile.gnu ---
+utils/hbf2gf/Makefile.in --- (3)
+utils/hbf2gf/mkinstalldirs source.development
+utils/hbf2gf/README ---
+utils/hbf2gf/scripts/teTeX-0.4/MakeTeXPK.diff ---
+utils/hbf2gf/scripts/teTeX-0.4/MakeTeXTFM.diff ---
+utils/hbf2gf/scripts/web2c-6.1/MakeTeXPK.diff ---
+utils/hbf2gf/scripts/web2c-6.1/README ---
+utils/hbf2gf/scripts/web2c-7.0/MakeTeXPK.diff ---
+utils/hbf2gf/scripts/web2c-7.0/MakeTeXTFM.diff ---
+utils/hbf2gf/scripts/web2c-7.1/MakeTeXPK.diff ---
+utils/hbf2gf/scripts/web2c-7.1/MakeTeXTFM.diff ---
+utils/hbf2gf/scripts/web2c-7.2/mktexpk.diff ---
+utils/hbf2gf/scripts/web2c-7.2/mktextfm.diff ---
+utils/lisp/cjkspace.el CJK
+utils/lisp/cjktilde.el CJK
+utils/lisp/emacs/cjk-enc.el CJK
+utils/lisp/emacs/thai-word.el CJK
+utils/lisp/mule-2.3/cjk-enc.el CJK
+utils/pyhyphen/pinyin.c CJK
+utils/pyhyphen/pinyin.ldf CJK
+utils/pyhyphen/pinyin.tr CJK
+utils/pyhyphen/pyhyph.tex hyphen-pinyin
+utils/pyhyphen/pytest.tex CJK
+utils/SJISconv/sjisconv.1 bin-cjkutils
+utils/SJISconv/sjisconv.c source.development
+utils/SJISconv/sjisconv.w ---
+utils/SJISconv/sjislatex source.development,bin-cjkutils
+utils/SJISconv/sjisltx.bat source.development
+utils/SJISconv/sjisltx.cmd ---
+utils/SJISconv/sjispdflatex source.development,bin-cjkutils
+utils/subfonts/clonevf.pl CJK
+utils/subfonts/hlatex2agl.pl CJK
+utils/subfonts/makefdx.pl CJK
+utils/subfonts/sfd2uni.pl CJK
+utils/subfonts/subfonts.pe CJK
+utils/subfonts/uni2sfd.pl CJK
+utils/subfonts/vertical.pe CJK
+utils/subfonts/vertref.pe CJK
+utils/thaifont/texmf/dvips/garuda/config.garuda garuda
+utils/thaifont/texmf/dvips/norasi/config.norasi norasi
+utils/thaifont/texmf/fonts/enc/dvips/thai/c90.enc c90enc
+utils/thaifont/texmf/fonts/map/dvips/garuda/garuda.map garuda
+utils/thaifont/texmf/fonts/map/dvips/norasi/norasi.map norasi
+utils/thaifont/texmf/fonts/tfm/public/garuda/fgdb8z.tfm garuda
+utils/thaifont/texmf/fonts/tfm/public/garuda/fgdbo8z.tfm garuda
+utils/thaifont/texmf/fonts/tfm/public/garuda/fgdo8z.tfm garuda
+utils/thaifont/texmf/fonts/tfm/public/garuda/fgdr8z.tfm garuda
+utils/thaifont/texmf/fonts/tfm/public/norasi/ftnb8z.tfm norasi
+utils/thaifont/texmf/fonts/tfm/public/norasi/ftnbi8z.tfm norasi
+utils/thaifont/texmf/fonts/tfm/public/norasi/ftni8z.tfm norasi
+utils/thaifont/texmf/fonts/tfm/public/norasi/ftnr8z.tfm norasi
+utils/thaifont/tools/c90.etx CJK
+utils/thaifont/tools/c90.mtx CJK
+utils/thaifont/tools/dbtt-old/config.dbtt-old CJK
+utils/thaifont/tools/dbtt-old/dbtt-old-alias.etx CJK
+utils/thaifont/tools/dbtt-old/dbtt-old-alias.mtx CJK
+utils/thaifont/tools/dbtt-old/dbtt-old-alias.tex CJK
+utils/thaifont/tools/dbtt-old/dbtt-old.fontinst CJK
+utils/thaifont/tools/dbtt-old/dbtt-old.map CJK
+utils/thaifont/tools/garuda.fontinst CJK
+utils/thaifont/tools/INSTALL CJK
+utils/thaifont/tools/norasi.fontinst CJK
+
+
+CJK-4.8.0-doc
+-------------
+
+doc/cjk/README CJK
+doc/cjk/READMEb5.cjk CJK
+doc/dvi/bg5conv.dvi ---
+doc/dvi/c90.dvi ---
+doc/dvi/cef5conv.dvi ---
+doc/dvi/cefconv.dvi ---
+doc/dvi/cefsconv.dvi ---
+doc/dvi/extconv.dvi ---
+doc/dvi/hbf2gf.dvi ---
+doc/dvi/READMEb5.dvi ---
+doc/dvi/READMEgb.dvi ---
+doc/dvi/sjisconv.dvi ---
+doc/man/dvi/bg5conv.dvi ---
+doc/man/dvi/cef5conv.dvi ---
+doc/man/dvi/cefconv.dvi ---
+doc/man/dvi/cefsconv.dvi ---
+doc/man/dvi/extconv.dvi ---
+doc/man/dvi/hbf2gf.dvi ---
+doc/man/dvi/sjisconv.dvi ---
+doc/man/html/bg5conv.html ---
+doc/man/html/cef5conv.html ---
+doc/man/html/cefconv.html ---
+doc/man/html/cefsconv.html ---
+doc/man/html/extconv.html ---
+doc/man/html/hbf2gf.html ---
+doc/man/html/sjisconv.html ---
+doc/man/pdf/bg5conv.pdf bin-cjkutils
+doc/man/pdf/cef5conv.pdf bin-cjkutils
+doc/man/pdf/cefconv.pdf bin-cjkutils
+doc/man/pdf/cefsconv.pdf bin-cjkutils
+doc/man/pdf/extconv.pdf bin-cjkutils
+doc/man/pdf/hbf2gf.pdf bin-cjkutils
+doc/man/pdf/sjisconv.pdf bin-cjkutils
+doc/man/txt/bg5conv.txt ---
+doc/man/txt/cef5conv.txt ---
+doc/man/txt/cefconv.txt ---
+doc/man/txt/cefsconv.txt ---
+doc/man/txt/extconv.txt ---
+doc/man/txt/hbf2gf.txt ---
+doc/man/txt/sjisconv.txt ---
+doc/pdf/bg5conv.pdf bin-cjkutils
+doc/pdf/c90.pdf CJK
+doc/pdf/cef5conv.pdf bin-cjkutils
+doc/pdf/cefconv.pdf bin-cjkutils
+doc/pdf/cefsconv.pdf bin-cjkutils
+doc/pdf/extconv.pdf bin-cjkutils
+doc/pdf/hbf2gf.pdf bin-cjkutils
+doc/pdf/READMEb5.pdf CJK
+doc/pdf/READMEgb.pdf CJK
+doc/pdf/sjisconv.pdf bin-cjkutils
+examples/cjk/Big5.cjk CJK
+examples/cjk/Big5vert.cjk CJK
+examples/cjk/CEF_test.cjk CJK
+examples/cjk/CJKbabel.cjk CJK
+examples/cjk/muletest.cjk CJK
+examples/cjk/rubytest.cjk CJK
+examples/cjk/SJIS.cjk CJK
+examples/cjk/thai.cjk CJK
+examples/dvi/Big5.dvi ---
+examples/dvi/Big5vert.dvi ---
+examples/dvi/CEF_test.dvi ---
+examples/dvi/CJKbabel.dvi ---
+examples/dvi/CJKfntef.dvi ---
+examples/dvi/CJKmixed.dvi ---
+examples/dvi/CJKutf8.dvi ---
+examples/dvi/GB.dvi ---
+examples/dvi/JIS.dvi ---
+examples/dvi/KS.dvi ---
+examples/dvi/muletest.dvi ---
+examples/dvi/py_test.dvi ---
+examples/dvi/pytest.dvi ---
+examples/dvi/rubytest.dvi ---
+examples/dvi/SJIS.dvi ---
+examples/dvi/thai.dvi ---
+examples/dvi/UTF8.dvi ---
+examples/pdf/Big5.pdf CJK
+examples/pdf/Big5vert.pdf CJK
+examples/pdf/CEF_test.pdf CJK
+examples/pdf/CJKbabel.pdf CJK
+examples/pdf/CJKfntef.pdf CJK
+examples/pdf/CJKmixed.pdf CJK
+examples/pdf/CJKutf8.pdf CJK
+examples/pdf/GB.pdf CJK
+examples/pdf/JIS.pdf CJK
+examples/pdf/KS.pdf CJK
+examples/pdf/muletest.pdf CJK
+examples/pdf/py_test.pdf CJK
+examples/pdf/pytest.pdf CJK
+examples/pdf/rubytest.pdf CJK
+examples/pdf/SJIS.pdf CJK
+examples/pdf/thai.pdf CJK
+examples/pdf/UTF8.pdf CJK
+examples/pdf/xCJK.pdf CJK
+
+----
+
+(1) This file is located in the `texmf-dist/source' tree. A modified
+ version (with less fonts) is part of the `wadalab' package.
+
+(2) These files appear twice; the first version without real bold fonts
+ is in the texmf-dist/tex/latex tree, while the original files are
+ in the texmf-dist/source tree.
+
+(3) This file might be different in the TeXLive distribution.
+
+(4) Symlink to bg5+latex.
+
+(5) Symlink to bg5+pdflatex.
+
+---End of TeXLive.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/chinese/README b/Master/texmf-dist/doc/latex/cjk/doc/chinese/README
new file mode 100644
index 00000000000..90f621fd408
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/chinese/README
@@ -0,0 +1,7 @@
+The file emTeXb5.txt describes version 4.1.0 .
+
+The file teTeXb5.txt describes version 4.2.0 .
+
+The file READMEb5.tex describes version 4.1.0 .
+
+The file READMEgb.tex describes version 4.1.3 .
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/chinese/READMEb5.tex b/Master/texmf-dist/doc/latex/cjk/doc/chinese/READMEb5.tex
new file mode 100644
index 00000000000..b54be13306a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/chinese/READMEb5.tex
@@ -0,0 +1,1150 @@
+%%% The file READMEb5.tex . This file is part of LaTeX2e CJK package.
+%%%
+%%% Note that this document is a very first version. Therefore, lots
+%%% of installation steps and issues are still left blank. Please be
+%%% patient and wait for the next new release. I'm sorry for any
+%%% inconveniences. I also deeply expect that everyone who is
+%%% interested in this topic gives me suggestions and corrections in
+%%% any respects. Thanks in advance.
+%%%
+%%% Revision 1.5 1996/11/22 10:49:00 d791013
+%%% * modify some context presentations.
+%%%
+%%% Revision 1.4 1996/10/23 03:59:40 d791013
+%%% Revision control by CVS.
+%%%
+%%% Revision 1.3 1996/07/27 11:19:20 d791013
+%%% 1. In compliance with CJK version 4.0.0
+%%% 2. Fill up some unfinished sections in previous versions of this
+%%% file.
+%%% 3. Add more usages for MULE and AUCTeX.
+%%%
+
+\documentclass[12pt,a4paper]{article}
+\usepackage{array,CJK}
+\RequirePackage{shortvrb}
+\MakeShortVerb{\|}
+
+% enlarge text width and height (for saving number of pages)
+\addtolength{\textwidth}{1in}
+\addtolength{\oddsidemargin}{-.5in}
+\addtolength{\textheight}{1in}
+\addtolength{\topmargin}{-.5in}
+
+\begin{document}
+\begin{CJK*}{Bg5}{bsmi}
+\CJKtilde
+
+% local commands
+\newcommand{\ntutocjk}{~\textsf{ntu2cjk}~}
+\newcommand{\ttftopk}{~\textsf{ttf2pk}~}
+\newcommand{\hookstroke}{\raisebox{2pt}{\scriptsize $\surd$}}
+\newcommand{\crossmark}{$\times$}
+\newcommand{\bigfive}{~\textrm{Big-5}~X}
+\renewcommand{\figurename}{~}
+\renewcommand{\tablename}{~}
+
+%% end of header
+
+\title{\bigfivetΤU~CJK \LaTeXe~ƪt\\
+ (For CJK version 4.1.0)}
+\author{
+ gt\thanks{The author of the \textsf{ntu2cjk} package.
+ \textsf{E-mail:} d791013@ce.ntu.edu.tw}\ (Chun-Yu Lee) \and
+ Werner Lemberg\thanks{The author of the \LaTeXe\ CJK package.
+ \textsf{E-mail:} wl@gnu.org}}
+\date{20 Nov. 1996}
+\maketitle
+
+\tableofcontents
+
+\section{²}
+\label{sec:introduction}
+
+Dnw鷺eH\bigfiveD]Mi]t~ιϧε^A
+ϥ~\LaTeXe~~CJK~tζiƪCLAһݪ򥻭nDPw˨BJA
+@²nСCd[\nsn@g]Τ@^ϤíZ峹һ
+DDA]I@ʪ\footnote{N|bCCaץP
+ RDDAH[j䵲cΤeCPɤ]Ū̯ണ_QNAH
+ U@XѦҡC}C
+
+媺eHtX~CJK 4.x.x~tΪ]wDCק糧大PɡACJK~
+O~4.1.0C
+
+\subsection{\Ū}
+\label{sec:reading-guides}
+
+UO²檺\ŪޡG
+\begin{itemize}
+\item TwAw˪~CJK~O_OҴyzAYPAШoP
+ ۮe~CJK~AΨo̷s~CJK~Aþ\Ūҥ]tɮסC
+\item Y]PAziH~CJK~󤤪~INSTALL~DAHrw
+ tΡ]\textsf{ntu2cjk}~~\textsf{ttf2pk}^AAs
+ 夺e@ʽAAaw˾ӤƪtΡC
+\item Yzgw˹L~CJKAziѦҲ~\ref{sec:steps}~`w˨BJC
+\item YbztΤA|w˦~TFMBPKB~PFB~ɮסAiѦҲ~
+ \ref{sec:install-fonts}~`rwˡC
+\item YzıoWzw˨BJAаѦҲ~\ref{sec:my-settings}~
+ `ڪҤlC
+\item YQDpoɮסAаѦҪ~\ref{sec:getting-files}
+ רoC
+\item YQ糧ҨϥΤrҺôbAаѦҪ~\ref{sec:terms}W
+ C
+\end{itemize}
+
+`NG夺ebrwˤ譱A\ttftopkи\footnote{]
+ Dn@̥uϥ\ntutocjkӦw˦rA@\ttftopksܤwxC}
+Ū̥i~CJK~M󤤦媺~|NTeXb5.doc|~]Pɮ׸mP
+@ؿ^oԲӪѻC
+
+t~b~em\TeX~ҤUw˸ѻA]uO½Ķ~CJK~󤤪~
+|INSTALL|~oɡA@̨å@LC
+
+\subsection{i@BTӷ}
+\label{sec:further-information}
+
+\begin{itemize}
+\item m~\cite{latex2nd}~򥻤UC
+\item m~\cite{latex-companion:1993}~iiUC
+\item Ѧ~Newsgroup |comp.text.tex|~~FAQC
+\item ~\TeX/\LaTeX~`ݪDAim~\cite{tex-faq:1.9c}]
+ y¡^C
+\end{itemize}
+
+\section{tλݨD}
+\label{sec:requirements}
+
+\subsection{w}
+\label{sec:hardware-requirements}
+
+\TeX/\LaTeX~tΥثeXGj@~tάҦ䴩Cb~RAM~ݨDWh
+sɮתjpAphƤQU줸AjhƦʸU줸CM~\TeX/\LaTeX~
+tΦb~286~HeN]]SOܡ^A̦n٬O~8MB~HWO
+AHIrһݡCܩwЪŶAbrϥλݤUA̦n঳~
+150MB~Ŷ]\TeX~tά~30MBA8~~NTU~urΨഫrAPS~~
+PK~rA~80MB^C
+
+\subsection{nݨD}
+\label{sec:software-requirement}
+
+\begin{itemize}
+\item ~\LaTeX~tΦA{ѻP惡tΨ򥻾ާ@OC̦nA
+ m~\cite{latex2nd,latex-companion:1993}~o⥻ѦbC
+\item \LaTeXe~ҡC]A~\TeX/\LaTeX~ҡC
+\item \LaTeXe\ CJK~tΡC
+\item YQw~PS~r\footnotemark\addtocounter{footnote}{-1}Azݭn
+ \begin{enumerate}
+ \item \textsf{ntu2cjk}~tΡC
+ \item NTU TrueType~rC
+ \item gcc~sĶάҡBGNU makeC
+ \item GhostScript(3.12~HW)C
+ \item |afm2tfm|C
+ \item Y{G |arj|B|gzip|B|tar|C
+ \item YQq~PS~rإ~PK~rAh~|ps2pk|~~|gsftopk|C
+ \end{enumerate}
+\item Yw~PK~r\footnote{N󪺱ƪBwΦCLһݪr
+ ӨAiHWusb~PK~r~PS~rFNKʻPiʦӨA
+ ̫ijAHʺA覡~PK~rëO]α`ΤΰʺA^~PS~
+ rAOΪզXC}AѦҲ~\ref{sec:install-pk-fonts}~`yzC
+\item XG|dvips|B|dvi2xx|BΨL~dvi~榡ഫ{PU媺ഫ
+ {C
+\end{itemize}
+
+
+\section{w˨BJ}
+\label{sec:steps}
+
+`NDnwˬy{ACpUAUԲӪw˫ޡANbH᪺U`
+ĭzG
+\begin{enumerate}
+\item YO~\TeX/\LaTeX~tΤvw˦nAиU@BC_hھڦۤvϥΪ@
+ ~tΡAMwϥΦ~\TeX~tΡAðѦҨtλݨD]~
+ \ref{sec:requirements}~`^Bɮרo]~\ref{sec:getting-files}^
+ ΨLU`ơAoɮסAëҨoƤܦwˡC
+ YotΨS~\LaTeXe~tΡAάOzQsܸ񪺪Ahit~~
+ CTAN~oAbww˦n~\TeX~Ҥ[W~\LaTeXeC
+\item Tw~\LaTeXe~vw˧CiH@~\LaTeXe~榡Be^媺ɮ
+ ]p~|sample.|\linebreak[1]|tex|^Aq~|latex|~sĶAH~|xdvi|~
+ ~|dviscr|B|dvisvga|~^wB~|dvips|~~|dvilj|~নL
+ ]PostScript~~PCL~榡^æLXAHP_O_w˥TC
+\item w~CJK~~\LaTeXe~tΡ]ѦҲ~\ref{sec:install-CJK}~`^C
+\item ܦw~PK~~PS~rΤG̬Ҧwˡ]ѦҲ~
+ \ref{sec:install-pk-fonts}~`β~\ref{sec:install-ps-fonts}~`^C
+\item H~CJK~tΤҴѤ~\LaTeXe~ɡA|READMEb5.tex|Aա]
+ Ҳ~\ref{sec:my-settings}~`^C
+\item YDAаѦҲ~\ref{sec:trouble-shooting}~`DѨMC
+\end{enumerate}
+
+
+\section{w~CJK~~\LaTeXe~t}
+\label{sec:install-CJK}
+
+аwzҨϥΧ@~tΡAѦҤUp`C
+
+\subsection{b~UNIX~tΤU~(web2c)}
+\label{sec:install-under-unix}
+
+\begin{enumerate}
+\item ӾAؿN^~CJK~YɸѶ}CҦpzNѶ}~
+ |/tmp/CJK|C
+\item pGzHtκ޲z̪]root^wˡAhiN᪺~CJK~ؿ
+ ~|texinput|~ؿUҦɮס]Oؿc^~\TeX~tί
+ a]q`O~
+ |${TEXMF}/|\linebreak[1]|tex/|\linebreak[1]|latex/|\ldotsA
+ |${TEXMF}|~O~web2c~~homeA@묰~
+ |/usr/|\linebreak[1]|local/|\linebreak[1]|lib/|\linebreak[1]|texmf|^A
+ ñNؿW令~CJK~ξAW١CpGzOϥθs~\TeX~]~
+ web2cAo~\TeX~tΡAѤFjjMlؿɮתO^AhN~
+ |texinput|~ؿUҦɮײ~\TeX~tί쪺aCҦpG
+ \begin{verbatim}
+ $ cd /usr/local/lib/texmf/tex/latex
+ $ mv CJK CJK.old
+ $ cd /tmp/CJK
+ $ cd 4_1.0
+ $ mv texinput /usr/local/lib/texmf/tex/latex/CJK
+ \end{verbatim}
+ pGzH~root~vwˡAХHUOy@ק]pGϥ~
+ |csh|^AëijN[J~|.login|]Ω~|/bin/csh|^~|.profile|]
+ ~|/bin/sh|^Aϱo~\TeX~jM~CJK~ؿG
+ \begin{verbatim}
+ setenv TEXINPUTS: A CJK ؿW//
+ \end{verbatim}
+ `NAYzҨϥΪ~\TeX~tΤ䴩hhlؿjMAhNTؿW
+ sA[J~|TEXINPUTS|~ܼƤFΪ̱N~|texinput|~ؿU~
+ |Bg5|~ؿUҦɮײܬYӥؿAõؿ~CJK~ؿC
+
+ Ҧp]H~|sh|~Oҡ^G
+ \begin{verbatim}
+ ]]zQN CJK texinput ؿ ~/CJK/texinput^
+ # cd ~/CJK ] CJK lؿ^
+ # mv texinput texinput.old ]pGzª texinput ؿAƥ^
+ # cd /tmp/CJK ]ܸѶ} CJK a^
+ # cd 4_1.0 ]ܥثeU^
+ # mv texinput ~/CJK ]N texinput lؿ ~/CJK^
+ # TEXINPUTS=":~/CJK/texinput//" ]wqܼơ^
+ # export TEXINPUTS ]]qΪܼơ^
+ \end{verbatim}
+\item ѦҲ~\ref{sec:install-fonts}~`rwˡAN~|.tfm|~ɡAPK~r
+ ~PS~rw˦ܾAؿUC
+\item ѦҲ~\ref{sec:install-.fd}~`w~|.fd|~ɡAΰѦ~|fonts.txt|A
+ îھڦrw˪GA]w~|.fd|~ɡCHw諸\bigfive
+ Aק~|c00kai.fd|]pGzNѦrڳ]~|kai|^B|c00fs.fd|
+ ]pGzϥΥ駺rڨéw~|fs|^Kɮס]iѦ\ttftopk
+ \ntutocjkҴѪdҡ^C
+\item bѶ}~CJK~ؿAiJ~\texttt{utils/Bg5conv}~ؿAsĶ~
+ |bg5conv.c|ApG
+ \begin{verbatim}
+ gcc -O -s -o bg5conv bg5conv.c
+ \end{verbatim}
+ Nͪ~|bg5conv|~sP~|bg5latex|~oɡA~\TeX~tΤ
+ mɪؿ]pGv^CθmӤHؿAýTwؿs
+ bܼ~|PATH|~]Φb~|PATH|~W[@|AijN|
+ ]w[~login~ҩlɤ^C
+
+ ҦpG
+ \begin{verbatim}
+ # cd /tmp/CJK/4_1.0
+ # cd utils/Bg5conv
+ # gcc -O -s -o bg5conv bg5conv.c
+ # mv bg5conv bg5latex ~/bin
+ # export PATH=$PATH:~/bin
+ \end{verbatim}
+ `NApGzª~|bg5conv|~ɡAаȥsA]~4.0~HWP
+ P]H~``|^^FF|''~ɦrӤO~``|.|''^C
+
+\item iJlؿ~|doc/chinese|~Aձz]wG
+ \begin{verbatim}
+ # cd /tmp/CJK/4_1.0
+ # cd doc/chinese
+ # bg5latex READMEb5.tex
+ \end{verbatim}
+ ݬO_බQsöC
+\end{enumerate}
+
+\subsection{b~DOS~~OS/2~tΤU}
+\label{sec:install-under-dos}
+
+\begin{enumerate}
+\item ӾAؿN^~CJK~YɸѶ}C
+\item N~CJK~tΤ~|texinput|~ؿUҦɮס]Oؿc^~
+ \TeX~tί쪺aAñNؿW令~|CJK|~ξAW١CpGz
+ Oϥθs~\TeX]~em\TeXAo~\TeX~tΡAѤFjjMlؿ
+ ɮתO^AhN~|texinput|~ؿUPαznϥΪXؿ]Bg5^U
+ Ҧɮײ~\TeX~쪺aC
+
+ H~em\TeX~tάҡAN~CJK~~|texinput|~ɮײ~
+ |c:\emtex\|\linebreak[1]|texinput\|\linebreak[1]|CJK\|\ldotsAåH
+ UOy@קAHϱo~\TeX~jM~CJK~ؿG
+ \begin{verbatim}
+ set emtexdir=c:\emtex
+ set texinput=%emtexdir%\texinput!!
+ \end{verbatim}
+\item b~CJK~tΤ~|utils\|\linebreak[1]|Bg5conv|~ؿAN~
+ |bg5conv.|\linebreak[0]|exe|~sP~|bg5latex.|\linebreak[0]|bat|~~
+ \TeX~|~(|PATH|)~Yӥؿ]μW[@|^C
+\item Ѧ~\ref{sec:install-fonts}~w˦r@`AN~|.tfm|~ɡAPK~r
+ ~PS~rw˦ܾAؿUC
+\item Ѧ~\ref{sec:install-.fd}~w~|.fd|~ɤ@`Aھڦrw˪GA
+ ]w~|.fd|~ɡC]iѦ\ttftopk\ntutocjkҴѪdҡ^C
+\end{enumerate}
+
+
+\section{rw}
+\label{sec:install-fonts}
+
+ȥH~True Type~rͪ~PK~r~PS~rCro
+Ҫ~\ref{sec:getting-files}~C
+
+PK~r]~PS~r^̦nw˦bAnɯ~\TeX/\LaTeX~tήɤ|vT
+m\footnote{ƹWA̦nNǥ`w~\TeX/\LaTeX~tΥHAA
+ B~קΦw˪ɮפε{Abt~pؿAMAH~link~
+ 覡m쥻BmCb~DOS~UArɥH[bܼƪ|
+ DA䥦hHƻs覡N~linkC}A]@rͫAYi
+ɴϥΡFt~ApGCnɯ~CJK~tΩ~\TeX/\LaTeX~tήɡA]i
+ߤjxUC
+
+\subsection{PK~r}
+\label{sec:install-pk-fonts}
+
+\subsubsection{۰ʲ~PK~r}
+[|AаѦ\ttftopk\ntutocjkw˻]
+
+\subsubsection{w~PK~r}
+[|AаѦ\ttftopkw˻]
+
+\subsubsection{~PS~r~PK~r}
+Ѧ~\ref{sec:install-ps-fonts} PS~r@`C
+
+\subsection{PS~r}
+\label{sec:install-ps-fonts}
+
+Bҫ~PS~r~PostScript Type 1~rApGA[W@өΤG
+~PS~r]HoǤ~Type 1~r򩳩Һcr^Aiզ~
+PostScript Type 0~rC~\TeX~tΥثeLk~Type 0~rAҥH
+]|ΡCt~~TTF~rbӤ]i{AҦp~
+Ghostscript~bs]4.01^wϥ~TTF~rC
+
+Hw˷~PS~rҡA²zy{pU]ԲӽаѦ\ntutocjk~
+|README|~ɡ^G
+\begin{enumerate}
+\item Cw@Ӧrڡ]font familyApѡ^~|.tfm|~~|.pfb|~
+ סC
+\item קrڬ~makefile~ɡApק~|kai.mak|~e]HUH
+ ҡ^C
+\item Yzϥ~UNIX~tΡAJUO
+ \begin{verbatim}
+ make unix FONTMAK=kai.mak
+ \end{verbatim}
+ Yzb~DOS~UAФUG
+ \begin{verbatim}
+ make dos FONTMAK=kai.mak
+ \end{verbatim}
+ Y@QA~55~Ӫ~|.pfb|~ɮשM~55~ӡ]~110~ӡApG~
+ |EXTENDED_FONT|~O]~|YES|^|.tfm|~ɮסAB~TFM~ɮתjpACӬ~
+ 1.2kB~kC
+\item U~|make install-fonts|~OAiNҦͪrw˦ܱz]wb~
+ |kai.mak|~ɮפҫwؿCzi]ݭnH~|make install-maps|~
+ oӫOw~|Fontmap|~~|psfonts.map|~C
+\item ھڥHWҩwqrW١Azק~|c00kai.fd|~ò~
+ \TeX~o쪺ؿCΪ̭ק~|c00kai.fdx|ApG~|EXTENDED_FONT|~O]
+ ~|YES|AܾAؿANW٧אּ~|c00kai.fd|C
+\end{enumerate}
+
+\subsubsection{~PS~r~PK~r}
+
+~PS~r~PK~rAq`zݭn~|gsftopk|~~|ps2pk|~ӧC
+
+pGH~|gsftopk|~~PK~rAٻݭn~|gs|]Ghostscript^UA]b
+z׸˦n~PS~rAOnNrҦbؿWA[~|GS_LIB|~o
+ƤAΪ̱N\ntutocjkҲ~|.pfb|~ɡAH~symbolic link~覡A~
+link~~|gs|~ҩwqrؿC
+
+pG~|ps2pk|Azݭn~AFM~ɡ]b\ntutocjksy~|.pfb|~ɮתL{A|
+~AFM~ɡ^C̦no̷sAHObŪ~PS~rP~AFM~ɮɡA
+PͰDC
+
+bzҨϥΪ~\TeX/\LaTeX~tΤAj~|MakeTeXPK|~oɡA\
+YObtεo{Y~PK~rsbɡA۰ʲͤCӦɦGݯSOB
+~]wA۰ʥ~PS~ɲ~PK~r\CMeOo~PS~r
+X{b~|psfonta.map|~A|MakeTeXPK|~ΦɤrP_nͦrO_
+~PS~r]oݭnzҦw˪tΦөw^C
+
+%\section{PqOU`Nƶ}
+%\label{sec:platforms}
+
+%\subsection{DOS}
+%\label{sec:platform-dos}
+
+%\subsection{UNIX}
+%\label{sec:platform-unix}
+
+\subsection{w~\texttt{.fd}~}
+\label{sec:install-.fd}
+
+Anr]TFM~ɮסBPK~rB~PS~r^ӤWzX`覡w˧
+Az]nAa]w~|.fd|~ɡC`N²zC
+
+\LaTeXe~~\textsf{NFSS}~W椤Anyz@ئr]tUCѼơG
+\begin{enumerate}
+\item EncodingGsX覡Ap~|T1|B|OT1|B|DC|~C|U|~~unknownC
+ CJK~tΪsX覡]Ѧ~|fonts.txt|^@󤶭ҥΡAp~|Bg5|B
+ |GB|B|Bg5pmC|~A@~\textsf{NFSS}~ҨϥΡAp~|C00|B~|C10|B
+ |C01|~CBAYwqb~|.fd|~ɤsX覡ݨϥΫ̡CH^HҨ
+ Ϊ\bigfiveҡA~|C00|~OݩwqC
+\item FamilyGrڡAp~|cm|B|cmss|B|cmtt|~ACJK~tΦbw\bigfive
+ rݦۦwqAݲŦX~\textsf{NFSS}~WwAYwqrڪrƤi
+ WLӦrCziѦҥ]tbѶ}ɮפdҡAp~|c00kai.fd|CCJK~t
+ ΥHѡBBЮѵܦrڡC^Hi~|kai|B|song|B|ming|B|fs|B
+ |black|B|round|~\bigfiverڡC
+\item SeriesGrtC]Vؤo^Ap~|m| (medium)B|b| (bold)B|bx|
+ (extended bold)~ACJK~uΦWC
+\item ShapeGrΪAp~|n|B|sl|B|ol|B|it|~CCJK~uΤC
+\item SizeGrjp]Iơ^Ap~|10|B|12|~
+\item |\baselineskip|G۾F檺ǽuZAjpΤ즹ѼơC
+\end{enumerate}
+
+ھڥHWԭzAHU²椶иɪcPykAH~|c00kai.fd|]b~
+\texttt{texinput/Bg5}~ؿU^ɥ]tTӥDnOG
+\begin{enumerate}
+\item |\ProvidesFile{c00kai.fd}{|{\em release-info}|}|GɦW
+ KƸJC
+\item |\DeclareFontFamily{C00}{kai}{}|GɥH~|C00|~sXByz~
+ |kai|~rڡC䤤~|C00|~O~\textsf{NFSS} encodingC
+\item |\DeclareFontShape{C00}{kai}{m}{n}{<-> CJK * b5ka}{}|GRO
+ ĤӰѼƸAiѦ~|fonts.txt|~C䤤~|*|~kѼƧYO
+ @զrɦWrACJK~tη|bݥ[WGƦrArW
+ ]sub-font name^A׬O~|.tfm|~ɡB|.pfb|~ɩ~|pk|~ɬһݻPW@
+ PC|CJK|~hOrjpơ]size function^ACJK~tΩwqFƭӦ
+ ơApG
+ \begin{verbatim}
+ CJK ۷ `' (empty) NϥΦrjpP latex sĶ@PC
+ sCJK ۷ `s' PWAr~ɤĵi]silent^C
+ CJKfixed ۷ `fixed' YݨDrjpbwqd򤺡A@
+ ϥΫwrC
+ sCJKfixed ۷ `sfixed' PWA keep silentC
+ CJKsub ۷ `sub' Ht@rNC
+ CJKssub ۷ `ssub' PWA keep silentC
+ \end{verbatim}
+ piHܤKPɨϥI}rΦVqrC
+\end{enumerate}
+
+²檺wˤ覡NOApGAO\ttftopkӲͦrAhNҴѪ~
+|c00?????.fd|~ƻs~\texttt{texinput/Bg5}~UFYOH\ntutocjkDA
+PzFHC
+
+\subsection{X~\LaTeX~PrY}
+\label{sec:portability}
+
+BҫX]AqùBɮפίȱiC~\ref{tab:soft-vs-fonts}~O
+ҴΪ@dznXnPҨϥΦrY]FSO~An餧
+jPҬ弶gɳ̪񪺪^CѦiAPK~rbwɬOi
+ʪA~PS~rbCL]t~PostScript~ɮס]|.eps|B|.ps|~^
+祲ݥΨC
+\begin{table}[htbp]
+ \begin{center}
+ \leavevmode
+
+ \begin{tabular}{|>{\ttfamily}c|c|c|c|} \hline
+ Xn & \ & CJK PK~r
+ & CJK PS~r \\ \hline
+ xdvi & w & \hookstroke
+ & \crossmark \\
+ & &
+ & ]঳@ӹw]r^ \\ \hline
+ dvisvga & w & \hookstroke
+ & \crossmark \\ \hline
+ dvips & XɮשΦL & \hookstroke
+ & \hookstroke \\
+ ]5.60~HU^ & &
+ & ]J^ \\ \hline
+ dvihp & XɮשΦL & \hookstroke
+ & \crossmark \\ \hline
+ gs & wοX & \crossmark
+ & \hookstroke \\ \hline
+ \end{tabular}
+
+ \caption{~\TeX~nPϥ~CJK~rYC}
+ \label{tab:soft-vs-fonts}
+ \end{center}
+\end{table}
+
+ns@gϤíZ峹AרO峹Arڡ]font family^Pؤo
+jp]font size^ܤƬOiίʪCXɥ~PK~P~PS~rӨA
+YbpUG̪tOALKʤ]iOUdFYbϺЪŶ
+ϥΤWAiNҮtC]P@rڦPjprAPK~rݨC
+ϥΨ쪺ؤoҸJܨXɤA~PS~ruݤ@C
+
+ثeA峹ҦϥΨ쪺~PFB~rAYnͤt~PS~ɮ
+]self-contained Postscript output^A|dvips|~|JܨXC
+U@X~|dvips|~{ANiwXɤIҧiF
+NYsu|Jb峹ϥΨ쪺rb~|.pfb|~ɤҹwq
+C]b̴~|dvips| 5.60~ɡAȮɵLk\aϥΤ~CJK PS~r
+AL۫H֤FC^
+
+ثeȮɥi~|fontload|~oӳnAFoӥ\C
+
+
+\section{ڪҤl}
+\label{sec:my-settings}
+
+ثeڨϥΪO~Linux~@~tΡA\TeX/\LaTeX~hϥ~te\TeX~ҡA
+ؿpUG
+\begin{itemize}
+\item |/usr/local/lib/texmf| s~\TeX/\LaTeX~tΡC
+\item |/usr/local/lib/ghostscript| s~GhostscriptC
+\item |/usr/local/lib/ntuttf| s~NTU TrueType~rΥ\ntutocjkҲ
+ ͪrC
+\item |~/CJK/4_1.0| sѶ}~CJK~tΡC
+\end{itemize}
+
+ڥH`w˵{ǡAN~te\TeX~w˦b~|/usr/local/lib/texmf|FN~
+CJK~bڪ~|$HOME/CJK|~UѶ}ACJK~n餤Ҧɮ׫Kͦb~|CJK|~l
+\footnote{ҥHN~CJK w˦bۤvӤHؿUAO]~CJK~`sA
+ K`Шtκ޲zWWܳ]wCA[WFۤvɮ׬yqʪҼ{A
+ ۤv@~CJK~]wAӤH{Aۤv~CJK~~|{תөʡC
+ YASOtΤtd~CJK~n骺HAƩάO~\TeX/\LaTeX~@̡Ab
+ ۤvpHؿU޲zéws~CJKAOӤ覡}AҦpG
+\begin{verbatim}
+ % cd
+ % gunzip CJK-4.1.0.src.tar.gz | tar xvf -
+\end{verbatim}
+ðHUBzG
+\begin{enumerate}
+\item b~|~/CJK|~Uإߤ@Ÿɮ׳s]symbolic link^AW~
+ |texinput|~Bsܥثe~CJK~WU~|texinput| A
+ \begin{verbatim}
+ % cd ~/CJK
+ % rm -f texinput
+ % ln -s 4_1.0/texinput texinput
+ \end{verbatim}
+\item sĶ@ӷs~|bg5conv|~ɡC
+ \begin{verbatim}
+ % cd ~/CJK/4_1.0/utils/Bg5conv
+ % gcc -O -o bg5conv bg5conv.c
+ % mv bg5conv bg5latex ~/bin
+ \end{verbatim}
+ YuOw˵ۤvΡAhiH~|root|~~|cp|~~|/usr/local/bin|~
+ ؿUC
+\item bڪ~|$HOME|~ؿU~|.cshrc|~ɤ]]ڥΪO~tcsh^AW[@
+
+ \begin{verbatim}
+ setenv TEXINPUTS ":~/CJK/texinput//"
+ \end{verbatim}
+\item ~|.tfm|~ɤ~|.pfb|~rCbګ\ntutocjkA@@~
+ ``make''~X۹諸~|.pfb|~rA@~8~աAC~55~~ |.tfm|~~|.pfb|~
+ ɡCڱNoɮײ~
+ \texttt{/usr/local/lib/\linebreak[1]ntuttf/\linebreak[1]type1/}~~
+ \texttt{/usr/local/lib/ntuttf/afm/}~rڪؿUCñN
+ ~|config.CJK|~~|CJK.map|~~|$TEXMF/dvips|~UC
+\item ]w~|.fd|~ɡC]ڨϥΪOH~PS~rD~PFB]\ntutocjk
+ ͡^ΥѨ䲣ͪ~PK~r]~|gsftopk|~͡^AҥHڪĥ
+ \ntutocjkҴѪ~|c00|*|.fd|~ɡAS@]]ڦdϥP
+ ڪu@Ҥ@P :-^CڱN䲾~|~/CJK/texinput/Bg5/|~ؿUC
+\end{enumerate}
+
+\subsection{إߤZ}
+\label{sec:creating-tex}
+
+~CJK \TeX~ZP@~\TeX~ZPDnbG
+\begin{itemize}
+\item bҿ~\LaTeX~~preamble]|\documentclass|~~
+ |\begin{document}|^ϰ줤A~|\usepackage{CJK}|~oөROAY
+ J~|CJK.sty|C
+\item rb~|CJK|~~|CJK*|~ҤCYG
+ \begin{verbatim}
+ \begin{CJK*}{}{}
+ qB`BϧΡBBѦҤmBK
+ ...
+ \newpage
+ \end{CJK*}
+ \end{verbatim}
+\item nܴri~|\CJKfamily|~ROAp~|\CJKfamily{fs}|~NHUr
+ 令駺r]M~|fs|~oӦrΦW٥wqb~|c00fs.fd|~^C
+\end{itemize}
+
+ڪΪkOH@Ӥҥ]Ҧ峹eAp~
+\ref{fig:my-example}~ҥܡC
+
+\newsavebox{\myex}
+\begin{lrbox}{\myex}
+ \begin{minipage}{.9\textwidth}
+ \footnotesize
+ \begin{verbatim}
+ \documentclass[12pt]{article}
+ \usepackage{CJK}
+
+ \begin{document}
+ \begin{CJK*}{Bg5}{fs}
+ \CJKtilde
+
+ \section{Ĥ@`}
+ \label{sec:section-1}
+ Ѧҹ~\ref{fig:apply-pk-and-ps-fonts}C
+
+ \begin{figure}[htbp]
+ \begin{center}
+ \leavevmode
+ \includegraphics{pkpsapps.eps}
+ \caption{|pk|~rP~|.pfb|~rι}
+ \label{fig:apply-pk-and-ps-fonts}
+ \end{center}
+ \end{figure}
+
+ \bibliographystyle{plain}
+ \bibliography{mybib}
+
+ \newpage %ϦTXC
+ \end{CJK*}
+ \end{document}
+ \end{verbatim}
+ \end{minipage}
+\end{lrbox}
+
+\begin{figure}[htbp]
+ \begin{center}
+ \leavevmode
+ \fbox{\usebox{\myex}}
+ \caption{ڪ~CJK~dҡC}
+ \label{fig:my-example}
+ \end{center}
+\end{figure}
+
+\subsection{H~\LaTeXe\ CJK~sƪ}
+\label{sec:clatexing}
+
+NP@몺~\LaTeX~ɤ@ˡAH~|bg5latex|~N~|latex|ApG
+\begin{verbatim}
+ % bg5latex mylatex.tex
+ Ϊ
+ % bg5latex mylatex
+\end{verbatim}
+
+\subsection{w}
+\label{sec:preview}
+
+jpUڥH~|xdvi|~w~|.dvi|~ɡ]b~Emacs~~Mule~Yϥ~
+AUC\TeX~oMnAXXaAרOuw峹@ϰA
+Hɥi˵Ӱϰ쪺ƪΡ^C
+
+t~Aڤ]|pΤPw{Cpb~Linux~~virtual terminal
+mode~ڥH~|dvisvga|~wCbʥF~|pk|~rΨS~|xdvi|~ּƱΤUA
+ڤ]~|ghostview|~wg~|dvips|~ͪ~|.ps|~ɮסC
+
+\subsection{CL}
+\label{sec:printing}
+
+ͤΦCL~|PostScript|~ɮ׬Oڳ̱`Ϊ覡A]bڪ峹AϧάO
+i֪ơAӥ̴XGO~|.eps|~榡]~|xfig|BAutoCADB|GnuPlot|B
+|xv|BKҲ͡^CҲͪ~|.ps|~ɡAΪ̬O~PostScript~LA
+̳zL~ Ghostscript~ഫAӿX~Laserjet~~Deskjet~ƩΨI}L
+hC
+
+@ӨAH~|dvips cjk-doc|~|ͥiCLXAAH~|lpr cjk-doc.ps|~
+LOCLYiCzY@ͤ~PK~rABzOϥ~PostScript~
+LAS\ntutocjkw~PS~rA]w~ Ghostscript~]ww˦no
+rAӥBzLͰʵ{H~|gs|~D]LinuxtΤWhƳH覡]w^A
+hAiHH~|lpr|~oөROCL~ |.ps|~ɡ]ƦܬO~|.dvi|~ɡ^CpG
+\begin{verbatim}
+ % dvips -P CJK cjk-doc
+ % lpr cjk-doc.ps
+\end{verbatim}
+
+H~|dvihp|~ͦCLɤ]O覡@AX榡~PCLAάO~HP~L
+C]LkBz峹]t~PostScript~ɮסAҥHڨä`ΡC
+
+nͥi⪺CLɮ׮榡]self-contained PostScript file^Aڷ|H~
+Post\-Script~]|.ps|^榡DCrӷ@Oѹw۰ʲͪ~PK~
+r@~ |dvips|~JrC覡iHUCROG
+\begin{verbatim}
+ % dvips cjk_doc -o cjk-doc-contains-pk-fonts.ps
+\end{verbatim}
+~|psfonts.map|~ݤt\ntutocjkҲͪr]CJK 4.0 HW
+ҧt\ntutocjkAw]Ρ^A|dvips|~~|Τ~PK~rAΦpG
+~PK~rsbܡA|۰ʲͤCbϥ~|xdvi|~άnwɡA]H~
+PK~rDAbr䤣쪺pUA|۰ʲͤC
+
+t~hOO~|dvips|~Τ~PS~rAb\ntutocjkw˫AҦ
+~PS~rɷ|sb~|CJK.map|~ɤCYnH覡ͥi⦡~|.ps|~
+ɡAi@BaH~|gs|~~|fontload|~nAN~PS~rJX
+ɮפCYH~|fontload|~ӨAb~UNIX~tΤUAiHUOFG
+\begin{verbatim}
+ % dvips -P CJK -o cjk-doc-no-ps-fonts-contained.ps cjk_doc.dvi
+ % fload cjk-doc-no-ps-fonts-contained.ps > cjk-doc-contains-ps-fonts.ps
+ % lpr cjk-doc-contains-ps-fonts.ps
+\end{verbatim}
+~|cjk-doc-contains-ps-fonts.ps|~~|cjk-doc-contains-ps-fonts.ps|~N
+O㪺~PS~ɮפFA]NOAziH@x䴩CL~PostScript~
+תLε{FC
+
+HWNOڭӤH~CJK~~\LaTeX~tΪ]wAH@NѦۤvw˸gܡS
+
+
+\section{DѨM}
+\label{sec:trouble-shooting}
+
+bϥιw{ɭԡAi|J쪺DPѨM覡pUG
+\begin{itemize}
+\item PK~r䤣C
+\item |۰ʲ~PK~rC
+\end{itemize}
+
+[\hDPѨM覡|zǤJ]
+
+
+%\section{L}
+%\label{sec:misc}
+
+
+\section{P}
+\label{sec:acknowledgements}
+
+\begin{itemize}
+\item ohHA^m\hߤOA\hKBe״I{C
+\item hϥΪ̡Aϥγoǵ{AϥĻWhӡC
+\item oدSOۤvTAͥͤa`ۡA~ɤFڭ̪ͬhC
+\end{itemize}
+
+
+%\section{@}
+%\label{sec:the-author}
+
+%gt (Chun-Yu Lee)
+%d791013@ce.ntu.edu.tw \\
+%chunylee@ms1.hinet.net
+
+
+%\bibliography{READMEb5}
+%\bibliographystyle{plain}
+
+
+\begin{thebibliography}{1}
+
+\bibitem{latex-companion:1993}
+Michel Goossens, Frank Mittelbach, and Alexander Samarin.
+\newblock {\em The \LaTeX Companion}.
+\newblock Addison Wesley, 1993.
+
+\bibitem{tex-faq:1.9c}
+Bobby Bodenheimer.
+\newblock The new \TeX\ FAQ --- your 100 questions answered:
+ Version 1.9c, date 1994/12/06.
+\newblock 1994.
+
+\bibitem{latex2nd}
+Leslie Lamport.
+\newblock {\em \LaTeX\ --- A Document Preparation System --- User's
+ Guide and Reference Manual}.
+\newblock Addison Wesley, 2 edition, 1994.
+
+\end{thebibliography}
+
+
+\appendix
+\section{W}
+\label{sec:terms}
+
+UCW夤ҨϥΡAçUCNG
+
+\begin{description}
+\item[PK~r:] PK fontsC@YLI}r榡CsxϥΦb~
+ TeX/\LaTeX~ݭnXI}raCpwΦCLXCb~CJK
+ PK~rC
+\item[PS~r:] PostScript Type 1 fontsCPostScript~rƺثA
+ N~Type 1~rC䦳خ榡GPFA (Printer Font Ascii)~~PFB
+ (Printer Font Binary)Cb~CJK PS~rC
+\item[DBu@:] A host computer, work station, etcCxYO
+ 귽ΪAȪqCp~FTP~C
+\item[CTAN:] Comprehensive \TeX\ Archive NetworkCXGҦ
+ ~TeX/\LaTeX~tΤΤ~FTP~Cثew~CTAN~ԦC~
+ \ref{sec:ctan-mirrors}C
+\item[IFCSS:] The CCIC (Chinese Community Information Center) of IFCSS
+ (Independent Federation of Chinese Students and Scholars)C~
+ \ref{sec:ifcss-mirrors}~OXӦW~ifcss~C
+\item[AFM~ɮ:] Adobe Font MetricsCssXΦrd򵥸ơC
+\item[TFM~ɮ:] \TeX\ Font MetricsC
+\item[|.fd|~ɮ:] ryz~(font description files)COY@
+ ؤXC
+\item[GS~~GhostScript:] `Ϊ~PostScript~yĶ]interpreter^
+ @C
+\item[|afm2tfm|:] N~AFM~ɮ׮榡ഫ~TFM~ɮ׮榡{C
+\item[@զr:] pGOϥYLrAYOϥ~pmC~}YrڡA
+ @~55~ӤlrɡCҦpG|b5ka01.pfb|B|b5ka02.pfb|BKB
+ |b5ka55.pfb|C
+\item[\textsf{NFSS}:] New Font Selection SchemeC~Frank Mittelbach~
+ M~Rainer Sch\"opf~ҴXrܨtΡC
+\end{description}
+
+\section{ɮרo}
+\label{sec:getting-files}
+
+\begin{description}
+\item[\LaTeXe~ҡG] @ҦMtΨѨϥΪ²wˡApb~DOS~
+ U~em\TeXFb~Linux~U~N\TeXB~te\TeX~FUNIX~Whp~web2c~
+ Codzb~CTAN~ؿUCĴp~em\TeX~b~
+ |systems/|\linebreak[1]|msdos/|\linebreak[1]|emtex|~FN\TeX~bSSF
+ web2c~bSSC\LaTeXe~tΥhb~CTANG
+ |macros/|\linebreak[1]|latex/|\linebreak[1]|base|~UC
+\item[\LaTeXe~CJK~tΡG] CTAN: |language/chinese/CJK|~~IFCSS host:
+ |tex/|\linebreak[1]|CJK.X_X.|\linebreak[1]|tar.gz|C
+\item[NTU TrueType~rG] IFCSS host: |fonts/big5/ms-win|CNѡB
+ B駺鵥]Υ^~ARJ~ɨ^AѦһPoǦrbP@ؿ
+ ɡ]ΰѦҪb\ntutocjk~|README|~ɡ^AN٭즨ӧO~TTF~
+ rC
+\item[\textsf{ntu2cjk, ttf2pk}:] r͵{C]tb~\LaTeXe\ CJK~
+ tΡC
+\item[GhostScript:] CTAN:
+ |support/|\linebreak[1]|ghostscript/|\linebreak[1]|aladdin|~~
+ |support/|\linebreak[1]|ghostscript/|\linebreak[1]|gnu|C
+\item[|dvips|:] CTAN host: UNIX~b~|dviware/dvips|FDOS~b~
+ |systems/msdos/|\linebreak[1]|dviware/|\linebreak[1]|dvips/|%
+ \linebreak[1]|dvips558.pc|C
+\item[|afm2tfm|:] ]tb~dvips~tΤC
+\item[|ps2pk|:] CTAN: |fonts/utilities/ps2pk|AΥ]tb@M˪~
+ \TeX/\LaTeX~tΤC
+\item[|gsftopk|:] CTAN: |fonts/utilities/gsftopk|AΥ]tb@M˪~
+ \TeX/\LaTeX~tΤC
+\item[|dvi2|xx:] p~|dvilj|B|dvidm|BKCb~CTAN: |dviware|~ؿUC
+\item[AUC\TeX:] CTAN: |support/auctex|~ؿ~
+ |auctex.tar.gz|\linebreak[1]]~unix~^~|auctex.zip|~]dos^C
+\item[|fontload|:] CTAN: |fonts/utilities/fontload|C
+\item[Mule~JkG] IFCSS: |mule/lisp/quail-b5|C
+\end{description}
+
+
+\section{LnPu}
+\label{sec:other-stuffs}
+
+\subsection{b~Linux~tΤW\bigfivetΤμ׺ݾ{}
+\label{sec:chinese-systems}
+
+\begin{itemize}
+\item chdrv
+\item yact
+\item CXterm
+\item xcin
+\end{itemize}
+
+\subsection{s\ -- Mule}
+\label{sec:mule}
+
+ϥ~Mule~s褤~\LaTeX~󪺤u㪺ϥΪ̡AiNU]w[~
+|$HOME/|\linebreak[1]|.emacs|~ɤG
+\begin{verbatim}
+ ;;; Chinese Big-5 environment
+ (set-primary-environment 'chinese)
+ (set-default-file-coding-system '*big5*)
+ (setq display-coding-system '*big5*)
+ (setq keyboard-coding-system '*big5*)
+ ;; input methods
+ (add-hook 'quail-package-alist '("tsangchi-b5" "quail/tsangchi-b5"))
+ (add-hook 'quail-package-alist '("quick-b5" "quail/quick-b5"))
+ ; the default input method
+ (setq-default quail-current-package
+ (assoc "tsangchi-b5" quail-package-alist))
+\end{verbatim}
+
+^Ji~|C-]|AnܨLJki~|M-s|]|Alt-s|^C
+
+]wJkɥiܦۤvߺDCb~IFCSS Mule~ؿ]ѦҲ~
+\ref{sec:getting-files}~`^@ǤJkA䤤]AG
+\begin{center}
+ \begin{tabular}{ll}\hline
+ ɮ & Jk \\\hline
+ cns-b5-input.tar.gz & t~|tsangchi-b5.el|]ܾe^ \\
+ & |quick-b5.el|]²^Jk \\
+ zozy.el.gz & s` \\
+ cj.el.gz & ܾe \\
+ simplex.el.gz & ² \\
+ punct-b5.el.gz & IŸ \\
+ qj-b5.el.gz & \\
+ etzy.el.gz & ʤѪ` \\
+ boshiamy.el.gz & F \\
+ array30.el.gz & C~30 \\\hline
+ \end{tabular}
+\end{center}
+
+HW`JkCӥؿ]tUCJkG
+\begin{center}
+ \begin{tabular}{ll} \hline
+ ɮ & Jk \\\hline
+ 4corner.el.gz & |X \\
+ ctlaub.el.gz & Bf \\
+ ecdict.el.gz & ^~ \\
+ hs.el.gz & ضH \\
+ hsu.el.gz & \` \\
+ py-b5.el.gz & ~y \\
+ roman.el.gz & ù \\\hline
+ \end{tabular}
+\end{center}
+
+
+n~\LaTeX~ɡAi~|bg5latex|~sĶCiQ~|cjk-enc.el|~o~
+Emacs Lisp~ɡANഫ~|.cjk|~ɡAAH~|latex|~isĶC@kO
+b~|~/.emacs|~ɮפ[JUCƦ]䤤~ |write-cjk-file|~аѦ~
+|cjk-enc.txt|~^G
+\begin{verbatim}
+ (load-library "cjk-enc")
+
+ (defun write-cjk-file ()
+ "Save current buffer and <buffername>.cjk in *cjk-coding*"
+ (interactive)
+ (setq coding file-coding-system)
+ (setq bufname (buffer-file-name))
+ (string-match "\\(.*\\)\\.[^/]*$" bufname)
+ (setq body (substring bufname 0 (match-end 1)))
+ (setq newbufname (concat body ".cjk"))
+ (message "Saving %s and %s" bufname newbufname)
+ (write-file newbufname *cjk-coding*)
+ (write-file bufname coding))
+\end{verbatim}
+KibCn~|latex|~eA~|M-x write-cjk-file|~ROsɡA
+MAH~|latex|~söDɦWPzDɦW@ˡAɦW~|.cjk|~
+ɮסC
+
+\subsection{\TeX/\LaTeX~n\ -- AUC\TeX}
+\label{sec:auctex}
+
+²ޡG
+\begin{enumerate}
+\item Ӳ~\ref{sec:mule}~`覡N~Mule~]wC
+\item ~AUC\TeX~w˫ܦwˡCΫ~AUC\TeX~~default~覡wˡC
+ UCƶiiC
+\item إߤ@~|bg5latex-batch|~ɡAOpUG
+ \begin{verbatim}
+ #! /bin/sh
+ f=`echo $1 | sed -e 's|\(.*\)\.[^/]*$|\1|'`
+ bg5conv < $1 > $f.cjk
+ latex \\nonstopmode\\input{$f.cjk}
+ \end{verbatim}
+\item \label{CJK-C-cC-c}b~|.emacs|~[JG
+ \begin{verbatim}
+ (setq TeX-command-list
+ (append TeX-command-list
+ '(("CLaTeX" "bg5latex-batch %s " TeX-run-LaTeX nil t)
+ ("CLaTeX Interactive" "bg5latex %s " TeX-run-interactive nil t)
+ ("CPrint" "fload %f | lpr" TeX-run-command t nil)
+ )))
+ \end{verbatim}
+ hib~|C-c C-c|~~|C-c C-r|~ɡAbnJ~|LaTeX|~ɾAJ~
+ |CLaTeX|C
+\item b~|.emacs|~[JUCƦAHKzbƪɡ]h
+ ~|C-c C-c CLaTeX|~Aϰ~|C-c C-r CLaTeX|^AY~i~|C-c `|~
+ d~ҦbAåi󥿤C
+ \begin{verbatim}
+ (add-hook 'TeX-translate-location-hook
+ '(lambda ()
+ (if (string-match "\\(.*\\)\.cjk$" file)
+ (setq file
+ (concat
+ (substring file
+ (match-beginning 1)
+ (match-end 1))
+ ".tex")))))
+ \end{verbatim}
+\item Ϊ̱zҼ{~|cjk-enc.el|Ahb~|.emacs|~[JUCƦG
+ \begin{verbatim}
+ (defun TeX-run-CJK-LaTeX (name command file)
+ "Create a process for NAME using COMMAND to format
+ FILE with CJK/LaTeX."
+ (write-cjk-file)
+ (TeX-run-LaTeX name command file))
+
+ (if (not (assoc "CJKLaTeX" TeX-command-list))
+ (setq TeX-command-list
+ (append TeX-command-list
+ '(("CJKLaTeX" "%l '\\nonstopmode\\input{%s.cjk}'"
+ TeX-run-CJK-LaTeX nil t)
+ ))))
+ \end{verbatim}
+ unNWzϥ~|CLaTeX|~ɾA令ϥ~|CJKLaTeX|~YiCdP˥
+ ~|C-c `|~C
+
+ n`NAϥ~|CJKLaTeX|~ɡA󤤽Фnϥ~|\usepackage{CJK}|~
+ ROC
+\end{enumerate}
+
+`NAWzBJuAγ@~CJK \LaTeXe~C
+
+% Not ready yet...
+%pGbz󤤦Ψ~|\include|~oөROAӱzQΨ~AUC\TeX~\A
+%i@pUؿwơG
+
+% ./ ==> hؿAl󤧩mؿC
+% ../ ==> WhؿAm~latex~e~bg5conv~ഫL~|.cjk|~ɡ]]
+% YbWhؿlAhݯSO`NAnϥλPhؿPW
+% ^Ct~]t@~|Makefile|~]Ѧҹ~
+% \ref{fig:makefile-for-multifile-latexing}~Ҥl^A䤺eDnbC
+% ~latex~eAs~|.cjk|~ɡC
+
+% \begin{verbatim}
+% #! /bin/sh
+% make bg5conv
+% cd CJK
+% latex \\nonstopmode\\input{$1}
+% \end{verbatim}
+
+
+% \begin{lrbox}{\myex}
+% \begin{minipage}{.9\textwidth}
+% \footnotesize
+%\begin{verbatim}
+%TEXs = abstract.tex archi.tex codebase.tex conclude.tex details.tex \
+% dsgnbase.tex engtool.tex examples.tex introd.tex kb_lsp.tex \
+% pjfinal.tex prg_gi.tex prg_s2c.tex related.tex represnt.tex \
+% sscdcb.tex sscddb.tex sscdgi.tex sta2con.tex title_pg.tex
+%MISC = Makefile LaTeXsrc
+%RCSs = $(wildcard $(SRCDIR)/*,v)
+
+%SRCDIR = CJK
+
+%.PHONY: check_srcdir bg5conv default
+
+%.DEFAULT: .tex .sty .bib .dvi .ps .lj .toc .lof .lot
+
+%default:
+% @echo "There are the following targets:"
+% @echo " bg5conv : Big5 CJK LaTeX file converted to LaTeX file."
+
+%bg5conv: check_srcdir $(TEXs)
+
+%check_srcdir:
+% @if [ -f LaTeXsrc ]; then \
+% echo "Don't make at the LaTex source directory!"; \
+% echo "Copy the Makefile to upper directory and make there."; \
+% echo "e.g., cp Makefile ..; cd ..; make"; \
+% exit 1; \
+% fi
+% @if [ ! -d $(SRCDIR) ]; then \
+% echo "$(SRCDIR) not found!"; \
+% exit 1; \
+% fi
+
+%$(TEXs): %.tex : $(SRCDIR)/%.tex
+% bg5conv < $< > $@
+%\end{verbatim}
+% \end{minipage}
+% \end{lrbox}
+
+% \begin{figure}[htbp]
+% \begin{center}
+% \leavevmode
+% \framebox[.9\texwidth]{\myex}
+% \caption{Ih~CJK~ɪ~Makefile~dҡC}
+% \label{fig:makefile-for-multifile-latexing}
+% \end{center}
+% \end{figure}
+
+
+
+\section{CTANbUaɮװ}
+\label{sec:ctan-mirrors}
+(`K~CTAN host~W~README.mirrors)
+
+ֺWtAijҦϥ~CTAN~귽͡Aϥηaγ̪~
+CTAN hostC
+
+ثewƻs~CTAN~ɮת~FTP~:
+\begin{verbatim}
+ ftp.fcu.edu.tw (Taiwan) /pub2/tex
+ gate.sinica.edu.tw (Taiwan) /TeX
+ ftp.adfa.oz.au (Australia) /pub/tex/ctan
+ ftp.germany.eu.net (Deutschland) /pub/packages/TeX
+ ftp.uu.net (Virginia, USA) /pub/text-processing/TeX
+ nic.switch.ch (Switzerland) /mirror/tex
+ sunsite.dsi.unimi.it (Italia) /pub/TeX
+ sunsite.snu.ac.kr (Korea) /shortcut/CTAN
+\end{verbatim}
+
+ثewƻs~CTAN~ɮת~FTP~:
+\begin{verbatim}
+ dongpo.math.ncu.edu.tw (Taiwan) /tex-archive
+ ftp.ccu.edu.tw (Taiwan) /pub/tex
+ cis.utovrm.it (Italia) /TeX
+ ctan.unsw.edu.au (NSW, Australia) /tex-archive
+ ftp.center.osaka-u.ac.jp (Japan) /CTAN
+ ftp.cdrom.com (West coast, USA) /pub/tex/ctan
+ ftp.comp.hkbu.edu.hk (Hong Kong) /pub/TeX/CTAN
+ ftp.cs.rmit.edu.au (Australia) /tex-archive
+ ftp.cs.ruu.nl (The Netherlands) /pub/tex-archive
+ ftp.cstug.cz (The Czech Republic) /pub/tex/CTAN
+ ftp.duke.edu (North Carolina, USA) /tex-archive
+ ftp.ee.up.ac.za (South Africa) /tex-archive
+ ftp.funet.fi (Finland) /pub/TeX/CTAN
+ ftp.gwdg.de (Deutschland) /pub/dante
+ ftp.jussieu.fr (France) /pub4/TeX/CTAN
+ ftp.loria.fr (France) /pub/unix/tex/ctan
+ ftp.mpi-sb.mpg.de (Deutschland) /pub/tex/mirror/ftp.dante.de
+ ftp.nada.kth.se (Sweden) /pub/tex/ctan-mirror
+ ftp.rge.com (New York, USA) /pub/tex
+ ftp.riken.go.jp (Japan) /pub/tex-archive
+ ftp.tu-chemnitz.de (Deutschland) /pub/tex
+ ftp.uni-augsburg.de (Deutschland) /tex-archive
+ ftp.uni-bielefeld.de (Deutschland) /pub/tex
+ ftp.unina.it (Italia) /pub/TeX
+ ftp.uni-stuttgart.de (Deutschland) /tex-archive (/pub/tex)
+ ftp.univie.ac.at (\"Osterreich) /packages/tex
+ ftp.u-aizu.ac.jp (Japan) /pub/tex/CTAN
+ ftpserver.nus.sg (Singapore) /pub/zi/TeX
+ kadri.ut.ee (Estonia) /pub/tex
+ src.doc.ic.ac.uk (England) /packages/tex/uk-tex
+ sunsite.icm.edu.pl (Poland) /pub/CTAN
+ sunsite.queensu.ca (Canada) /pub/tex-archive
+ sunsite.unc.edu (North Carolina, USA) /pub/packages/TeX
+ wuarchive.wustl.edu (Missouri, USA) /packages/TeX
+\end{verbatim}
+
+ӥDn~CTAN~D:
+\begin{verbatim}
+ ftp.dante.de (Deutschland)
+ -- anonymous ftp
+ /tex-archive (/pub/tex /pub/archive)
+ -- gopher on node gopher.dante.de
+ -- e-mail via ftpmail@dante.de
+ -- World Wide Web access on www.dante.de
+ -- Administrator: <ftpmaint@dante.de>
+
+ ftp.tex.ac.uk (England)
+ -- anonymous ftp
+ /tex-archive (/pub/tex /pub/archive)
+ -- gopher on node gopher.tex.ac.uk
+ -- NFS mountable from
+ nfs.tex.ac.uk:/public/ctan/tex-archive
+ -- World Wide Web access on www.tex.ac.uk
+ -- Administrator: <ctan-uk@tex.ac.uk>
+\end{verbatim}
+
+
+\section{IFCSS~bUa~FTP~}
+\label{sec:ifcss-mirrors}
+
+Dn~IFCSS~G \verb|ftp.ifcss.org:/pub/software|
+
+L~FTP~:
+\begin{verbatim}
+Taiwan: ftp.edu.tw:/Chinese/ifcss/software [full]
+ ftp.ntu.edu.tw:/Chinese/ifcss/software [full]
+ iiiafs.iii.org.tw:/Chinese/ifcss/software [full]
+CHINA,
+ Beijing: info.bta.net.cn:/pub/software [partial]
+ Guangdong:
+ info.gz.gdpta.net.cn:/pub/mirror/chnsoftware [partial]
+ Shanghai: info.sta.net.cn:/pub/software [partial]
+HONG KONG,: ftp.cuhk.hk:/pub/chinese/ifcss/software [full]
+SINGAPORE,: ftp.technet.sg:/pub/chinese [full]
+USA,
+ California: cnd.org:/pub/software [full]
+ New Mexico: phaiakon.nmsu.edu:/pub/software [full]
+\end{verbatim}
+
+%% start of trailer
+\newpage
+\end{CJK*}
+
+\end{document}
+
+%% Local Variables:
+%% TeX-header-end: "%+ *[Ee]nd[ -]*[oO]f[ -]*[hH]eader"
+%% TeX-trailer-start: "%+ *[Ss]tart[ -]*[oO]f[ -]*[tT]railer"
+%% TeX-command-default: "CLaTeX"
+%% TeX-master: t
+%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/chinese/READMEgb.tex b/Master/texmf-dist/doc/latex/cjk/doc/chinese/READMEgb.tex
new file mode 100644
index 00000000000..3081e2896b0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/chinese/READMEgb.tex
@@ -0,0 +1,92 @@
+% This is the file READMEgb.tex of the CJK package
+% for installing the CJK package for LaTeX 2e (in GB encoding).
+%
+% written by Fude Yao <yao@everest.micro.umass.edu}
+% Version 4.1.3 (20-Jun-1997)
+
+\documentclass[12pt]{report}
+
+\usepackage{CJK}
+
+\begin{document}
+
+\begin{CJK*}{GB}{gbsn}
+\CJKtilde
+
+\chapter*{CJK~װ˵}
+
+~Werner Lemberg~~CJK~İװ˵. ڴ˽ʹõ
+~Alpha-Linux~ƽ̨, ~teTeX-0.4p16~һ汾~\TeX
+
+\begin{enumerate}
+\item
+ ~ftp~ȡʽ~CJK: \\
+ ftp ftp.tex.ac.uk (or ftp.dante.de) \\
+ anonymous \\
+ yao@everest.micro.umass.edu \\
+ bin \\
+ cd tex-archive/language/chinese \\
+ get CJK.tar.gz CJK-4.1.3.src.tar.gz (Ȼ~CJK.tar.gz,
+ Чο~CJK-4.1.3.src/README) \\
+ bye
+\item
+ ѹļѹ\\
+ gzip -d CJK-4.1.3.src.tar.gz \\
+ tar xvf CJK-4.1.3.src.tar \\
+ cd CJK/4$_{-}$1.3
+\item
+ ~doc/teTeX~ȫļ~*.diff~~\$TEXDIR/bin/alpha-linux \\
+ ~patch~޲: patch $<$ MakeTeXPK.diff \\
+ (~special.map.diff~Ӧ~\$TEXMF/fontname~޲) \\
+ ע޲Ƿȫɹ \\
+ (ע\$TEXDIR=/usr/lib/texmf; \$TEXMF=/usr/lib/texmf/texmf)
+\item
+ ~CJK~ȫļ~\$TEXMF/tex/latex/CJK (ýṹ)
+\item
+ ~utils/ttf2pk~ȫļ~\$TEXMF/ttf2pk \\
+ cd \$TEXMF/ttf2pk/src \\
+ make all OS=unix \\
+ ~utils/hbf2gf~ȫļ~\$TEXMF/hbf2gf \\
+ cd \$/TEXMF/hbf2gf \\
+ make all OS=unix
+\item
+ cd utils/Bg5conv (CEFconv, SJISconv) \\
+ compile *conv.c, 磺~gcc cefconv.c -o cefconv \\
+ õĶļͬ~*latex~һ~\$TEXDIR/bin/alpha-linux
+\item
+ ȫִļƵ~\$TEXDIR/bin/alpha-linux~Уϵ \\
+ ln -s \$TEXMF/ttf2pk/ttf2pk \$TEXDIR/bin/alpha-linux
+\item
+ ~\$TEXDIR/texmf.cnf~~\$HBF2GFDIR~~\$TTF2PKDIR \\
+ Ƿȷ
+\item
+ װ~CJK~ֿ, truetype~~hbf~ʽĹ꣬壬ģ \\
+ ~ftp.tex.ac.uk/tex-archive/fonts/CJK~иֿ⣬ȡʽ
+ ȡأעʹöƷʽ
+\item
+ ѹļ \\
+ ֿ~\$TEXMF/fonts/hbf(truetype)/chinese(japanese, korean) \\
+ ~hbf~ֿ⣬~*.cfg~~\$TEXMF/hbf2gf \\
+ ~truetype~ֿ⣬\$TEXMF/ttf2pk/ttf2pk.cfg~Ƿиֿ
+
+\item
+ ļǷ~GB.tex \\
+ GB.tex~õʲôֿ⣺$\backslash$begin\{CJK*\}\{GB\}\{so\} \\
+ \$TEXMF/tex/latex/CJK~~c10so.fd~ֿ漰Щ֣ \\
+ \$TEXMF/fontname/special.map~Ƿиֿ֣ \\
+ \$TEXDIR/texmf.cnf~~\$HBF2GFDIR~~\$TTF2PKDIR~ȷ \\
+ ~hbf~ֿ⣬\$TEXMF/hbf2gf~иֿ~cfg~ļ \\
+ ~cfg~ļ·Ƿȷ \\
+ ~truetype~ֿ⣬\$TEXMF/ttf2p/ttf2pk.cfg~иֿ \\
+ ·ȷ
+\item
+ ~texhash (ÿθĶ֮󣬶Ҫ~texhash)
+\item
+ latex examples/GB.tex, Ƿ~doc/~Ŀ¼кܶļ
+ ӦϸĶ
+\end{enumerate}
+
+\end{CJK*}
+\end{document}
+
+\EOF
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/chinese/emTeXb5.txt b/Master/texmf-dist/doc/latex/cjk/doc/chinese/emTeXb5.txt
new file mode 100644
index 00000000000..b37c80aff36
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/chinese/emTeXb5.txt
@@ -0,0 +1,357 @@
+From c300711@ms5.hinet.net Fri Feb 07 02:13:02 1997
+Newsgroups: tw.bbs.comp.tex
+Subject: emtex+cjk410(ttf2pk) on Msdos wˬ.
+From: KUO Yi-Liang <c300711@ms5.hinet.net>
+Date: Thu, 06 Feb 1997 18:13:02 GMT
+
+Hemtex\doc\english\quick.eng¦:
+չϦwemtex+cjk4.1.0(ttf2pk) on MSDOS
+--------
+--------
+b mirror CTAN ftp
+Ҧp dongpo.math.ncu.edu.tw: /tex-archive/systems/msdos/emtex/U
+*.zip,
+-rw-rw-r-- 1 mattes server 160090 Aug 7 1995 bibtex4b.zip
+-rw-rw-r-- 1 mattes server 1148514 Apr 10 16:22 dvid16f1.zip
+-rw-rw-r-- 1 mattes server 824290 Apr 10 16:22 dvid16f2.zip
+-rw-rw-r-- 1 mattes server 94959 Aug 7 1995 dvisp10b.zip
+-rw-rw-r-- 1 mattes server 180206 May 24 14:17 emxrsx.zip
+-rw-rw-r-- 1 mattes server 127810 Sep 2 13:24 first.zip
+-rw-rw-r-- 1 mattes server 651946 Jun 26 1995 fontams.zip
+-rw-rw-r-- 1 mattes server 411129 Jun 26 1995 fontcm.zip
+-rw-rw-r-- 1 mattes server 1031835 Sep 2 13:24 fontdc.zip
+-rw-rw-r-- 1 mattes server 7080 Jun 26 1995 fontemsy.zip
+-rw-rw-r-- 1 mattes server 47495 Jun 26 1995 fontltx.zip
+-rw-rw-r-- 1 mattes server 110991 May 4 21:05 german.zip
+-rw-rw-r-- 1 mattes server 930861 Jun 21 14:59 l2base.zip
+-rw-rw-r-- 1 mattes server 409888 Jun 21 14:59 l2input.zip
+-rw-rw-r-- 1 mattes server 87336 Jun 26 1995 l2kurz.zip
+-rw-rw-r-- 1 mattes server 209194 Jun 21 14:59 l2tools.zip
+-rw-rw-r-- 1 mattes server 347068 Jun 26 1995 latex209.zip
+-rw-rw-r-- 1 mattes server 81115 Jun 26 1995 lkurz.zip
+-rw-rw-r-- 1 mattes server 83493 Jun 26 1995 makeindx.zip
+-rw-rw-r-- 1 mattes server 990552 Jun 21 14:59 mf4b.zip
+-rw-rw-r-- 1 mattes server 166052 Sep 19 1995 mfjob12c.zip
+-rw-rw-r-- 1 mattes server 227054 Jun 26 1995 mfware.zip
+-rw-rw-r-- 1 mattes server 39887 Jun 26 1995 pictex.zip
+-rw-rw-r-- 1 mattes server 113473 Jun 26 1995 pkedit.zip
+-rw-rw-r-- 1 mattes server 38705 Jun 26 1995 srcmkidx.zip
+-rw-rw-r-- 1 mattes server 88251 Jun 26 1995 srctcad.zip
+-rw-rw-r-- 1 mattes server 1173697 Jun 21 14:59 tex4b.zip
+-rw-rw-r-- 1 mattes server 131010 Jun 26 1995 texcad.zip
+-rw-rw-r-- 1 mattes server 260671 Sep 11 1995 texware.zip
+-rw-rw-r-- 1 mattes server 236301 Jun 26 1995 unz512.exe
+-rw-rw-r-- 1 mattes server 236134 Jun 26 1995 unz512x3.exe
+-rw-rw-r-- 1 mattes server 124738 Aug 23 1995 web.zip
+LiHoX(HwLaTeX2eӻ)
+ first.zip......@ǻ
+ emxrsx.zip.....dos extenderF(ݭӤHq)
+ mfjob12c.zip...N.mf(^rsource)ഫ.pkһݭn
+ dvid16f1.zip...Udvi driver-partI
+ dvid16f2.zip...Udvi driver-partII
+ tex4b.zip......texD
+ mf4b.zip.......o...ڤ]D, sorry
+ fontcm.zip.....cmtCr.mf
+ fontltx.zip....latexһݪr.mf
+ l2input.zip....latexһݪtexinput
+ l2tools.zip....B~texinput
+
+ɥR@I:pkunzipoӸ{SHӤha,pGSܥhunzip^!
+-rw-rw-r-- 1 mattes server 236301 Jun 26 1995 unz512.exe
+-rw-rw-r-- 1 mattes server 236134 Jun 26 1995 unz512x3.exe
+ADOS ܲŸU(oOquick.eng ҭz,ӤHڨSչL)
+ unz512x3 unzip386.exe
+ ren unzip386.exe unzip.exe
+
+٦ݧAΨxprinter
+N쨺@Ӧr(]iH,ӤHڴNOۤvسy_Ӫ)
+ bj_base.fli Base fonts for the Canon BubbleJet (360 DPI)
+ dj_base.fli Base fonts for the HP DeskJet (300 DPI)
+ fax_base.fli Base fonts for Fax (204x196 DPI)
+ fx_base.fli Base fonts for 9-pin printers (240x216 DPI)
+ ito_base.fli Base fonts for the C.ITOH 8510A (160x144 DPI)
+ ljh_base.fli Base fonts for the HP LaserJet 4 (600 DPI)
+ lj_base.fli Base fonts for the HP LaserJet (300 DPI)
+ p6h_base.fli Base fonts for 24-pin printers (360 DPI)
+ p6l_base.fli Base fonts for 24-pin printers (180 DPI)
+ p6m_base.fli Base fonts for 24-pin printers (360x180 DPI)
+ qj_base.fli Base fonts for the HP QuietJet (192 DPI)
+ sty_base.fli Base fonts for the EPSON Stylus 800 (360 DPI)
+
+Ai./dvips(../dviware/dvips/dvips558.pc) U
+-rw-rw-r-- 1 ftpmaint server 27831 Nov 6 1995 dvips.doc
+-rw-rw-r-- 1 ftpmaint server 182491 Nov 6 1995 dvipsfnt.zip
+-rw-rw-r-- 1 ftpmaint server 421777 Nov 6 1995 dvipsini.zip
+-rw-rw-r-- 1 ftpmaint server 173767 Nov 6 1995 dvipssrc.zip
+..source,ӤΧ
+-----------
+B]w
+-----------
+HӤHڦw˦bD:Ь,өҦ.zip\bd:\emtex.zip\U
+ d:
+ cd d:\
+ pkunzip -d
+d:\emtex.zip\*.zip......p|Yeqؿm\n
+
+÷quick.engijNd:\emtex\binPd:\emx\bin[Jpath
+é c:\autoexec.bat [J:
+ set emtexdir=d:\emtex
+ set dvidrvfonts=d:\texfonts
+ set mfjobopt=/3
+ set tmp=c:\temp
+
+bc:\config.sys files=xx䤤xxݤj20
+٦Nconfig.sys`BREAK=ON'R
+M᭫} autoexec.bat ]wspath
+
+ɥR@I:ӤHڨëDpWҭz,ӬONemtex\bin\set_tex.bat [HXR,
+ NWpath,emtexdir,dvidrvfont,mfjobopt,tmp,...oܼ
+ [bset_tex.batF,ϥy٦t~@ܼƭn].
+-------------------------
+سypkr
+-------------------------
+HUqinstall.eng `
+ pGAMڤ@˨SWxxx_base.fli,ЧAڳo˧@
+ \emtex\mfjob\modes.mfj
+ N 'def target=[............]'令Am.pktexfontsؿ
+ Ҧp ڪ def target=[d:\texfonts];
+ ]wgNfontcm.zip P fontltx.zip i},
+ hbdos ܲŸU
+ mfjob base m=MODE
+ fli_base PREFIX RES c:\texfonts
+where MODE, PREFIX, and RES depend on the font set:
+
+MODE | PREFIX | RES | Font library | Description
+-----+--------+-----+--------------+-------------------------
+bj | bj | 360 | bj_base.fli | Canon BubbleJet (360 DPI)
+dj | dj | 300 | dj_base.fli | HP DeskJet (300 DPI)
+FAX | fax | 204 | fax_base.fli | Fax (204x196 DPI)
+fx | fx | 240 | fx_base.fli | 9-pin printers (240x216 DPI)
+ito | ito | 160 | ito_base.fli | C.ITOH 8510A (160x144 DPI)
+lj | lj | 300 | lj_base.fli | HP LaserJet (300 DPI)
+ljh | ljh | 600 | ljh_base.fli | HP LaserJet 4 (600 DPI)
+lqh | p6h | 360 | p6h_base.fli | 24-pin printers (360 DPI)
+lql | p6l | 180 | p6l_base.fli | 24-pin printers (180 DPI)
+lqm | p6m | 360 | p6m_base.fli | 24-pin printers (360x180 DPI)
+qj | qj | 192 | qj_base.fli | HP QuietJet (192 DPI)
+sty | sty | 360 | sty_base.fli | EPSON Stylus 800 (360 DPI)
+
+To let MFjob call mf386, use the /3 option. It is recommended to set
+this option in the MFJOBOPT environment variable:
+
+ set mfjobopt=/3
+
+ ҦpڥΪ epson stylus 200 h
+ mfjob base m=sty
+ fli_base sty 360 d:\texfonts.........(UoڨS@L:()
+
+M p ` quick.eng q,step by step
+---------------------------------------------------------------------
+6. Creating format files
+---------------------------------------------------------------------
+
+Type the following commands to create format files:
+
+ cd \emtex\btexfmts
+ makefmt 386 plain US <--- if you need PLAIN TeX
+ makefmt 386 latex2e US 8bit -b \emtex\bin\latex2e <---ͤ@
+latex2e.bat
+
+---------------------------------------------------------------------
+7. Creating base files
+---------------------------------------------------------------------
+
+Type the following commands to create the PLAIN base file:
+
+ cd \emtex\bmfbases
+ makebas 386 plain
+
+---------------------------------------------------------------------
+8. Testing the installation
+---------------------------------------------------------------------
+
+Type the following commands to typeset a sample document:
+
+ md \test
+ cd \test
+ latex2e sample2e <----emtex\bin\latex2e.batiiH??
+
+8.1. Viewing the sample output under DOS
+----------------------------------------
+
+Type
+
+ v @XX sample2e
+---->Hڪepson stylus 200 ,hOJ "v @sty sample2e"
+.....M@}DMժT,jPWOʤFǦr,nn{y@z?
+
+The following message will be displayed:
+
+ Warning 1209: do you want to call MFjob to generate 1 missing
+font now?
+ Type Y, N, or ?:
+
+Reply `y'. If you have not installed fonts, computing the fonts for
+the sample will take a while.
+
+When the page shows up (white background), you can scale the output
+by
+typing `-'. To quit, type `q'.
+
+^'y'ӥiHݨF something output on screen
+iHzoom in/zoom out '+' / '-'
+----------------------------------------------------
+CJK 410-----ΥH]wttf2pk,tntu2cjk
+----------------------------------------------------
+archie CJK-4.1.0.bin.tar.gz
+ ç^ CJK-4.1.0.rest.tar.gz
+ CJK-4.1.0.src.tar.gz--------?
+ɥR@I:ڬOqUoӦa,NӾ𪬤lؿftp^Ӫ,modemC,n:(
+ dongpo.math.ncu.edu.tw:/tex-archive/language/chinese/CJK/4_1.0
+ MݨCJK/4_1.0/readmeҼgۦCJK-4.1.0.src.tar.gzoɮ
+ Ooarchie:(
+ɥRGI:ϥΦbmsdosUϥcjkݭn4dos/ndos,pGSЦۦ]k.
+ 䤤4dos/ndos OROĶ,Nmsdoscommand.comΪ
+------------------------
+Ѷ}
+------------------------
+ Ѷ}{ǤjPWO:
+ gzip386 -d xxx.tgz (xxx.gz) o xxx.tar(xxx.)
+ tar -xvf xxx.tar ( xxx.)
+ (ps:gzip386 ,|Nɮ׻\(rename?);
+ ....Parj,pkunzipӤ@;pGȾާ@~,copy@_)
+ MNTcjk-4.1.0.bin.tar.gz i}
+ ܦ@Ӿ𪬤lؿcjk/4_1.0/.................?
+ɥR@I:
+ oɮ׬O.tar.gz,Ѷ}̻ݭndos gzipPtar
+ ڬObjX[CDW˨쪺,nݧںW̦,sorry!
+---------------------------------
+sɮפtm
+--------------------------------
+HUOڪtm,uOiH,ëD̨γ]w
+bin/U Ҧexe,bat,btmhemtex/bin/
+Ҧp
+BG5CONV.EXE
+BG5LATEX.BAT
+F_NAME.BAT
+INSTFONT.BTM
+MAKETEXP.BTM
+MAKETTFP.BTM
+TTF2PK.EXE
+util/f_name.bat ]hemtex/bin
+texinput Ӥlؿ hemtex/texinput/U çWemtex/texinput/cjk
+texinputs/bg5 Ӥlؿ hemtex/texinput/bg5
+----------------
+ק@ɮ׳]w
+----------------
+---------------------------------------
+emtex/texinput/bg5/ttf2pk/ttf2pk.cfg:
+ ntukai: -e Big5 $TEXMF/fonts/truetype/chinese/ntu_kai.ttf
+ ------ -------- -----------------------------------------
+ ^ ^ ^
+ | | |__AΪ.ttfɦW(t|)
+ | | n$texmf,c:\cwin31\system\....ttf
+ | |__sXA?
+ |__rΦW,̦nnWLӦr
+
+[JƦArɪԭz,Hurw:
+avkv: -e Big5 c:/cwin\cttf/avkv.ttf
+avbkv: -e Big5 c:/cwin/cttf/avbkv.ttf
+avmv: -e Big5 c:/cwin/cttf/avmmv.ttf
+avbmv: -e Big5 c:/cwin/cttf/avbmv.ttf
+-------------------------------------------
+
+emtex/texinput/bg5/c00kai.fd:
+ \DeclareFontShape{C00}{kai}{m}{n}{<-> CJK * avkv}{}
+ ^^^^
+ \DeclareFontShape{C00}{kai}{bx}{n}{<-> CJKb * avbkv}{\CJKbold}
+άO AݭnβʩN: ^^^^^
+emtex/texinput/bg5/c00ming.fd
+ \DeclareFontShape{C00}{ming}{m}{n}{<-> CJK * avmv}{}
+ ^^^^
+ \DeclareFontShape{C00}{ming}{bx}{n}{<-> CJKb * avbmv}{\CJKbold}
+ ^^^^^
+b^^^^BNPttf2pk.cfgҥ[JX۹,HKڪTrueTypeFont
+--------------------------------------------
+
+emtex/data/dvipslؿU[JAһݪ.cfg
+
+ Hڪepson stylus 200ҫKO@sty.cfg
+ O̾dj.cfg ðѦ../sty.cnf P ../dj.cnf
+ ۤvTX@sty.cfg,(Ӥ~)
+ 䤤 @bdj.cfgO
+ P $(DVIDRVFONTS)\pixel.dj\%ddpi\%f.%p;
+ 令
+ P
+$(DVIDRVFONTS)\pixel.sty\%ddpi\%f.%p;$(DVIDRVFONTS)\pixel.cjk\%ddpi\%
+f.%p
+
+ NjO|bd:\texfont\pixel.sty\???dpi\*.pk
+ Pd:\texfont\pixel.cjk\???dpi\*.pk һݪpkr
+
+ éautoexec.bat άO emtex\bin\set_tex.bat
+ ]w SET PRINTER=STY dvips16 dvips32 ѦҨϥ
+ ]w SET DVIPS_STDERR dvips N stderr sɦVX
+ ]w SET MAKETEXPK=MAKETEXP %%N %%D %%B %%M dvipscall
+MakeTexPK?
+ SET EMXOPT=-P .........emxΪ, I don't know
+ SET GS_LIB=.............]wAghostscriptҦb
+ SET DVIDRVGRAPH=.........]w......I don't know
+-----------
+BTMɪק
+-----------
+.btmO4dos/ndosMΪ妸.
+
+bѩCJK410packagewbtmɤXڥثeϥΤ4dos/ndos,
+ OFnjO"VO"ç@q,zj𤣷|ڨV,
+-----------------
+Instfont w˦r
+-----------------
+J Instfont xxx -e enc res [res2]
+䤤xxx rW٦pntukai,avkv,avbkv,...
+ -e enc p -e BIg5
+ res p 360
+ڪepson stylus 200hOJ:
+ instfont avkv -e Big5 360
+M|ئn55Ӧr
+--------
+
+--------
+b""cjk/4_1.0/example/Ubig5.tex
+ iHJ
+ bg5latex big5.tex
+ Nbig5.tex sĶ big5.dvi,MJ
+ dvips16 big5
+ |ܤ@ǰT,OʤF@Ǧr(.pk?),
+ n{bسy,""NiHobig5.ps,iHGhostScriptӬ
+ ]iH v @xx big5 qùWݨoutputs
+t~bcjk/4_1.0/doc/chinese/big5/U@readmeb5.tex]iHΨӴ
+ Onwl2tools.zip:
+ pkunzip -d l2tools.zip N|ɮ׸Ѧb
+emtex\dist....\tool\.........U
+ Aemtex\dist..\tool\...U J:
+ latex2e xxxx.ins(NOӰߤ@.ins)
+ N⤵ѦboؿUsͪɥhemtex\texinput\latex2e\
+ pGAwŶ,{bӴNiHemtex\dist..\tool\...F
+ w˦nFNiH
+ bg5latex readme.tex
+ M٬OͫܦhĵiT,iO٥iHreadmeb5.dvi
+ ٬Odvips16 dvips32 readmeb5.ps
+ P v @xx readmeb5 ݿX
+---------
+
+---------
+@BڦbwCJKɭ,J@dz·,iO4dos/ndosҮt,
+ ǥ\Ψƨå,ҥHwbtmɦhBק,γƸ?
+ pz]DJ·,N......!-R
+GBڪdvips16 bBzreadmeb5.dviɥX{O餣T,
+ dvips32SLk۰ʩIsMakeTexPk Ӳfonts.btm,
+ ҥHunۤvʤgF@fontss.btm ӤR%dvips_stderr%X,
+ AIsMakeTexPK Ӳfonts.btm,h@|:(
+TBoëD@wˤ@伶g,ӬOƫAz,i঳ǶئҲ|,
+ ܦiLkӵ STEP by STEP
+i,ӥBڲĤ@goتgpost(?)
+ pBЫ!-R,
+ Thank you!
+
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/chinese/teTeXb5.txt b/Master/texmf-dist/doc/latex/cjk/doc/chinese/teTeXb5.txt
new file mode 100644
index 00000000000..ee28bc35646
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/chinese/teTeXb5.txt
@@ -0,0 +1,327 @@
+
+崣Ѥ@²檺dҡApN CJK-4_2.0 w˦b tetex-0.9, kpathsea-3.2
+ҤUCѩ 4_2.0 HA CJK NA]t ttf2pk u{A ttf2pk
+]w FreeType package C]YQnϥ TTF rഫ CJK r
+ܡA٭nt~ FreeType package ^ӦwˡCչϱNӨBJ@ӾzA
+HKjaѦҡC
+
+(PS. P CJK @ Werner LEMBERG <wl@gnu.org> 糧Ұ comment :-))
+
+
+A. һݪ package:
+===================
+
+1. CJK-4_2.0:
+ ftp://ftp1.sinica.edu.tw/pub2/tex/languages/chinese/CJK
+
+2. FreeType:
+ ftp://ftp.freetype.org/pub/freetype/devel/freetype-current.tar.gz
+ ftp://apollo.ce.ntu.edu.tw/pub/freetype
+
+
+B. w˸|:
+=============
+
+ѩڪ tetex-0.9 OH Debian Linux 2.0 distribution ӨӪAҦb
+D|O /usr, Ӳ{bn[ CJK 䴩AڥN CJK P ttf2pk
+iaw˦b /usr/local UAHKP Debian Ҫ distribution
+ϮC]AګKһݪw˸|wƦpU:
+
+ : BINLOCAL=/usr/local/bin
+ CJK P ttf2pk ]w: TEXMFLOCAL=/usr/local/lib/texmf
+
+PɧڭٻݭntX (ק) TEXMFCNF=/etc/texmf/texmf.cnf ]w
+wɮ, ϱo latex P ttf2pk bB@L{ҦһݪɮסC
+
+PS. 1. $TEXMFCNF O tetex Uظ|]wɡAɦW texmf.cnf,
+ mi̤P distribution ӦP: ib /etc/ UA]ib
+ /etc/texmf/ UC
+
+ 2. $TEXMFLOCAL ȬO $TEXMFCNF ]wөwAЦۦѦұztΤ
+ ]wC
+
+ 3. bڪtΤA $TEXMFCNF @Oo˪:
+
+ TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
+
+ NqOAZOϥ $TEXMF |}Y̡AhtΦbjMɷ|۰ʴM
+ $HOMETEXMF, $TEXMFLOCAL, $TEXMFMAIN ؿU|C䤤:
+
+ HOMETEXMF = $HOME/texmf % ϥΪ̦ۤv tex ؿm
+ TEXMFMAIN = /usr/lib/texmf % tetex Dؿ
+
+ 4. latex/xdvi/dvips/ttf2pk {bB@L{AҲͪ tfm P pk r
+ ɡA| $VARTEXFONTS UCھ $TEXMFCNF w]AȬ
+
+ VARTEXFONTS = /var/spool/texmf
+
+ 5. r|W١AiHѦ CJK-4_2.0..../doc/TDS.txt ijC
+
+
+C. w˨BJ:
+=============
+
+1. TTF rڥ moe_kai.ttf, b $TEXMFLOCAL/fonts/truetype UC
+ (PS. $TEXMFCNF w]: TTFONTS = .:$TEXMF/fonts/truetype//)
+
+2. N CJK-4_2.0/.../texinput/ ӫ $TEXMFLOCAL/tex/CJKC
+ (PS. $TEXMFCNF w]:
+ TEXINPUTS.latex2e = .:$TEXMF/tex/{latex,generic,latex209,}//
+ TEXINPUTS.latex = .:$TEXMF/tex/{latex,generic,latex209,}//)
+
+3. ק /usr/lib/texmf/tex/latex/CJK/Bg5/c00kai.fd, Owq CJK kai
+ ҥΪrAbڭ̱Nϥ moe_kai rCбN
+
+\DeclareFontShape{C00}{kai}{m}{n}{<-> CJK * b5ka12}{}
+\DeclareFontShape{C00}{kai}{bx}{n}{<-> CJKb * b5ka12}{\CJKbold}
+
+ 令
+
+\DeclareFontShape{C00}{kai}{m}{n}{<-> CJK * moekai}{}
+\DeclareFontShape{C00}{kai}{bx}{n}{<-> CJKb * moekai}{\CJKbold}
+
+ ѩثe FreeType - ttf2pk |䴩Nr 90 סAGbڭ
+ hק c00kair.fd ɡC
+
+ (PS. Ъ`NAbҨϥΪrWоqn "_" rAHKyD)
+
+4. ק $TEXMFMAIN/fontnames/special.map, [J
+
+moekai big5 moekai
+
+ qNOA CJK һݪ .tfm, .pk rN|b:
+
+ moekai*.tfm ===> $VARTEXFONTS/tfm/big5/moekai/
+ moekai*pk ===> $VARTEXFONTS/pk/big5/moekai/
+
+ UC
+
+5. Compile @U CJK-4_2.0/utils/Bg5conv/bg5conv.c, ñN $BINLOCAL
+ UCPɤ]N bg5latex ]LhC
+
+6. w FreeType lib CШ FreeType ؿUA:
+
+ ./configure --prefix=/usr/local --with-locale-dir=/usr/share/locale
+ make
+ make install
+
+7. w ttf2pk CШ freetype/contrib/ttf2pk UA:
+
+ ./configure --prefix=/usr/local --with-kpathsea-dir=/usr
+ make
+ make install
+
+ b]ڪtΤ kpathsea lib, Ob /usr UA]ڰFo˪
+ ]wCYztΤS kpathsea lib, hn] --with-kpathsea-dirC
+ ijzϥ kpathsea lib, ]o˪ ttf2pk package iHܧaP
+ tetex tξXb@_C
+
+ (PS. Ъ`NAھ Werner LEMBERG comment, o˪kibY
+ pU|ġC̤@몺kAON ttf2pk ɦw˦bPL
+ tetex ɬۦPؿUAbWzҤlY /usr/bin CPɡA
+ b configure --prefix ]ӳ] /usr ~CYzo{ΤWz
+ 覡Lk work ɡAбzյ۱N ttf2pk w˦bP tetex
+ w˦b@_C~Aϥ symbolic link N /usr/local/bin/ttf2pk
+ link /usr/bin/ttf2pk i]S)
+
+8. {bڱN ttf2pk ɩ $TEXMFLOCAL/ttf2pk U:
+
+ mkdir $TEXMFLOCAL/ttf2pk
+ cp freetype/contrib/ttf2pk/data/* $TEXMFLOCAL/ttf2pk
+ ln -s $TEXMFLOCAL/ttf2pk $TEXMFLOCAL/ttf2tfm
+
+ Mק $TEXMFCNF, [JHU:
+
+ TTF2PKINPUTS = $TEXMF/ttf2pk/
+ TTF2TFMINPUTS = $TEXMF/ttf2pk/
+
+ HTw ttf2tfm H ttf2pk һݪ]wPɪm)
+
+9. XҦ tfm r (OԲӷNqШ man ttf2tfm):
+
+ ttf2tfm moe_kai -P 3 -E 4 moekai@Big5@
+
+ b{פF|LXo@:
+
+moekai@Big5@ moe_kai Pid=3 Eid=4
+
+ бNo@g $TEXMFLOCAL/ttf2pk/ttfonts.map ɤCttf2pk YϥΦ
+ ƨӲͩһݪ pk rɡC
+
+ MAANͥXӪ .tfm r $VARTEXFONTS/tfm/big5/moekai
+ UC
+
+10. ]@U texconfig rebuild ls-R data base. YztΨSoӫOAh
+ ]@U mktexlsr <path_name>. Ъ`NACzsX tfm rAμW[B
+ R tetex Uɮ׮ɡAzo@BAHs ls-R data base
+ eCϥ texconfig ɷ|X{@ӿAziH "rebuild ls-R database"
+ YiCYzϥ mktexlsr, hn|Ap
+
+ mktexlsr /var/spool/texmf
+ mktexlsr /usr/local/lib/texmf
+
+11. Patch tetex-0.9 mktexpk scriptC diff ɬOb
+ freetype/contrib/ttf2pk/scripts/web2c-7.2/ UCp latex t
+ bݭnɡAN|Is ttf2pk Ӳͩһݪ pk rC
+
+ (PS. YzҥΪO̷s teTeX 0.9-beta ܡA mktexpk w]tFHW
+ patch, ҥHzo@BC̷s teTeX 0.9-beta iHbo
+ :
+
+ ftp://ftp.rrzn.uni-hannover.de/pub/local/misc/teTeX-beta/)
+
+12. ! ziHոսsĶ CJK_4_2.0/doc/chinese/READMEb5.tex, ݦS
+ LDC
+
+
+
+C. LaTeX/CJK u@z (for tetex-0.9, CJK-4_2.0):
+====================================================
+
+HUNکҪ LaTeX sĶ峹BJPثe CJK u@zyL@UA
+HUŪFѥHW]wNqC
+
+A TeX/LaTeX bŪJ@ .tex ɡAøչϦaX@ .dvi ɮɡA
+nΨ .tfm rC .tfm rɥuOFӺئr̰򥻪TAƦܻP
+rڤjpLAºuΨӰƪΪCTeX/LaTeX w]pU|
+$TEXMFDIR/fonts/tfm/ U .tfm r (UiHݬ /etc/texmf/texmf.cnf
+]w) A]A]b tfm/ U٦ܦhؿAp
+
+ ..../tfm/big5/moekai/
+ ..../tfm/big5/moesung/
+ ..../tfm/ams/
+ ...........
+
+AhoǤlؿUҦ .tfm rɳ|QjMC $TEXMFDIR hN
+FAtΤ TeX DؿCU@䤣rA|Is mktextfm ӲͦrA
+ͥXӪrN $TEXMFDIR/fonts/tfm/.... UC
+
+mktextfm O@ shell script Abu@ɭ|RһݲͪrP
+b|WAæAˬdӦrO_sbApGusbAh|Isr
+{ mf ӧrXӡC
+
+MӡAެO˪rA@wn@ӨѰѦҪru˪Ov~Ab TeX
+tΤAw]r˪ MetaFont, oOtγ̰򥻪r˪CMAڭ̥i
+H[JLr˪Aӳoǥ[JrNOb@ӥs special.map
+AɦTpU:
+
+% Font source typeface
+%
+A public hieroglyph
+Aa public hieroglyph
+B public hieroglyph
+C public hieroglyph
+D public hieroglyph
+DeadSea public hebrew
+
+䤤Ĥ@OrW١AĤGMĤTOrOCTeX/LaTeX Yھ special.map
+eAb $TEXMF/fonts/tfm UMһݪ .tfm rCw]pUANH
+rOWٰӦrsb|AҦpݭn DeadSea*.tfm ɡAsbY
+ $TEXMF/fonts/tfm/public/hebrew/ CY|sbΦrsbAhݭn
+͸Ӹ|AéIs mktextfm ӲͦrɡA mktextfm h|i@BIs mf {
+u@C
+
+ .dvi ɥXӫAڭ̥iH xdvi ӰwAoɭԴNݭn .pk rA
+I}rANPکһݪrjpCP˪A xdvi |
+$TEXMF/fonts/pk/..../ ݬݸӦrO_wsbA䤣쥦N|hIs
+mktexpk ӰXrCmktexpk u@P mktextfm @ˡAҥHNAСC
+MAڭ̤]iH dvips Ӳ PostScript ɡAboئP˭nϥ .pk
+rA]O mktexpk ӰC
+
+NHWAڭ̥iHDAYn CJK ӲͤAhݭnƥHU:
+
+1. Ψөwq榡 texinput style ɡC
+
+2. r .tfm H .pk C
+
+䤤Ĥ@ӱܮeA]NOڦbW@`uw˨BJvĤGBҴ쪺C
+~Aڭٻݭn@ bg5conv {AtdŪJ .tex lɡAgsX
+ন .cjk sXAM~浹 latex i沣 .dvi ɪʧ@C
+
+·ЪOrCN .tfm rӨAbLhw CJK ɡAڭ̥iण|
+wNҦݭn .tfm wXӡAӬOĥνuWͪ覡Aoɧڭ̻ݭn
+ mktextfm, HKbݭnɩIs ttf2pk { TTF rX .tfm rC
+{bڭ̨ϥηs ttf2pk package, ttf2tfm {iHܮeaNҦ
+.tfm rͥXӡAùww˨쥿TؿApڭ̴Nݭnhק mktextfm
+FCӳoNOW@`uw˨BJv 9 BҰu@ARONq:
+
+ ttf2tfm <TTF filename> -P <platform ID> -E <encoding ID> <TFM filename>
+
+䤤 <TTF filename> ɦW榡 <name>XX.tfm, <name> OrW١A XX O@
+ƦrANFӦr encoding ǸAҦp: moekai03.tfm C@M㪺
+rAǸH]tҦrAH Big5 XҡA䧹㪺ǸOq 01
+ 58, ]NO 58 ӦrɡCbs ttf2tfm AzݭnIs ttf2tfm
+58 A`Nbw˨BJA <TFM filename> o@ӰѼƬO
+
+ moekai@Big5@
+
+䤤 moekai Y <name>, @Big5@ OǸAboجOΤ@
+Big5.sfd oɨӥN ({|۰ʥ[J .sfd oӪɦW) A`Nbuw
+BJv 8 Bڭ̤wNoɮ׫FAmAӸɴNOF Big5 Xr
+ҦǸTA ttf2tfm iHѦҳoɪeNҦr
+XӡC
+
+b ttf2tfm u@A|LX@T (uw˨BJv 9 B)Ao@
+O ttf2pk ѦҥΪAgJ ttf2pk Mݪ]w ttfonts.map C
+Aڭ̦ANҦ .tfm rܾAؿAYF .tfm rC
+
+ .pk rAѩoٲoAFPrjpPɡAڭ̵Lkw
+DݭnǤjprA]bڭ̱ĥΤFuWͪ覡Aݭnɤ~ pk
+rCOAڭ̥ק mktexpkAbݭnrɩIs ttf2pk TTF r
+NһݪrX (uw˨BJv 11 B)C
+
+pk rɦW榡pU:
+
+ <name>XX.<SSSS>pk
+
+䤤 <name> OrWA XX O encoding ǸA <SSSS> YӦrjp (dpi)C
+
+٦@IAѩs ttf2pk wϥ kpathsea lib ӷjMһݪɮסA]
+ArɥHγ]wɡAӳ]wɪڭ̴NNmgb
+/etc/texmf/texmf.cnf AåBn] mktexlsr texconfig (uw˨BJv
+ 8 BP 10 B)Ap kpathsea lib ~]wɪmC
+
+
+WҭzAHUڴyz@U LaTeX/CJK compile L{A`C
+
+
+1. bg5latex, oO@ script, Is bg5conv ŪJ .tex lɡA
+ sX᪺ .cjk ɡC
+
+2. bg5latex ۩Is latex, ŪJ .cjk ɡAbPwݭn CJK package ɡA
+ p:
+
+ \usepackage{CJK}
+ \begin{CJK*}{Bg5}{kai}
+
+ KŪJ@tC CJK texinput style ɡAø Bg5, kai, Ū
+ .../Bg5/c00kai.fd oӦrwqɡC
+
+3. ھ c00kai.fd ɪwqA latex D媺ݭn moe_kai rCOA
+ b .dvi ɪL{Aھ special.map ɪeAbA|M
+ һݪ .tfm ɡAY䤣hIs mktextfm ӲͥCѩƥڭ̤ww˦n
+ Ҧ .tfm rA]o@BݭnIs mktextfm YiC
+
+4. .dvi ɥXӫA]ڭ̭n dvips Ӳ .ps ɡAh dvips bo{ݭn
+ moekai rɡA| special.map eAA|hM moekai*pk
+ ɡC
+
+5. Y䤣Ah|Is mktexpk ӲͦrɡCקL mktexpk bo{һ
+ ͪrO moekai ɡAK|Is ttf2pk Ӥu@C
+
+6. ttf2pk zL kpathsea lib, ǥ /etc/texmf/texmf.cnf ]w
+ ]w ttfonts.map mAŪJ]wɫAھ moekai @ADF:
+
+ a. һݭnr˪ $TEXMFLOCAL/fonts/truetype/moe_kai.ttf C
+
+ b. Ӧr encoding ǸƦsbP ttfonts.map ۦPؿU Big5.sfd
+ ɤC
+
+ c. Lp Platform ID P Encoding ID TC
+
+ ttf2pk YQγoǸTANһݪ moekai*pk ɰXӡAå mktexpk N
+ ɩ쥿T|UAHƤ᭫ƧQΡC
+
+7. C
+
+
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/cjk-enc.txt b/Master/texmf-dist/doc/latex/cjk/doc/cjk-enc.txt
new file mode 100644
index 00000000000..72868474c47
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/cjk-enc.txt
@@ -0,0 +1,438 @@
+This is the file cjk-enc.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+cjk-enc.el
+----------
+
+Mule, the multilingual Emacs, is one of the most powerful editors available
+for Unix systems like Linux. It is capable to edit and display texts which
+are, among other scripts, written in various CJK languages; as an example
+you can have traditional and simplified Chinese at the same time. Mule is
+distributed under the GNU Public License; it is now integrated into the
+source code emacs 20.
+
+The CJK package enables LaTeX to do the same (with some restrictions, see
+below), but the interface is different. Mule uses additional bits internally
+to store the encoding of a character, whereas the CJK package needs \CJKenc
+macros to select encodings.
+
+Now enters cjk-enc.el . This small output filter for Mule (written in Lisp)
+converts text as entered in Mule into a form TeX can understand. Double-byte
+encodings which can be processed by CJK are usually converted into EUC form
+preceded by \CJKenc{...} macros, single-byte encodings (Latin-1, etc.) into
+equivalent LaTeX 2e macros (e.g., Latin-1 character 0xC4 (umlaut A) into
+\"A). Some of these macros are undefined by default in standard LaTeX 2e
+because CM or EC fonts have no characters for it. Vietnamese, Cyrillic
+scripts, Modern Greek, and Thai are also supported (see below).
+
+cjk-enc.el comes in two versions.
+
+ . An old version for Mule 2.3 with limited capabilities since it is no
+ longer supported (but updated if necessary).
+
+ . A new version with enhanced commands which works with emacs versions
+ >= 20.3 and xemacs versions >= 21.1 (the latter without Thai support).
+
+Support for emacs versions < 20.3 has been dropped. Please upgrade. In the
+following, `Mule' is used for all emacs flavours.
+
+
+Installation
+------------
+
+To load cjk-enc.el into Mule, put the following line into your .emacs file:
+
+ (load-library "cjk-enc")
+
+this assumes that cjk-enc.el is in a directory searched by Mule. A good
+place for it is the site-lisp subdirectory (e.g.,
+/usr/local/share/emacs/site-lisp).
+
+After loading, a new (output) encoding scheme is defined: `*cjk-coding*'.
+[This is called `cjk-coding' under emacs 20---Please note further that the
+ prefix for Mule commands has changed to `C-x RET' for emacs 20 instead of
+ `C-x C-k'.]
+
+Note: `*cjk-coding*' (`cjk-coding') can't be used to save documents! It
+ is intended only to create the *.cjk file which is then directly
+ processed by LaTeX.
+
+
+Usage (LaTeX 2e part)
+---------------------
+
+A sample of a multilingual document (muletest.{tex,cjk,dvi,pdf}) can be
+found in the examples subdirectory (only the TEX file is in the src package
+of CJK, the other files are in the doc package).
+
+European languages based on the Latin script:
+
+ Simply write your documents! Characters like `u umlaut' or `c hacek' are
+ converted into LaTeX 2e macros. You don't need to write "u or something
+ else (nevertheless it's possible). It is recommended to use LaTeX 2e's
+ T1 font encoding scheme to have a) most of the European diacritics
+ available and b) correct hyphenation for accented characters.
+
+ The lower half of JIS X 0201 is treated similarly.
+
+ Note that the default CM fonts of LaTeX are OT1 encoded. You should
+ rather use the EC fonts which are based on T1 (or virtual T1 fonts
+ mapped onto OT1).
+
+ For correct hyphenation you still have to change languages, thus a
+ system like Babel should be used additionally.
+
+CJK languages:
+
+ Don't start a CJK (or CJK*) environment! cjk-enc.el does this
+ automatically for you at the `\begin{document}' command. It also inserts
+ \CJKspace and \CJKnospace commands (\CJKspace for Korean, \CJKnospace
+ for all other CJK scripts; but see the section `Problems' below also).
+
+ In CJK.enc the default font family for all encodings is `song' (except
+ for Korean Hangul where it is `mj'). Two commands are available to
+ change the CJK font encoding and family in combination with cjk-enc.el
+ (see CJK.txt and commands.txt for a detailed description):
+
+ \CJKencfamily[<fontencoding>]{<encoding>}{<family>}
+ Change family for a certain encoding (and fontencoding).
+
+ \CJKfontenc{<encoding>}{<fontencoding>}
+ Change fontencoding for a certain encoding.
+
+ The second command is primarily for users who use Japanese DNP fonts
+ (see the Japanese documentation subdirectory for further details) or
+ Korean HLaTeX fonts.
+
+ For the upper half of JIS X 0201 encoding, the katakana range of the
+ SJIS encoding of the CJK package is used.
+
+Vietnamese:
+
+ Vietnamese uses accented characters not contained in EC or CM fonts. To
+ assure proper kerning you must explicitly activate T5 font encoding
+ (this can't be done automatically) to access a Vietnamese font.
+
+ The VnTeX bundle contains Vietnamese fonts and support files; it also
+ defines T5 encoding. It is available from http://vntex.sf.net.
+ (Note that the now obsolete vncmr package is no longer supported.)
+
+Russian and other languages using the cyrillic script:
+
+ Cyrillic LaTeX encodings (T2A, T2B, T2C, and X2) are now supported
+ within the LaTeX 2e distribution (starting with version 1998/12/01).
+ Cyrillic fonts and auxiliary files supporting these encodings are
+ available at CTAN from fonts/cyrillic and macros/latex/contrib/t2); most
+ TeX distributions already come with Cyrillic fonts installed.
+
+ The current implemention needs a lot of temporary disk space for
+ Cyrillic scripts (e.g., a 100 kByte document written only with Cyrillic
+ letters has an intermediate output file of about 800 kByte). On the
+ other hand, it is still possible to recognize the Cyrillic characters
+ name macros in the log file in case of error messages---if I used the
+ shortest possible representation, only numbers would be visible, and the
+ size of the intermediate output file would still have 500 kByte...
+
+ You must explicitly activate one of the T2* (or X2) encodings for
+ Cyrillic. Russian needs T2A.
+
+Greek:
+
+ You must use the LGR encoding and fonts as defined in the Babel package:
+ ISO-8859-7 characters are mapped back to ASCII characters which are then
+ displayed as Greek characters, using the ligature mechanism extensively.
+
+Thai:
+
+ It is implemented only in the emacs 20.3 version of cjk-enc.el. Instead
+ of using an external program, Ken'ichi Handa has written thai-word.el
+ which implements the word-breaking algorithm in Lisp, based on the the
+ C-TTeX package version 1.15 written by Vuthichai Ampornaramveth
+ <vuthi@ctrl.titech.ac.jp>. `thai.sty' is still very rudimentary---any
+ improvements are welcome.
+
+ The used encoding is C90 (this is the only case where you have to
+ specify a `C' encoding directly, either by using the `thaicjk' language
+ for Babel or by saying `\DeclareFontEncoding{C90}{}{}' in the preamble);
+ the default fonts specified in c90gar.fd and c90nrsr.fd are taken from
+ the thailatex package, which can be found at
+
+ http://linux.thai.net/plone/TLWG/thailatex
+
+ You should use version 0.3.5.1 or newer. Note that this package is not
+ compatible with CJK; neither its metric files nor its LaTeX support
+ files should be used. Please read the file thaifont.txt for details how
+ to install the fonts.
+
+ Whitespace between Thai characters are always respected; newlines
+ together with trailing and leading whitespace are not by default. Use
+ \Thaispace to make trailing and leading whitespace respected also (the
+ opposite command is \Thainospace). Note that the space width of the Thai
+ font (which is usually larger than for a Roman font) is used for
+ whitespace between Thai words:
+
+ Thai Thai
+ Thai
+
+ is approximately translated to
+
+ {\thaifont Thai Thai\nospaces
+ Thai}
+
+ (if \Thainospace is active), whereas
+
+ Thai\ Thai\
+ Thai
+
+ is approximately translated to
+
+ {\thaifont Thai}{\romanfont\ }{\thaifont Thai}{\romanfont\ }
+ {\thaifont Thai}
+
+ To improve appearance, \Thaiglue (which is defined in MULEenc.sty) is
+ used as intercharacter glue; this value can be modified similarly to
+ \CJKglue.
+
+
+Usage (Mule part)
+-----------------
+
+Simply load your document into Mule and call cjk-write-file (which is
+defined in cjk-enc.el) to create a preprocessed file. For most files this
+file's name is formed by replacing the extension with `.cjk'. However,
+BibTeX files are given the extension `-cjk.bib' because the BibTeX program
+requires `.bib' as the extension. This also avoids conflicts with the CJK
+file produced by a LaTeX file by the same name. Because of this you should
+use the command \CJKbibliography{foo} in your LaTeX source file (which
+finally expands to foo-cjk.bib). A similar macro is \CJKinclude{bar} which
+expands to `bar.cjk' instead of bar.tex. Finally, you can say
+\CJKinput{foo.bar} to input file `foo.bar'; if the file name has no
+extension, `cjk' is appended: \CJKinput{foo} loads `foo.cjk'.
+
+cjk-write-file is the only user function provided by cjk-enc.el for
+Mule 2.3.
+
+If you want to process a file which includes some other files, use the
+function cjk-write-all-files in combination with \CJKinclude, \CJKinput, and
+\CJKbibliography. If used interactively, you have to supply a file name
+which is then scanned for occurrences of \CJKinclude, \CJKinput, and
+\CJKbibliography; all files found plus the master file are converted.
+
+Example:
+
+ `a.tex' contains:
+
+ \CJKenc{Bg5}
+ Chinese text
+
+ `b.tex' contains:
+
+ \CJKenc{JIS}
+ Japanese text
+
+ `c.tex' contains:
+
+ \CJKenc{UTF8}
+ Some Unicode text
+
+ `master.tex' can now include the files as follows:
+
+ Some Korean text
+
+ \CJKinput{a}
+ \input{b}
+ \input{c}
+
+ Calling cjk-write-all-files automatically converts `master.tex' and
+ `a.tex'.
+
+The functions batch-cjk-write-file and batch-force-write-file are intended
+to be used in Makefiles; please read the function documentation for more
+details.
+
+It is recommended that you assign cjk-write-file or cjk-write-all-files to a
+key (e.g., with global-set-key) in your `.emacs' configuration file.
+
+
+Unicode encoding
+................
+
+Note that the forthcoming Emacs 22 has no native Unicode support. Instead,
+Unicode encoded date is mapped onto the internal character sets of Emacs;
+this process heavily depends on the selected (Emacs) language environment.
+For example, if you select `Chinese-BIG5', Emacs first tries to map Unicode
+characters to Big 5. If that fails, it tries the GB 2312 character set, then
+KS X 1001, and so on. To get typographically satisfying output you would
+need identical font shapes for different CJK encodings, a very unlikely
+situation.
+
+For this reason it is strongly recommended to *not* use data files encoded
+in UTF-8 with cjk-enc.el. Instead, UTF-8 should be directly handled by a CJK
+environment (i.e., `\begin{CJK}{UTF8}{...}').
+
+
+Usage with AUC TeX
+------------------
+
+Append the data between >>> and <<< to your .emacs file to have special CJK
+support within AUC TeX:
+
+
+>>>
+
+ (defun TeX-run-CJK-LaTeX (name command file)
+ "Create a process for NAME using COMMAND to format FILE with CJK/LaTeX."
+
+; use next code line for Mule instead of the (balanced) expression
+; containing `cjk-write-all-files'
+; -- no multifile document support!
+; (cjk-write-file)
+
+ (cjk-write-all-files (concat (TeX-master-directory)
+ (file-name-nondirectory file)
+ ".tex"))
+ (TeX-run-LaTeX name command file))
+
+ ;; replace the error source file `*.cjk' with `*.tex' (and `*-cjk.bib'
+ ;; with `*.bib'), then C-c ` can be used as usual.
+
+ (add-hook 'TeX-translate-location-hook
+ '(lambda ()
+ (if (string-match "\\(.*\\)\.cjk$" file)
+ (setq file
+ (concat
+ (substring file
+ (match-beginning 1)
+ (match-end 1))
+ ".tex"))
+ (if (string-match "\\(.*\\)-cjk\.bib$" file)
+ (setq file
+ (concat
+ (substring file
+ (match-beginning 1)
+ (match-end 1))
+ ".bib"))))))
+
+ (require 'tex)
+ (add-to-list 'TeX-command-list
+ '("CJKLaTeX" "%l '\\nonstopmode\\input{%s.cjk}'" TeX-run-CJK-LaTeX nil t))
+
+<<<
+
+
+To process a CJK document with AUC TeX use C-c C-c on your LaTeX source file
+and select CJKLaTeX as the formatting command. It also works with multiple
+files; only modified files are converted (again).
+
+Note that only the master file is processed with cjk-enc and scanned for
+\CJKinclude and \CJKinput!
+
+If you mainly write text in Japanese or Chinese, consider the use of
+cjkspace.el or cjktilde.el for inserting a tilde character (which has been
+redefined to a shibuaki space) if you hit the space key. Please read the
+documentation in the two files for differences. cjkspace.el works with
+AUC TeX only, cjktilde.el works in every mode.
+
+In case you use an Emacs input method (quail) for your Asian language
+(contrary to an external input method provided by the operating system), you
+can add `rules' with the following code added to your .emacs file; the
+special space handling is then active only when the corresponding input
+method is active too.
+
+ (add-hook 'quail-activate-hook
+ (function
+ (lambda ()
+ (if (equal (quail-name) "chinese-py-punct-b5")
+ (progn
+ (quail-defrule " " "~")
+ (quail-defrule " " " "))))))
+
+Replace `chinese-py-punct-b5' with your favourite input encoding. In case
+you use more than one input method, repeat the above lisp code for each
+method.
+
+
+Technical notes
+---------------
+
+cjk-enc.el loads MULEenc.sty or CJK.sty in the first output line which
+contains all needed definitions for LaTeX 2e.
+
+To assure working in verbatim environments, \CJKenc and the LaTeX 2e macros
+are not output directly. The active character 0x7F is used to output
+\CJKenc, \CJKspace, Latin characters, etc.
+
+CNS 1-CNS 7 and JIS2 encoded characters are output as \CJKchar macros. The
+reason for this choice is the infrequency of CNS and JIS2 characters in
+normal text. Since \CJKchar does not select a new binding this macro is
+executed faster for single CNS and JIS2 characters.
+
+
+Problems and Tips
+-----------------
+
+. cjk-enc.el starts a CJK environment only if it finds at least one CJK
+ character in the master file; this character can appear in a comment also.
+ Example:
+
+ % some Chinese text in this comment
+ \CJKinput{a}
+ \CJKbibliography{b}
+
+. If you need some CJK processing in the preamble you must start a CJK
+ environment there manually because cjk-enc.el uses the \AtBeginDocument
+ hook for its commands. This interferes with the \CJKspace/\CJKnospace
+ insertion mechanism of cjk-enc.el because the Lisp code always assumes a
+ single, global CJK environment. A similar problem exists if you start a
+ new language in a comment. To overcome this, simply insert a \CJKspace or
+ \CJKnospace command (whatever appropriate) right after the
+ `\begin{document}' macro to synchronize again with cjk-enc.el .
+
+ Example:
+
+ \documentclass{article}
+
+ \begin{CJK*}{}{}
+ some Japanese macro stuff
+ \end{CJK*}
+
+ \begin{document}
+ \CJKnospace
+ more Japanese text
+ ...
+
+. Another consequence of the \CJKspace/\CJKnospace insertion mechanism of
+ cjk-enc.el is that in cases like
+
+ Latin_text Chinese_text\ Latin_text
+
+ you can't omit the final `\ ' after the Chinese phrase---only for Korean
+ words it is not necessary to use a (protected) space.
+
+. Usually, Emacs can automatically recognize the encoding of a given file
+ (e.g., using a language environment or setting `file-coding-system-alist';
+ please read the chapter `Recognizing Coding Systems' in the emacs info
+ files for further details). But sometimes this fails (e.g., to find out
+ whether a text is in latin-1 or in, say, latin-3 is impossible), and you
+ have to use a file variable to define the encoding.
+
+ Here an example how to specify `Big 5' encoding for a TeX input file (the
+ following lines are to be inserted at the very end):
+
+ % Local Variables:
+ % coding: big5
+ % End:
+
+ If AUCTeX already has created local variables like `TeX-master', simply
+ add the line `coding: big5' and you are done.
+
+. Another useful local variable for AUCTeX is `TeX-command-default':
+
+ % Local Variables:
+ % TeX-command-default: "CJKLaTeX"
+ % End:
+
+ selects `CJKLaTeX' as the default command if you type `C-c C-c'.
+
+
+---End of cjk-enc.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/commands.txt b/Master/texmf-dist/doc/latex/cjk/doc/commands.txt
new file mode 100644
index 00000000000..b2482555e71
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/commands.txt
@@ -0,0 +1,388 @@
+This is the file commands.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+Here is a list of all commands of CJK.
+
+
+\begin{CJK}[<fontencoding>]{<encoding>}{<family>}
+...
+\end{CJK}
+
+ This starts a CJK environment.
+
+ Possible values for <encoding> are:
+ `Bg5', `Bg5+', `GB', `GBt', `GBK', `JIS', `SJIS', `KS', `UTF8',
+ `EUC-TW', `EUC-JP'.
+
+ [`CNS1'-`CNS7', `CEFX', `CEFY' are also possible but make no
+ sense. These are used with CEF and Mule. The same holds for
+ `JIS2'.]
+
+ Possible values for <fontencoding> are:
+ `' (empty, the default), `pmC' (for Bg5, GB, GBt, JIS, KS),
+ `dnp' (for JIS and SJIS), `wn' (for JIS), `HL' (for KS).
+
+ Possible values for <family> are defined in the FD files which must
+ be configured for the available fonts. If empty, the default value
+ (`mj' for KS encoding, `song' for the rest) is used.
+
+ Families can be changed with \CJKencfamily on a per-encoding base
+ and with \CJKfamily for all encodings. \CJKfamily overrides
+ \CJKencfamily; to have \CJKencfamily active you must assure that the
+ `family' parameter of the CJK environment is empty or that
+ \CJKfamily is defined as empty (inside the environment).
+
+ Font encodings can be changed on a per-encoding base with
+ \CJKfontenc; \CJKenc always uses the specified font encoding.
+
+ The hook \CJKhook is called on initializing the environment (used
+ by cjk-enc.el and VTeX, for example).
+
+ Newlines and spaces after a CJK character are retained. If you want
+ to suppress a newline, finish the line with `%'.
+
+ See also \CJKspace and \CJKnospace.
+
+
+\begin{CJK*}[<fontencoding>]{<encoding>}{<family>}
+...
+\end{CJK*}
+
+ The same as the CJK environment except that newlines and spaces
+ after a CJK character are swallowed. If you want a space after a CJK
+ character you must protect it (e.g., use `\ ').
+
+ See also \CJKspace and \CJKnospace.
+
+
+Text containing CJK characters should start with a fresh line (in the source
+file, not in the output) after activating a CJK environment because TeX has
+already read in the characters of the current line as non-active characters.
+
+You can stack CJK environments (i.e., saying \begin{CJK}...\end{CJK} again
+inside of a CJK environment) if you have not set the `global' package
+option, but it is possible that TeX's `save size' overflows. Use \CJKenc,
+\CJKfontenc, \CJKfamily, and \CJKencfamily instead. See CJK.txt for CJK
+package options which modify the scope of the CJK environment.
+
+To have different encodings/families on the same input line you must use
+\CJKenc, \CJKfontenc, \CJKfamily, and/or \CJKencfamily.
+
+If you use cjk-enc.el, you should NOT open a CJK (or CJK*) environment! It
+is done automatically. See cjk-enc.txt for details.
+
+
+==============================================================================
+
+
+The following commands are defined (or make sense) only inside of a CJK or
+CJK* environment (except \CJKbold, \CJKnormal, \CJKencfamily, \CJKfontenc,
+\CJKverbatim, \CJKhangul, \CJKhanja, \CJKhwkatakana, \CJKnohwkatakana,
+\CJKaddEncHook, \CJKtolerance, \CJKboldshift).
+
+
+\CJKcaption{<caption>} Load <caption>.cpx, a language/encoding specific
+ caption file. You need the SCRIPT style files of the
+ koma-script package to fully use them (see CJK.txt
+ for details).
+
+ <caption>.cpx is a preprocessed version of
+ <caption>.cap.
+
+ Example:
+
+ \begin{CJK*}{Bg5}{song}
+ \CJKcaption{Bg5}
+ ...
+ \end{CJK*}
+
+
+\CJKchar[<enc>]{<byte1>}{<byte2>}
+ Insert a CJK character literally. <byte1> and
+ <byte2> are the first and second byte of the CJK
+ character (in the selected encoding), the optional
+ parameter selects the encoding. You can use decimal,
+ hexadecimal, or octal notation. <byte1> and <byte2>
+ can be both in 7bit or 8bit (GL or GR)
+ representation.
+
+ To select Unicode characters you must specify `UTF8'
+ encoding (but enter real Unicode values). If the
+ Unicode value is greater than U+FFFF, put the first
+ two bytes into the first argument, and the third byte
+ into the second one.
+
+
+ Examples:
+
+ \CJKchar[Bg5]{217}{223}
+ \CJKchar[CNS1]{"57}{"4C}
+ \CJKchar[UTF8]{"02D9}{"04F}
+
+
+\CJKenc{<encoding>} Change encoding. Contrary to \begin{CJK}{...}{...}
+ it is not necessary to start a new line after
+ \CJKenc. This command always uses the font encoding
+ selected with \CJKfontenc.
+
+ \CJKenc acts globally if the `global' option is set.
+
+ See fonts.txt for a mapping table between CJK
+ encoding names and the names of the FD files
+ finally used.
+
+ Use the macro \CJKaddEncHook to add commands which
+ should be executed when a certain encoding is
+ selected.
+
+
+\CJKfamily{<family>} Change family for all encodings. This command
+ overrides \CJKencfamily; to reactivate \CJKencfamily
+ say `\CJKfamily{}'.
+
+ \CJKfamily acts globally if the `global' option is
+ set.
+
+
+\CJKencfamily[<fontencoding>]{<encoding>}{<family>}
+ Change family for a certain encoding (and
+ font encoding). Can be overridden with \CJKfamily.
+
+ The possible values of <family> are defined in the
+ encoding specific FD files.
+
+ This command makes sense outside of a CJK
+ environment; it acts globally if the `global' option
+ is set.
+
+
+\CJKfontenc{<encoding>}{<fontencoding>}
+ Change font encoding for a certain encoding. If you
+ select an encoding with \CJKenc, the font encoding
+ specified with \CJKfontenc for this encoding is
+ chosen.
+
+ This command makes sense outside of a CJK
+ environment; it acts globally if the `global' option
+ is set.
+
+ Example:
+
+ \CJKencfamily{GBt}{hei}
+ \CJKfontenc{JIS}{dnp}
+
+ \begin{CJK*}{Bg5}{fs} % this is equal to
+ % \begin{CJK*}{}{}
+ % \CJKenc{Bg5}
+ % \CJKfamily{fs}
+
+ ... Text in Bg5 fangsong ... % c00fs.fd used
+ \CJKenc{GB} ... Text in GB fangsong ... % c10fs.fd used
+ \CJKfamily{kai} ... Text in GB kai ... % c10kai.fd used
+ \CJKenc{JIS} ... Text in JISdnp kai ... % c42kai.fd used
+ \CJKfamily{}%
+ \CJKenc{GBt} ... Text in GBt hei ... % c20hei.fd used
+ \end{CJK*}
+
+
+\CJKindent The `classical' indentation for CJK documents is
+ exactly two ideographic spaces. \CJKindent sets
+ the paragraph indentation to this value, using
+ \parindent and the currently active CJK font.
+
+
+\CJKkern To prevent a line break before a CJK character, say
+ \CJKkern. This command suppresses the insertion of
+ \CJKglue before the CJK character.
+
+
+\CJKglue If you get overfull \hbox'es caused by CJK
+ characters, try to increase \CJKglue. The default
+ definition is
+
+ \newcommand{\CJKglue}{\hskip 0pt plus 0.08\baselineskip} .
+
+ \CJKglue is inserted by CJK between Chinese
+ characters (punctuation characters as defined in the
+ punctuation tables use an unbreakable glue; see
+ CJK.enc). You should separate non-Chinese text from
+ CJK characters with spaces to enable hyphenation. Or
+ you can say \CJKtilde.
+
+
+\CJKtilde This command changes the definition of the active
+ `~' character from an unbreakable space to
+
+ \def~{\hspace{0.25em plus 0.125em minus 0.08em}} .
+
+
+\nbs The original meaning of `~' is preserved within \nbs,
+ a shorthand for the LaTeX command \nobreakspace.
+\standardtilde To return to the original definition of `~' use this
+ command.
+
+
+\CJKspace
+\CJKnospace Switch from CJK to CJK* `mode' (\CJKnospace) or
+ vice versa (\CJKspace).
+
+
+\CJKverbatim If the `verbatim' package is loaded it is possible
+ to improve the output automatically, namely, to
+ avoid breaking of overfull lines in a verbatim
+ environment. This command installs a hook to
+ suppress insertion of glue between CJK and Thai
+ glyphs.
+
+
+\CJKhanja
+\CJKhangul \CJKhanja deactivates the use of C61 font encoding
+ for hangul characters: All fonts used have C60 font
+ encoding. \CJKhangul is the opposite command. The
+ default is C61 for hangul.
+
+ Archaic hangul elements (KS 0xA4D5-0xA4FE) and the
+ character KS 0xA4D4 are only accessible if \CJKhanja
+ is active.
+
+ Both commands act globally if the `global' option is
+ set.
+
+ These commands make sense outside of a CJK
+ environment.
+
+
+\CJKhwkatakana
+\CJKnohwkatakana \CJKnohwkatakana deactivates the use of the C49
+ font encoding and maps half-width katakana
+ characters to full-width glyphs instead.
+ \CJKhwkatakana (the default) is the opposite
+ command.
+
+ Both commands act globally if the `global' option is
+ set; they have only effect for SJIS input encoding.
+
+ These commands make sense outside of a CJK
+ environment.
+
+
+\CJKtolerance If you get overfull \hbox'es caused by KS
+ characters, try to increase \CJKtolerance. The
+ default definition is
+
+ \newcommand{\CJKtolerance}{400} .
+
+ Increasing \emergencystretch may help also.
+
+ This command makes sense outside of a CJK
+ environment.
+
+
+\CJKuppercase If Big 5, SJIS, Bg5+, or GBK characters are used
+ non-preprocessed, the LaTeX command \MakeUppercase
+ is disabled (otherwise wrong CJK characters would be
+ selected). In the unlikely case that you really need
+ \MakeUppercase, use \CJKuppercase instead.
+
+ This restriction does not exist for preprocessed CJK
+ files, i.e., files processed with Bg5conv, SJISconv,
+ CEF5conv, CEFSconv, extconv, or cjk-enc.el, thus
+ \CJKuppercase is not defined in these cases.
+
+ \CJKuppercase acts globally if the `global' option
+ is set.
+
+
+\begin{Bg5text}
+...
+/end(Bg5text)
+
+\begin{SJIStext}
+...
+/end(SJIStext) Enable the use of Big 5/SJIS encoded characters
+ which contain `\', `{', and `}' as second bytes. See
+ CJK.txt for a complete discussion. You need these
+ environments only in rare cases where
+ bg5conv/sjisconv or cjk-enc.el can't be used.
+
+\begin{Bg5+text}
+...
+/end(Bg5+text)
+
+\begin{GBKtext}
+...
+/end(GBKtext) Enable the use of Big 5+/GBK encoded characters
+ which contain `\', `{', and `}' as second bytes. See
+ CJK.txt for a complete discussion. You need these
+ environments only in rare cases where extconv can't
+ be used.
+
+
+\Unicode{<byte1>}{<byte2>}
+\Unicode{<byte1><byte2>}{<byte3>}
+ Insert a Unicode character literally. <byte1>,
+ <byte2>, and <byte3> are the first, second, and
+ third byte of the Unicode character. You can use
+ decimal, hexadecimal, or octal notation. This
+ command can only be used within UTF 8 encoding. In
+ all other encodings you must say
+ \CJKchar[UTF8]{<byte1>}{<byte2>} or
+ \CJKchar[UTF8]{<byte1><byte2>}{<byte3>} instead.
+
+
+ Examples:
+
+ \Unicode{"23}{"45}
+ \Unicode{"25E}{"9A}
+
+\CJKCJKchar
+\CJKhangulchar
+\CJKlatinchar These commands control the handling of
+ intercharacter glue. Only defined for UTF8 encoding.
+ \CJKCJKchar selects CJK style (using \CJKglue),
+ \CJKhangulchar selects hangul style (using
+ \CJKtolerance) and \CJKlatinchar uses none. Default
+ is \CJKCJKchar.
+
+ Only 3-byte UTF-8 encoded characters (i.e., Unicode
+ characters in the range 0x800-0xFFFF) are affected;
+ two-byte encoded characters is handled as ordinary
+ characters (i.e., as if \CJKlatinchar were set).
+
+
+\CJKbold
+\CJKnormal These commands set and unset the \ifCJK@bold@ flag.
+ If set, boldface is emulated.
+
+ Both commands are intended to appear in
+ \DeclareFontShape commands only (usually in FD
+ files); see fonts.txt for further details.
+
+
+\CJKsymbol The CJK package uses this command instead of \symbol
+ to print a CJK character; it honours the
+ \ifCJK@bold@ flag: if set, boldface is emulated by
+ printing the character three times with slight
+ horizontal offsets. There should be hardly a reason
+ to ever use this command explicitly.
+\CJKsymbols A similar command specific to HLaTeX font support.
+ It takes two characters which are then mapped to the
+ final glyph using TeX's ligature mechanism.
+
+
+\CJKboldshift The horizontal shift used for imitating bold fonts.
+ Redefine this macro if the default value of 0.015em
+ is not satisfying.
+
+ These commands make sense outside of a CJK
+ environment.
+
+
+\CJKaddEncHook{<encoding>}{<body>}
+ This macro is primarily intended for packages. Use
+ it to append the code in <body> to a hook for
+ <encoding> which is executed each time <encoding> is
+ selected. For an example see CJKnumb.sty .
+
+
+---End of commands.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/dvidrv.txt b/Master/texmf-dist/doc/latex/cjk/doc/dvidrv.txt
new file mode 100644
index 00000000000..d655b3a1a53
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/dvidrv.txt
@@ -0,0 +1,56 @@
+Using dvidrv.btm [emTeX for DOS and OS/2]
+-------------------------------------------
+
+This batch file does the same as mktexpk does; it is a replacement for
+dvidrv.exe of emTeX which can handle ttf2pk, hbf2gf, and ps2pk additionally
+(the ps2pk part is untested yet; it uses ps2pkmfj of the 4allTeX
+distribution and was basically copied from a similar script, also part of
+4allTeX).
+
+First of all, create and install a set of TFM files as described in the
+INSTALL file.
+
+Then configure the following variables in dvidrv.btm:
+
+ ps2pk ... set it to `yes' if you want to use this program
+ ttf2pk ... ditto
+ hbf2gf ... ditto
+
+ pkdir ... the place where PK files created by ps2pk, ttf2pk,
+ or hbf2gf should go to. dvidrv.btm adds
+ `\modeless\XXXdpi' or `\modeless\dpiXXX' to this
+ string (depending on the variables `pre_dpi' and
+ `post_dpi')
+
+ ttfonts ... where the TrueType fonts files reside
+ ttfcfg ... where the auxiliary data files of ttf2pk reside
+
+ hbfonts ... where the HBF files reside
+ hbfcfg ... the place where the hbf2gf configuration files are
+
+The last four variables in the above list support trailing `!' and `!!' for
+recursive directory searching (see the file dvidrv.doc of the emTeX package
+for details).
+
+Alternatively, you can set these variables in the environment; please note
+that no spaces are allowed before and after the equal sign, e.g.,
+
+ set foo=bar
+
+is OK, but
+
+ set foo = bar
+
+fails.
+
+Rename dvidrv.exe to dvidrv.ori or something similar and copy dvidrv.btm to
+a directory in the path.
+
+Don't forget to update the DVIDRVFONTS and TEXTFM environment variables if
+necessary.
+
+Under OS/2 dvips calls mfjob or hbf2gf itself; under DOS it creates a batch
+file which must be called afterwards.
+
+
+--- end of dvidrv.txt ---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/fdxfiles.txt b/Master/texmf-dist/doc/latex/cjk/doc/fdxfiles.txt
new file mode 100644
index 00000000000..0a74096d597
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/fdxfiles.txt
@@ -0,0 +1,111 @@
+This is the file fdxfiles.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+
+Extended font definition files
+==============================
+
+The CJK package modifies LaTeX's font loading mechanism to input an extended
+font definition file (with suffix `.fdx') immediately after a normal font
+definition file (with suffix `.fd') has been loaded. A `.fdx' file is
+optional. Here a list of useful commands---note that neither whitespace nor
+linebreaks produce output while macros are defined in such files, which is
+quite convenient.
+
+Immediately after selecting the proper subfont for a given input character,
+the CJK package tests whether a macro
+
+ \<encoding>/<family>/<series>/<shape>/<plane>/<code>/<direction>
+
+is defined. If it exists, it is executed instead of calling \CJKsymbol.
+
+For halfwidth katakana, the macro is called
+
+ \<encoding>/<family>/<series>/<shape>/<code>/<direction>
+
+For fonts from HLaTeX the macro is called
+
+ \<encoding>/<family>/<series>/<shape>/<byte1>/<byte2>/<direction>
+
+For UTF-8, only characters in the range 0x800-0x10FFFF execute the test for
+this macro.
+
+<code>, <byte1> and <byte2> are decimal numbers; <direction> is either `v'
+or `h'.
+
+The following commands are intended for `.fdx' files:
+
+o For vertical writing, \CJKvdef should be used to (globally) define the
+ macros described above. It always prepends `<encoding>/<family>/'.
+ Example from c00bsmi.fdx:
+
+ \CJKvdef{m/n/01/1}{\def\CJK@plane{v}\selectfont\CJKsymbol{4}}
+
+ This defines macro `\C00/bsmi/m/n/01/1/v': If glyph 1 in subfont `01'
+ (`bsmilp01' in this example) should be typeset, it is replaced with
+ glyph 4 from subfont `v' (`bsmilpv').
+
+ \CJKhdef is the equivalent for horizontal writing.
+
+o Another macro is \CJKvlet, performing a global \let. Example (again
+ from c00bsmi.fdx):
+
+ \CJKvlet{bx/n/01/1}{m/n/01/1}
+
+ This makes `\C00/bsmi/bx/n/01/1/v' the same as `\C00/bsmi/m/n/01/1/v'.
+
+ \CJKhlet is the equivalent for horizontal writing.
+
+CJKvert.sty provides additional macros:
+
+o Glyphs which shouldn't be rotated are available with \CJKsymbolsimple.
+ Here an example from c10gbsn.fdx:
+
+ \CJKvdef{m/n/01/17}{\CJKsymbolsimple{17}}
+
+ If glyph 17 in subfont `01' (`gbsnlp01') is requested, it is replaced
+ with itself but unrotated.
+
+o Some correction parameters are available to position glyphs of a given
+ font (i.e., all subfonts) while \CJKvert is active.
+
+ \CJKvdef{norotate}{}
+
+ The default of CJKvert.sty is to rotate all glyphs using the graphicx
+ package. If `norotate' is present in a `.fdx' file, glyphs accessed
+ with \CJKsymbol are not rotated. `fullheight', `height' and `offset'
+ are used only if `norotate' is not set.
+
+ \CJKvdef{fullheight}{<dimension>}
+
+ If defined, it sets the full height (height plus depth) of all CJK
+ glyphs accessed with \CJKsymbol to <dimension>. In most cases this
+ value is 1em.
+
+ \CJKvdef{height}{<dimension>}
+
+ If defined, it defines the height of all CJK glyphs accessed with
+ \CJKsymbol. Consequently, the depth is set to `fullheight - height'.
+ For example, the AFM file for `bsmilp01' gives 879 PS units for the
+ `Ascender' value. Since 1em is 1000 PS units, a proper value for
+ the `height' parameter is 0.88em.
+
+ \CJKvdef{offset}{<dimension>}
+
+ If defined, shift the (rotated) glyphs accessed with \CJKsymbol
+ vertically by <dimension>.
+
+ \CJKvdef{simpleoffset}{<dimension>}
+
+ If defined, shift all glyphs accessed with \CJKsymbolsimple vertically
+ by <dimension>.
+
+o The `offset' parameter is available to position glyphs of a given
+ font (i.e., all subfonts) while \CJKhorz is active.
+
+ \CJKhdef{offset}{<dimension>}
+
+ If defined (and \CJKhorz being active), shift the glyphs accessed
+ with \CJKsymbol vertically by <dimension>.
+
+---End of fdxfiles.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/fonts.txt b/Master/texmf-dist/doc/latex/cjk/doc/fonts.txt
new file mode 100644
index 00000000000..425866ffe69
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/fonts.txt
@@ -0,0 +1,311 @@
+This is the file fonts.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+The fonts
+---------
+
+This file describes how to set up CJK fonts inside of LaTeX 2e. For a
+description how to install TrueType or bitmap fonts please refer to the
+INSTALL file.
+
+
+CJK.sty uses NFSS (New Font Selection Scheme, part of LaTeX 2e) which has
+some advantages over the font selection offered with pmC (for plain TeX and
+LaTeX 2.09):
+
+ o TeX fonts are loaded only on demand. This is especially useful with
+ Asian logographs. If you have e.g., three Chinese characters in your
+ text, pmC must load the whole Chinese font (about 85 TeX subfonts),
+ whereas LaTeX 2e loads only three subfonts normally.
+
+ o As long as the limit of 256 TeX fonts is not exceeded, you can use
+ as many CJK fonts as you like (e.g., simplified and traditional
+ Chinese characters together with Japanese fonts in different sizes)
+ ---pmC is limited to two sizes and can only have two CJK fonts at
+ the same time.
+
+ In the web2c TeX package (for Unix) you find a patch which allows
+ the use of more than 256 TeX fonts (up to about 1000; this is a
+ standard feature of web2c 7.2 and newer versions).
+
+ Omega can use up to approx. 65000 fonts.
+
+ o You need not care about the right size of CJK fonts in footnotes,
+ etc. They obey the NFSS (except encoding).
+
+ Of course you must have access to CJK fonts.
+
+ . Use pdftex and dvipdfmx which can handle TrueType fonts directly.
+ It is very easy to set up dvipdfmx for handling CJK subfonts; with
+ pdftex this is more complicated. See the file doc/pdf/HOWTO.txt
+ for more information.
+
+ . Use fontforge to convert TrueType fonts to PS subfonts. Such
+ subfonts work with virtually all dvi drivers. The directory
+ utils/subfonts contain some scripts which help in the conversion
+ process.
+
+ . Use hbf2gf for HBF pixel fonts to convert them to TFM and PK
+ fonts.
+
+ . Use ttf2pk (and ttf2tfm) to convert TrueType fonts to TFM and PK
+ fonts.
+
+If you chose one font per active character as with the pmC macros, you would
+waste character space (256 characters per font are possible starting with
+TeX 3). Therefore CJK.sty expects the whole CJK font split in TeX subfonts
+with 256 characters each.
+
+An example:
+
+ GuoBiao-encoded simplified characters in song style at 12pt:
+ ^ ^ ^^ ^^
+
+ first byte second byte TeX subfont offset
+ -----------------------------------------------
+ 0xA1 0xA1-0xFE gsso1201 0
+ 0xA2 0xA1-0xFE gsso1201 94
+ 0xA3 0xA1-0xE4 gsso1201 188
+ 0xA3 0xE5-0xFE gsso1202 0
+ 0xA4 0xA1-0xFE gsso1202 26
+ 0xA5 0xA1-0xFE gsso1202 120
+ .
+ .
+ .
+ 0xFE 0xA1-0xFE gsso1235 38
+
+
+To convert bitmap fonts to PK files with hbf2gf, you must get the
+appropriate HBF (Hanzi Bitmap Font) header files or create if you can't find
+the right one; these HBF files document CJK fonts completely.
+
+The HBF specification can be found here:
+
+ http://www.ibiblio.org/pub/packages/ccic/software/info/HBF-1.1/
+
+Various bitmap fonts together with HBF header files are collected here:
+
+ http://www.ibiblio.org/pub/packages/ccic/software/fonts/
+
+
+The font definition files
+-------------------------
+
+CJK fonts can be installed as easy as normal TeX fonts! (Well, probably this
+is the first time you have to install a font for TeX---I strongly recommend
+that you process and read the `fntguide' documentation which is part of the
+LaTeX 2e base package. There you can also find a description of size
+commands.)
+
+CJK.sty defines six new size commands:
+
+ `CJK' corresponds to `' (empty)
+ `sCJK' corresponds to `s'
+ `CJKfixed' corresponds to `fixed'
+ `sCJKfixed' corresponds to `sfixed'
+ `CJKsub' corresponds to `sub'
+ `CJKssub' corresponds to `ssub' .
+
+For dnp fonts (i.e., real dnp fonts and Watanabe dnp fonts) and Watanabe
+jfonts (which both use the same font encoding scheme) two additional
+commands are provided:
+
+ `DNP' corresponds to `' (empty)
+ `DNPgen' corresponds tp `gen' .
+
+Note that PS Wadalab fonts don't use these size functions (but are still in
+DNP font order).
+
+For poor-man's boldface these size commands have been defined:
+
+ `CJKb', `sCJKb', `CJKfixedb', `sCJKfixedb', `DNPb', `DNPgenb' .
+
+They are completely identical to its counterparts without the final `b'. The
+only reason to use them is to make the fifth parameter of \DeclareFontShape
+for bold series different from the one for medium series (LaTeX2e uses this
+parameter as a macro name to execute loading-settings, thus they must not be
+equal).
+
+The difference between the size functions just introduced and the original
+commands defined by LaTeX 2e is that a CJK size function defines a class of
+fonts: if you say as an example
+
+ \DeclareFontShape{C00}{song}{m}{n}{<6> <7> <8> sCJKfixed * b5so07}{} ,
+
+LaTeX 2e searches for fonts named b5so0701 - b5so0755 if the font size is 6,
+7, or 8 pt; with other words, the CJK size functions append two digits to
+the font name to select the proper subfonts. These digits are defined in the
+`\CJK@...Encoding' macros; the macro \CJK@plane holds the current value (in
+pmC compatibility mode and for UTF8 encoding, \CJK@plane holds hexadecimal
+numbers; see JISdnp.enc for the dnp subfont names which are again
+different).
+
+Here a more detailed example:
+
+ \DeclareFontFamily{C10}{fs}{}
+
+ \DeclareFontShape{C10}{fs}{m}{n}{<-> CJK * gsfs14}{}
+ \DeclareFontShape{C10}{fs}{bx}{n}{<-> CJKb * gsfs14}{\CJKbold}
+
+This defines a GB encoded font (LaTeX font encoding `C10') which has
+fangsong shape (fs) in medium series (m) and emulated bold extended (bx)
+series. The names of the subfonts are gsfs1401 - gsfs1432; all sizes are
+available. (This is actually a font definition for a bitmap font which
+corresponds to a size of 14pt if the printer resolution were 300 dpi; hbf2gf
+magnifies it to any desired size.)
+
+The corresponding CJK environment would be
+
+ \begin{CJK*}{GB}{fs}
+ ...
+ \end{CJK*} .
+
+To be consistent with the CJK package it is recommended that for each font
+shape `m' and `bx' series are defined (some PS font styles from PSNFSS
+define `b' instead of `bx'; in this case you should add a font substitution
+entry in the FD file). The default CJK FD files define a `song' shape for
+each encoding except for KS so that
+
+ \begin{CJK*}{your-encoding}{}
+ ...
+ \end{CJK*}
+
+works (note the empty last parameter). See below for an additional reason.
+
+Here a table of the CJK (font) encodings and the corresponding NFSS font
+encodings.
+
+ Chinese: Bg5 C00
+ Bg5pmC C01
+ Bg5+ C09
+
+ GB C10
+ GBpmC C11
+ GBK C19
+
+ GBt C20
+ GBtpmC C21
+
+ CNS1-7 C31-37
+
+ Japanese: JIS C40
+ JISpmC C41
+ JISdnp C42
+ JISwn C43
+
+ JIS2 C50
+ JIS2dnp C52
+
+ SJIS -> kana C49 (additionally)
+
+ Korean: KS -> hanja C60
+ -> hangul C61
+ KSpmC C62
+ KSHL -> hangulHL C63
+ -> symbolHL C64
+ -> hanjaHL C65
+
+ Unicode: UTF8 C70
+
+ CEF: CEFX C80
+ CEFY C81
+
+ [Thai: C90]
+
+
+Some remarks:
+
+ o An NFSS font encoding for the CJK package consists of the letter `C'
+ followed by two digits; the first represents the CJK (input)
+ encoding, the second the CJK font encoding. Some CJK encodings need
+ more than one NFSS encoding to fully represent all characters.
+
+ Note: Since LaTeX version 1996/12/01, the name of an FD file
+ consists only of lowercase letters, e.g., c00fs.fd.
+
+ o You can't use the NFSS encodings (as defined above) directly! You
+ should always use the CJK interface (the exception is Thai; please
+ read cjk-enc.txt and thaifont.txt for details).
+
+ o According to the NFSS rules the family name must not be longer than
+ five characters. In early versions of CJK the family `fangsong' was
+ used. This is no longer allowed and has been replaced with `fs'.
+
+ This restriction is mainly for ancient operating systems like MS-DOS
+ which are limited to 8.3 filenames; today, there is no reason any
+ more to artificially shorten the family name.
+
+ o If you declare an NFSS font encoding in the standard way the
+ corresponding FD file for the default font is loaded. Since a font
+ encoding can be defined only in the preamble, all CJK font encodings
+ must be registered before the document starts even if you use only
+ one or two encodings. For the CJK package this would cause the
+ loading of almost 30 font definition files (see the table above)
+ which is inacceptable.
+
+ To avoid this overhead NFSS is faked with some rudimentary
+ definitions just enough to pass the NFSS tests of LaTeX 2e. Of
+ course this has a disadvantage: an unknown CJK family causes an
+ error instead of switching to the fallback family usually defined
+ with \DeclareFontSubstitution. Nevertheless, replacing an undefined
+ series or shape works correctly.
+
+
+Setting up cyberbit.ttf for UTF-8 encoding
+------------------------------------------
+
+Note 1: I strongly discourage the use of this font, especially for CJKV
+ scripts. The main reason is that correct glyph shapes depend on the
+ language; this means that a glyph representation form for a given
+ Unicode value looks differently in Japanese, Korean, and Chinese (a
+ famous example is character U+9038). Cyberbit doesn't provide such
+ different glyph shapes.
+
+Note 2: The following describes a setup for dvipdfmx only. Furthermore, it
+ assumes a recent TeXLive installation.
+
+
+1. Copy cyberbit.ttf to your local TeXLive tree; a proper location is
+
+ <TeXLive>/texmf-local/fonts/truetype/cyberbit/
+
+ (on e.g. Windows) or
+
+ ~/texmf/fonts/truetype/cyberbit/
+
+ (on e.g. GNU/Linux) or something similar. <TeXLive> indicates the root
+ directory of TeXLive's texmf tree, for example C:\TeXLive2007 or
+ /usr/local/texlive2007.
+
+2. In the file <TeXLive>/texmf/fonts/map/dvipdfm/dvipdfmx/cid-x.map there is
+ already an entry for cyberbit.ttf. Remove the comment character in front
+ of the line.
+
+3. Change to an empty directory and create TFM files with the following call
+ on the command line:
+
+ ttf2tfm cyberbit.ttf -q cyberb@Unicode@
+
+4. Move all resulting TFM files to
+
+ <TeXLive>/texmf-local/fonts/bitstrea/cyberb/
+
+ or
+
+ ~/texmf/fonts/bitstrea/cyberb
+
+ or something similar.
+
+5. Say
+
+ mktexlsr
+
+ on the command line to regenerate TeXLive's file name database.
+
+
+That's it. Within the CJK package, the font can be activated with
+
+ \begin{CJK}{UTF8}{song}
+
+
+---End of fonts.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/hbf2gf.txt b/Master/texmf-dist/doc/latex/cjk/doc/hbf2gf.txt
new file mode 100644
index 00000000000..b802c824545
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/hbf2gf.txt
@@ -0,0 +1,384 @@
+This is the file hbf2gf.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+Using hbf2gf
+-------------
+
+hbf2gf converts CJK bitmaps with an HBF header file into GF files.
+
+Additional documentation can be found in the man page utils/hbf2gf/hbf2gf.1
+(pre-formatted versions of this document can be found in the `cjk-doc'
+bundle of CJK).
+
+
+Syntax:
+
+ hbf2gf [-q] configuration_file[.cfg]
+ hbf2gf [options] subfont_name x_resolution [y_scale | y_resolution]
+ hbf2gf -t [-q] font_name
+ hbf2gf --version | --help
+
+Options:
+ -q make hbf2gf quiet
+ -p don't create a PL file
+ -g don't create a GF file
+ -n use no resolution in extension (only `.gf')
+ -t test for font_name (returns 0 on success)
+
+
+Keywords in the configuration file must start a line, the appropriate values
+being on the same line separated with one or more blanks or tabs.
+Environment variables names start with `$'; to get a dollar sign you must
+type `$$'.
+
+The expansion of environment variables in hbf2gf itself (without the help of
+the kpathsea library) is very limited; this feature has been carried over
+from previous versions. It can't expand variables set in texmf.cnf; it also
+can't handle more than one directory as the variable's value. Don't use it
+except for the `pk_directory' and `tfm_directory' parameters!
+
+Here is an example configuration file gsfs14.cfg (please refer to hbf2gf.1
+and hbf2gf.dvi for a description of the keywords) to be run under OS/2:
+
+hbf_header jfs56.hbf
+mag_x 1
+design_size 14.4
+
+y_offset -13
+comment jianti fansongti 56x56 pixel font scaled and adapted to 14.4pt
+
+nmb_files -1
+tfm_files yes
+
+output_name gsfs14
+
+checksum 123456789
+
+dpi_x 300
+
+coding codingscheme GB 2312-80 encoded TeX text
+
+pk_directory $HBF_TARGET\pixel.lj\432dpi\
+tfm_directory $HBF_TARGET\tfm\
+
+rm_command del
+cp_command copy
+long_extension off
+job_extension .cmd
+
+
+Installation of a complete set of subfonts
+------------------------------------------
+
+Here are the results of a sample run of the above configuration file
+(assuming that the environment variable %HBF_TARGET% points to d:\china):
+
+ input files: jfs56.a - jfs56.e, jfs56.hbf
+
+ program call: hbf2gf gsfs14.cfg
+
+ intermediate files: gsfs14.cmd, gsfs1401.gf - gsfs1432.gf, gsfs14.pl
+
+ batch file call: gsfs14.cmd
+
+ output files: d:\china\pixel.lj\432dpi\gsfs1401.pk - gsfs1432.pk,
+ d:\china\tfm\gsfs1401.tfm - gsfs1432.tfm
+
+
+[gsfs: GuoBiao simple encoded FanSong style
+ ^ ^ ^ ^
+It's hard to overcome the DOS restriction of 8 characters in a file name if
+you need two characters as a running number...]
+
+
+Using MakeTeXPK or mktexpk
+--------------------------
+
+*****************************************************************************
+* *
+* For teTeX >=1.0 and web2c >= 7.3.1, no patches are necessary for either *
+* mktexpk or mktextfm. *
+* *
+*****************************************************************************
+
+The simpler way to create PK fonts is to apply the patches in the
+utils/hbf2gf/scripts directory. In case you can't become root make sure that
+the patched file is found in the path *before* the original MakeTeXPK (or
+mktexpk) script.
+
+First of all, move the HBF files together with the bitmap font files to its
+final destination which has to be added to the variables $MISCFONTS
+(kpathsea version >= 3.3), or $T1FONTS (kpathsea > 2.6), or $DVIPSHEADERS
+(kpathsea <= 2.6), which can be either modified in texmf.cnf or set in the
+environment (please read the kpathsea info files how to do that). Now do the
+same with all `.cfg' files; the corresponding configuration variable is
+$HBF2GFINPUTS (kpathsea >= 3.2) or $TEXCONFIG (kpathsea < 3.2).
+
+Then, create a set of TFM files for the specified CJK bitmap font. This
+should be done with the hbf2gf configuration parameters `tfm_files yes' and
+`pk_files no' (to be modified in the `.cfg' files; see hbf2gf.dvi for a
+detailed description of all needed keywords). After calling the produced
+shell script the TFM files are installed. Note that if you change any hbf2gf
+parameters which alter the appearance of the font (the metrics, to be more
+exact) you must repeat this step so that TFM and PK files fit together.
+
+The previous step can be omitted in case you patch MakeTeXTFM or mktextfm
+too so that TFM files can be created on-the-fly.
+
+Please note further that in case you write a new hbf2gf configuration file,
+the name of that file must be the name stem of the CJK subfont (as defined
+in the appropriate FD file and the hbf2gf configuration file) plus `.cfg':
+
+ Example:
+
+ searched: gsfs1021.pk
+ configuration file: gsfs10.cfg
+
+The final step for web2c 6.x or teTeX 0.4 is to edit texmf.cnf (the kpathsea
+configuration file, usually in /usr/local/lib/texmf/web2c) and change the
+two variables
+
+ $PKFONTS.xdvi
+ $PKFONTS
+
+by appending
+
+ :$pkdir/hbf2gf
+
+to define an own `mode' for hbf2gf, similar to the modes `cx', `ljfour',
+etc. The TeX Directory Structure (TDS) standard suggests `modeless' for this
+name which is already defined in teTeX 1.0 and web2c 7.x.
+
+Example:
+
+ PKFONTS.xdvi=.:$pkdir/$MAKETEX_MODE:$pkdir/gsftopk:
+ $pkdir/ps2pk:$pkdir/hbf2gf
+ PKFONTS=.:$TEXMF/fonts//pk/$MAKETEX_MODE:$pkdir/hbf2gf
+
+The line break above is given for convenience only and should not appear
+in the texmf.cnf file (no space before and after the `:').
+
+[If you cannot become root, copy texmf.cnf into your home directory and do
+the modifications there; make sure that your personal config file is found
+in the search path first since web2c uses the first definition of each
+variable encountered.]
+
+If you use hbf2gf with two parameters (as in MakeTeXPK), only one GF file
+and one PL file is produced, and no batch file is created; the `pk_files'
+parameter is ignored. You can control with the switches -g and -p whether a
+GF or PL file is created at all.
+
+
+Using dvidrv.btm [emTeX for DOS and OS/2]
+-------------------------------------------
+
+This batch file does the same as MakeTeXPK and mktexpk; it is a replacement
+for dvidrv.exe of emTeX which can handle ttf2pk, hbf2gf, and ps2pk
+additionally (the ps2pk part is untested yet; it uses ps2pkmfj of the
+4allTeX distribution and was basically copied from a similar script, also
+part of 4allTeX).
+
+First of all, create and install a set of TFM files as described in the
+previous section.
+
+Then configure the following variables in dvidrv.btm:
+
+ ps2pk ... set it to `yes' if you want to use this program
+ ttf2pk ... ditto
+ hbf2gf ... ditto
+
+ pkdir ... the place where PK files created by ps2pk, ttf2pk,
+ or hbf2gf should go to. dvidrv.btm adds
+ `\modeless\XXXdpi' resp. `\modeless\dpiXXX' to this
+ string (depending on the variables `pre_dpi' and
+ `post_dpi')
+
+ ttfonts ... where the TrueType fonts files reside
+ ttfcfg ... where the auxiliary data files of ttf2pk reside
+
+ hbfonts ... where the HBF files reside
+ hbfcfg ... the place where the hbf2gf configuration files are
+
+The last four variables in the above list support trailing `!' and `!!' for
+recursive directory searching (see the dvidrv.doc of the emTeX package for
+details).
+
+Alternatively, you can set these variables in the environment; please note
+that no spaces are allowed before and after the equal sign, e.g.,
+
+ set foo=bar
+
+is OK, but
+
+ set foo = bar
+
+fails.
+
+Rename dvidrv.exe to dvidrv.ori or something similar and copy dvidrv.btm to
+a directory in the path.
+
+Don't forget to update the DVIDRVFONTS and TEXTFM environment variables if
+necessary.
+
+Under OS/2 dvips calls mfjob or hbf2gf itself; under DOS it creates a batch
+file which must be called afterwards.
+
+
+Adjusting the font parameters
+-----------------------------
+
+It is possible to convert bitmap fonts to PK files almost automatically. The
+HBF header file already has the entry `HBF_BITMAP_BOUNDING_BOX' which
+defines vertical and horizontal offsets (in pixels), but these values are
+not in all cases optimal for the desired target size. If you omit `x_offset'
+and `y_offset' in the CFG file, the third and fourth parameter of
+`HBF_BITMAP_BOUNDING_BOX' is used (except for rotated glyphs), scaled to
+design size (to say it with other words: x_offset and y_offset always apply
+to the design size to be synchronous with the TFM files).
+
+Don't confuse scaling and magnification: Scaling here means that you choose
+a (arbitrary) design size and compute scaling values (mag_x and mag_y; the
+parameter names are a bit misleading) which scales the bitmap to this
+particular design size at a certain (arbitrarily chosen) resolution (dpi_x
+and dpi_y). Magnification means that the scaled bitmap is then magnified to
+a certain target size while still using the font parameters (i.e., TFM file)
+of the design size.
+
+In the sample, you have a 56x56 bitmap font which is scaled to 14.4pt having
+a resolution of 300 dpi; here we compute the theoretical scaling value to
+reach the design size (14.4pt):
+
+ 1 pt are 300 / 72.27 = 4.1511 pixel;
+ 14.4 pt are 4.1511 x 14.4 = 59.78 pixel;
+ thus the theoretical magnification value is 59.78 / 56 = 1.0675 .
+
+But especially for small sizes, this may be not the best value if the font
+should harmonize with, say, Knuth's Computer Modern fonts. I recommend to to
+compute, say, five PK fonts, then check the CJK font with different TeX
+fonts to see whether the offsets and/or the magnification value is good. The
+greater the design size the finer you can control the offsets---as an
+example you could use a design size of 30pt (nevertheless there is an
+arbitrary compile-time constant MAX_CHAR_SIZE which limits the maximal
+character size; default is 1023 pixels).
+
+Testing has shown that in the above example a magnification value of 1 is
+better than 1.07; additionally if you use this font at 14.4pt you get the
+original bitmap without any distortions introduced by scaling.
+
+If you have found optimal offsets, you can produce many different
+magnifications of the CJK font using the same set of TFM files in analogy to
+ordinary TeX fonts; as a simplification, we assume that PK files with a
+resolution of XXXdpi and a design size of 10pt have the extension `.XXXpk'
+(respectively come into a `XXXdpi' subdirectory)---this is the reason why in
+the above example for the 14.4pt design size with 300dpi a `432dpi' target
+directory has been used. Now we can use the following formula:
+
+ your_target_size
+ needed_dpi = your_horizontal_resolution * ----------------
+ 10.0
+
+Example: Assuming that your printer has a resolution of 300 x 400dpi,
+and you want 14.4pt:
+
+ 14.4
+ 300 * ---- = 432
+ 10.0
+
+The vertical scaling value is 400 / 300 = 1.3333. Use these values now to
+call hbf2gf in METAFONT--like mode:
+
+ hbf2gf hbf2gf.cfg 432 1.3333
+
+Assuming you have created a complete set of hanja fonts (ksmj10) for 10pt
+design size, the proper entry in c60mj.fd would be
+
+ \DeclareFontShape{C60}{mj}{m}{n}{<5><6><7><8><9><10>
+ <10.95><12><14.4>
+ <17.28><20.74><24.88> CJK * ksmj10}{}
+
+If you use the (modified) mktexpk to create PK fonts on demand it is
+sufficient to write
+
+ \DeclareFontShape{C60}{mj}{m}{n}{<-> CJK * ksmj10}{}
+
+if one CJK bitmap font should cover the whole size range.
+
+
+Compiling hbf2gf
+----------------
+
+You need an ANSI C compiler.
+
+Under Unix-like systems say
+
+ ./configure --prefix=/usr/local/TeX \
+ --with-kpathsea-include=<INCLUDEDIR> \
+ --with-kpathsea-lib=<LIBDIR>
+ make
+ make install
+
+for a normal compilation and installation. Replace `/usr/local/TeX' with a
+path to your TeX distribution.
+
+[Note 1:
+ Try to find `libkpathsea.*' on your system. Use this directory as the
+ argument for --with-kpathsea-lib. Then try to find `kpathsea/tex-file.h'
+ and use the parent directory of kpathsea as the argument for
+ --with-kpathsea-include. This should work in most cases. If you can't find
+ the library, you probably have a web2c package with statically linked
+ binaries. This means that you have to get the web2c sources from CTAN,
+ configure it with something like
+
+ ./configure --prefix=/usr/local/TeX --datadir=/usr/local/TeX \
+ --enable-shared --disable-static
+
+ according to your setup; then change to the kpathsea directory and say
+ `make' and `make install' (Do the latter with caution not to overwrite
+ original binaries like kpsewhich).
+
+ It even works with the source tree from the TeX Live CD! You just have
+ to add a proper --srcdir option to the configure script.
+
+ Note 2:
+ It seems that c-auto.h created during the kpathsea library compiling
+ process won't be installed for some older web2c versions. You should add
+ it manually, i.e., copy <web2c source tree>/kpathsea/c-auto.h to the
+ location where the other kpathsea header files have been installed.
+
+ Note 3:
+ As a last resort or for testing purposes, you can even compile hbf2gf
+ without any search library; a simple call to fopen() is used instead.]
+
+
+
+Use Makefile.gnu for emx + GNU make and say
+
+ make -f Makefile.gnu
+
+to get a help screen with the possible options.
+
+[Note: It should work with djgpp too, but I haven't tested this.]
+
+
+If necessary, `touch' hbf2gf.c (in case you don't have ctangle) to made the
+time stamp of the file more recent; otherwise, the `make' program complains.
+
+Under some older SunOS versions, gcc (without the GNU C-library) has
+problems; if possible, install the GNU C-library. Otherwise you get a bunch
+of warning messages about missing prototypes which can be ignored. The only
+missing function is strtoul(). If your system has gdb or some other GNU
+utils, you are almost done. Search for the libiberty.a library (usually in
+/usr/local/lib), copy it into the hbf2gf subdir and link it with the other
+modules:
+
+ LDFLAGS=-liberty ./configure ...
+
+If you don't have libiberty, replace strtoul() with strtol() in the hbf2gf.w
+(or hbf2gf.c) file.
+
+It was reported that on the NeXT an older version of gcc has difficulties to
+process the '%i' printf parameter correctly; simply replace all occurrences
+with '%d' (most notably in hbf.c).
+
+
+---End of hbf2gf.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/history.2_5 b/Master/texmf-dist/doc/latex/cjk/doc/history.2_5
new file mode 100644
index 00000000000..377dff02ea1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/history.2_5
@@ -0,0 +1,202 @@
+This file is part of the CJK package Ver. 4.8.0 (22-May-2008).
+
+The history of the beta versions of the never released version 2.5 .
+--------------------------------------------------------------------
+
+Changes beta 1 -> beta 2:
+ hbf2gf: faster (search_min_max() removed)
+ feof() seems to be broken under Amiga gcc 2.6.3; replaced with
+ == EOF, etc.
+ some small bug fixes and typos
+ default value of target_size is now design_size (and not 10 pt)
+
+Changes beta 2 -> beta 3:
+ ttf2pk: ttfdir must now be defined only once (in MakeTeXPK/maketexp.btm)
+ ttf2pkl instead of ttf2pk at some places erroneously used
+ an updated (and modified) version of MakeTeXPK is used
+ Makefile under Unix erroneously used FS=MSDOS
+
+Changes beta 3 -> beta 4:
+ ttf2pk: MakeTeXPK couldn't create DC fonts correctly.
+ MakeTeXPK couldn't use already created .pk fonts in some cases;
+ you must now change the PKFONTS and PKFONTS.xdvi variable in
+ the kpathsearch configuration file (texmf.cnf) to add
+ `:$pkdir/ttf2pk'
+ ttf2pk.doc added
+ InstallFont added
+ hbf2gf: all float types changed to double. This makes life easier under
+ Amiga
+ pinyin.sty added
+ \CJKcaption command added
+ some caption files added. Works with the koma-script style files
+ included here (see below). Most of them are not complete now
+ wrong punctuation character offsets in Bg5.chr corrected
+ koma-script style files added. Note: this is only temporary until the
+ next official release of the koma-script package
+
+Changes beta 4 -> beta 5:
+ \CJK@enc replaced with specific encodings where possible
+ SJIS encoding scheme added (SJIS.enc, SJISconv.tex, etc.). Doesn't
+ currently work with CEF.sty
+ new commands \CJKCJK, \CJKhangul, and \CJKlatin for UTF8 encoding
+* handling of intercharacter glue enhanced. Now there is no \CJKglue
+* before and after a block of CJK characters. Note that this is a
+* visually incompatible change to the previous versions of CJK!
+* (see the command \CJKtilde also)
+ koma-script package removed (you should use the latest official release
+ now); caption files updated
+ mule2cjk added
+ \CJKtilde and \standardtilde added
+ MakeTeXPK hard linked into utils/hbf2gf
+
+Changes beta 5 -> beta 6:
+ gmulatex script added
+ \CJKhangul erroneously defined twice: \CJKCJK renamed into \CJKCJKchar,
+ \CJKhangul (in UTF 8 environment) into \CJKhangulchar, \CJKlatin into
+ \CJKlatinchar
+ the `global' option didn't work correctly; many \CJK@global's added
+ new command \CJKencshape to specify shapes on a per encoding base
+ \CJKchar didn't work in preprocessed mode
+ hbf2gf: new keyword `pk_files' (yes/no)
+ new calling mode for use with MakeTeXPK:
+ hbf2gf configuration_file [subfont_number resolution]
+ hbf2gf.cfg renamed to b5so12.cfg (MakeTeXPK needs this name)
+ some .cfg files added
+ other small changes
+ MakeTeXPK: taken from contrib/ttf2pk and enhanced to create CJK .pk
+ files on demand from bitmap files
+ name of the mode subdir changed from `(.../pk/)ttf2pk' to
+ `(.../pk/)CJK'.
+ maketexp.btm: similar changes as for MakeTeXPK; hard linked into
+ utils/hbf2gf
+ makettfp.btm: hard linked into utils/hbf2gf
+ latin-3 and latin-4 added to mule2cjk
+
+Changes beta 6 -> beta 7:
+ according to the newest LaTeX2e release, \MakeUppercase is disabled
+ instead of \uppercase in some cases.
+ a severe bug disabled Korean encoding
+ the encoding switching mechanism was broken; again many \CJK@global's
+ added
+ some commands which should be active only in certain encodings redefined
+ to work with the `global' option (Bg5text environment, \mj, etc.)
+ to use the Japanese DNP fonts, an encoding `JISdnp' and two size
+ functions (`DNP' and `DNPgen') are added
+* a new unifying fontencoding scheme has been introduced:
+* max. 4 characters encoding + max. 3 characters fontencoding
+* examples:
+* JISdnp, JISpmC, etc.
+* this change causes many files to be renamed (e.g.,
+* Uhanja.fd->Uhanj.fd); there is also a bunch of new/redefined functions
+* to support this:
+* \CJKenc
+* \CJKfontenc
+* \CJKshape
+* \CJKencshape
+* CJK and CJK* environment
+* SOME OF THE ABOVE CHANGES ARE NOT COMPATIBLE WITH PREVIOUS VERSIONS!
+ CJK characters in verbatim environments are now treated correctly
+ by mule2cjk. Latin-encodings still don't work there
+ hbf2gf: the collection of configuration files has been harmonized in
+ size
+
+changes beta 7 -> 3.0:
+ the protection mechanism has been completely rewritten. Encoding changes
+ now work in sectioning commands too.
+
+ the pseudo-\if's has been replaced with real if's to avoid problems with
+ nested \if...\else...\fi constructions.
+
+ CNS directory renamed to CEF.
+
+ CEF macros CX, CY and U implemented. Font definition files for CX and CY
+ encodings added.
+
+ CEF now works with SJIS encoding too. CEFSconv added.
+
+ CNS.sty removed. Has been integrated into CJK.sty .
+
+ there are now three internally used active characters:
+ ^^80, ^^A0: used by mule2cjk
+ ^^ff : used by CEFconv and mule2cjk.
+ we need those characters for verbatim environments.
+
+ a new internal level introduced:
+ we now have
+
+ active characters
+ |
+ +--------------> bindings (normal, preprocessed) <- new
+ |
+ active character macros
+ |
+ +--------------> encodings (GB, Bg 5, ...) +
+ | font encodings (none, dnp, pmC)
+ |
+ subfont selecting macros
+ |
+ +--------------> character macro sets (standard, Big 5, ...)
+ |
+ character selecting macros
+
+ all encodings except UTF 8 now work in preprocessed mode too.
+
+ some additional checks whether a loading of a certain binding/encoding/
+ character set is neccessary.
+
+ a new style option has been added: `active'. If activated, bindings are
+ local. Default is still `local' (with global bindings). You need this
+ option if you want to mix preprocessed text with non-preprocessed text
+ in nested CJK environments. This can happen if you merge texts in
+ various encodings.
+
+ the offset for the roma subfont of dnp font encoding was incorrect.
+
+ watanabe (a PD replacement of dnp fonts) font encoding for JIS added.
+
+ \CJKchar has now an optional parameter to select the encoding. You can
+ also use this command with Unicode encoding; additionally you can
+ enter characters with or without the 8th bit set (GL or GR form)
+ except for SJIS, Bg5 and UTF8 encoding.
+
+ two new size functions: `CJKsub' and `CJKssub'. They are similar to
+ `sub' and `ssub' except that the font substitution warnings appear
+ only once per CJK fontset. All .fd files updated.
+
+ MULEenc.sty added. Is loaded automatically after a file has been
+ processed with mule2cjk.
+
+ Latin encodings now work in verbatim environments also.
+
+ switch -g from mule2cjk has been removed. It was never necessary since
+ `"' and `\"' in german.sty select the same macro.
+
+ mule2cjk now inserts LaTeX2e macros (\textexclamdown, \textcent, etc.)
+ analogously to the latin[12].def files of the LaTeX2e distribution
+ (where applicable) for Latin encoded characters.
+
+ the batch file muclatex processes mule encoded files which contain
+ CEF macros.
+
+ Stephen Simpson <simpson@math.psu.edu> contributed a Bg 5 .fd file for
+ NTU TT fonts (ntu2cjk and ttf2pk).
+
+ pinyin.sty didn't work in tabbing environments; the syllable \me was
+ missing; the syllables \Na and \na were wrongly defined (Michael E.
+ Deisher <deisher@enws261.eas.asu.edu>).
+
+ pinyin.sty now accepts DC fonts too.
+
+ all .bat and .cmd files now have LF/CR pairs as newlines.
+
+ .bat and .cmd batch files added for all equivalent script files in the
+ utils directory. It might be useful to replace the TeX-coded
+ preprocessors with this filters since they are faster.
+
+ all .bat and .cmd files call f_name.bat (f_name.cmd) to replace the
+ extension (usually .tex) with .cjk .
+
+ hbf2gf always used 300dpi resolution if used in mf-like mode (Zhang
+ Zhengyou <ZhengYou.Zhang@sophia.inria.fr>).
+
+---End of history.2_5---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/history.txt b/Master/texmf-dist/doc/latex/cjk/doc/history.txt
new file mode 100644
index 00000000000..93ce694ce57
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/history.txt
@@ -0,0 +1,1459 @@
+This file is part of the CJK package Ver. 4.2.0 (13-Dec-1998).
+
+
+History of the CJK package
+==========================
+
+
+Version 1.0: first release.
+01-June-1994
+
+
+Version 1.1: new:
+20-Aug-1994 \CJK@char(x) simplified.
+
+ CJK.txt updated.
+
+ diff.txt added.
+
+
+Version 2.0: new:
+15-Sep-1994 support for Hangul:
+ virtual fonts / tfm files for Hangul standard fonts.
+
+ changed:
+ font selection: modified .fd-files needed:
+ structure of .fd-files much more simplified.
+
+
+Version 2.1: new:
+28-Sep-1994 optional parameters to CJK size functions added.
+
+ sCJK size function added.
+
+ CJK* environment added: spaces after CJK characters are
+ swallowed.
+
+ Utility programs hbf2hbf and hbf2cjk added.
+
+ changed:
+ new Big 5 encoded fonts needed (more compressed)---saves
+ about 13 TeX subfonts per Big 5 encoded font.
+
+ modified example .fd-files .
+
+ errors:
+ Bg5text environment to pmC-Bg5 environment added.
+
+ pmC emulation now uses compatible font names, i.e.,
+ wcb5a1, wcb5a2, etc.
+
+
+Version 2.2: new:
+18-Oct-1994 CJK now supports hangul and hanja together. Two different
+ sets of subfonts are used as defined in Uhangul.fd and
+ Uhanja.fd .
+
+ CJK punctuation characters (fullwidth comma, colon,
+ semicolon, etc.) don't start a line. CJK opening
+ braces, etc., don't end a line.
+
+ \uppercase and \lowercase is now disabled if Big 5
+ encoding is active.
+
+ \lccode's is only reset if the new `lowercase' option is
+ set. This function is so seldom used that I decided to
+ separate it from setting \uccode's. You need less save
+ size if `encapsulated' is used without `lowercase'.
+
+ C source of hbf2cjk replaced with CWEB source.
+ .dvi files of hbf2hbf and hbf2cjk added.
+ C source files of hbf2hbf and hbf2cjk produced by
+ CTANGLE added.
+
+ \CJKtolerance added - this command for Hangul syllables
+ is the pendant to \CJKglue.
+
+ changed:
+ hangul environment renamed to KS.
+
+ modified example .fd-files.
+
+ new Hangul .vf and .tfm files.
+
+ definition of \CJKglue changed.
+
+ HBF API now supports HBF 1.1 (CHARS optional).
+
+ fine-tuning to hbf2cjk added
+ (Sam Chiu <ccc11@cus.cam.ac.uk>).
+
+ errors:
+ CJK* didn't work in sectioning commands
+ (Wu Guangxi <wuxi@unixg.ubc.ca>).
+
+
+Version 2.21: errors:
+25-Oct-1994 CJK* didn't suppress spaces
+(only CJK.sty) (Sam Chiu <ccc11@cus.cam.ac.uk>)
+
+
+Version 2.3: new:
+15-Nov-1994 JIS coding scheme/environment added.
+
+ pmC-KS and pmC-JIS environments added.
+
+ CNS coding scheme added.
+
+ hbf2gf added.
+ This program merges bmf2gf, hbf2cjk, and hbf2hbf; it
+ is about 10 times faster than hbf2cjk.
+ Consequently, hbf2cjk and hbf2hbf were removed.
+
+ changed:
+ only \uppercase disabled (see error).
+
+ \CJK@char, etc., simplified.
+
+ errors:
+ verbatim environments didn't work in Big 5 encoding
+ (Lee Chun-Yu <d791013@ce.ntu.edu.tw>).
+
+
+Version 2.4: new:
+03-Jan-1995 UTF 8 (Unicode) scheme added.
+
+ option `unicode' to hbf2gf added: if `on', a two-digit
+ hexadecimal number is used as a running number
+ starting with the value of the first byte of the first
+ code range.
+
+ Bg5conv.tex added: this is a small preprocessor which
+ converts Big 5 encoded characters `XY' into the form
+ `XZZZ.' . Now you can use Big 5 encoding without the
+ annoying Bg5text environment.
+ Auxiliary files: Bg5pp.enc, pmCsmpp.enc, and
+ bg5latex.bat .
+
+ changed:
+ new versions of emx.exe, emx.dll (ver. 0.9a) and rsx.exe
+ (rel. 5)
+
+ errors:
+ hbf2gf sometimes drew one pixel too much
+ (You Rey-Jer <you@gi4.bauingenieure.uni-stuttgart.de>).
+
+ pmC encodings didn't work
+ (Zhang Zhengyou <Zhengyou.Zhang@sophia.inria.fr>).
+
+ \CJK@charToHex and \CJK@numbToHex could erroneously change
+ page counter (Li Yu-Ray <r82111@ew.ee.ntu.edu.tw>).
+
+
+Version 2.5: never released; 7 beta versions published. See file
+ history.2_5.
+
+
+Version 3.0 there are too many changes to be described here in full
+10-Oct-1995 detail. Please reread the various documentation files and
+ check the file history.2_5 too.
+
+ new:
+ two contributed packages: ntu2cjk and ttf2pk.
+
+ SJIS coding scheme added.
+
+* a new unifying fontencoding scheme has been introduced:
+* max. 4 characters encoding + max. 3 characters
+* fontencoding
+*
+* examples:
+* JISdnp, JISpmC, etc.
+*
+* this change causes many files to be renamed (e.g.,
+* Uhanja.fd->Uhanj.fd); there is also a bunch of new/
+* redefined functions to support this:
+* \CJKenc
+* \CJKfontenc
+* \CJKshape
+* \CJKencshape
+* CJK and CJK* environment
+*
+* SOME OF THE ABOVE CHANGES ARE NOT COMPATIBLE WITH
+* PREVIOUS VERSIONS!
+
+ two fontencodings added: `dnp' for DNP fonts and `wn'
+ for Watanabe fonts.
+
+ four new size functions: `CJKsub', `CJKssub', `DNP', and
+ `DNPgen'.
+
+ \CJKchar has now an optional parameter to select the
+ encoding. You can also use this command with Unicode
+ encoding; additionally you can enter characters with
+ or without the 8th bit set (GL or GR form) except for
+ SJIS, Bg5 and UTF8 encoding.
+
+ a new internal level introduced:
+ we now have
+
+ active characters
+ |
+ +--------------> bindings (normal,
+ | preprocessed) <- new
+ |
+ active character macros
+ |
+ +--------------> encodings (GB, Bg 5, ...) +
+ | font encodings (none, dnp,
+ | pmC)
+ |
+ subfont selecting macros
+ |
+ +--------------> character macro sets
+ | (standard, Big 5, ...)
+ |
+ character selecting macros
+
+ a new style option has been added: `active'. If
+ activated, bindings are local. Default is still
+ `local' (with global bindings). You need this option
+ if you want to mix preprocessed text with
+ non-preprocessed text in nested CJK environments. This
+ can happen if you merge texts in various encodings.
+
+ options `dos' and `dosdebug' to makefiles added for
+ compiling with djgpp.
+
+ new keywords `design_size', `target_size', `tfm_files',
+ and `pk_files' added to hbf2gf. If `tfm_files'
+ (`pk_files') is `no', creation of .tfm-files
+ (.pk-files) is suppressed.
+
+ new calling mode for hbf2gf for use with MakeTeXPK:
+ hbf2gf configuration_file [subfont_number resolution]
+
+ a modified MakeTeXPK (and maketexp.btm) added to process
+ Chinese TrueType fonts (with ttf2pk) and CJK bitmap
+ fonts (with hbf2gf).
+
+ pinyin.sty for writing pinyin syllables with tones.
+
+ \CJKtilde and \standardtilde for embedding ordinary words
+ in CJK text.
+
+ new command \CJKcaption to load a caption file.
+
+ new commands \CJKCJKchar, \CJKhangulchar and
+ \CJKlatinchar added to specify character handling
+ (glue, discretionary). Only for UTF8 encoding needed.
+ Default is \CJKCJKchar.
+
+ various caption files (.cap) added to be used in
+ conjunction with the KOMA-script document classes.
+
+ MULE to CJK converter added.
+
+ changed:
+ the protection scheme has been completely rewritten.
+ Encoding changes now work in sectioning commands too.
+
+ reorganization of source tree.
+
+ all occurrences of utf8 changed to UTF8 including
+ filenames.
+
+ all occurrences of GBs changed to GB including filenames.
+
+* handling of intercharacter glue enhanced. Now there is
+* no \CJKglue before and after a block of CJK
+* characters. Note that this is a visually incompatible
+* change to the previous versions of CJK! (See the
+* command \CJKtilde also.)
+
+ the definition of the CEF encoding has changed; it uses
+ now HTML-macros to identify CNS codes. Various
+ preprocessors has been added to handle these macros.
+
+ CNS.sty removed. Has been integrated into CJK.sty .
+
+ if only one of the keywords `dpi_x' or `dpi_y' is given
+ in the hbf2gf config file the other printer resolution
+ is set equal to the given one.
+
+ the key values `on' and `off' in the hbf2gf config file
+ are replaced with `yes' and `no'.
+
+ errors:
+ if two Big 5 environments were stacked, the Bg5text
+ environment was defined twice causing an error
+ (Yang Jinn S. <v30yjs@v0sun11.ccl.itri.org.tw>).
+
+ \CJK@punctEnc was undefined in pmC-Bg5 environment
+ (Yang Jinn S. <v30yjs@v0sun11.ccl.itri.org.tw>).
+
+ pmC-Bg5 encoding did not work in preprocessed mode
+ (Yang Jinn S. <v30yjs@v0sun11.ccl.itri.org.tw>).
+
+ Bg5conv.tex and CEFconv.tex/CEF5conv.tex fail under the
+ web2c-TeX implementation because \write commands don't
+ output 8bit characters. C programs which do the same
+ were added.
+
+ wrong \CJK@min and \CJK@max values for some encodings.
+
+ some punctuation characters with Big 5 encoding had wrong
+ offsets (Li Yu-Ray <r82111@ew.ee.ntu.edu.tw>).
+
+ `global' option didn't work correctly.
+
+ \CJKchar didn't work in preprocessed mode
+ (Rob Lahaye <lahaye@amolf.amolf.nl>).
+
+ all .bat and .cmd files call f_name.bat (f_name.cmd) to
+ replace the extension (usually .tex) with .cjk .
+
+
+Version 3.0.1 new:
+20-Nov-1995 hbf2gf config files for CNS added.
+
+ changed:
+ .vf and .tfm files for Hangul have been removed; they
+ are now part of the Hangul font packages.
+
+ CNS font definition files modified.
+
+ `~', if \CJKtilde has been executed, now suppresses
+ spaces afterwards.
+
+ (hopefully) better installation documentation.
+
+ ttf2pk: improved scripts.
+
+ the font directories (for web2c) in the various
+ script/config files have been standardized:
+
+ the source bitmap fonts and its HBF header files are
+ now assumed to be in
+
+/usr/local/lib/font/{china,japan,korea,...}/font_name/
+
+ the hbf2gf configuration files in
+
+/usr/local/lib/hbf2gf/
+
+ the TeX font files in
+
+/usr/local/lib/texmf/fonts/{chinese,japanese,korean,...}/font_name/pk/CJK/
+/usr/local/lib/texmf/fonts/{chinese,japanese,korean,...}/font_name/{tfm,vf}/
+
+ the NTU TrueType fonts in
+
+/usr/local/lib/font/china/truetype .
+
+
+ errors:
+ standard.chr redefined the altchar macros erroneously
+ (Patrick Tuttle <n8442161@toad.lake.cs.wwu.edu>).
+
+ MULEenc.sty failed with german.sty in sectioning
+ commands.
+
+ mule2cjk didn't work with CNS planes 3-7.
+
+
+Version 3.1.0: new:
+20-Feb-1996 MakeTeXPK now supports DC (and TC) 1.2 fonts.
+
+ JIS supplement character set (JIS X 0212-1990)
+ implemented.
+
+ hbf2gf config file j2so12.cfg (for a JIS X 0212 font)
+ added.
+
+ New parameter for hbf2gf: slant. Note that slanted
+ fonts are not common for CJK languages and should
+ be used only in special situations.
+
+ Documentation about Japanese TeX systems and how to
+ handle Japanese with CJK contributed by TANAKA
+ Shinichiro <tanaka3@ifos.se.fujitsu.co.jp>.
+
+ An introduction into the CJK package in Chinese
+ contributed by Lee Chun-Yu <d791013@ce.ntu.edu.tw>.
+ Consequently the outdated README.bg5 together with
+ bg5_test.tex has been removed.
+
+ ntu2cjk version 1.3 .
+
+ CEF example added.
+
+ changed:
+ MULEenc.sty, mule2cjk:
+ \textcdot dropped; replaced with \textperiodcentered.
+
+ MULEenc.sty:
+ definition of \textregistered dropped since it is
+ defined for all encodings in the latest LaTeX2e
+ release.
+
+ CJK.sty:
+ \nbs is now defined as a shorthand for \nobreakspace.
+
+ \space's added to font size functions analogously to
+ the latest LaTeX release.
+
+ mule2cjk:
+ \nbs replaced with \nobreakspace.
+
+ maketexp.btm:
+ small enhancements.
+
+ f_name.bat:
+ slightly modified to make it run under 4DOS too.
+
+ hbf2gf:
+ hbf.c updated to latest hbf version (17-Oct-1995).
+ errors:
+ maketexp.btm:
+ the ttfdir environment variable in the created
+ fonts.btm file was not set.
+
+ Oh, oh, font creation with hbf2gf also didn't work...
+
+ at one place two `%%' used instead of one.
+
+ UJISwn.fd should now search for the right fonts.
+
+ *.cap:
+ erroneously contained \@undefined instead of
+ \undefined.
+
+ JIS.cap:
+ completely broken (sigh). Unbalanced \if... statements
+ caused unrecoverable errors.
+
+
+Version 3.1.1: new:
+20-Jun-1996 \CJKspace switches (inside of a CJK or CJK* environment)
+ from CJK* to CJK mode.
+ \CJKnospace switches from CJK to CJK* mode.
+
+ support for Vietnamese with Mule. You need the vncmr-2.1
+ package for fonts and LaTeX2e support.
+
+ Latin 5 (ISO 8859-9) for Mule implemented.
+
+ changed:
+ mule2cjk removed and replaced with cjk-enc.el which
+ defines a new output encoding scheme for Mule
+ (*cjk-coding*). See cjk-enc.doc for details.
+
+ new protection scheme and changed macro definitions in
+ MULEenc.sty enables kerning for non-CJK languages. This
+ also makes most of the CJK macros significantly smaller.
+
+ f_name.bat replaced with the latest version.
+
+ some documentation improvements.
+
+ \CJKhanja and \CJKhangul now also make sense outside of
+ KS encoding (useful in connection with mule2cjk).
+
+ errors:
+ f_name.cmd doesn't work. All *.cmd removed. I have first
+ to learn REXX to write such batch files for OS/2.
+
+ ttf2pk failed if the PK package size of a character was
+ 1024 (the same error is also in the pbm2pk program).
+
+ hbf2gf didn't initialize mag_x/mag_y and dpi_x/dpi_y
+ correctly (Zhang Zhengyou
+ <Zhengyou.Zhang@sophia.inria.fr>).
+
+ after closing a CJK environment not all characters above
+ 0x80 had been made non-active (a typo).
+
+ pinyin.sty did not preserve the \a macro (used in
+ tabbing environments).
+
+ single byte characters didn't work in SJIS encoding (a
+ typo).
+
+ `:' and `.' do not work as parameter delimiters if these
+ characters are active (Daniel Flipo <?@?>). Now ^^ff
+ is used; the old macro ^^ff is now ^^a0; ^^a0 has
+ become ^^80. The old ^^80 macro has been removed since
+ the new version of mule2cjk always use the `global'
+ option of CJK which allows the use of (the new) ^^80
+ instead.
+
+ \CJKenc{SJIS} didn't work (Thomas Piekenbrock
+ <piekenbro@msmzid.frankfurt.hoechst-ag.d400.de>).
+
+ SJISconv.tex didn't run (a senseless line called the
+ nonexistent macro \CJK@other) (Thomas Piekenbrock
+ <piekenbro@msmzid.frankfurt.hoechst-ag.d400.de>).
+
+ JIS.cap didn't work (a typo).
+
+ SJIS.cap didn't work either (forgot to edit).
+
+
+Version 4.0.0: new:
+20-Sep-1996 I did the final step. All CJK encodings now have all
+ NFSS attributes, namely family, series, and shape
+ (represented by \CJK@family, \CJK@series, and
+ \CJK@shape). \CJK@family is set by entering a CJK
+ environment in the same way as it was done in former
+ versions of this package. \CJK@series and \CJK@shape
+ are (usually) controlled by the standard NFSS commands
+ (e.g., \slshape, \textbf, etc.).
+
+ To achieve this it was necessary to define (NFSS)
+ font encodings for the CJK package. All CJK font
+ encodings map to NFSS font encodings which start with
+ the letter `C', followed by two digits. Here is a
+ table:
+
+ Chinese: Bg5 C00
+ Bg5pmC C01
+
+ GB C10
+ GBpmC C11
+
+ GBt C20
+ GBtpmC C21
+
+ CNS1-7 C31-37
+
+ Japanese: JIS C40
+ JISpmC C41
+ JISdnp C42
+ JISwn C43
+
+ JIS2 C50
+
+ SJIS -> kana C49
+ (additionally)
+
+ Korean: KS -> hanja C60
+ -> hangul C61
+ KSpmC C62
+ KSHL -> hanjaHL C63
+ -> hangulHL C64
+ -> HLsymbolJ C65
+ -> HLsymbolK C66
+
+ Unicode: UTF8 C70
+
+ CEF: CEFX C80
+ CEFY C81
+
+ The first digit corresponds to a CJK (input) encoding
+ like Bg5 or JIS, the second digit represents either a
+ CJK font encoding or internal encodings necessary to
+ cover the selected CJK encoding.
+
+ One consequence of this step is that you have to adapt
+ all .fd files to the new scheme. Look at the example
+ font definition files of the CJK package how to do it.
+
+ You can't use e.g., `C01' directly! Use the CJK
+ interface (in this example \CJKfontenc[pmC]{Bg5}).
+
+ Another consequence is that you are now limited to
+ five characters for the family name since it is part
+ of the .fd name (together with the NFSS font
+ encoding): e.g., `fangsong' is not longer allowed. I've
+ renamed this to `fs'.
+
+ the new font encoding scheme of the HLaTeX package is
+ supported. You can select it with \CJKfontenc[HL]{KS}
+ or \begin{CJK}[HL]{KS}{...} . This is _not_ an
+ emulation of HLaTeX! See CJK.doc for details.
+
+ poor-man's bold font has been introduced. To do this all
+ occurrences of \symbol has been replaced with the new
+ command \CJKsymbol which honours the \ifCJK@bold@
+ flag. If set, a character is printed three times with
+ a small horizontal shift. You can modify this flag
+ with \CJKnormal and \CJKbold. These commands are
+ intended for use with \DeclareFontShape:
+
+ \DeclareFontShape{C00}{CNS}{m}{n}{<-> CJK * csso12}{}
+ \DeclareFontShape{C00}{CNS}{bx}{n}{<-> CJKb * csso12}{\CJKbold}
+
+ Additionally four size functions (CJKb, sCJKb,
+ CJKfixedb, sCJKfixedb) has been introduced which are
+ completely identical to its counterparts without the
+ final `b'. The only reason to use them is, as shown in
+ the above example, to make the fifth parameter of
+ \DeclareFontShape for bold series different from the
+ one for medium series (LaTeX2e uses this parameter as
+ a macro name to execute loading-settings, thus they
+ must not be equal). Redefine \CJKboldshift if the
+ default shift value of 0.015em is not optimal for the
+ specific font.
+
+ support for ruby (= furigana) added. See rubi.doc for
+ details.
+
+ ttf2pk:
+ TTF specific error handling enabled.
+
+ Big 5 encoded TTF in format 4 can now be handled.
+
+ hbf2gf: you can now use environment variables ($FOO or
+ ${FOO}) in the configuration file. Use $$ to get a
+ dollar sign.
+
+ man pages added.
+
+ more examples added.
+
+ REXX scripts bg5latex.cmd, etc. (for OS/2) added
+ (contributed by Wonkoo Kim <wkim+@pitt.edu>).
+
+ teTeX.doc added.
+
+ changed:
+* The CJK distribution has been divided into three
+* packages:
+* src The sources. Needed for all platforms
+* bin Binaries compiled with emx for DOS and OS/2.
+* rest Preformatted documentation (.dvi, .ps,
+* output from cjk-enc.el)
+*
+* ALL FONT DEFINITION FILES HAVE BEEN CHANGED AND RENAMED!
+*
+ \CJKshape and \CJKencshape renamed to \CJKfamily and
+ \CJKencfamily respectively. For backward compatibility
+ you can still use the old names. Nevertheless, they
+ now modify the font family parameter and no longer the
+ font shape parameter.
+
+ all *conv.tex and its batch files removed.
+
+ all converter programs now do not change the number of
+ lines in the output file.
+*
+* the UN*X converter batch files now replace the extension
+* with .cjk instead of appending it. E.g.
+* test.tex -> test.cjk (instead of test.tex.cjk)
+*
+ f_name.bat provides a new environment variable %fu%
+ for a Unix-like path (using `/' instead of `\'). Now
+ you can run bg5latex.bat and the other DOS batch files
+ having a file name with a path as an argument. Please
+ replace all these batch files with the new ones.
+
+ starting with this version ttf2pk is a direct part of
+ the CJK package. I maintain it. As a consequence the
+ ttf2pk directory tree has been moved into the utils
+ subdirectory.
+
+ MakeTeXPK, MakeTTFPK: environment variable ttfdir and
+ hbf2gfdir renamed to TTFDIR and HBF2GFDIR
+ respectively.
+
+ hbf2gf: sample configuration files now contain TDS
+ compliant directories.
+
+ ttf2pk:
+ -c option removed which never worked.
+
+ some redundant code removed.
+
+ heavily reformatted.
+
+ errors:
+* PLEASE RECREATE ALL .TFM AND .PK FILES PRODUCED BY
+* TTF2PK!
+* Reason: the width values were resolution dependent.
+* You should use the InstallFont script or instfont.btm
+* for this job since the very bug in ttf2pk has not yet
+* been fixed. Additionally you must install the new
+* MakeTTFPK script.
+
+ ttf2pk:
+ endchar didn't work correctly.
+
+ punctuation characters in KS were not handled correctly.
+
+ \CJKchar failed sometimes (Jinn S. Yang
+ <v30yjs@v0sun11.ccl.itri.org.tw>).
+
+ Big 5/SJIS characters failed in headers, etc., if used
+ without preprocessor (Jinn S. Yang
+ <v30yjs@v0sun11.ccl.itri.org.tw>).
+
+
+Version 4.0.1: appeared as a diff only---a typo in utils/ttf2pk/findex.c
+26-Sep-1996
+
+
+Version 4.1.0: new:
+20-Nov-1996 ttf2pk:
+ a new parameter -e has been introduced for selecting
+ the font encoding; possible values are `Big5' (the
+ default), `EUC' for extended Unix codes (JIS, GB, KS,
+ etc.), `SJIS', and `X'. The last value treats the TTF
+ file as SJIS encoded but expects start_char in JIS
+ encoding (routines are in coding.{c,h}).
+
+ a new parameter -r has been introduced for rotating
+ the glyphs 90 degrees counter-clockwise if its value
+ is non-zero. See ttf2pk.1 for details.
+
+ Some preliminary support for composite glyphs has been
+ included. Since hinting instructions are not supported
+ yet this is only of some academic interest. You can
+ watch the funny results with the mingli system font of
+ the traditional Chinese Windows 3.1 .
+
+ Support for different horizontal and vertical
+ resolutions has been added. Now you have one more
+ parameter to call ttf2pk:
+
+ ttf2pk pkname tfmname xres yscale startch nmbch ...
+
+ Currently you have to change yscale by hand in
+ MakeTTFPK (or makettfp.btm). [yres = xres * scale]
+
+ The source code has been prepared for pretty-printing
+ with c2cweb. Say `make documentation OS=<SYSTEM>' to
+ produce it (of course after installing the c2cweb
+ package). You find precomputed .dvi files in the
+ `rest' part of the CJK package.
+
+ HSIEH Tung-Han <thhsieh@twclx.phys.ntu.edu.tw>
+ contributed NTeXb5.doc for installing the CJK package
+ under NTeX.
+
+ hbf2gf:
+ if called in METAFONT-like mode, one additional
+ parameter has been added to allow printers with
+ different horizontal and vertical resolutions:
+
+ hbf2gf config_file subfont_nmb x_resolution y_scale
+
+ (y_resolution = x_resolution * y_scale; y_scale must
+ be a real number > 0; currently you must change y_scale
+ by hand in MakeTeXPK/maketexp.btm)
+
+ hbf2gf now produces a .pl file even if in
+ METAFONT-like mode.
+
+ a new config file option `rotation' rotates the glyphs
+ 90 degrees counter-clockwise if set to `yes'.
+
+ vertical presentation forms of Big5 punctuation
+ characters added to punctuation tables in CJK.enc .
+
+ CJKvert.sty for vertical typesetting added. This is an
+ experimental feature! Please read vertical.doc for
+ further details.
+
+* MakeTeXPK and friends:
+* it's no longer necessary to rename TTF files to avoid
+* underline characters. A configuration file is now used
+* (ttf2pk.cfg) which resides in $TTF2PKDIR (usually
+* $TEXMF/ttf2pk) to describe the various TTF files.
+* Please rename e.g., ntukai.ttf back to ntu_kai.ttf .
+* The environment variable $TTFDIR has become obsolete.
+
+ The teTeX variants of the scripts can now produce tfm
+ files on demand---it's sufficient to simply install
+ the source files of a new font.
+
+ changed:
+* rubi.sty has been renamed to ruby.sty; the same is
+* true for all commands in it: \ruby, \rubyoverlap, etc.
+
+ new version (1.5) of ntu2cjk.
+
+ hbf2gf:
+ the option `target_size' has been removed. It is
+ ignored now.
+
+ under DOS and OS/2 both `\' and `/' are now recognized
+ as a path separator.
+
+ ttf2pk:
+ the -s parameter (to select a design size) has been
+ removed. The program now always assume a design size
+ of 10pt.
+
+ the parameter end_char has been replaced with
+ nmb_of_char (max. 256).
+
+ begin_char can now be either decimal, hexadecimal
+ (prefix `0x'), or octal (prefix `0').
+
+ x_offset and y_offset behave now similar to hbf2gf
+ (and most people would expect it that way): a positive
+ x (y) value shifts right (up); default is zero for
+ both parameters using the default placement as given
+ in the TTF file. The values are no longer integers but
+ real numbers and should be multiples of design size.
+
+ horz_esc and vert_esc are now real numbers too and
+ should be multiples of design size.
+
+ you no longer need to use -W, -H, and -D for getting
+ resolution independent .tfm files. ttf2pk now
+ correctly uses the values of the TTF file.
+
+* PLEASE RECREATE ALL .TFM (AND .PK) FILES! Sorry for
+* this inconvenience. I hope it is the last time. Due to
+* some optimizations the .pk files are about 5% smaller
+* now.
+
+ The TTF part of the source code has been transformed
+ into a library (ttflib); the makefile has been
+ rewritten with a new syntax. Say `make' for details.
+
+ utils/ttf2pk/README.b5 and INSTALL.bg5 removed. They
+ were out of date.
+
+ modified MakeTTFPK/MakeTeXPK/InstallFont and
+ makettfp.btm/maketexp.btm/instfont.btm scripts.
+
+
+Version 4.1.1: appeared as a diff only.
+02-Dec-1996
+ new:
+ cjktilde.el:
+ this file contains a minor mode (`cjk-tilde-mode') for
+ emacs to exchange the ` ' key with the `~' key. See
+ the documentation of \CJKtilde for details.
+
+ changed:
+ directory cjk-enc renamed to lisp.
+
+ errors:
+ the fullwidth double colon in GB encoding was missing in
+ the punctuation tables.
+
+
+Version 4.1.2: new:
+20-Feb-1997 ntu2cjk ver. 1.6 now supports the Jackson font (a Big 5
+ encoded PostScript font).
+
+ cjkspace.el: similar to cjktilde.el for cooperation with
+ AUCTeX.
+
+ support files for NDOS contributed by KUO Yi-Liang
+ <c300711@ms5.hinet.net> .
+
+ emTeX support documentation also contributed by
+ KUO Yi-Liang <c300711@ms5.hinet.net> .
+
+ changed:
+ ttf2pk/src/Makefile: uses -C switch of GNU make now for
+ entering subdirectories.
+
+ adaptation to LaTeX release 1996/12/01:
+ all .fd files now start with e.g., c00 instead of C00
+ (nevertheless, the encoding is still called `C00').
+
+ all executables are now finished with exit() to avoid
+ additional security holes.
+
+ Bg5rot.tex renamed to Bg5vert.tex .
+
+ errors:
+ MakeTTFPK:
+ some sed programs can't understand the `\w' special
+ character (indicating a word constituent character);
+ has been replaced with `.'.
+
+ it was not possible to open a CJK environment with
+ SJIS encoding a second time (Thomas Piekenbrock
+ <piekenbro@smzid.frankfurt.hoechst-ag.d400.de>).
+
+ the same problem existed with UTF 8 encoding;
+ additionally the macros failed for protected
+ arguments.
+
+ cjktilde.el:
+ if you assigned the minor mode to a key, the status
+ line was not updated.
+
+ ttf2pk:
+ problems with empty glyphs fixed.
+
+ problems with invalid index tables now lead to a
+ warning instead of a fatal error.
+
+
+Version 4.1.3: new:
+20-Jun-1997 hbf2gf can now create virtual Omega (.ofm) files.
+
+ ttf2pk (and its scripts) now supports Unicode encoded
+ fonts.
+
+ cjk-enc.el for emacs 20.
+
+ Russian support (in T2 encoding) for Mule/emacs 20.
+ Please contact me for fonts, hyphenation patterns, and
+ macro packages.
+
+ JIS X 0201 support for Mule/emacs 20.
+
+ experimental support for Thai (only emacs 20). This is
+ basically C-TTeX version 1.51 adapted to CJK. Anybody
+ who is interested in this stuff (and has some
+ knowledge on Thai contrary to me :-) please contact
+ me so I can improve it. Please read cjk-enc.doc for
+ more details.
+
+ ntu2cjk version 1.8:
+ now supports partial downloading of NTU fonts with
+ dvips.
+
+ installation checklist added to INSTALL.
+
+ installation instructions written in Chinese GB
+ contributed by YAO Fude <yao@everest.micro.umass.edu>.
+
+ UTF8.tex example added.
+
+ changed:
+ MULEenc.sty:
+ \hbar and \HBAR replaced with \textmalteseh and
+ \textmalteseH respectively according to the LaTeX2e
+ release June 1997.
+
+ further simplifications.
+
+ external CJK font packages, script and documentation
+ files updated to TDS standard.
+
+ c70song.fd:
+ now uses cyberbit.ttf as default font.
+
+ errors:
+ make*.btm scripts now really work :-) (thanks to
+ <rshuang@ms11.hinet.net>).
+
+ c00cns.fd was incorrectly stored as c00CNS.fd .
+
+ MULEenc.sty:
+ expansion macro improved (the old version prevented
+ kerning if used with e.g., \MakeUppercase).
+
+ hbf2gf:
+ support for Unicode encoded HBF files was totally
+ broken.
+
+ always used non-rotated x and y input sizes.
+
+ the HBF interface now uses only one file handle per
+ opened font---previously it used one file handle per
+ HBF_CODE_RANGE line (Mark Leisher
+ <mleisher@crl.nmsu.edu>).
+
+ ttf2pk:
+ can now handle fonts like avkv.ttf which have a
+ non-standard way to handle the end of the glyph index.
+
+ a nasty allocation bug removed due to missing modulo
+ 65536 operations (thanks to YANG Ching-Hsiang
+ <jsyang@vlsi.ccl.itri.org.tw>).
+
+
+Version 4.2.0: new:
+13-Dec-1998 pinyin.sty:
+ support for EC fonts: the macron bar has been lowered
+ considerably.
+
+ kerning in pinyin syllables is now identical to
+ unaccented syllables.
+
+ teTeXb5.doc:
+ How to set up CJK with teTeX 0.9 (in Chinese).
+ Contributed by HSIEH Tung-Han
+ <thhsieh@twcpro.phys.ntu.edu.tw>.
+
+ CJKnumb.sty:
+ new package for converting a number into a CJK
+ representation. It provides just one command,
+ \CJKnumber.
+
+ CJK.sty:
+ new command \CJKaddEncHook for adding code which is
+ executed each time a certain encoding is selected.
+
+ contrib/wadalab:
+ how to use Wadalab Japanese PostScript fonts with CJK.
+ Contributed by LEUNG Hin-Tak <htl10@cus.cam.ac.uk>.
+
+ CJK.enc:
+ added C52 encoding (JIS2 in dnp font encoding).
+
+ changed:
+ MULEenc.sty, cjk-enc.el:
+ updated to latest LaTeX 2e changes (1997/12/01 and
+ 1998/06/01):
+ \DH, \dh renamed to \DJ, \dj; LaTeX2e now provides
+ \textdegree, \textordfeminine, and \textordmasculine.
+
+ updated to latest T2 changes: \CYRUKRI, \CYRUKRE and
+ its lowercase forms are renamed to \CYRII and \CYRIE
+ respectively.
+
+ there is now a version of cjk-enc.el for emacs 20.3
+ too.
+
+ muletest.tex:
+ new translations; Russian now standard.
+
+ thaiconv:
+ updated to include cttex 1.15 changes.
+
+ a revised TDS structure for storing CJK fonts and
+ configuration files (see TDS.doc for details).
+
+ compile.doc has been removed.
+
+ NTeXb5.doc has been removed.
+
+ ttf2pk.doc has been removed (it is now in the ttf2pk-old
+ package).
+
+ the whole ttf2pk subdirectory has been removed. Get the
+ new ttf2pk program of the FreeType project (available
+ from ftp.freetype.org in the directory
+ pub/freetype/devel as the package
+ freetype-current.tar.gz)---the new ttf2pk can work
+ with composite fonts too and supports hinting. The old
+ ttf2pk is still available as ttf2pk-old.tar.gz .
+
+ the whole ntu2cjk subdirectory has been removed. Get the
+ new ttf2pfb program of the FreeType project (see just
+ above for the location). ntu2cjk is still available as
+ ntu2cjk.tar.gz .
+
+ the whole NDOS subdirectory has been removed because it
+ is completely out of date.
+
+ CJK.sty:
+ caption files for preprocessed mode have now the
+ extension `.cpx' to simplify editing of cap files.
+
+* hbf2gf:
+* completely redesigned to make calls in scripts for
+* creating PK fonts easier. Please refer to hbf2gf.1
+* or hbf2gf.dvi for details.
+*
+* maketexp.btm, etc.:
+* replaced with dvidrv.btm, a replacement for emTeX's
+* dvidrv.exe; it is documented in dvidrv.doc .
+
+ fonts from HLaTeX >= 0.97 are now supported. As a
+ consequence, support for older HLaTeX versions has
+ been withdrawn. The internal encoding C66 no longer
+ exists.
+
+ cjk-enc.el:
+ function write-cjk-file added (thanks to David Fox
+ <fox@cat.nyu.edu>).
+
+ errors:
+ pinyin.sty:
+ \O wasn't handled specially.
+
+ CJK.sty now coexists with ArabTeX.
+
+ possible save size overflow fixed (\CJK@temp was
+ assigned locally and globally at the same time).
+
+
+Version 4.3.0: An intermediate version containing most features of 4.5.0
+04-Apr-2000 published on the TeX Live 5 CD. It has never been officially
+ released.
+
+
+Version 4.4.0: An intermediate version containing most features of 4.5.0
+17-Apr-2001 published on the TeX Live 6 CD. It has never been officially
+ released.
+
+Version 4.5.0: An intermediate version containing most features of 4.5.1
+01-May-2002 published on the TeX Live 7 CD. It has never been officially
+ released.
+
+Version 4.5.1: new:
+17-Jun-2002 CJKulem.sty:
+ Full underlining support using the latest version of
+ ulem.sty.
+
+ Bg5+ and GBK charsets and encodings added (together with
+ `Bg5+text' and `GBKtext' environments). The encodings
+ are C09 and C19, respectively.
+
+ `bg5+latex' and `gbklatex' scripts added (together
+ with its DOS and OS/2 pendants); both call the new
+ converter `extconv'.
+
+ EUC-JP and EUC-TW encodings (*with* single shifts) added.
+
+ SJIS encoding with DNP fontencoding.
+
+ A configuration file `CJK.cfg' is read by CJK.sty just
+ before the \endinput command.
+
+ CJKnumb.sty:
+ Added the macro \CJKdigits to CJKnumb.sty for printing
+ a (integer) number with CJK digits.
+
+ Added macro \CJKnullspace to control the amount of
+ space inserted before and after a circle character
+ used for CJK digit zero.
+
+ Added the macro \CJKindent to CJK.sty which sets the
+ paragraph indentation to two ideographic spaces.
+
+ Added a test file `CJKbabel.tex' for testing CJK,
+ emacs 20, and the babel package.
+
+ Thai support for Babel added.
+
+ Added a test file `thai.tex' for testing Thai.
+
+ cjk-enc.el:
+ Now works with XEmacs also (except for Thai).
+
+ Support for ISO-8859-7 (Greek) added.
+
+* Support for multifile documents added. As a
+* consequence, it is now necessary to specify the
+* encoding of all files with local variables for Emacs
+* (see the comments at the end of the files in the
+* `examples' directory how to do that; the `coding: ...'
+* line must exist.
+
+ The translation tex->cjk is now executed only if the
+ source file is more recent than the corresponding
+ output file (it is still possible to force translation
+ though).
+
+ Hyphenation patterns for unaccented pinyin syllables
+ (together with support for the Babel package) in
+ utils/pyhyphen. Documentation is in doc/pyhyphen.doc.
+
+ pinyin.sty:
+ Added option `useCMmacron' (for LaTeX only) to use
+ a macron accent from the CM fonts in case the current
+ font doesn't have it (e.g., some versions of virtual
+ files for Palatino).
+
+ Compound syllables can now be hyphenated.
+
+ MULEenc.sty:
+ Added \CJKinclude{<file>}, \CJKinput{<file>}, and
+ \CJKbibliography{<file>} macros which behave similar
+ to \include, \input, and \bibliography but include
+ (input) <file>.cjk and <file>-cjk.bib instead.
+
+ CJK.sty/MULEenc.sty:
+ The command \CJKverbatim suppresses insertion of glue
+ between CJK and Thai characters in verbatim
+ environments if the `verbatim' package is used. This
+ is useful if you have overlong lines.
+
+ changed:
+ Thai support has been redesigned. The external program
+ `thaiconv' has been replaced by a Lisp file called
+ thai-word.el; ligatures in virtual Thai fonts are now
+ used to select the proper glyph representation forms.
+ See thaifont.doc and cjk-enc.doc for details.
+
+ CNS stuff moved into a `CNS' directory.
+
+* CJK.sty/MULEenc.sty,
+* cefconv, cef5conv, cefsconv, bg5conv, sjisconv,
+* cjk-enc.el:
+* The character slot 0xA0 is no longer used for
+* \CJKchar; instead, the multiplex character 0x7F
+* interface now handles this also. Additionally,
+* character 0x7F (instead of 0xFF) is used as delimiting
+* character. 0x7F is used for all CJK characters also in
+* preprocessed mode---as a consequence, preprocessed and
+* non-preprocessed data can be used simultaneously.
+*
+* You *must* update the *conv programs (if you use
+* them). \CJKpreproc and \CNSpreproc now contain the
+* current version string so you can check whether really
+* the new versions are called.
+
+ cjk-enc.el:
+ ET5 encoding for Vietnamese replaced with T5 encoding.
+
+ The version for emacs 20 has been removed. Please
+ upgrade your emacs to 20.7 or newer.
+
+ contrib/wadalab:
+ Use CJK font size functions instead of DNP ones.
+
+ hbf2gf:
+ The configure option --with-kpathsea-dir has been
+ replaced with --with-kpathsea-include and
+ --with-kpathsea-lib to support web2c installations
+ with multiple architectures.
+
+ errors:
+ cjk-enc.el:
+ The formatting parameter `%i' has been replaced with
+ `%d'.
+
+ pmC.chr:
+ Missing \ifCJK@ added.
+
+ Punctuation macros fixed.
+
+ Bg5.chr:
+ Fixed a typo \CJK@temp -> \CJK@gtemp.
+
+ hbf2gf:
+ Now works correctly with very large pixel sizes.
+
+ Punctuation with half-width katakana in SJIS encoding
+ improved.
+
+ A bug fixed which prevented the usage of caption files
+ together with hyperref.
+
+ KS encoding with HLaTeX fontencoding now supports
+ punctuation also.
+
+ Specifying a font size factor (like `CJK * [1.5]') in
+ FD files no longer produces a warning message for
+ all subfonts.
+
+Version 4.5.2: new:
+28-Mar-2003 The new macro \CJKnohwkatakana prevents the use of the
+ C49 encoding for half-width katakana; instead, the
+ characters are mapped to full-width glyphs. The
+ opposite command is \CJKhwkatakana (the default).
+
+ Improved support for pseudo-vertical typesetting.
+
+ . CJKvert.sty provides new commands \CJKvert (the
+ default) and \CJKhorz to toggle pseudo-vertical
+ typesetting.
+
+ . After loading CJKvert.sty, LaTeX reads file
+ `<foo>.fdv' (if it exists) immediately after reading
+ `<foo>.fd'. Such a file contains additional
+ information how to typeset a font vertically. Most
+ importantly, outline fonts can be configured so that
+ they are rotated with the graphicx package, making
+ it work with both dvips and pdfTeX. See
+ `vertical.doc' for more information.
+
+ errors:
+ \CJKchar sometimes didn't accept 7bit representations.
+
+ pinyin.sty:
+ Added missing syllables \chua, \den, \rua.
+ Make it work properly in tables.
+
+ contrib/wadalab:
+ Older versions of the `makefont' script produce bad
+ hints for all Wadalab fonts. Either use the new
+ version to regenerate all fonts or use the new script
+ `fixwada' to correct fonts created with an old version
+ of `makefont'.
+
+ EUC-TW.chr: Make it really work.
+
+Version 4.6.0: new:
+11-Aug-2005 CJKutf8.sty merges basic LaTeX's and CJK's UTF-8 support.
+ See CJKutf8.doc for details.
+
+ The two new macros \Thaispace and \Thainospace can be
+ used to control the EOL behaviour in Thai text blocks
+ if processed with cjk-enc.el.
+
+ There are now scripts (for Unix) to call pdflatex
+ instead of latex: bg5pdflatex, sjispdflatex, etc.;
+ all scripts now pass parameters to latex (the program).
+
+ New documentation files giving hints how to set up the
+ CJK package for optimal PDF output.
+
+ New documentation file `reftex.doc' describing
+ customization for RefTeX (which is part of Emacs).
+
+ CJKfntef.sty provides more font effects specific to
+ CJK scripts. See the example file CJKfntef.tex for
+ typical usage.
+
+* All .fdv-files have been renamed to use the suffix
+* `.fdx' since they are no longer restricted to vertical
+* writing direction. See the new file `fdxfiles.doc'
+* for more information.
+
+ changed:
+ All plain text documentation files now have the suffix
+ `.txt'.
+
+* Thai support has been improved.
+*
+* . Internally, the font creation process now uses
+* fontinst to create the TFM files. As a consequence,
+* virtual fonts are no longer necessary.
+*
+* . Due to an uncertain license, the `dbtt' font family
+* has been replaced with `garuda', taken from
+* thailatex version 0.3.5.1 which you can find at
+*
+* http://linux.thai.net/plone/TLWG/thailatex
+*
+* . The directory tree below `utils/thaifont' has been
+* updated to reflect TDS 1.1, as supported by the
+* forthcoming TeXLive 2005 and teTeX 3.0.
+*
+* Please replace all files related to Thai fonts in your
+* TEXMF tree with the new fonts and font support files.
+
+* HLaTeX support has been updated to handle fonts from
+* version 1.0.1---there are no longer MF source files,
+* only PS fonts. Support for non-uhc fonts have been
+* removed; you should upgrade to the latest HLaTeX font
+* archives from CTAN. Please consult CJK.doc, section
+* `Korean input', for the (slightly) changed font names of
+* HLaTeX support.
+
+ errors:
+ Some characters in Big 5 encoding disappeared without
+ a warning if pseudo-vertical writing was active.
+
+ pinyin.sty:
+ Umlaut u with diacritic appeared bold.
+
+ Umlaut u with macron above was broken.
+
+ CJKulem.sty:
+ User-defined \CJKglue value was ignored.
+
+ Line breaks before a post-punctuation CJK glyph
+ weren't disabled when \uline and friends were used.
+
+ MULEenc.sty:
+ \textordfeminine and \textordmasculine were exchanged
+ if used with cjk-enc.el.
+
+ contrib/wadalab/*.fdx:
+ Handle Hiragana-Katagana prolongation mark correctly.
+
+ cjk-enc.el:
+ Multifile support was partially broken.
+
+ CJKvert.sty:
+ Both \CJKvert and \CJKhorz had both local and global
+ effects. Now they are completely local.
+
+
+Version 4.7.0:
+17-Oct-2006
+ new:
+ A new encoding `HK' (C05) is available for Hong Kong's
+ HKSCS-2004, used in combination with Big 5.
+
+* `UTF8' encoding now supports full Unicode (up to
+* U+10FFFF). Subfont planes for ranges greater than U+FFFF
+* consist of four hexadecimal digits (for example
+* `foo025e' which covers U+25E00-U+25EFF). The \Unicode
+* command (and \CJKchar) has been extended to accept
+* Unicode values greater than U+FFFF.
+
+ CJKutf8.sty:
+ Support Unicode encoded bookmarks if the hyperref
+ package is used.
+
+ Automatically generate ToUnicode cmaps for pdftex
+ (tested with pdftex version 3.141592-1.30.4-2.2; it
+ currently doesn't work with virtual fonts).
+
+ Caption files in UTF-8 encoding have been added; the
+ files are identical to the encoding-specific versions.
+
+ ja Japanese
+ ko-Hang Korean using Hangul
+ ko-Hang2 another version using Hangul
+ ko-Hani Korean using Hanja
+ zh-Hans Chinese simplified
+ zh-Hant Chinese traditional
+
+ errors:
+ UTF-8 input character 0x80 was handled only partially.
+
+ pinyin.sty:
+ The package didn't preserve `\ding' which is defined
+ in pifont.sty, causing problems with older versions of
+ the hyperref package and its `hpdftex' driver option.
+
+ CJK.sty:
+ Make it work with font definition files (like the ones
+ from the fourier package) which expect that the
+ loading-settings are called only once.
+
+ The use of caption files within the `scrartcl' class
+ made \chapter a defined command (instead of reporting
+ an error).
+
+ With the koma-script classes, all CJK caption files
+ except for Korean produced bad looking TOC entries for
+ \part.
+
+
+Version 4.8.0:
+22-May-2008
+ new:
+ Support for EUC-JP with DNP font encoding has been
+ added.
+
+ Support for XeLaTeX has been contributed by SUN
+ Wen-Chang <sunwch@hotmail.com> (in file `xCJK.sty').
+ Note that this is just a rudimentary emulation layer;
+ most users are probably better off using XeLaTeX's
+ Unicode and font support directly. See `xCJK.txt' for
+ more details.
+
+ pinyin.sty:
+ Added support for T5 encoding.
+
+ CJKvert.sty:
+ Added command \CJKbaselinestretch to adjust the
+ baseline stretch used in vertical typesetting.
+ Previously, the value 1.3 was hardcoded.
+
+ Added package option `usebaselinestretch' to use
+ the \baselinestretch value set before loading
+ CJKvert.sty; \CJKbaselinestretch then becomes a
+ factor to adjust it.
+
+ Add support for \CJKhdef{offset}{...} in .fdx-files.
+ For example, to vertically shift all glyphs of the
+ `bsmi' font shape in Big 5 encoding (for horizontal
+ writing), put
+
+ \CJKhdef{offset}{-.07em}
+
+ into c00bsmi.fdx and add
+
+ \usepackage{CJKvert}
+ \CJKhorz
+
+ to your preamble.
+
+ errors:
+ \CJK@bold didn't work properly for C49 (half-width
+ katakana) encoding. Now C49 is handled as a CJK
+ encoding, this is, you should use the various size
+ functions (`CJK', `CJKb', etc.).
+
+---End of history.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/japanese/README b/Master/texmf-dist/doc/latex/cjk/doc/japanese/README
new file mode 100644
index 00000000000..ab5101887af
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/japanese/README
@@ -0,0 +1,18 @@
+* The documentation files in this directory describe version 3.1.0; mule2cjk
+* no longer exists---please read cjk-enc.txt for the new interaction between
+* Mule and CJK. Until now I couldn't reach the author again.
+
+In this directory you find a suite of small documentation files which deal
+with CJK and other Japanese features/systems in relation to TeX. They were
+contributed by TANAKA Shinichiro <tanaka3@ifos.se.fujitsu.co.jp>.
+
+japanese.jis is the Japanese version of japanese.txt . Note that this file
+and the file shibuaki.txt contain Japanese characters in JUNET encoding.
+
+Please send any comments and suggestions to the author of these doc files.
+Questions related to non-CJK topics should be asked in the fj.comp.text
+news group since the author only uses CJK.
+
+
+Documentation how to use Wadalab fonts can be found in the contrib/wadalab
+directory.
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/japanese/ascii.txt b/Master/texmf-dist/doc/latex/cjk/doc/japanese/ascii.txt
new file mode 100644
index 00000000000..41815cca5a7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/japanese/ascii.txt
@@ -0,0 +1,58 @@
+ASCII Co. was founded by Mr. Nishi Kazuhiko, Mr. Tsukamoto, and Mr. Gunji.
+This company works in the software and publishing field. So ASCII was
+interested in the TeX system. They developed "ASCII Nihongo TeX" in
+cooperation with a group of the Keio University in 1987. ASCII Nihongo TeX
+is freeware. ASCII Co. implemented this system on MS-DOS in 1989 and sold
+it. ASCII Co. added the capability of vertical typesetting to Nihongo TeX---
+this is called the p version or pTeX (publishing TeX).
+
+ASCII translated some important books into the Japanese language. These
+books are of course typesetted with Nihongo TeX.
+
+ "The TeX book", "The Metafont book" Knuth.
+
+ "LaTeX: A Document Preparation System" Lamport.
+
+Many articles about TeX appear in the "UNIX magazine" published monthly by
+ASCII.
+
+
+Some features of Nihongo TeX:
+
+ 1. The dvi file format is different from the original TeX's dvi file
+ format. (NTT-JTeX's dvi file format is the same as original one. So we
+ can use NTT-JTeX's dviware for the CJK package.)
+
+ 2. Nihongo TeX is not only capable of using TeX Font Metric files (tfm),
+ but can also use Japanese Font Metric files (jfm). The jfm file format
+ is defined as an extension of the tfm file format for Nihongo TeX. One
+ jfm file has about 7000 kanji character metrics and kerning
+ informations to cover entire JIS fonts (and thus avoiding subfonts).
+ [See shibuaki.txt for some details about space handling between
+ Japanese and ASCII characters.]
+
+ 3. Characters can be printed vertically.
+
+
+In 1992 Tsukamoto and Gunji retired from ASCII Co. and founded Impress Co.,
+and some engineers specialized on TeX moved from ASCII to Impress.
+
+Impress Co. works in same field as ASCII Co., namely software and
+publishing. In 1994 Impress made and sold "TeX for Windows" based on an
+older version of ASCII Nihongo TeX (a modified TeX version 2.99). This
+system runs on Windows 3.1, Windows 95 or Windows NT and has been sold to
+many PC users. Literature is also available for "TeX for Windows".
+
+A major drawback of this system is that it is not yet based on TeX 3 and
+thus cannot fully support LaTeX2e or multilingual issues.
+
+
+In November 1995 ASCII announced the latest version of Nihongo TeX (pTeX
+2.1.1) which is based on TeX 3.1415; this package also contains a format
+file of LaTeX2e <1995/06/01>.
+
+At the time of this writing (1996/02/09) ASCII Nihongo TeX's version is pTeX
+2.1.4 .
+
+
+Version 1.0 Beta2 (1996/02/09) written by tanaka3@ifos.se.fujitsu.co.jp
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/japanese/japanese.jis b/Master/texmf-dist/doc/latex/cjk/doc/japanese/japanese.jis
new file mode 100644
index 00000000000..69e034c6d13
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/japanese/japanese.jis
@@ -0,0 +1,642 @@
+This is the file japanese.jis of the CJK macro package ver. 4.1.0
+(20-Nov-1996).
+
+(Font metric $B$,(B $BF|K\8l(B PS $B%U%)%s%HFbB"$N(B PostScript $B%W%j%s%?!<$H6&MQ$7(B
+$B$F;H$&;v$,2DG=$J(B) DNP $B%U%)%s%H$H!"EOJU%U%)%s%H$N;H$$J}$K$D$$$F$^$H$a$F(B
+$B$"$j$^$9!#(B
+
+hbf2gf $B$H6&$K;H$&(B kanji48 font $B$N;H$$J}$OB>$N(B CJK bitmap files $B$HF1$8(B
+$B$G$9!#>\:Y$O(B hbf2gf.txt $B$K=q$+$l$F$$$^$9!#(B
+
+
+kanji48 font
+------------
+
+$B$3$N(B font $B$O$I$3$K$"$j$^$9$+!)(B)
+
+Host ftp.tex.ac.uk
+ Location: /pub/archive/fonts/CJK
+ FILE -rw-rw-r-- 1 ctan TeX 742459 Dec 1 00:01 kanji48.tar.gz
+Host ftp.dante.de
+ Location: /tex-archive/fonts/CJK
+ FILE -rw-rw-r-- 1 Mr.Ftp server 742459 Dec 1 00:01 kanji48.tar.gz
+
+$B$^$?$O!"$"$J$?$N%5%$%H$N6a$/$N(B CTAN $B$N%_%i!<$r$7$F$$$k%5%$%H$K$"$j$^$9!#(B
+
+
+$B$I$&$d$C$F(B CJK $B$+$i;H$&$N$G$9$+!)(B)
+
+$B0J2<$N$h$&$K(B CJK.sty $B$GF|K\8l$NJ8>O$r=q$$$F$/$@$5$$(B:
+
+with latex:
+
+ \documentclass[a4paper]{article}
+ \topmargin=-3.5cm
+ \textheight=26cm
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}{JIS}{song}
+
+ .....
+ < "$BF|K\8l$NJ8>O(B" >
+ .....
+
+ \end{CJK*}
+ \end{document}
+
+
+with mulatex:
+
+ \documentclass[a4paper]{article}
+ ....
+ \usepackage[global]{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}{}{}
+
+ .....
+ < "$BF|K\8l$NJ8>O(B" >
+ .....
+
+ \end{CJK*}
+ \end{document}
+
+
+CJK $B%Q%C%1!<%8$O(B CJK $B$H(B CJK* $B$H$$$&#2$D$N4D6-$rDs6!$7$^$9!#(BCJK* $B$N4D6-(B
+$B$O(B CJK $BJ8;z(B($BF|K\8l!"4Z9q8l!"Cf9q8l(B)$B$N8e$m$N6uGr$r05=L$7$^$9!#(BCJK $B$N4D(B
+$B6-$O05=L$7$^$;$s!#(B
+
+$BF|K\8l$7$+=q$+$J$$$N$G$"$l$P!"(BCJK* $B$N4D6-$r;H$&$Y$-$G$7$g$&!#$I$&$7$F(B
+$B$b(B(CJK* $B4D6-$NCf$G(B) CJK $BJ8;z$N8e$K6uGr$,I,MW$J>l9g$K$O(B `\ ' $B$d(B `{}' $B$J(B
+$B$I$N$h$&$J(B TeX $B%3%^%s%I$r;H$o$J$1$l$P$J$j$^$;$s!#(B
+
+$B$^$?!"F|K\8l0J30$N8@8l$NCf$G$bF|K\8l$r=q$/$3$H$,$G$-$k$h$&$K!"(Bmulatex
+$B$r;H$&$J$i!"(B
+
+ \usepackage[global]{CJK}
+
+$B$H@k8@$9$k;v$r6/$/?d>)$7$^$9!#>\:Y$O(B mule2cjk.doc $B$r8+$F2<$5$$!#(B
+
+
+DNP $B%U%)%s%H(B
+------------
+
+DNP fonts $B$H$O$J$s$G$9$+!)(B)
+
+DNP $B$H$OF|K\$NBg<j0u:~2q<R$G$"$kBgF|K\0u:~$N$3$H$G$9!#(BDNP $B%U%)%s%H$OBg(B
+$BF|K\0u:~$K$h$C$F:n$i$l$?>&MQ%U%)%s%H$G$9!#<+J,$N%5%$%H$K$9$G$K(B DNP $B%U%)(B
+$B%s%H$,%$%s%9%H!<%k$5$l$F$$$k$J$i!"$=$l$r$D$+$&$Y$-$G$7$g$&!#(BDNP $B%U%)%s(B
+$B%H$r%(%_%e%l!<%H$9$k$?$a$KEOJU%U%)%s%H$r%+%9%?%^%$%:$7$?EOJU(B DNP $B%U%)(B
+$B%s%H$O(B freeware $B$H$7$F;HMQ$9$k$3$H$,$G$-$^$9!#(BDNP $B%U%)%s%H$r%(%_%e%l!<(B
+$B%H$9$kJ}K!$O%7%s%\%j%C%/%j%s%/$G$9!#(B
+
+$B$3$N(B font $B$O$I$3$K$"$j$^$9$+!)(B )
+
+ watanabe-dnp (pk files)
+ ftp.math.s.chiba-u.ac.jp://tex/watanabe-dnp/300
+ jb10-300pk.tar.gz jb10-622pk.tar.gz jm10-329pk.tar.gz
+ jm10-746pk.tar.gz jb10-329pk.tar.gz jb10-746pk.tar.gz
+ jm10-360pk.tar.gz jm8-300pk.tar.gz jb10-360pk.tar.gz
+ jb8-300pk.tar.gz jm10-432pk.tar.gz jm9-300pk.tar.gz
+ jb10-432pk.tar.gz jb9-300pk.tar.gz jm10-518pk.tar.gz
+ jb10-518pk.tar.gz jm10-300pk.tar.gz jm10-622pk.tar.gz
+ tfm files
+ ftp.math.s.chiba-u.ac.jp://tex/watanabe-dnp/tfm-dnp.tar.gz
+ ftp.math.s.chiba-u.ac.jp://tex/watanabe-dnp/tfm.tar.gz
+ tools for symbolic link
+ ftp.math.s.chiba-u.ac.jp://tex/watanabe-dnp/fake.tar.gz
+
+$B$I$&$d$C$F%;%C%H%"%C%W$9$k$N$G$7$g$&$+!)(B)
+
+ $B$"$J$?$N(B font $B%G%#%l%/%H%j$r(B $fonts $B$H2>Dj$7$^$9!#(B
+ (e.g. /usr/local/lib/tex/fonts/japan)
+ $B$5$i$K!">e5-$N%U%!%$%k$NCV$+$l$F$$$k%G%#%l%/%H%j$r(B $src $B$H2>Dj(B
+ $B$7$^$9!#(B
+ (e.g. /usr/local/src)
+
+ ftp server $B$+$i(B get $B$7$?%U%!%$%k$rE83+$7$^$9!#(B
+
+ % cd $src
+ % gunzip -c fake.tar.gz | tar xvf -
+ % gunzip -c jd....pk.tar.gz | tar xvf -
+ % gunzip -c jm....pk.tar.gz | tar xvf -
+ % gunzip -c tfm.tar.gz | tar xvf -
+
+ $B%G%#%l%/%H%j$N:n@.!#(B
+
+ % cd $fonts
+ % mkdir $fonts/watanabe-dnp
+ % mkdir $fonts/watanabe-dnp/jd300
+ % mkdir $fonts/watanabe-dnp/tfm
+
+ $B%U%!%$%k$r(B copy $B$7$^$9!#(B
+
+ % cd $fonts/watanabe-dnp
+ % cp $src/fake/* .
+ % cp $src/tfm/* tfm
+ % cp $src/*pk/*pk jd300
+
+ $BA4$F$NEOJU%U%)%s%H$r:n@.$7$^$9!#(B
+
+ % make mk-300ex
+
+ $B%7%s%\%j%C%/%j%s%/$rD%$j$^$9!#(B
+
+ % mkdir $fonts/dnp
+ % cd $fonts/dnp
+ % cp $fonts/watanabe-dnp/LNFAKE .
+
+ $B<!$K(B dnp $B%G%#%l%/%H%j$N(B `LNFAKE' $B$rJT=8$7$^$9!#(B`wdir' $B$NItJ,$r(B
+ $B$"$J$?$,EOJU(B DNP $B%U%)%s%H$r%$%s%9%H!<%k$7$?%G%#%l%/%H%j$K%;%C%H(B
+ $B$7$^$9!#(B
+
+ wdir=../watanabe-dnp/jd300/
+
+ $B$=$N8e!"0J2<$r<B9T$7$F2<$5$$!#(B
+
+ % LNFAKE jm dm
+ % LNFAKE jb dg
+
+
+ $B%$%s%9%H!<%k8e$N%G%#%l%/%H%j!<%D%j!<$O0J2<$N$h$&$K$J$j$^$9(B:
+
+ $fonts/ +- watanabe-dnp/ +-jd300/ (all pk files)
+ | |
+ | +-tfm/
+ | |
+ | +-Makefile, FAKEDNP, FAKETFM, fake.c ...
+ |
+ +- dnp/
+
+ $fonts/watanabe-dnp/jd300 $B$H(B $fonts/dnp $B$@$1$,I,MW$J$N$G!"(B
+ $fonts/watanabe-dnp/tfm/ $B$dI,MW$NL5$$%U%!%$%k$O:o=|$7$F9=$$$^$;$s!#(B
+
+ tfm $B$r%$%s%9%H!<%k$7$F$"$k%G%#%l%/%H%j$K0\$C$F!"0J2<$r<B9T$7$F$/$@(B
+ $B$5$$!#(B
+
+
+ % gunzip -c tfm-dnp.tar.gz | tar xvf -
+
+ $B$=$l$+$i!"(Btfm-dnp $B$N%U%k%Q%9$r4D6-JQ?t(B TEXFONTS $B$KDI2C$7$F2<$5$$!#(B
+
+
+$B$I$&$d$C$F(B CJK $B$+$i;H$&$N$G$9$+!)(B)
+
+DNP $B%U%)%s%H$G(B CJK.sty $B$r;H$&Nc$G$9!#(B
+
+with latex:
+
+ \documentclass[a4paper]{article}
+ \topmargin=-3.5cm
+ \textheight=26cm
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}[dnp]{JIS}{song}
+
+ < "$BF|K\8l$NJ8>O(B" >
+
+ \end{CJK*}
+ \end{document}
+
+
+with mulatex:
+
+ \documentclass[a4paper]{article}
+ ....
+ \usepackage[global]{CJK}
+ \usepackage{indentfirst}
+
+ \CJKfontenc{JIS}{dnp}
+
+ \begin{document}
+ \begin{CJK*}{}{}
+
+ < "$BF|K\8l$NJ8>O(B" >
+
+ \end{CJK*}
+ \end{document}
+
+
+[$B$J$<!"(Bmulatex $B$H6&$K(B `\begin{CJK*}[dnp]{}{}' $B$H=q$$$F$O$$$1$J$$(B
+$B$+$K$D$$$F$O!"(Bmule2cjk.doc $B$rFI$s$G2<$5$$(B]
+
+
+$BEOJU(B $B%U%)%s%H(B
+-------------
+
+$B%*%j%8%J%k$NEOJU%U%)%s%H$b$^$?!"(BCJK $B$N4D6-$G;H$&;v$,=PMh$^$9!#(B
+
+$B$3$N(B font $B$O$I$3$K$"$j$^$9$+!)(B)
+
+ watanabe-jfonts (pk files)
+ ftp.iij.ad.jp://pub/TeX/fonts/watanabe-jfonts/300
+ b250.lzh b274.lzh b300.lzh b329.lzh b360.lzh
+ b432.lzh b518.lzh b622.lzh b746.lzh m250.lzh
+ m274.lzh m300.lzh m329.lzh m360.lzh m432.lzh
+ m518.lzh m622.lzh m746.lzh
+
+ ftp.iij.ad.jp://pub/TeX/fonts/watanabe-jfonts/400
+
+ tfm files
+ ftp.iij.ad.jp://pub/TeX/fonts/watanabe-jfonts/tfmfiles.lzh
+
+
+$B$I$&$d$C$F(B CJK $B$+$i;H$&$N$G$9$+!)(B)
+
+$BEOJU%U%)%s%H$+$i(B CJK $B$r;H$&Nc$r0J2<$K<($7$^$9!#(B
+
+with latex:
+
+ \documentclass[a4paper]{article}
+ \topmargin=-3.5cm
+ \textheight=26cm
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}[wn]{JIS}{song}
+
+ < "$BF|K\8l$NJ8>O(B" >
+
+ \end{CJK*}
+ \end{document}
+
+
+with mulatex:
+
+ \documentclass[a4paper]{article}
+ ....
+ \usepackage[global]{CJK}
+ \usepackage{indentfirst}
+
+ \CJKfontenc{JIS}{wn}
+
+ \begin{document}
+ \begin{CJK*}{}{}
+
+ < "$BF|K\8l$NJ8>O(B" >
+
+ \end{CJK*}
+ \end{document}
+
+
+compilation and coding-system
+-----------------------------
+
+$B$b$7!"(Blatex $B%U%!%$%k$r(B latex $B%3%^%s%I$r;H$C$F%3%s%Q%$%k$9$k$J$i!"%U%!(B
+$B%$%k$rF|K\8l(B EUC $B$GJ]B8$7$J$1$l$P$J$j$^$;$s!"$=$7$F(B
+
+ latex yourfile
+
+$B$H$7$F(B latex $B%U%!%$%k$r=hM}$7$F2<$5$$!#(B
+
+[$B%U%!%$%k$r(B SJIS $B$GJ]B8$9$k;v=PMh$^$9!#$=$N;~$O(B CJK $B$N4D6-$K$*$1$k%(%s(B
+$B%3!<%G%#%s%0%Q%i%a!<%?$r(B JIS $B$NBe$o$j$K(B SJIS $B$K$7$J$1$l$P$J$j$^$;$s!#(B
+SJIS$B$N4D6-$G$b(B JIS $B$N%U%)%s%H$r;H$$$^$9!#(B]
+
+$B$b$7(B latex $B%U%!%$%k$r(B mulatex $B%3%^%s%I$r;H$C$F%3%s%Q%$%k$9$k$J$i!"(B
+latex file $B$rJ]B8$9$k;~$K(B coding $B%7%9%F%`$K4X$7$F$$$/$D$+$NA*Br;h$r;}(B
+$B$D;v$,=PMh$^$9!#(BCJK $B%Q%C%1!<%8$K%G%U%)%k%H$GIU$$$FMh$k(B mulatex $B$r;H$&(B
+$B$J$i(B latex file $B$r(B Mule $B$N(B internal code$B$GJ]B8$7$F!"(B
+
+ mulatex yourfile
+
+$B$H$7$F(B latex $B%U%!%$%k$r=hM}$7$F2<$5$$!#(B
+
+[mulatex $B$O(B CJK $B%Q%C%1!<%8$N(B utils/mule2cjk $B$H$$$&%G%#%l%/%H%j$KCV$+(B
+$B$l$F$$$^$9!#(Bmule2cjk.doc $B$r;2>H$7$F2<$5$$!#(B]
+
+$B$7$+$7!"(BMule $B$N(B internal code $B$,I8=`$N%3!<%I7O$G$J$$$H$+!"(BMule $B0J30$G(B
+$BFI$a$J$$$H$+!">-MhJQ$o$C$F$7$^$&$+$b$7$l$J$$$H$$$&M}M3$G!"(Blatex file
+$B$r(B Mule $B$N(B internal code $B$GJ]B8$7$?$/$J$$>l9g$O!"(Blatex file $B$r!"(B
+ISO2022 $B%(%s%3!<%G%#%s%0$r4p$K$7$?(B *junet* $B$GJ]B8$9$k$+!"(BX window
+system $B$G(B Compound Text Encoding $B$H$7$F;H$o$l$F$$$k(B *ctext* $B$GJ]B8$9$k(B
+$B$3$H$,$G$-$^$9!#0J2<$N$&$A$N0l$D$N(B mulatex shell script $B$GCV$-49$($F2<(B
+$B$5$$!#(B
+
+ : mulatex for *junet*
+
+ % cat mulatex
+ #!/bin/sh
+ # mulatex : LaTeX2e for Mule's *junet* encoding
+ #
+ fname=`echo $1 | sed 's/\.[^\.]*$//g'`
+ coco '*junet*' '*internal*' < $1 | mule2cjk > $fname.cjk
+ st=$?
+ if [ $st -ne 0 ] ; then
+ exit $st
+ fi
+ latex $fname.cjk
+ st=$?
+ if [ -f $fname.cjk ] ; then
+ /bin/rm -f $fname.cjk
+ fi
+ exit $st
+ %
+
+ : mulatex for *ctext*
+
+ % cat mulatex
+ #!/bin/sh
+ # mulatex : LaTeX2e for Mule's *ctext* encoding
+ #
+ fname=`echo $1 | sed 's/\.[^\.]*$//g'`
+ coco '*ctext*' '*internal*' < $1 | mule2cjk > $fname.cjk
+ st=$?
+ if [ $st -ne 0 ] ; then
+ exit $st
+ fi
+ latex $fname.cjk
+ st=$?
+ if [ -f $fname.cjk ] ; then
+ /bin/rm -f $fname.cjk
+ fi
+ exit $st
+ %
+
+auctex $BL5$7$G(B mule $B$r;H$&>l9g$O!"0J2<$N(B Lisp code $B$r=i4|2=%U%!%$%k(B
+`.emacs' $B$KIU$12C$($F2<$5$$!#(B
+
+ : `.emacs' for *junet*
+
+ (add-hook 'LaTeX-mode-hook
+ (function (lambda ()
+ (set-file-coding-system *junet*)
+ )))
+
+ : `.emacs' for *ctext*
+
+ (add-hook 'LaTeX-mode-hook
+ (function (lambda ()
+ (set-file-coding-system *ctext*)
+ )))
+
+`coco' $B$O(B Mule $B$N(B package $B$K4^$^$l$F$$$k%W%m%0%i%`$G$9!#(B
+
+
+auctex
+------
+
+auctex $B$O(B TeX $B$H(B LaTeX $B%f!<%6!<$N$?$a$N(B elisp $B%Q%C%1!<%8$G$9!#(BCJK $B$N4D(B
+$B6-$r(B auctex $B$KE}9g$9$k$N$O4JC1$G$9!#;H$$J}$O!"(Bdvi $B%U%!%$%k$r%3%s%Q%$%k(B
+$B$9$k$?$a$N%?%$%W%;%C%H%3%^%s%I$,(B latex $B$G$O$J$/(B mulatex $B$G$"$kE@$r=|$1(B
+$B$P!"I8=`$N(B LaTeX $B$HA4$/F1$8$G$9!#0J2<$N%3!<%I$r$"$J$?$N(B `.emacs' $B$+(B
+($B$b$72DG=$J$i(B tex-site.el $B$K(B)$BDI2C$7$F2<$5$$!#(B
+
+ : `.emacs' for auctex users
+
+ (add-hook 'LaTeX-mode-hook
+ (function (lambda ()
+ (set-file-coding-system *junet*)
+ (nconc
+ TeX-command-list
+ (list
+ (list "MuLaTeX" "aucmulatex %t" 'TeX-run-LaTeX nil t)
+ )
+ )
+ (setq TeX-command-default "MuLaTeX")
+ )))
+
+
+ : mulatex for auctex users
+
+ % cat aucmulatex
+ #!/bin/sh
+ # aucmulatex : LaTeX2e in auctex mode for Mule's *junet* encoding
+ #
+ fname=`echo $1 | sed 's/\.[^\.]*$//g'`
+ coco '*junet*' '*internal*' < $1 | mule2cjk > $fname.cjk
+ st=$?
+ if [ $st -ne 0 ] ; then
+ exit $st
+ fi
+ latex \\nonstopmode\\input{$fname.cjk}
+ st=$?
+ if [ -f $fname.cjk ] ; then
+ /bin/rm -f $fname.cjk
+ fi
+ exit $st
+ %
+
+ $B$3$NNc$O!"(B*junet* $B$K$D$$$F$N$_=q$+$l$F$$$^$9$,!"$b$A$m$sB>$N%3!<%I(B
+ $B7O$G$bF1MM$K;H$($^$9!#(B
+
+
+auctex (yet another usage)
+----------------------------
+
+Shell $B%9%/%j%W%H$r;H$C$?(B mulatex $B$NJQ$o$j$K(B $BD>@\(B elisp $B$r=q$/;v$b$G$-(B
+$B$^$9!#(BLaTeX $B%U%!%$%k$,(B *junet* $B$d(B *ctext*, *euc-japan* $B$H$$$C$?%3!<%I(B
+$B7O$G=q$+$l$F$$$?$H$7$F$b!"(BMule $B$O<+F0E*$K$=$l$i$N%3!<%I$rH=JL$9$k$G$7$g(B
+$B$&!#0J2<$N%3!<%I$r$"$J$?$N(B `.emacs' $B$+(B($B$b$72DG=$J$i(B tex-site.el $B$K(B)$BDI(B
+$B2C$7$F2<$5$$!#(B
+
+ : `.emacs' for auctex user (for Mule 2.3 based on emacs 19.28)
+
+ (add-hook 'LaTeX-mode-hook
+ (function (lambda ()
+ (nconc
+ TeX-command-list
+ (list
+ (list "MuLaTeX" "latex '\\nonstopmode\\input{%c}'"
+ 'TeX-run-MuLaTeX nil t)
+ )
+ )
+ (nconc
+ TeX-expand-list
+ (list
+ (list "%c" 'file "cjk")
+ ))
+ (setq TeX-command-default "MuLaTeX")
+ )))
+
+ (define-program-coding-system nil "mule2cjk" *internal*)
+
+ (defvar TeX-LaTeX-CJK-tmpfile nil)
+
+ (defun TeX-MuLaTeX-sentinel (process name)
+ (prog1
+ (TeX-LaTeX-sentinel process name)
+ (delete-file TeX-LaTeX-CJK-tmpfile)))
+
+ ; customized from TeX-run-LaTeX
+ (defun TeX-run-MuLaTeX (name command file)
+ "Run mule2cjk and latex on current TeX buffer."
+
+ (let ((TeX-LaTeX-CJK-tmpbuffer (generate-new-buffer-name "cjk")))
+ (setq TeX-LaTeX-CJK-tmpfile (concat file ".cjk"))
+ (generate-new-buffer TeX-LaTeX-CJK-tmpbuffer)
+ (call-process-region
+ (point-min) (point-max) "mule2cjk" nil TeX-LaTeX-CJK-tmpbuffer nil)
+ (set-buffer TeX-LaTeX-CJK-tmpbuffer)
+ (write-region (point-min) (point-max)
+ TeX-LaTeX-CJK-tmpfile nil nil *internal*)
+
+ (let ((process (TeX-run-format name command file)))
+ (setq TeX-sentinel-function 'TeX-MuLaTeX-sentinel)
+ (if TeX-process-asynchronous
+ process
+ (TeX-synchronous-sentinel name file process)))
+ (kill-buffer TeX-LaTeX-CJK-tmpbuffer)))
+
+
+indentfirst.sty
+---------------
+
+$BF|K\8lJ8>O$NCJMn$N%$%s%G%s%H$N$D$1J}$O%*%j%8%J%k$N(B latex $B$N%$%s%G%s%H$N(B
+$BIU$1J}$H0[$C$F$$$^$9!#$3$NLdBj$r2r7h$9$k$?$a$K!"(B`indentfirst.sty' $B$H$$(B
+$B$&!">o$K:G=i$NCJMn$G%$%s%G%s%H$9$k$?$a$N%9%?%$%k%U%!%$%k$,(B LaTeX2e $B$N(B
+official tool $B$NCf$K$"$j$^$9!#(B
+
+indentfirst.sty $B$O$I$3$K$"$j$^$9$+!)(B)
+
+Host ftp.dante.de
+
+ Location: /tex-archive/macros/latex/packages/tools
+ FILE rw-rw-r-- 1492 Dec 14 17:46 indentfirst.dtx
+
+$B$^$?$O!"$"$J$?$N%5%$%H$N6a$/$N(B CTAN $B$N%_%i!<$r$7$F$$$k%5%$%H$K$"$j$^$9!#(B
+
+/pub/TeX/CTAN/macros/latex/packages/tools $B$K$"$kA4$F$N%U%!%$%k$r(B get
+$B$7$F$=$3$K4^$^$l$k(B readme.txt $B$rFI$s$G$+$i%$%s%9%H!<%k$7$?J}$,$$$$$G(B
+$B$7$g$&!#$=$NCf$K$ONc$($P(B tabular $B$d(B verbatim $B$H$$$C$?Hs>o$KM-MQ$J%9%?(B
+$B%$%k%U%!%$%k$,4^$^$l$F$$$^$9!#(B
+
+\maketitle
+----------
+
+$BF|K\8l$N%?%$%H%k$r=q$-$?$$;~$O!"(B\maketitle $B%3%^%s%I$O(B CJK $B$N4D6-$NFbB&(B
+$B$K$J$/$F$O$$$1$^$;$s!#$J$<$J$i!"F|K\8l$N%?%$%H%k$O(B CJK $BJ8;z$r4^$`$+$i(B
+$B$G$9!#(B
+
+$BNc(B)
+
+ \documentclass[a4paper]{article}
+ ....
+ \usepackage[global]{CJK}
+ \usepackage{indentfirst}
+
+ \begin{CJK*}{}{}
+ \title{ < "$BF|K\8l$NJ8>O(B" > }
+ \author{ < "$BF|K\8l$NJ8>O(B" > }
+ \end{CJK*}
+
+ \begin{document}
+ \begin{CJK*}{}{}
+
+ \maketitle
+ .....
+ < "$BF|K\8l$NJ8>O(B" >
+ .....
+
+ \end{CJK*}
+ \end{document}
+
+
+JIS.cap
+-------
+
+CJK $B$G$OF|K\8l(B caption $B$r;H$&$3$H$b$G$-$^$9!#$=$N$?$a$K$O!"(B($BI8=`$N(B
+class $B$rCV$-49$($F$7$^$&(B) koma-script $B%Q%C%1!<%8$,I,MW$G$9!#(B($B>\$7$/$O(B
+CJK.txt $B$N(B captions $B$r;2>H$7$F$/$@$5$$!#(B)
+
+[CJK 4.1.0 $B$h$jA0$N%P!<%8%g%s$G$O$3$N5!G=$OF|K\8l$K4X$7$F$&$^$/F0:n$7(B
+ $B$^$;$s!#(B]
+
+
+Koma-script $B$O$I$3$K$"$j$^$9$+!)(B)
+
+Host ftp.dante.de
+
+ Location: /tex-archive/macros/latex/contrib/supported
+ DIRECTORY rwxr-xr-x 1024 Jan 23 12:20 koma-script
+
+$B$^$?$O!"$"$J$?$N%5%$%H$N6a$/$N(B CTAN $B$N%_%i!<$r$7$F$$$k%5%$%H$K$"$j$^$9!#(B
+
+$B$I$&$d$C$F(B CJK $B$+$i;H$&$N$G$9$+!)(B)
+
+CJK JIS $B4D6-$NCf$G0J2<$N%3%^%s%I$r=q$/;v$K$h$C$F(B
+
+ \CJKcaption{JIS}
+
+$BF|K\8l(B caption $B$rM-8z$K$9$k;v$,$G$-$^$9!#(B
+
+ CJK.sty $B$H(B Koma-script $B$GF|K\8l(B caption $B$r;H$&$?$a$K$O(B, $B0J2<$NNc$r(B
+ $B$NMM$K$7$F$/$@$5$$!#(B
+
+ % srcartcl is a stylefile of Koma-script
+ \documentclass{scrartcl}
+ \topmargin=-3.5cm
+ \textheight=26cm
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}[dnp]{JIS}{song}
+ \CJKcaption{JIS}
+
+ < "$BF|K\8l$NJ8>O(B " >
+
+ % $BF|K\8l(B Caption
+ \refname{< "$BF|K\8l$NJ8>O(B " >}
+
+ \end{CJK*}
+ \end{document}
+
+
+\newpage
+--------
+
+CJK $B$N%3%^%s%I$,L$Dj5A$G$"$k$H$$$&%(%i!<$K=P$/$o$9>l9g$K$O!"(BCJK $B4D6-$,(B
+$B=*N;$9$kD>A0$G$=$N%Z!<%8$r(B($B%a%b%j$+$i%U%!%$%k$X(B)$B=q$-=P$9I,MW$,$"$j$^$9!#(B
+$B$J$<$J$i!"(BLaTeX $B$O(B CJK $B4D6-$r=*N;8e$K(B(CJK $B%3%^%s%I$r4^$`(B)$B%X%C%@$r(B($B%U%!(B
+$B%$%k$X(B)$B=q$-9~$`$3$H$,$"$k$+$i$G$9!#(B($B>\$7$/$O(B CJK.txt $B$N(B Possible
+errors $B$r;2>H$7$F$/$@$5$$!#(B)
+
+
+$BNc(B)
+
+ \documentclass[a4paper]{article}
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}{JIS}{song}
+
+ < "$BF|K\8l$NJ8>O(B" >
+ .....
+ \newpage
+ \end{CJK*}
+ \end{document}
+
+
+$BF|K\8l(B Postscript $B%W%j%s%?!<(B
+----------------------------
+
+$B<+J,$N%5%$%H$K(B /Ryumin-Light $B$H(B /GothicBBB-Medium $B$r<BAu$7$F$$$k$+!"$b(B
+$B$7$/$O%(%_%e%l!<%H$G$-$kF|K\8l(B PS $B%U%)%s%H$rFbB"$7$F$$$k(B PostScript $B%W(B
+$B%j%s%?!<$,$"$l$P!"(BDNP $B%U%)%s%H%a%H%j%C%/$r;}$D(B dnp-tfm (DNP fonts $B;2>H(B)
+$B$K$h$C$F:n$i$l$?(B dvi $B%U%!%$%k$r4JC1$K0u:~$9$k;v$,$G$-$^$9!#(Bdvi2ps $B$OF|(B
+$BK\8l(B PostScript $B%W%j%s%?$N%I%i%$%P!<%=%U%H$G$9!#$^$?F1MM$K(B DNP $B%U%)%s%H(B
+$B$HF1$8%a%H%j%C%/$r;}$DEOJU(B DNP $B%U%)%s%H$r(B preview $B$K;H$&$3$H$b$G$-$^$9!#(B
+
+dvi2ps $B$O$I$3$K$"$j$^$9$+!)(B)
+
+Host ftp.math.s.chiba-u.ac.jp
+
+ Location: /tex
+ FILE rw-r--r-- 112970 Dec 1 1994 dvi2ps-1.91j.tar.gz
+
+
+------------------
+Version 1.0 Beta7 (1996/02/03)
+ Tanaka Shinichiro Email: tanaka3@ifos.se.fujitsu.co.jp
+
+
+
+---End of japanese.jis---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/japanese/japanese.txt b/Master/texmf-dist/doc/latex/cjk/doc/japanese/japanese.txt
new file mode 100644
index 00000000000..e637fdb0d75
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/japanese/japanese.txt
@@ -0,0 +1,637 @@
+This is the file japanese.txt of the CJK macro package ver. 4.1.0
+(20-Nov-1996).
+
+It concentrates on the use of DNP fonts (their font metrics can be used
+in conjunction with PS printers which have their own builtin Japanese fonts)
+and watanabe jfonts.
+
+The use of the kanji48 bitmap font together with hbf2gf is similar to all
+other CJK bitmap files and is documented in detail in the file hbf2gf.txt .
+
+
+kanji48 font
+------------
+
+Where is the font ? )
+
+Host ftp.tex.ac.uk
+ Location: /pub/archive/fonts/CJK
+ FILE -rw-rw-r-- 1 ctan TeX 742459 Dec 1 00:01 kanji48.tar.gz
+Host ftp.dante.de
+ Location: /tex-archive/fonts/CJK
+ FILE -rw-rw-r-- 1 Mr.Ftp server 742459 Dec 1 00:01 kanji48.tar.gz
+
+or your nearest CTAN mirror ftp sites.
+
+
+How to use it in CJK ? )
+
+Use CJK.sty with Japanese as follows:
+
+with latex:
+
+ \documentclass[a4paper]{article}
+ \topmargin=-3.5cm
+ \textheight=26cm
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}{JIS}{song}
+
+ .....
+ < Japanese text >
+ .....
+
+ \end{CJK*}
+ \end{document}
+
+
+with mulatex:
+
+ \documentclass[a4paper]{article}
+ ....
+ \usepackage[global]{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}{}{}
+
+ .....
+ < Japanese text >
+ .....
+
+ \end{CJK*}
+ \end{document}
+
+
+The package CJK offers two environments: CJK and CJK*. CJK* suppresses
+spaces followed by a CJK character, whereas CJK doesn't.
+
+If you write only Japanese, you should use the CJK* environment. If you
+really need a space directly followed by a JIS character, you must then use
+TeX commands like `\ ', `{} ', etc.
+
+It is highly recommended to declare
+
+ \usepackage[global]{CJK}
+
+if you use mulatex to be able to write Japanese inside of other
+environments. See mule2cjk.doc for details.
+
+
+DNP fonts
+---------
+
+What are DNP fonts ? )
+
+DNP stands for "Dai Nippon Printing" (a big printing company in Japan). DNP
+fonts are commercial fonts made by this company; if real DNP fonts have been
+already installed at your site, you should use them. But watanabe-dnp fonts,
+which are customized from watanabe-jfonts to emulate DNP fonts, are
+freeware. The method of emulation is symbolic name linking.
+
+
+Where are the fonts ? )
+
+ watanabe-dnp (pk files)
+ ftp.math.s.chiba-u.ac.jp://tex/watanabe-dnp/300
+ jb10-300pk.tar.gz jb10-622pk.tar.gz jm10-329pk.tar.gz
+ jm10-746pk.tar.gz jb10-329pk.tar.gz jb10-746pk.tar.gz
+ jm10-360pk.tar.gz jm8-300pk.tar.gz jb10-360pk.tar.gz
+ jb8-300pk.tar.gz jm10-432pk.tar.gz jm9-300pk.tar.gz
+ jb10-432pk.tar.gz jb9-300pk.tar.gz jm10-518pk.tar.gz
+ jb10-518pk.tar.gz jm10-300pk.tar.gz jm10-622pk.tar.gz
+ tfm files
+ ftp.math.s.chiba-u.ac.jp://tex/watanabe-dnp/tfm-dnp.tar.gz
+ ftp.math.s.chiba-u.ac.jp://tex/watanabe-dnp/tfm.tar.gz
+ tools for symbolic link
+ ftp.math.s.chiba-u.ac.jp://tex/watanabe-dnp/fake.tar.gz
+
+How to set them up ? )
+
+ Suppose your fonts directory is $fonts ,
+ (e.g. /usr/local/lib/tex/fonts/japan)
+ and your source directory in which the above files are put is $src.
+ (e.g. /usr/local/src)
+
+ You should now expand all fonts that you've downloaded from the ftp
+ server.
+
+ % cd $src
+ % gunzip -c fake.tar.gz | tar xvf -
+ % gunzip -c jd....pk.tar.gz | tar xvf -
+ % gunzip -c jm....pk.tar.gz | tar xvf -
+ % gunzip -c tfm.tar.gz | tar xvf -
+
+ Make directories.
+
+ % cd $fonts
+ % mkdir $fonts/watanabe-dnp
+ % mkdir $fonts/watanabe-dnp/jd300
+ % mkdir $fonts/watanabe-dnp/tfm
+
+ Copy files.
+
+ % cd $fonts/watanabe-dnp
+ % cp $src/fake/* .
+ % cp $src/tfm/* tfm
+ % cp $src/*pk/*pk jd300
+
+ Make all watanabe-dnp fonts.
+
+ % make mk-300ex
+
+ Make symbolic links.
+
+ % mkdir $fonts/dnp
+ % cd $fonts/dnp
+ % cp $fonts/watanabe-dnp/LNFAKE .
+
+ Next, edit the file `LNFAKE' in the dnp directory. Make sure that
+ `wdir' is set to the directory where you have installed watanabe-dnp
+ fonts:
+
+ wdir=../watanabe-dnp/jd300/
+
+ Then execute,
+
+ % LNFAKE jm dm
+ % LNFAKE jb dg
+
+
+ The directory tree after the installation will look like this:
+
+ $fonts/ +- watanabe-dnp/ +-jd300/ (all pk files)
+ | |
+ | +-tfm/
+ | |
+ | +-Makefile, FAKEDNP, FAKETFM, fake.c ...
+ |
+ +- dnp/
+
+ You will need only the directories $fonts/watanabe-dnp/jd300 and
+ $fonts/dnp. You can remove $fonts/watanabe-dnp/tfm/ together with the
+ other now unnecessary files.
+
+ Moving to your tfm directory, execute
+
+ % gunzip -c tfm-dnp.tar.gz | tar xvf -
+
+ Then add tfm-dnp (with the full path) to the TEXFONTS environment
+ variable.
+
+
+How to use them in CJK ? )
+
+See the following examples how to use CJK.sty with DNP fonts.
+
+with latex:
+
+ \documentclass[a4paper]{article}
+ \topmargin=-3.5cm
+ \textheight=26cm
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}[dnp]{JIS}{song}
+
+ <Japanese text>
+
+ \end{CJK*}
+ \end{document}
+
+
+with mulatex:
+
+ \documentclass[a4paper]{article}
+ ....
+ \usepackage[global]{CJK}
+ \usepackage{indentfirst}
+
+ \CJKfontenc{JIS}{dnp}
+
+ \begin{document}
+ \begin{CJK*}{}{}
+
+ <Japanese text>
+
+ \end{CJK*}
+ \end{document}
+
+
+[Read the file mule2cjk.doc for an explanation why you can't say
+ `\begin{CJK*}[dnp]{}{}' with mulatex.]
+
+
+watanabe jfonts
+---------------
+You can also use the original watanabe jfonts in a CJK environment.
+
+Where are the fonts ? )
+
+ watanabe-jfonts (pk files)
+ ftp.iij.ad.jp://pub/TeX/fonts/watanabe-jfonts/300
+ b250.lzh b274.lzh b300.lzh b329.lzh b360.lzh
+ b432.lzh b518.lzh b622.lzh b746.lzh m250.lzh
+ m274.lzh m300.lzh m329.lzh m360.lzh m432.lzh
+ m518.lzh m622.lzh m746.lzh
+
+ ftp.iij.ad.jp://pub/TeX/fonts/watanabe-jfonts/400
+
+ tfm files
+ ftp.iij.ad.jp://pub/TeX/fonts/watanabe-jfonts/tfmfiles.lzh
+
+
+How to use them in CJK ? )
+
+See the following examples how to use CJK.sty with watanabe jfonts.
+
+with latex:
+
+ \documentclass[a4paper]{article}
+ \topmargin=-3.5cm
+ \textheight=26cm
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}[wn]{JIS}{song}
+
+ <Japanese text>
+
+ \end{CJK*}
+ \end{document}
+
+
+with mulatex:
+
+ \documentclass[a4paper]{article}
+ ....
+ \usepackage[global]{CJK}
+ \usepackage{indentfirst}
+
+ \CJKfontenc{JIS}{wn}
+
+ \begin{document}
+ \begin{CJK*}{}{}
+
+ <Japanese text>
+
+ \end{CJK*}
+ \end{document}
+
+
+compilation and coding-system
+-----------------------------
+
+If you use `latex' to compile latex files, you must save these files in
+Japanese EUC and say
+
+ latex yourfile
+
+to process these files.
+
+[You can also save the file in SJIS encoding; then you must use `SJIS'
+ instead of `JIS' as the encoding parameter in the CJK environment. Note
+ that SJIS uses the JIS fonts.]
+
+If you use `mulatex' to compile latex files, there are several possibilities
+in which coding-system you can save your latex files. If you use the
+original mulatex script file that comes with the CJK package, you must save
+these files in Mule's internal code and say
+
+ mulatex yourfile
+
+to process these files.
+
+[mulatex is in utils/mule2cjk in CJK package directory. ref: mule2cjk.doc]
+
+But if you do not like the idea of saving latex files in Mule's internal
+encoding (this coding-system is not a standard coding-system, can not be
+read without Mule and will be changed in the future), you can save them in
+*junet*, which is based on ISO-2022 encoding, or in *ctext*, which is used
+in the X window system as Compound Text Encoding. Then replace the mulatex
+shell script with one of the following examples.
+
+
+ : mulatex for *junet*
+
+ % cat mulatex
+ #!/bin/sh
+ # mulatex : LaTeX2e for Mule's *junet* encoding
+ #
+ fname=`echo $1 | sed 's/\.[^\.]*$//g'`
+ coco '*junet*' '*internal*' < $1 | mule2cjk > $fname.cjk
+ st=$?
+ if [ $st -ne 0 ] ; then
+ exit $st
+ fi
+ latex $fname.cjk
+ st=$?
+ if [ -f $fname.cjk ] ; then
+ /bin/rm -f $fname.cjk
+ fi
+ exit $st
+ %
+
+ : mulatex for *ctext*
+
+ % cat mulatex
+ #!/bin/sh
+ # mulatex : LaTeX2e for Mule's *ctext* encoding
+ #
+ fname=`echo $1 | sed 's/\.[^\.]*$//g'`
+ coco '*ctext*' '*internal*' < $1 | mule2cjk > $fname.cjk
+ st=$?
+ if [ $st -ne 0 ] ; then
+ exit $st
+ fi
+ latex $fname.cjk
+ st=$?
+ if [ -f $fname.cjk ] ; then
+ /bin/rm -f $fname.cjk
+ fi
+ exit $st
+ %
+
+If you use Mule (without auctex), add one of the following pieces of
+Lisp code to your .emacs initialization file.
+
+ : `.emacs' for *junet*
+
+ (add-hook 'LaTeX-mode-hook
+ (function (lambda ()
+ (set-file-coding-system *junet*)
+ )))
+
+ : `.emacs' for *ctext*
+
+ (add-hook 'LaTeX-mode-hook
+ (function (lambda ()
+ (set-file-coding-system *ctext*)
+ )))
+
+The program `coco' is included in the Mule package.
+
+
+auctex
+------
+
+auctex is an elisp package for TeX and LaTeX users. It is easy to integrate
+the CJK environment into auctex; the usage is very similar to ordinary LaTeX
+with the exception that the typesetting command to compile a .dvi file is
+not `latex' but `mulatex'.
+
+Add the following code to your .emacs file (or, if possible, to
+tex-site.el).
+
+ : `.emacs' for auctex users
+
+ (add-hook 'LaTeX-mode-hook
+ (function (lambda ()
+ (set-file-coding-system *junet*)
+ (nconc
+ TeX-command-list
+ (list
+ (list "MuLaTeX" "aucmulatex %t" 'TeX-run-LaTeX nil t)
+ )
+ )
+ (setq TeX-command-default "MuLaTeX")
+ )))
+
+
+ : mulatex for auctex users
+
+ % cat aucmulatex
+ #!/bin/sh
+ # aucmulatex : LaTeX2e in auctex mode for Mule's *junet* encoding
+ #
+ fname=`echo $1 | sed 's/\.[^\.]*$//g'`
+ coco '*junet*' '*internal*' < $1 | mule2cjk > $fname.cjk
+ st=$?
+ if [ $st -ne 0 ] ; then
+ exit $st
+ fi
+ latex \\nonstopmode\\input{$fname.cjk}
+ st=$?
+ if [ -f $fname.cjk ] ; then
+ /bin/rm -f $fname.cjk
+ fi
+ exit $st
+ %
+
+ This example describes only the usage for *junet*. Of course, you can use
+ other coding systems too.
+
+
+auctex (yet another usage)
+----------------------------
+
+You can directly write elisp code instead of using a mulatex shell script
+(not for the faint-hearted :-). If TeX files are written in *junet*, *ctext*,
+*euc-japan* ... encoding, Mule will understand the input files automatically.
+Add the following code to your .emacs file (or, if possible, to tex-site.el).
+
+ : `.emacs' for auctex user (for Mule 2.3 based on emacs 19.28)
+
+ (add-hook 'LaTeX-mode-hook
+ (function (lambda ()
+ (nconc
+ TeX-command-list
+ (list
+ (list "MuLaTeX" "latex '\\nonstopmode\\input{%c}'"
+ 'TeX-run-MuLaTeX nil t)
+ )
+ )
+ (nconc
+ TeX-expand-list
+ (list
+ (list "%c" 'file "cjk")
+ ))
+ (setq TeX-command-default "MuLaTeX")
+ )))
+
+ (define-program-coding-system nil "mule2cjk" *internal*)
+
+ (defvar TeX-LaTeX-CJK-tmpfile nil)
+
+ (defun TeX-MuLaTeX-sentinel (process name)
+ (prog1
+ (TeX-LaTeX-sentinel process name)
+ (delete-file TeX-LaTeX-CJK-tmpfile)))
+
+ ; customized from TeX-run-LaTeX
+ (defun TeX-run-MuLaTeX (name command file)
+ "Run mule2cjk and latex on current TeX buffer."
+
+ (let ((TeX-LaTeX-CJK-tmpbuffer (generate-new-buffer-name "cjk")))
+ (setq TeX-LaTeX-CJK-tmpfile (concat file ".cjk"))
+ (generate-new-buffer TeX-LaTeX-CJK-tmpbuffer)
+ (call-process-region
+ (point-min) (point-max) "mule2cjk" nil TeX-LaTeX-CJK-tmpbuffer nil)
+ (set-buffer TeX-LaTeX-CJK-tmpbuffer)
+ (write-region (point-min) (point-max)
+ TeX-LaTeX-CJK-tmpfile nil nil *internal*)
+
+ (let ((process (TeX-run-format name command file)))
+ (setq TeX-sentinel-function 'TeX-MuLaTeX-sentinel)
+ (if TeX-process-asynchronous
+ process
+ (TeX-synchronous-sentinel name file process)))
+ (kill-buffer TeX-LaTeX-CJK-tmpbuffer)))
+
+
+indentfirst.sty
+---------------
+
+Japanese style of indenting paragraphs is different from the original latex.
+There is a style file called `indentfirst.sty' in the official LaTeX2e
+`tools' package which always indents the first paragraph.
+
+Where is indentfirst.sty ? )
+
+Host ftp.dante.de
+
+ Location: /tex-archive/macros/latex/packages/tools
+ FILE rw-rw-r-- 1492 Dec 14 17:46 indentfirst.dtx
+
+or your nearest CTAN mirror ftp sites.
+
+You should get all files in /pub/TeX/CTAN/macros/latex/packages/tools, read
+the readme.txt file and install them. There are many, many useful styles in it.
+(e.g. tabular or verbatim etc.)
+
+
+\maketitle
+----------
+
+When you write Japanese titles, make sure that the \maketitle command
+is inside of a CJK environment because it contains CJK characters.
+
+example )
+
+ \documentclass[a4paper]{article}
+ ....
+ \usepackage[global]{CJK}
+ \usepackage{indentfirst}
+
+ \begin{CJK*}{}{}
+ \title{ < Japanese Text > }
+ \author{ < Japanese Text > }
+ \end{CJK*}
+
+ \begin{document}
+ \begin{CJK*}{}{}
+
+ \maketitle
+ .....
+ < Japanese Text >
+ .....
+
+ \end{CJK*}
+ \end{document}
+
+
+
+JIS.cap
+-------
+
+CJK provides Japanese captions. You need the koma-script package (which is a
+replacement of the standard classes) to use the caption files. (ref: `CJK
+captions' in CJK.txt)
+
+[This feature does not work for Japanese in CJK versions prior to 4.1.0]
+
+
+Where is Koma-script ? )
+
+Host ftp.dante.de
+
+ Location: /tex-archive/macros/latex/contrib/supported
+ DIRECTORY rwxr-xr-x 1024 Jan 23 12:20 koma-script
+
+or your nearest CTAN mirror ftp sites.
+
+How to use it in CJK ? )
+
+Inside of your CJK JIS environment, put
+
+ \CJKcaption{JIS}
+
+to activate Japanese captions.
+
+ To use CJK.sty and Koma-script for Japanese captions, see the
+ example below.
+
+ % srcartcl is a stylefile of Koma-script
+ \documentclass{scrartcl}
+ \topmargin=-3.5cm
+ \textheight=26cm
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}[dnp]{JIS}{song}
+ \CJKcaption{JIS}
+
+ <Japanese text>
+
+ % Japanese Caption
+ \refname{<Japanese text>}
+
+ \end{CJK*}
+ \end{document}
+
+
+\newpage
+--------
+
+If you encounter an undefined CJK command (just before leaving the CJK
+environment), it is necessary to flush out the page, because LaTeX sometimes
+writes the headers _after_ the environment was closed. (ref: `Possible
+errors' in CJK.txt)
+
+
+example )
+
+ \documentclass[a4paper]{article}
+ \usepackage{CJK}
+ \usepackage{indentfirst}
+
+ \begin{document}
+ \begin{CJK*}{JIS}{song}
+
+ < Japanese text >
+ .....
+ \newpage
+ \end{CJK*}
+ \end{document}
+
+
+Japanese PostScript printer
+---------------------------
+
+If your site has a postscript printer with builtin Japanese PS fonts
+that implements /Ryumin-Light and /GothicBBB-Medium, or a printer that
+can emulate these fonts, you can easily use it to print out a dvi file
+made from dnp-tfm (see DNP fonts). `dvi2ps' is a tool to drive printer
+resident Japanese PS fonts. You can also use watanabe-dnp fonts for
+previewing, as their metric files are the same.
+
+Where is dvi2ps ? )
+
+Host ftp.math.s.chiba-u.ac.jp
+
+ Location: /tex
+ FILE rw-r--r-- 112970 Dec 1 1994 dvi2ps-1.91j.tar.gz
+
+
+------------------
+Version 1.0 Beta8 (1996/02/09)
+ Tanaka Shinichiro Email: tanaka3@ifos.se.fujitsu.co.jp
+
+
+
+---End of japanese.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/japanese/jp-fonts.txt b/Master/texmf-dist/doc/latex/cjk/doc/japanese/jp-fonts.txt
new file mode 100644
index 00000000000..49d2bae5190
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/japanese/jp-fonts.txt
@@ -0,0 +1,54 @@
+Data: Japanese Fonts Environment
+
+
+Phototypesetting systems and font makers.
+ Syaken
+ Morisawa
+ Ryobi
+
+Font makers.
+ Dai Nippon Screen
+ Font Works
+ Ricoh ---> TrueType fonts (MS-mincho, MS-gothic; used in
+ Japanese MS-Windows)
+ (some further companies also make Japanese PS fonts, e.g. URW from
+ Germany)
+
+Printing companies.
+ Dai Nippon Printing (DNP)
+ Tokyo Syoseki Printing
+ Toppan Printing
+ (these are only the biggest companies; many further printing
+ companies are active in Japan)
+
+(Ref: `Dai' means `Big'. `Nippon' means `Japan'. `Syoseki' means `books'.
+ Ricoh is not only a font maker.)
+
+
+ 1. Syaken Co is the most famous and biggest company dealing with
+ phototypesetting systems and fonts in Japan.
+
+ 2. Syaken does not make PostScript Fonts. Their fonts are used
+ only on Syaken's special phototypesetting machines which many
+ printing companies use.
+
+ 3. Morisawa made Postscript Fonts in cooperation with Adobe Inc.
+ It is famous that their fonts have strong software copy
+ protection.
+
+ 4. There are inexpensive PS fonts called `HEISEI Mincho' and
+ `HEISEI Gothic' made by the Nippon standard association (I
+ don't know the exact English name of this association). These
+ fonts are not so beautiful as Morisawa's PS fonts but cheaper.
+
+ 5. In former times pure PostScript printers only had Morisawa's PS
+ fonts as builtin fonts. Now there are also pure PS printers
+ that use builtin Heisei fonts.
+
+ 6. The dvi2ps program outputs Morisawa's font metrics.
+
+
+This document contains no information about the relation about ASCII Nihongo
+TeX and Syaken's phototypesetting machines.
+
+Version 1.0B4 (1996/02/09) written by tanaka3@ifos.se.fujitsu.co.jp
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/japanese/jp-tex.txt b/Master/texmf-dist/doc/latex/cjk/doc/japanese/jp-tex.txt
new file mode 100644
index 00000000000..8effc418322
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/japanese/jp-tex.txt
@@ -0,0 +1,50 @@
+Data: NTT-JTeX's Standard Fonts Environment.
+
+ (La)TeX file
+ |
+ +--- dnp-tfm (DNP font metrics)
+ |
+ dvi file
+ |
+ +-----------------------+-----------------------+
+ | | |
+ dvips-5.58 dvips-5.58 dvi2ps-1.91j
+ | or dvi2ps-1.91j | or dvi2ps-1.91j |
+ | | |
+ real DNP fonts watanabe-dnp fonts Japanese PostScript
+ (pk fonts) (pk fonts) fonts
+ | | |
+ | | |
+ PostScript PostScript Japanese PostScript
+ Printer Printer Printer
+ (or dot Printer (or dot Printer
+ with GhostScript) with GhostScript)
+
+ 1. Real DNP fonts are commercial fonts sold by DNP.
+ DNP Fonts are *not* PostScript fonts but PK fonts.
+
+ 2. Watanabe DNP fonts are freeware. That have same font metrics as
+ real DNP Fonts but have different font names.
+
+ 3. DNP fonts are more beautiful than any available freeware fonts.
+ (The book written about NTT-JTeX is printed by DNP.)
+
+ 4. NTT-JTeX uses DNP Font Metrics by default.
+ dvi2ps is standard dviware for NTT-JTeX.
+
+ 5. The printer resident PostScript fonts have no relation to DNP
+ fonts.
+
+ 6. But dvi2ps use `DNP Font Metrics' to drive printer resident
+ PostScript fonts.
+
+ 7. Recently PostScript fonts are more used than DNP fonts since
+ Japanese PostScript printers are now inexpensive in Japan.
+
+
+This document contains no information about TrueType and outline (vector)
+fonts.
+
+Version 1.0B4 (1996/02/09) written by tanaka3@ifos.se.fujitsu.co.jp
+
+
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/japanese/preview.txt b/Master/texmf-dist/doc/latex/cjk/doc/japanese/preview.txt
new file mode 100644
index 00000000000..574eb29925b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/japanese/preview.txt
@@ -0,0 +1,39 @@
+Data: NTT-JTeX's Preview Environment.
+
+ (La)TeX file
+ |
+ +--- dnp-tfm (DNP fonts metric)
+ |
+ dvi file
+ |
+ +-----------------------+-----------------------+
+ | | |
+ | | |
+ real DNP fonts watanabe-dnp fonts Outline fonts
+ (pk fonts) (pk fonts) (vector fonts)
+ | | |
+ xdvi-20 xdvi-20 [ Now investigating ]
+
+
+ 1. If you use real DNP fonts or watanabe-dnp fonts for printing,
+ you should use them to preview dvi files too.
+
+ 2. If you use a Japanese Postscript printer for printing, there
+ are different possibilities to preview dvi files.
+
+ 1) pk fonts.
+
+ Because dvi files are made from dnp-tfm, you can preview the
+ dvi files by real DNP fonts or watanabe-dnp fonts.
+
+ Of course Japanese PS fonts are not exactly equal to DNP
+ fonts.
+
+ 2) outline fonts.
+
+ Outline fonts need less disc space than PK fonts. You can
+ use outline fonts (often called vector fonts) to preview
+ them.
+
+
+Version 1.0B3 (1996/02/09) written by tanaka3@ifos.se.fujitsu.co.jp
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/japanese/shibuaki.txt b/Master/texmf-dist/doc/latex/cjk/doc/japanese/shibuaki.txt
new file mode 100644
index 00000000000..ca317a82fd0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/japanese/shibuaki.txt
@@ -0,0 +1,150 @@
+
+Handling of space between Kanji and non-Kanji characters.
+
+
+1. Shibuaki or Yonbuaki ($B;MJ,$"$-(B)
+
+
+
+ <Japanese Text> English word <Japanese Text>
+ ^ ^
+ This point This point
+
+ This space is called "Shibuaki" which has a width of a quarter of a kanji
+ font width. It is used only between Kanji and non-Kanji characters.
+ (between Kanji and Kanji only stretchable glue is used; between
+ ASCII and ASCII ordinary space.)
+
+
+2. Yakumono($BLsJ*(B)
+
+ Here are the rules how and where to use Shibuaki.
+
+2.1 Yakumono for ASCII characters
+
+ rules:
+
+ 0 No shibuaki between previous kanji character and the ASCII
+ character, and between next kanji character and the ASCII
+ character.
+
+ <Kanji character><ASCII character><Kanji Character>
+
+ 1 Shibuaki space only between previous kanji character and the
+ ASCII character.
+
+ <Kanji character> <ASCII character><Kanji Character>
+ ^
+ shibuaki
+
+ 2 Shibuaki space only between next kanji character and the ASCII
+ character.
+
+ <Kanji character><ASCII character> <Kanji Character>
+ ^
+ shibuaki
+
+ 3 Shibuaki spaces between kanji characters and ASCII word.
+
+ <Japanese Text> English word <Japanese Text>
+ ^ ^
+ shibuaki shibuaki
+
+
+ Rule 3 is always used by all printable ASCII characters without
+ the following yakumono ASCII characters.
+
+ [This is data from ASCII-Nihongo TeX.]
+
+ % ASCII yakumono characters and the corresponding rules
+ ( 1
+ ) 2
+ [ 1
+ ] 2
+ ` 1
+ ' 2
+ ; 2
+ , 2
+ . 2
+
+2.2 Yakumono for kanji characters
+
+ rules:
+
+ 0 No shibuaki space between previous ASCII character and the kanji
+ character, and between next ASCII character and the kanji
+ character.
+
+ <ASCII character><Kanji character><ASCII character>
+
+ 1 No shibuaki space between previous ASCII character and the kanji
+ character.
+
+ <ASCII character><Kanji character> <ASCII character>
+ ^
+ shibuaki
+
+ 2 No shibuaki space between next ASCII character and the kanji
+ character.
+
+ <ASCII character> <Kanji character><ASCII character>
+ ^
+ shibuaki
+
+ 3 Shibuaki spaces between kanji character and ASCII characters
+
+ <ASCII character> <Kanji character> <ASCII character>
+ ^ ^
+ shibuaki shibuaki
+
+ Rule 3 is always used by all kanji characters without the following
+ yakumono kanji characters.
+
+ [This is data from ASCII-Nihongo TeX.]
+
+ % Kanji yakumono characters and the corresponding rules
+ $B!"(B 1
+ $B!#(B 1
+ $B!$(B 1
+ $B!%(B 1
+ $B!((B 1
+ $B!)(B 1
+ $B!K(B 1
+ $B!J(B 2
+ $B!O(B 1
+ $B!N(B 2
+ $B!Q(B 1
+ $B!P(B 2
+ $B!F(B 2
+ $B!G(B 1
+ $B!H(B 2
+ $B!I(B 1
+ $B!L(B 2
+ $B!M(B 1
+ $B!R(B 2
+ $B!S(B 1
+ $B!T(B 2
+ $B!U(B 1
+ $B!V(B 2
+ $B!W(B 1
+ $B!X(B 2
+ $B!Y(B 1
+ $B!Z(B 2
+ $B![(B 1
+ $B!=(B 0
+ $B!A(B 0
+ $B!D(B 0
+ $B!o(B 0
+ $B!k(B 1
+ $B!l(B 1
+ $B!m(B 1
+
+
+
+
+Reference: "Nihongo TeX technical book I" ASCII co.
+ $BF|K\8l(BTeX$B%F%/%K%+%k%,%$%I(B I $B%"%9%-!<=PHG6I(B
+ 2200 yen.
+
+
+Version 1.0B1 written by tanaka3@ifos.se.fujitsu.co.jp
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/HOWTO.txt b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/HOWTO.txt
new file mode 100644
index 00000000000..1579492ca88
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/HOWTO.txt
@@ -0,0 +1,425 @@
+How to make PDF files using CJK/LaTeX with embedded TrueType fonts
+
+Hin-Tak Leung <htl10@users.sourceforge.net>
+December 2003
+
+
+Introduction
+------------
+
+Existing CJK/LaTeX instruction for high-quality print-out tends to suggest
+permanently converting TrueType fonts (which had a better availability) to
+postscript sub-fonts; this document covers how to use TrueType fonts
+directly, and also preparing such PDF documents. Today, the PDF output
+format is slightly more popular than PostScript; also, even on US English
+systems, CJK font packs are available for font substitution in Adobe Acrobat
+Reader (and similar mechanisms exist for xpdf and ghostscript), which allows
+the generation of PDF files containing only important textual content but no
+embedded fonts. Such files are small enough to be e-mailed while preserving
+formatting, provided the recipient has the font packs installed. This
+document also covers the issues with no-embedded-font PDF files at the very
+end as well.
+
+The following steps are discussed below in greater detail:
+
+ 1. Finding the fonts.
+ 2. Getting and building some software: ttf2tfm, dvipdfmx.
+ Some other nice optional software: oto, the other freetype/freetype2
+ demo tools, ttfm, ttx.
+ 3. Using ttf2tfm, generating *.tfm and *.enc files for each font.
+ 4. Putting the fonts, the *.tfm files, and the *.enc files into the right
+ place in your system.
+ 5. Configuring dvipdfmx to use the new fonts.
+ 6. (optional) Configuring pdflatex to use the new fonts also.
+ 7. Configuring CJK/LaTeX to use those fonts.
+ 8. Testing.
+ 9. Problems and tips.
+
+I can read both traditional and simplified Chinese, and a substantial amount
+of Japanese, but there isn't any Korean-specific info here. Hopefully this
+is useful enough as a starting point at least for Korean-related
+experiments.
+
+The two most important references during this venture was the FreeBSD
+(Taiwan) Chinese HOWTO (it is substantially better and more up-to-date than
+the GNU/Linux one), and Edward G. J. Lee's various treatises on the net,
+particularly his `mycjk' notes. Unfortunately both are available in Chinese
+only, I believe.
+
+
+1. Fonts
+========
+
+ Chinese
+ -------
+
+ Arphic donated 4 high-quality Chinese fonts to the open-source community:
+ two for traditional and two for simplified Chinese, respectively. They are
+ shipped with Redhat 9 (which I used for most of this work) and Debian 3
+ and possibly also other GNU/Linux distributions; they can be downloaded
+ from Arphic's home site and, probably more convenient, from
+
+ ftp://ftp.gnu.org/gnu/non-gnu/chinese-fonts-truetype/
+
+ and its mirrors. Tip: Use `unzip -L' to convert file names to lowercase.
+
+ Redhat 9 also ships zysong, a simplified Chinese font. This font seems to
+ be licensed to Redhat only since it isn't found in other GNU/Linux
+ distributions. It is part of the package "ttfonts-zh_CN-2.12-1.noarch.rpm",
+ together with the two Arphic simplified Chinese fonts, on the 3rd CD
+ of the Redhat 9 CD set.
+
+ The Ministry of Education in Taiwan released a few fonts for
+ standardization: Currently two are available from the ministry's home page
+ (http://www.edu.tw/mandr/index.htm), but there are old versions with
+ different type faces floating around in the net.
+
+ CwTeX (a Chinese-enabled LaTeX implementation in Taiwan) ships 5 fonts.
+ (http://ccms.ntu.edu.tw/~ntut019/cwtex/cwtex.html)
+
+ Still available is the set of 8 TrueType fonts from NTU which were widely
+ used previously for CJK/LaTeX documents (http://input.cpatch.org/font/ntu/).
+
+ There is also a set of 10 quite fancy and unusual fonts for traditional
+ Chinese, developed by Dr Hann-Tzong Wang
+ (http://140.135.64.77/teacher/htwang/htwang.htm). It is distributed as
+ one of the standard font sets for FreeBSD Taiwan.
+ (http://www.freebsd.org/cgi/pds.cgi?ports/chinese/wangttf).
+
+ Japanese
+ --------
+
+ Redhat 9 and SuSE both ship the Kochi Gothic and Mincho fonts; Debian
+ ships Watanabe Mincho and Wadalab Gothic as part of the XTT TrueType font
+ server. The packages are: "ttfonts-ja-1.2-21.noarch.rpm" on the 3rd disc
+ of the Redhat 9 CD set, "ttf-kochi-mincho-0.2.20020727-81.noarch.rpm" and
+ "ttf-kochi-gothic-0.2.20030118-17.noarch.rpm" on SuSe 8.2,
+ "xtt-fonts" for Debian systems.
+
+ Other source of fonts (e.g. Win2k/WinXP/Win2k3 ships a few as standard,
+ and also localized version of MS Office, etc.) are mostly proprietary.
+
+ These instructions are known to work on those also, but I don't want to
+ go into specific details...
+
+
+2. ttf2tfm and dvipdfmx
+=======================
+
+ The specific details about compiler switches, include paths, are for
+ the Redhat 9 distribution. You may have to adapt them.
+
+ ttf2tfm
+ -------
+
+ ttf2tfm is part of ttf2pk package which is itself part of
+ freetype-contrib, a suite of programs depending on the FreeType 1 library.
+ Most GNU/Linux systems ship both FreeType 2 and FreeType 1 (that's the
+ case for RH9, in fact), which are *not* compatible. So I decided to build
+ the latest FreeType 1 static version and made freetype-contrib depend on
+ that to avoid using the out-dated library shipped with my system. The
+ mentioned packages can be downloaded from ftp.freetype.org.
+
+ Unpack freetype-current (adapt the `/home/hleung' part to suit yourself),
+ then do
+
+ cd /home/hleung/freetype-current
+ ./configure --enable-static --disable-shared --prefix=/home/hleung
+ make
+
+ Now unpack freetype-contrib-current inside the freetype-current tree, then
+ do
+
+ cd freetype-contrib-current/ttf2pk
+ CFLAGS=-I../../lib/ LDFLAGS=-L../../lib/.libs ./configure \
+ --with-kpathsea-lib=/usr/lib --with-kpathsea-include=/usr/include
+ make
+ make install
+
+ Important: At the end, you need to manually copy the data/*.sfd files into
+ ${TEXMF}/ttf2tfm and also ${TEXMF}/ttf2pk (a soft link from
+ ${TEXMF}/ttf2tfm to ${TEXMF}/ttf2pk will do also).
+
+ [The recent TeX directory structure (TDS), version 1.1, comes with a new
+ subdirectory fonts/sfd, to be accessed with the kpathsea variable
+ $SFDFONTS. ttf2tfm and other programs available in the TeXLive
+ distribution have already been updated to use it.]
+
+ The man pages of ttf2tfm and ttf2pk give detailed explanation of all
+ command line arguments.
+
+ Tip: I find a utility called "checkinstall" quite useful. Instead of `make
+ install' one calls `checkinstall' which does the same as `make install'
+ but also integrates the data nicely into the package management system for
+ Redhat/Debian/Slackware; this gives cleaner upgrades and uninstalls.
+
+ dvipdfmx
+ --------
+
+ http://project.ktug.or.kr/dvipdfmx/
+
+ For dvipdfmx I use
+
+ CFLAGS='-I/usr/kerberos/include -O2 -march=i386 -mcpu=i686' ./configure
+ make
+ make install
+
+ The include path is due to dependency on the kerberos library for PDF
+ encryption. Important: The 10 Wang fonts have some peculiarities; I
+ submitted a preliminary patch which the author has much refined and
+ incoporated into a new release. You need a version newer than 2003-08-11
+ if you want to use this set of fonts. From the ChangLog of dvipdfmx:
+
+ 2003-08-11 Jin-Hwan Cho <chofchof@ktug.or.kr>
+ * A faked font name was used for TrueType fonts without any PS
+ font name as suggested by Hin-Tak Leung.
+
+ [The recent TeX directory structure (TDS), version 1.1, comes with a new
+ subdirectory fonts/sfd, to be accessed with the kpathsea variable
+ $SFDFONTS. dvipdfmx and other programs available in the TeXLive
+ distribution have already been updated to use it.]
+
+
+3. Generating ttf and enc files
+===============================
+
+ OpenType Organizer (oto) : http://sourceforge.net/projects/oto/
+ True Type Font Manager (ttfm):
+ - part of Chinese GNU/Linux Extention http://cle.linux.org.tw/
+
+ You need to know what cmap (character map) the TrueType font (*.ttf or
+ *.ttc) contains. The utility programs oto, ftdump (two versions! --
+ FreeType 1 and FreeType 2 both have this demo program, showing quite
+ different information), and ttfinfo (part of ttfm) can show this info, and
+ some other information about your font as well. Only ftdump works on
+ TrueType collections (*.ttc), but the other two have their strengths also
+ (ttfinfo gives the most straightforward info, while oto gives some details
+ that ftdump doesn't show).
+
+ For detailed information on cmaps in a font you can use ttx, a tool to
+ assemble and disassemble OpenType fonts. It is available from
+ http://fonttools.sf.net.
+
+ If there is a Unicode cmap you can use ttf2tfm's `U*.sfd' files (see the
+ `@...@' argument for ttf2tfm); the command line for ttf2tfm is simpler
+ also. Otherwise you need to specify the platform (-P) and encoding (-E)
+ IDs.
+
+ Here is what works for me for the fonts I mentioned. Important: The font
+ stem name needs to be unique. Additionally, dvipdfmx doesn't like numbers
+ in the font stem name. I use a 4-letter combination. By LaTeX convention
+ it shouldn't be longer than 5 letters.
+
+ ttf2tfm bkai00mp.ttf -q -w bkai@UBig5@
+ ttf2tfm bsmi00lp.ttf -q -w bsmi@UBig5@
+ ttf2tfm gbsn00lp.ttf -q -w gbsn@UGB@
+ ttf2tfm gkai00mp.ttf -q -w gkai@UGB@
+
+ ttf2tfm zysong.ttf -q -w zysg@UGB@
+
+ ttf2tfm kai-linux.ttf -P 3 -E 4 -q -w mekl@Big5@
+ ttf2tfm edustd-15.ttf -P 3 -E 4 -q -w mest@Big5@
+ ttf2tfm moe_kai.ttf -P 3 -E 4 -q -w meko@Big5@
+ ttf2tfm moe_sung.ttf -P 3 -E 4 -q -w meso@Big5@
+
+ ttf2tfm ntu_li_m.ttf -P 3 -E 4 -q -w ntli@Big5@
+ ttf2tfm ntu_br.ttf -P 3 -E 4 -q -w ntbr@Big5@
+ ttf2tfm ntu_fs_m.ttf -P 3 -E 4 -q -w ntfs@Big5@
+ ttf2tfm ntu_kai.ttf -P 3 -E 4 -q -w ntka@Big5@
+ ttf2tfm ntu_mb.ttf -P 3 -E 4 -q -w ntmb@Big5@
+ ttf2tfm ntu_mm.ttf -P 3 -E 4 -q -w ntmm@Big5@
+ ttf2tfm ntu_mr.ttf -P 3 -E 4 -q -w ntmr@Big5@
+ ttf2tfm ntu_tw.ttf -P 3 -E 4 -q -w nttw@Big5@
+
+ ttf2tfm mttf.ttf -q -w cwtm@UBig5@
+ ttf2tfm kttf.ttf -q -w cwtk@UBig5@
+ ttf2tfm fttf.ttf -q -w cwtf@UBig5@
+ ttf2tfm bbttf.ttf -q -w cwtb@UBig5@
+ ttf2tfm rttf.ttf -q -w cwtr@UBig5@
+
+ ttf2tfm kochi-gothic.ttf -w kcgt@UJIS@
+ ttf2tfm kochi-mincho.ttf -w kcmc@UJIS@
+
+ ttf2tfm wadalab-gothic.ttf -P 3 -E 2 -w wdgt@SJIS@
+ ttf2tfm watanabe-mincho.ttf -P 3 -E 2 -w wnmc@SJIS@
+
+ The Wang's font set has some unusual properties, and need either
+ a new version of freetype 1 (after 2003-10 from CVS), or a slightly
+ modified "Big5.sfd", called "wcl.sfd" here:
+
+ ttf2tfm wcl-01.ttf -P 3 -E 4 -q -w wclj@wcl@
+ ttf2tfm wcl-02.ttf -P 3 -E 4 -q -w wclk@wcl@
+ ttf2tfm wcl-03.ttf -P 3 -E 4 -q -w wcll@wcl@
+ ttf2tfm wcl-04.ttf -P 3 -E 4 -q -w wclm@wcl@
+ ttf2tfm wcl-05.ttf -P 3 -E 4 -q -w wcln@wcl@
+ ttf2tfm wcl-06.ttf -P 3 -E 4 -q -w wclp@wcl@
+ ttf2tfm wcl-07.ttf -P 3 -E 4 -q -w wclq@wcl@
+ ttf2tfm wcl-08.ttf -P 3 -E 4 -q -w wclr@wcl@
+ ttf2tfm wcl-09.ttf -P 3 -E 4 -q -w wcls@wcl@
+ ttf2tfm wcl-10.ttf -P 3 -E 4 -q -w wclt@wcl@
+
+ As an example, here is what I do for a well-known proprietary simplified
+ Chinese font which has only a cmap for simplified Chinese:
+
+ ttf2tfm gkai00m.ttf -P 3 -E 3 -q -w gkaim@EUC@
+
+ Here an example for a TrueType collection:
+
+ ttf2tfm dcai5.ttc -q -w dcaiq@UJIS@
+
+
+4. Putting the files where they should be
+=========================================
+
+ This is somewhat related to how kpathsea works and how latex (the program)
+ find its files. It is possible to set individual environment variables for
+ each of these items, but it is easier to set one: $TEXMF to a list of
+ locations, with a tree parallel to the system tree. Then do the following:
+
+ . Put the *.tfm files into a subdirectory of ${TEXMF}/fonts/tfm.
+ . Put the *.enc files into a subdirectory of ${TEXMF}/dvips.
+ . Put the *.ttf (or *.ttc) files into a subdirectory of
+ ${TEXMF}/fonts/truetype.
+ . Put the *.sfd files into ${TEXMF}/ttf2tfm or a subdirectory of it.
+ Don't forget to either copy them into ${TEXMF}/ttf2pk also or to set up
+ a link from ${TEXMF}/ttf2pk to ${TEXMF}/ttf2tfm.
+
+ Reason: dvipdfmx searches SFD files (which it needs for reassembling)
+ under ${TEXMF}/ttf2pk although we don't use ttf2pk anywhere. ttf2tfm
+ looks for them under its own name, of course.
+
+ [The recent TeX directory structure (TDS), version 1.1, comes with a new
+ subdirectory fonts/sfd, to be accessed with the kpathsea variable
+ $SFDFONTS. dvipdfmx and other programs available in the TeXLive
+ distribution have already been updated to use it.]
+
+ Important: Run texhash (mktexlsr) to rebuild the kpathsea database,
+ otherwise files won't be found. You have been warned!
+
+
+5., 6. Configuring dvipdfmx and (optionally) pdflatex
+=====================================================
+
+ cid-x.map, dvipdfmx.cfg, *.map
+
+ See for example, my own "cid-x.map" for the main font config file of
+ dvipdfmx -- all my own customization is at the very end after the line
+ "Hin-Tak Leung's custom setup below:". For each font xxxx, one needs
+ to add a line "f xxxx.map" into "dvipdfmx.cfg", and a fontmap
+ file "xxxx.map" into the dvipdfmx config directory --
+ ${TEXMF}/dvipdfm/config/ on my system (the missing
+ "x" is not a typo, as dvipdfmx originally derived from dvipdfm).
+ I have included cwbt.map, for one of the CwTeX fonts, as an example,
+ and my dvipdfmx.cfg as well.
+
+ Because I have a fair number of fonts I like to add, I wrote a little
+ perl script "gen-map.pl", which generates all the *.map files plus
+ a file called "map.list" which I can simply append to dvipdfmx.cfg,
+ from an internal table at the very top of the script.
+
+ pdflatex needs the same fontmap files for each new font - copy them into
+ ${TEXMF}/dvips/config/. Modify the updmap script which is used for
+ updating both pdflatex.cfg and dvips.cfg, and run the updmap script.
+ On teTeX 1.0.x, one needs to add to the "extra_modules=" entry the
+ *.map files for each font. My modified updmap is included as an
+ example "updmap.my", found as "/usr/share/texmf/dvips/config/updmap" on
+ a RH 9 system. On teTeX 2.0.x, updmap has a separate config file
+ updmap.cfg located in ${TEXMF}/web2c/.
+
+
+7. Configuring CJK/LaTeX
+========================
+
+ Copy the whole `texinput' directory of the CJK package into a directory
+ which is in your $TEXINPUTS path. Also create some new *.fd files there.
+ My "c00cwtb.fd" is included as an example; again, since I have quite
+ a few font files, I have created some template fd files as c*tmpl.fd,
+ and duplicating and change every "tmpl" string to "cwtb" inside
+ as needed like this:
+ cp c00tmpl.fd c00cxtb.fd
+ perl -pi -e "s/tmpl/cwtb/;" c00cwtb.fd
+
+ If you use Big5 or Shift-JIS encoding, compile the bg5conv and
+ sjisconv utilities; under Unix-like systems you can use the bg5pdflatex
+ and sjispdflatex scripts to access them conveniently.
+
+
+8. Testing
+==========
+
+ Just pick the relevant files in the CJK/examples directory and change the
+ font name to match. Either call pdflatex or call latex followed by
+ dvipdfmx. In general, I found that dvipdfmx generates much smaller files
+ (1/3 to 1/2 size).
+
+
+9. Problems
+===========
+
+ a. files can't be found
+
+ This is the most frequent problem. Setting the environment variable
+ KPATHSEA_DEBUG to -1 activates full debugging; you can then check
+ how latex/dvipdfmx/pdflatex tries to find those files. See the
+ kpathsea info pages for more details on debugging output.
+
+ For latex (the program) you only need the new custom-made *.fd files,
+ the files from CJK/texinput, and the tfm files. The *.fd files could be
+ broken -- check their contents. latex (the program) neither needs the
+ *.enc files nor the font files themselves.
+
+ If latex (the program) works, but dvipdfmx doesn't, then your dvipdfmx
+ configuration probably needs some tuning. Alternatively, the map files
+ or the font files are not found, etc. Note that dvipdfmx neither needs
+ the tfm files, nor the CJK/LaTeX input files, but it does need the
+ enc files.
+
+ pdflatex does everything in one step, so everything needs to be in the
+ right place.
+
+ b. Acrobat on GNU/Linux doesn't print PDF files generated with dvipdfmx
+
+ The problem is probably caused by ghostscript version 7.x which chokes
+ on the intermediate postscript file under some command options.
+ Upgrading to ghostscript 8.x should fix this printfilter problem. It is
+ *strongly* recommended to use ghostscript 8.11 or newer due to severe
+ problems with earlier versions.
+
+ c. no-font-embedded PDF files
+
+ This is quite simple to do with dvipdfmx: Just put an extra `!'
+ (exclamation mark) in the dvipdfmx configuration file in front of the
+ font which shouldn't be embedded.
+
+ A problem can arise if the PDF reader is not able to find a proper
+ substitution font if the font specified in the document isn't available.
+ I did some investigation and had a long discussion with the author of
+ dvipdfmx about this. Basically, it seems that win32 Acrobat Reader 6.x
+ will substitute any missing fonts with fonts from the Adobe CJK font
+ packs or from the system. Acrobat reader 5.x for GNU/Linux will only do
+ so -- and only with fonts from the CJK packs, not from the X server --
+ if the font name is one of the well-known ones for that region:
+ SimHei, SimSun (found on most MS Windows boxes), and some fonts of Arphic
+ and Dynafont which are very popular in the far east. Otherwise,
+ it aborts with an error message.
+
+ Besides the proprietary fonts mentioned in the last paragraph, only
+ Wang's fonts can be configured currently to be not embedded so that
+ acroread on GNU/Linux accepts them. I have spent much time looking
+ into this issue and apparently Acroread on GNU/Linux seems to do
+ font substitutions by looking at the capital letters in the font name.
+ Due to the missing PS name of the Wang's fonts (and our dvipdfmx
+ work-around on 2003-08-11 using the file name -- happened to be all
+ lowercase -- as the missing font name), they work by luck.
+
+ Both xpdf and ghostscript will substitute any missing fonts with a
+ specific font per language, if suitably configured. On Redhat 9, the
+ heavily adapted ghostscript will substitute automatically if some named
+ fonts from the CD are installed (without any extra effort); for xpdf it
+ is an extra few lines of configuration in ${HOME}/.xpdfrc to tell it
+ what font to use from the X server for substituting a missing font for a
+ particular language. So ghostscript works out of the box for a full RH
+ installation, whereas xpdf doesn't, but xpdf is more configurable and
+ the setting of what fall-back font to use can differ per user.
+
+--- end ---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/bkai.map b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/bkai.map
new file mode 100644
index 00000000000..71d205d501f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/bkai.map
@@ -0,0 +1,55 @@
+bkai01 bkai01 <bkai01.enc <bkai00mp.ttf
+bkai02 bkai02 <bkai02.enc <bkai00mp.ttf
+bkai03 bkai03 <bkai03.enc <bkai00mp.ttf
+bkai04 bkai04 <bkai04.enc <bkai00mp.ttf
+bkai05 bkai05 <bkai05.enc <bkai00mp.ttf
+bkai06 bkai06 <bkai06.enc <bkai00mp.ttf
+bkai07 bkai07 <bkai07.enc <bkai00mp.ttf
+bkai08 bkai08 <bkai08.enc <bkai00mp.ttf
+bkai09 bkai09 <bkai09.enc <bkai00mp.ttf
+bkai10 bkai10 <bkai10.enc <bkai00mp.ttf
+bkai11 bkai11 <bkai11.enc <bkai00mp.ttf
+bkai12 bkai12 <bkai12.enc <bkai00mp.ttf
+bkai13 bkai13 <bkai13.enc <bkai00mp.ttf
+bkai14 bkai14 <bkai14.enc <bkai00mp.ttf
+bkai15 bkai15 <bkai15.enc <bkai00mp.ttf
+bkai16 bkai16 <bkai16.enc <bkai00mp.ttf
+bkai17 bkai17 <bkai17.enc <bkai00mp.ttf
+bkai18 bkai18 <bkai18.enc <bkai00mp.ttf
+bkai19 bkai19 <bkai19.enc <bkai00mp.ttf
+bkai20 bkai20 <bkai20.enc <bkai00mp.ttf
+bkai21 bkai21 <bkai21.enc <bkai00mp.ttf
+bkai22 bkai22 <bkai22.enc <bkai00mp.ttf
+bkai23 bkai23 <bkai23.enc <bkai00mp.ttf
+bkai24 bkai24 <bkai24.enc <bkai00mp.ttf
+bkai25 bkai25 <bkai25.enc <bkai00mp.ttf
+bkai26 bkai26 <bkai26.enc <bkai00mp.ttf
+bkai27 bkai27 <bkai27.enc <bkai00mp.ttf
+bkai28 bkai28 <bkai28.enc <bkai00mp.ttf
+bkai29 bkai29 <bkai29.enc <bkai00mp.ttf
+bkai30 bkai30 <bkai30.enc <bkai00mp.ttf
+bkai31 bkai31 <bkai31.enc <bkai00mp.ttf
+bkai32 bkai32 <bkai32.enc <bkai00mp.ttf
+bkai33 bkai33 <bkai33.enc <bkai00mp.ttf
+bkai34 bkai34 <bkai34.enc <bkai00mp.ttf
+bkai35 bkai35 <bkai35.enc <bkai00mp.ttf
+bkai36 bkai36 <bkai36.enc <bkai00mp.ttf
+bkai37 bkai37 <bkai37.enc <bkai00mp.ttf
+bkai38 bkai38 <bkai38.enc <bkai00mp.ttf
+bkai39 bkai39 <bkai39.enc <bkai00mp.ttf
+bkai40 bkai40 <bkai40.enc <bkai00mp.ttf
+bkai41 bkai41 <bkai41.enc <bkai00mp.ttf
+bkai42 bkai42 <bkai42.enc <bkai00mp.ttf
+bkai43 bkai43 <bkai43.enc <bkai00mp.ttf
+bkai44 bkai44 <bkai44.enc <bkai00mp.ttf
+bkai45 bkai45 <bkai45.enc <bkai00mp.ttf
+bkai46 bkai46 <bkai46.enc <bkai00mp.ttf
+bkai47 bkai47 <bkai47.enc <bkai00mp.ttf
+bkai48 bkai48 <bkai48.enc <bkai00mp.ttf
+bkai49 bkai49 <bkai49.enc <bkai00mp.ttf
+bkai50 bkai50 <bkai50.enc <bkai00mp.ttf
+bkai51 bkai51 <bkai51.enc <bkai00mp.ttf
+bkai52 bkai52 <bkai52.enc <bkai00mp.ttf
+bkai53 bkai53 <bkai53.enc <bkai00mp.ttf
+bkai54 bkai54 <bkai54.enc <bkai00mp.ttf
+bkai55 bkai55 <bkai55.enc <bkai00mp.ttf
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/cid-x.map b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/cid-x.map
new file mode 100644
index 00000000000..595d421b813
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/cid-x.map
@@ -0,0 +1,364 @@
+%% FONTMAP: CID-keyed font mapping file for dvipdfmx
+%% =================================================
+%%
+%% Last modified: April 2, 2002
+%%
+%%
+%% SYNOPSIS
+%% --------
+%%
+%% TFMNAME[@SFDNAME@] ENCNAME [:INDEX:][!]FONTNAME[,VARIANT] [OPTIONS]
+%%
+%%
+%% DESCRIPTION
+%% -----------
+%%
+%% 1) TFMNAME[@SFDNAME@]
+%%
+%% TFM name is specified in the field `TFMNAME' without extension (.tfm),
+%% and the subfont definition name in the field `SFDNAME' without
+%% extension (.sfd). For example, jbtm@UKS@ specifies the TFM names,
+%% jbtm01 - jbtm35, used in the CJK package.
+%%
+%% 2) ENCNAME
+%%
+%% CMap resource name is specified in the field `ENCNAME'. It is used in
+%% dvipdfmx to convert double-byte character codes to CID numbers.
+%% For more details, see `doc/README'.
+%%
+%% 3) [:INDEX:][!]FONTNAME[,VARIANT]
+%%
+%% Font name is specified in the field `FONTNAME' with or without
+%% extension. The field `INDEX' is used for TrueType collections (.ttc)
+%% to specify the font index number. In the case of ordinary TrueType
+%% fonts (.ttf) the field should be `0'. The character `!' enables the
+%% no-embedding option. The stylistic variants (Bold, Italic, BoldItalic)
+%% are specified in the filed `VARIANT'. See examples below.
+%%
+%% 4) [OPTIONS]
+%%
+%% All options available in the original dvipdfm are also valid here.
+%% However, the slant option [-s number] is ignored for vertical mode,
+%% and the remap option [-r] is always ignored since it doesn't make
+%% sense for CID-keyed fonts.
+%%
+%%
+%% ** IMPORTANT **
+%%
+%% There is no default CMap, and the keyword `none' in the `ENCNAME' field is
+%% not allowed for CID-keyed font. Valid CMap name should be recorded in the
+%% `ENCNAME' field. Otherwise, the font will not be treated as a CID-keyed font.
+%%
+%% The format of the font mapping file is not compatible with the jpatch patch
+%% which expects keyword `none' or `default' in the `ENCNAME' field.
+%%
+%% Be sure that all CMaps used in the font mapping file are under the directory
+%% `${TEXMF}/dvipdfm/CMap', and all subfont definition files under the
+%% directory `${TEXMF}/dvipdfm/base'. CMap file name should coincide with CMap
+%% name.
+%%
+%%
+%% EXAMPLES
+%% --------
+%%
+%% 1) Pre-defined CIDFonts
+%%
+%% Minimal font information required by PDF viewers are available from
+%% dvipdfmx built-in data. The built-in data does not contain any glyph
+%% data required to render actual shape of each characters. Hence, PDF
+%% viewers must substitute those fonts with suitable one available from
+%% the system. The reproducibility and the correctness of document layout
+%% opened on the remote system is not always guaranteed, however, it seems
+%% not to cause any problems in general if you does not use special
+%% characters in your document. Please use those fonts if you are sure that
+%% all peoples that receives your documents have usable fonts installed on
+%% their system. It greatly reduces size of resulting PDF documents because
+%% no glyph data are embedded.
+%%
+%% Here is the list of pre-defined CIDFonts in dvipdfmx.
+%%
+%% ---------------------------------------------------------
+%% Language Acrobat pre-defined CIDFonts
+%% ---------------------------------------------------------
+%% Chinese/Simplified STSong-Light
+%% Chinese/Traditional MHei-Medium, MSung-Light
+%% Japanese HeiseiMin-W3, HeiseiKakuGo-W5
+%% Korean HYGoThic-Medium, HYSMyeongJo-Medium
+%% ---------------------------------------------------------
+
+%rml H HeiseiMin-W3
+%gbm H HeiseiKakuGo-W5
+%rmlv V HeiseiMin-W3
+%gbmv V HeiseiKakuGo-W5
+
+%% ** PostScript "standard" fonts (Japanese) are also pre-defined.
+%%
+%% Ryumin-Light, GothicBBB-Medium (Adobe-Japan1-2)
+
+rml H Ryumin-Light
+gbm H GothicBBB-Medium
+rmlv V Ryumin-Light
+gbmv V GothicBBB-Medium
+
+%% Note. If you apply vertical version (WMode 1) of CMaps to horizontal
+%% fonts (e.g., rml), dvipdfmx does horizontal positioning while PDF
+%% viewers apply vertical positioning for that font.
+%%
+%% Note. On some Mac platforms, Ryumin-Light and GothicBBB-Medium are not
+%% handled properly by Adobe products. Especially, if you have those fonts
+%% in the OCF format, you may want to avoid them.
+%%
+%%
+%% 2) OpenType CIDFonts (CIDFontType0)
+%%
+%% Postscript CID-keyed fonts are supported only in the CFF OpenType format
+%% with Type 2 charstrings.
+%%
+%% o Kozuka-Mincho sold by Adobe:
+
+kml H KozMinPro-Regular.otf
+
+%% o CFF/OpenType version of Kochi CIDFont:
+
+kochi-min H Kochi-Mincho.otf
+kochi-got H Kochi-Gothic.otf
+
+%% The suffix `.otf' is optional. Please use suffix `.otf' if needed.
+%%
+%%
+%% 3) TrueType CIDFonts (CIDFontType2)
+%%
+%% TrueType (.ttf) and TrueType collection (.ttc) are supported.
+%%
+%% o Japanese MS-Windows fonts
+
+msmin H :0:msmincho
+msgot H :0:msgothic
+
+%% MS-Mincho with proportional latin and kana:
+
+msminp H :1:msmincho
+
+%% o Kochi is TrueType (not a collection):
+
+kmin H :0:kochi-mincho
+kgot H :0:kochi-gothic
+
+%% o Korean MS-Windows fonts with stylistic variants (no-embedding)
+
+%jbtm@UKS@ UniKS-UCS2-H :0:!batang.ttc
+%jbtmo@UKS@ UniKS-UCS2-H :0:!batang.ttc,Italic
+%jbtb@UKS@ UniKS-UCS2-H :0:!batang.ttc,Bold
+%jbtbo@UKS@ UniKS-UCS2-H :0:!batang.ttc,BoldItalic
+
+%% o Baekmuk fonts (used with HLaTeX package)
+
+%bbtm@KS-HLaTeX@ KSCms-UHC-H :0:batang.ttf
+%bbtmo@UKS-HLaTeX@ UniKS-UCS2-H :0:batang.ttf -s .167
+
+
+%% Font Licensing Issue
+%% --------------------
+%%
+%% If you try to use the following font,
+
+hgskai H :0:hgrsksj
+
+%% you will see the following message:
+%%
+%% ** Embedding disabled due to licensing restriction **
+%%
+%% As this message indicates, font embedding is disabled because embedding
+%% is not allowed for this font. Also, please note that any documents that
+%% contains font with `Preview & Print' embedding licensing can be opened
+%% only for the purpose of previewing and/or printing. When fonts with this
+%% type of license are encountered, you will see the following message:
+%%
+%% ** NOTICE: This document contains `Preview & Print' only licensed font **
+%%
+%% In this case, you cannot distribute resulting PDF document if you are not
+%% absolutely sure that you are not violating license you acquired.
+%%
+%%
+%% Other Encodings
+%% ---------------
+%%
+%% Only 16-bit encodings are supported. The DVI format specification allows
+%% 24-bit and 32-bit (signed) long character codes, though.
+%%
+%% 1) JIS C 6226 (JIS78) character set with NEC extensions, ISO-2022-JP encoding:
+
+rmlx Ext-H Ryumin-Light
+
+%% or Shift-JIS encoding:
+
+rmlsjx Ext-RKSJ-H Ryumin-Light
+
+%% 2) Hojo-Kanji (JIS X 0212-1990): Adobe-Japan2 character collection
+
+hjmin Hojo-H :0:msmincho
+hjminv Hojo-V :0:msmincho
+
+%% You need ToUnicode CMap for the Adobe-Japan2 character collection.
+%% If you cannot find it, copy and paste from the "ToUnicode Mapping File
+%% Tutorial" (Adobe Technical Note #5411). Please change the CMap name and
+%% the ordering string from `Adobe-Japan2-000' to `Adobe-Japan2-UCS2' and
+%% from `Adobe_Japan2_000' to `Adobe_Japan2_UCS2', respectively. You must
+%% save it as Adobe-Japan2-UCS2.
+%%
+%% 3) Unicode encodings, Omega requires them. (not fully tested.)
+%%
+%% o Chinese
+
+ombkai UniCNS-UCS2-H :0:bkai00mp
+ombsmi UniCNS-UCS2-H :0:bsmi00lp
+omgkai UniGB-UCS2-H :0:gkai00mp
+omgbsn UniGB-UCS2-H :0:gbsn00lp
+
+%% o Japanese
+
+omrml UniJIS-UCS2-H Ryumin-Light
+
+%% o Korean
+
+omgtm UniKS-UCS2-H HYGoThic-Medium
+omubt UniKS-UCS2-H :0:batang
+
+%% 4) UTF8 encodings with CJK package
+%%
+%% It is possible to use several languages in a document with CJK package
+%% via the UTF8 encoding.
+
+cyberb@Unicode@ Identity-H :0:cyberbit.ttf
+
+%% Bitstream Cyberbit font is available at:
+%%
+%% http://ftp.netscape.com/pub/communicator/extras/fonts/windows/ReadMe.htm
+%%
+%%
+%% Custom CMap and Specialized Font
+%% --------------------------------
+%%
+%% All TrueType font should have TrueType cmap (character codes to
+%% glyph indices mapping) table with platform ID 3, and encoding ID
+%% 1. If you are using CMap `Dummy-H' having, say, registry string
+%% `My' and ordering string `Ordering' to map character codes used in
+%% the DVI file to CIDs, you must also have CMap resource named
+%% `My-Ordering-UCS2' (for encoding ID 1) which defines mapping from
+%% CID to character code used in the TrueType font:
+%%
+%% myfont Dummy-H :0:myfont.ttf
+%%
+%% Some font that have 511 glyphs (one for .notdef), split into two
+%% single-byte fonts for use with `plain' TeX, tied up to a single
+%% CID-keyed font:
+%%
+%% math1 Math-Symbol1 :0:msymbol.ttf
+%% math2 Math-Symbol2 :0:msymbol.ttf
+%%
+%% Arabic as CID-Keyed font:
+%%
+%% omarb UniArab-UCS2 :0:arabuni.ttf
+%%
+%% At present, accessing glyphs via glyph indices directly is not supported.
+%% It will be supported if someone need it.
+%%
+%% Please make your CMap resource file as simple as possible. The built-in
+%% CMap parser will fail if the structure of CMap file is too complicated.
+%%
+%%
+%% TODO
+%% ----
+%%
+%% o Supports TrueType UCS4 cmap table
+%%
+%% o Supports TrueType Symbol cmap table (under consideration)
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% Hin-Tak Leung's custom setup below: %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+cwtb@UBig5@ UniCNS-UCS2-H :0:bbttf.ttf
+cwtf@UBig5@ UniCNS-UCS2-H :0:fttf.ttf
+cwtk@UBig5@ UniCNS-UCS2-H :0:kttf.ttf
+cwtm@UBig5@ UniCNS-UCS2-H :0:mttf.ttf
+cwtr@UBig5@ UniCNS-UCS2-H :0:rttf.ttf
+%
+mekl@Big5@ ETen-B5-H :0:kai-linux.ttf
+mest@Big5@ ETen-B5-H :0:edustd-15.ttf
+mesx@Big5@ ETen-B5-H :0:edustds1.ttf
+mesy@Big5@ ETen-B5-H :0:edustds2.ttf
+meko@Big5@ ETen-B5-H :0:moe_kai.ttf
+meso@Big5@ ETen-B5-H :0:moe_sung.ttf
+%
+bkai@UBig5@ UniCNS-UCS2-H :0:bkai00mp.ttf
+bsmi@UBig5@ UniCNS-UCS2-H :0:bsmi00lp.ttf
+%
+gbsn@UGB@ UniGB-UCS2-H :0:gbsn00lp.ttf
+gkai@UGB@ UniGB-UCS2-H :0:gkai00mp.ttf
+%
+ntbr@Big5@ ETen-B5-H :0:ntu_br.ttf
+ntfs@Big5@ ETen-B5-H :0:ntu_fs_m.ttf
+ntka@Big5@ ETen-B5-H :0:ntu_kai.ttf
+ntli@Big5@ ETen-B5-H :0:ntu_li_m.ttf
+ntmb@Big5@ ETen-B5-H :0:ntu_mb.ttf
+ntmm@Big5@ ETen-B5-H :0:ntu_mm.ttf
+ntmr@Big5@ ETen-B5-H :0:ntu_mr.ttf
+nttw@Big5@ ETen-B5-H :0:ntu_tw.ttf
+%
+wclj@Big5@ ETen-B5-H :0:wcl-01.ttf
+wclk@Big5@ ETen-B5-H :0:wcl-02.ttf
+wcll@Big5@ ETen-B5-H :0:wcl-03.ttf
+wclm@Big5@ ETen-B5-H :0:wcl-04.ttf
+wcln@Big5@ ETen-B5-H :0:wcl-05.ttf
+wclp@Big5@ ETen-B5-H :0:wcl-06.ttf
+wclq@Big5@ ETen-B5-H :0:wcl-07.ttf
+wclr@Big5@ ETen-B5-H :0:wcl-08.ttf
+wcls@Big5@ ETen-B5-H :0:wcl-09.ttf
+wclt@Big5@ ETen-B5-H :0:wcl-10.ttf
+%
+zysg@UGB@ UniGB-UCS2-H :0:zysong.ttf
+%
+wnmc@SJIS@ Ext-RKSJ-H :0:watanabe-mincho.ttf
+wdgt@SJIS@ Ext-RKSJ-H :0:wadalab-gothic.ttf
+%
+kcgt@UJIS@ UniJIS-UCS2-H :0:kochi-gothic.ttf
+kcmc@UJIS@ UniJIS-UCS2-H :0:kochi-mincho.ttf
+%
+ykah@Big5@ ETen-B5-H :0:yka00hp.ttf
+gtrl@Big5@ ETen-B5-H :0:gtr00lp.ttf
+gtrm@Big5@ ETen-B5-H :0:gtr00mp.ttf
+leim@Big5@ ETen-B5-H :0:lei00mp.ttf
+heim@Big5@ ETen-B5-H :0:hei01mp.ttf
+sunm@Big5@ ETen-B5-H :0:sun00mp.ttf
+%
+gbsnl@EUC@ GB-EUC-H :0:gbsn00l.ttf
+ggtrl@EUC@ GB-EUC-H :0:ggtr00l.ttf
+gkaim@EUC@ GB-EUC-H :0:gkai00m.ttf
+gleim@EUC@ GB-EUC-H :0:glei00m.ttf
+gsinm@EUC@ GB-EUC-H :0:gsin00m.ttf
+tgtrl@EUC@ GB-EUC-H :0:tgtr00l.ttf
+tkaim@EUC@ GB-EUC-H :0:tkai00m.ttf
+tleim@EUC@ GB-EUC-H :0:tlei00m.ttf
+tooru@EUC@ GB-EUC-H :0:toor00u.ttf
+tovru@EUC@ GB-EUC-H :0:tovr00u.ttf
+tsinm@EUC@ GB-EUC-H :0:tsin00m.ttf
+%
+dcaiq@UJIS@ UniJIS-UCS2-H :0:dcai5.ttc
+dcailq@UJIS@ UniJIS-UCS2-H :0:dcail5.ttc
+dcaisq@UJIS@ UniJIS-UCS2-H :0:dcais5.ttc
+dccryq@UJIS@ UniJIS-UCS2-H :0:dccry5.ttc
+dchgmq@UJIS@ UniJIS-UCS2-H :0:dchgm5.ttc
+dchleiq@UJIS@ UniJIS-UCS2-H :0:dchlei5.ttc
+dcinlq@UJIS@ UniJIS-UCS2-H :0:dcinl5.ttc
+dckgmc@UJIS@ UniJIS-UCS2-H :0:dckgmc.ttc
+dclkaiq@UJIS@ UniJIS-UCS2-H :0:dclkai5.ttc
+dcysmr@UJIS@ UniJIS-UCS2-H :0:dcysm7.ttc
+dfcrdp@UJIS@ UniJIS-UCS2-H :0:dfcrd3.ttc
+dffrsp@UJIS@ UniJIS-UCS2-H :0:dffrs3.ttc
+dfgskr@UJIS@ UniJIS-UCS2-H :0:dfgsk7.ttc
+dfkaie@UJIS@ UniJIS-UCS2-H :0:dfkaie.ttc
+dfkbtp@UJIS@ UniJIS-UCS2-H :0:dfkbt3.ttc
+dfoyjq@UJIS@ UniJIS-UCS2-H :0:dfoyj5.ttc
+dfryss@UJIS@ UniJIS-UCS2-H :0:dfrys9.ttc
+dfshtq@UJIS@ UniJIS-UCS2-H :0:dfsht5.ttc
+dfshtr@UJIS@ UniJIS-UCS2-H :0:dfsht7.ttc
+dfskair@UJIS@ UniJIS-UCS2-H :0:dfskai7.ttc
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/cwtb.map b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/cwtb.map
new file mode 100644
index 00000000000..964c65c84a1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/cwtb.map
@@ -0,0 +1,55 @@
+cwtb01 cwtb01 <cwtb01.enc <bbttf.ttf
+cwtb02 cwtb02 <cwtb02.enc <bbttf.ttf
+cwtb03 cwtb03 <cwtb03.enc <bbttf.ttf
+cwtb04 cwtb04 <cwtb04.enc <bbttf.ttf
+cwtb05 cwtb05 <cwtb05.enc <bbttf.ttf
+cwtb06 cwtb06 <cwtb06.enc <bbttf.ttf
+cwtb07 cwtb07 <cwtb07.enc <bbttf.ttf
+cwtb08 cwtb08 <cwtb08.enc <bbttf.ttf
+cwtb09 cwtb09 <cwtb09.enc <bbttf.ttf
+cwtb10 cwtb10 <cwtb10.enc <bbttf.ttf
+cwtb11 cwtb11 <cwtb11.enc <bbttf.ttf
+cwtb12 cwtb12 <cwtb12.enc <bbttf.ttf
+cwtb13 cwtb13 <cwtb13.enc <bbttf.ttf
+cwtb14 cwtb14 <cwtb14.enc <bbttf.ttf
+cwtb15 cwtb15 <cwtb15.enc <bbttf.ttf
+cwtb16 cwtb16 <cwtb16.enc <bbttf.ttf
+cwtb17 cwtb17 <cwtb17.enc <bbttf.ttf
+cwtb18 cwtb18 <cwtb18.enc <bbttf.ttf
+cwtb19 cwtb19 <cwtb19.enc <bbttf.ttf
+cwtb20 cwtb20 <cwtb20.enc <bbttf.ttf
+cwtb21 cwtb21 <cwtb21.enc <bbttf.ttf
+cwtb22 cwtb22 <cwtb22.enc <bbttf.ttf
+cwtb23 cwtb23 <cwtb23.enc <bbttf.ttf
+cwtb24 cwtb24 <cwtb24.enc <bbttf.ttf
+cwtb25 cwtb25 <cwtb25.enc <bbttf.ttf
+cwtb26 cwtb26 <cwtb26.enc <bbttf.ttf
+cwtb27 cwtb27 <cwtb27.enc <bbttf.ttf
+cwtb28 cwtb28 <cwtb28.enc <bbttf.ttf
+cwtb29 cwtb29 <cwtb29.enc <bbttf.ttf
+cwtb30 cwtb30 <cwtb30.enc <bbttf.ttf
+cwtb31 cwtb31 <cwtb31.enc <bbttf.ttf
+cwtb32 cwtb32 <cwtb32.enc <bbttf.ttf
+cwtb33 cwtb33 <cwtb33.enc <bbttf.ttf
+cwtb34 cwtb34 <cwtb34.enc <bbttf.ttf
+cwtb35 cwtb35 <cwtb35.enc <bbttf.ttf
+cwtb36 cwtb36 <cwtb36.enc <bbttf.ttf
+cwtb37 cwtb37 <cwtb37.enc <bbttf.ttf
+cwtb38 cwtb38 <cwtb38.enc <bbttf.ttf
+cwtb39 cwtb39 <cwtb39.enc <bbttf.ttf
+cwtb40 cwtb40 <cwtb40.enc <bbttf.ttf
+cwtb41 cwtb41 <cwtb41.enc <bbttf.ttf
+cwtb42 cwtb42 <cwtb42.enc <bbttf.ttf
+cwtb43 cwtb43 <cwtb43.enc <bbttf.ttf
+cwtb44 cwtb44 <cwtb44.enc <bbttf.ttf
+cwtb45 cwtb45 <cwtb45.enc <bbttf.ttf
+cwtb46 cwtb46 <cwtb46.enc <bbttf.ttf
+cwtb47 cwtb47 <cwtb47.enc <bbttf.ttf
+cwtb48 cwtb48 <cwtb48.enc <bbttf.ttf
+cwtb49 cwtb49 <cwtb49.enc <bbttf.ttf
+cwtb50 cwtb50 <cwtb50.enc <bbttf.ttf
+cwtb51 cwtb51 <cwtb51.enc <bbttf.ttf
+cwtb52 cwtb52 <cwtb52.enc <bbttf.ttf
+cwtb53 cwtb53 <cwtb53.enc <bbttf.ttf
+cwtb54 cwtb54 <cwtb54.enc <bbttf.ttf
+cwtb55 cwtb55 <cwtb55.enc <bbttf.ttf
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/dvipdfmx.cfg b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/dvipdfmx.cfg
new file mode 100644
index 00000000000..eb65cdcf479
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/dvipdfmx.cfg
@@ -0,0 +1,164 @@
+% original config -- Made by MAW on 8/31/99
+% Distiller template examples. Uncomment
+% the appropriate one, or (preferably) create your own.
+% Put %i in the command line where the input file name should go.
+% Put %o in the command line where the output file name should go.
+% (dvipdfm must be able to supply the output file name to your
+% command line)
+% Put %b in the line somewhere if you want to specify the
+% "base" name of the input file, e.g., "foo" instead of "foo.eps"
+%
+% Note that it's probably a good idea to fully qualify
+% the paths so you can be sure what you are running
+
+% The following line works with Frank Siegert's pstill
+% D "/usr/local/bin/pstill -c -o %o %i"
+
+% The following line works with GhostScript
+% UNIX/Linux (borrowed from W32TeX by Akira Kakuto)
+D "gs -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dAutoFilterColorImages=false -dGrayImageFilter=/FlateEncode -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit"
+% Win32 (borrowed from W32TeX by Akira Kakuto)
+% D "gswin32c -q -dNOPAUSE -dBATCH -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dAutoFilterGrayImages=false -dAutoFilterColorImages=false -dGrayImageFilter=/FlateEncode -dColorImageFilter=/FlateEncode -dUseFlateCompression=true -sOutputFile=%o %i -c quit"
+% The following line works on compressed or uncompressed postscript with GhostScript
+% UNIX/Linux (borrowed from W32TeX by Akira Kakuto)
+% D "zcat -f %i | gs -q -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dUseFlateCompression=true -sOutputFile=%o - -c quit"
+% Win32 (borrowed from W32TeX by Akira Kakuto)
+% D "gzcat -f %i | gswin32c -q -sPAPERSIZE=a0 -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dUseFlateCompression=true -sOutputFile=%o - -c quit"
+
+% The following line works with Adobe Acrobat Distiller
+% D "/usr/local/bin/distill -quiet -pairs %i %o"
+
+% Set default paper size here
+p a4
+
+% The "g" option specifies the amount to "grow" annotations by
+% Many TeX macro pages set the annotation bounding box equal
+% to the TeX box that encloses the material. That's not always
+% what you want
+g 1
+
+% PDF version stamp to use in output file and max version of files
+% allowed to be included (3 for 1.3, 4 for 1.4)
+V 3
+
+% Key bits for PDF encryption (40 - 128)
+K 40
+
+% Permission flag for PDF encryption: Revision will be 3 if the key size
+% is greater than 40 bits.
+%
+% 0x0004 (Revision 2) Print the document.
+% (Revision 3) Print the document (possibly not at the highest quality
+% level, depending on whether bit 12[0x0800] is also set).
+% 0x0008 Modify the contents of the document by operations other than those
+% controlled by bits 6[0x0020], 9[0x0100], and 11[0x0400].
+% 0x0010 (Revision 2) Copy or otherwise extract text and graphics from the
+% document, including extracting text and graphics (in support of
+% accessibility to disabled users or for other purposes).
+% (Revision 3) Copy or otherwise extract text and grphics from the
+% document by operations other than that controlled by bit 10[0x0200].
+% 0x0020 Add or modify text annotations, fill in interactive form fields,
+% and, if bit 4[0x0008] is also set, create or modify interactive
+% form fields (including signature fields).
+%
+% (Revision 3 only)
+% 0x0100 Fill in existing interactive form fields (including signature
+% fields), even if bit 6 is clear.
+% 0x0200 Extract text and graphics (in support of accessibility to disabled
+% users or for other purposes).
+% 0x0400 Assemble the document (insert, rotate, or delete pages and create
+% bookmarks or thumbnail images), even if bit 4 is clear.
+% 0x0800 Print the document to a representation from which a faithful digital
+% copy of the PDF content could be generated. When this bit is clear
+% (and bit 3 is set), printing is limited to a low-level representation
+% of the appearance, possibly of degraded quality.
+P 0x003C
+
+% Font map files
+%
+f cmr.map
+f psbase14.map
+% Most distributions now use these names
+f lw35urw.map
+% Some use these names
+% f lw35urwa.map
+f cid-x.map
+% Added by Hin-Tak Leung below this point:
+f cwtb.map
+f cwtf.map
+f cwtk.map
+f cwtm.map
+f cwtr.map
+f mekl.map
+f mest.map
+f mesx.map
+f mesy.map
+f meko.map
+f meso.map
+f bkai.map
+f bsmi.map
+f gbsn.map
+f gkai.map
+f ntbr.map
+f ntfs.map
+f ntka.map
+f ntli.map
+f ntmb.map
+f ntmm.map
+f ntmr.map
+f nttw.map
+f wclj.map
+f wclk.map
+f wcll.map
+f wclm.map
+f wcln.map
+f wclp.map
+f wclq.map
+f wclr.map
+f wcls.map
+f wclt.map
+f zysg.map
+f wnmc.map
+f wdgt.map
+f kcgt.map
+f kcmc.map
+f acrj.map
+f acrg.map
+f acrb.map
+f ykah.map
+f gtrl.map
+f gtrm.map
+f leim.map
+f heim.map
+f sunm.map
+f gbsnl.map
+f ggtrl.map
+f gkaim.map
+f gleim.map
+f gsinm.map
+f tgtrl.map
+f tkaim.map
+f tleim.map
+f tooru.map
+f tovru.map
+f tsinm.map
+f dcaiq.map
+f dcailq.map
+f dcaisq.map
+f dccryq.map
+f dchgmq.map
+f dchleiq.map
+f dcinlq.map
+f dckgmc.map
+f dclkaiq.map
+f dcysmr.map
+f dfcrdp.map
+f dffrsp.map
+f dfgskr.map
+f dfkaie.map
+f dfkbtp.map
+f dfoyjq.map
+f dfryss.map
+f dfshtq.map
+f dfshtr.map
+f dfskair.map
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/gen-map.pl b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/gen-map.pl
new file mode 100644
index 00000000000..737304da361
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/gen-map.pl
@@ -0,0 +1,120 @@
+#!/usr/bin/perl -w
+
+@font_list =
+(
+ "cwtb", "bbttf.ttf", 55,
+ "cwtf", "fttf.ttf", 55,
+ "cwtk", "kttf.ttf", 55,
+ "cwtm", "mttf.ttf", 55,
+ "cwtr", "rttf.ttf", 55,
+#
+ "mekl", "kai-linux.ttf", 58,
+ "mest", "edustd-15.ttf", 55,
+ "mesx", "edustds1.ttf", 55,
+ "mesy", "edustds2.ttf", 55,
+ "meko", "moe_kai.ttf", 58,
+ "meso", "moe_sung.ttf", 58,
+#
+ "bkai", "bkai00mp.ttf", 55,
+ "bsmi", "bsmi00lp.ttf", 55,
+#
+ "gbsn", "gbsn00lp.ttf", 32,
+ "gkai", "gkai00mp.ttf", 32,
+#
+ "ntbr", "ntu_br.ttf", 58,
+ "ntfs", "ntu_fs_m.ttf", 58,
+ "ntka", "ntu_kai.ttf", 58,
+ "ntli", "ntu_li_m.ttf", 58,
+ "ntmb", "ntu_mb.ttf", 58,
+ "ntmm", "ntu_mm.ttf", 58,
+ "ntmr", "ntu_mr.ttf", 58,
+ "nttw", "ntu_tw.ttf", 58,
+#
+ "wclj", "wcl-01.ttf", 55,
+ "wclk", "wcl-02.ttf", 55,
+ "wcll", "wcl-03.ttf", 55,
+ "wclm", "wcl-04.ttf", 55,
+ "wcln", "wcl-05.ttf", 55,
+ "wclp", "wcl-06.ttf", 55,
+ "wclq", "wcl-07.ttf", 55,
+ "wclr", "wcl-08.ttf", 55,
+ "wcls", "wcl-09.ttf", 55,
+ "wclt", "wcl-10.ttf", 55,
+#
+ "zysg", "zysong.ttf", 32,
+#
+ "wnmc", "watanabe-mincho.ttf", 35,
+ "wdgt", "wadalab-gothic.ttf", 35,
+#
+ "kcgt", "kochi-gothic.ttf", 31,
+ "kcmc", "kochi-mincho.ttf", 31,
+#
+ "acrj", "kochi-mincho.ttf", 31,
+ "acrg", "gbsn00lp.ttf", 32,
+ "acrb", "bsmi00lp.ttf", 55,
+#
+"ykah", "yka00hp.ttf", 57,
+"gtrl", "gtr00lp.ttf", 57,
+"gtrm", "gtr00mp.ttf", 57,
+"leim", "lei00mp.ttf", 57,
+"heim", "hei01mp.ttf", 57,
+"sunm", "sun00mp.ttf", 57,
+#
+"gbsnl", "gbsn00l.ttf",32,
+"ggtrl", "ggtr00l.ttf",32,
+"gkaim", "gkai00m.ttf",32,
+"gleim", "glei00m.ttf",32,
+"gsinm", "gsin00m.ttf",32,
+"tgtrl", "tgtr00l.ttf",32,
+"tkaim", "tkai00m.ttf",32,
+"tleim", "tlei00m,ttf",32,
+"tooru", "toor00u.ttf",32,
+"tovru", "tovr00u.ttf",32,
+"tsinm", "tsin00m.ttf",32,
+#
+"dcaiq", "dcai5.ttc", 31,
+"dcailq", "dcail5.ttc", 31,
+"dcaisq", "dcais5.ttc", 31,
+"dccryq", "dccry5.ttc", 31,
+"dchgmq", "dchgm5.ttc", 31,
+"dchleiq", "dchlei5.ttc", 31,
+"dcinlq", "dcinl5.ttc", 31,
+"dckgmc", "dckgmc.ttc", 31,
+"dclkaiq", "dclkai5.ttc", 31,
+"dcysmr", "dcysm7.ttc", 31,
+"dfcrdp", "dfcrd3.ttc", 31,
+"dffrsp", "dffrs3.ttc", 31,
+"dfgskr", "dfgsk7.ttc", 31,
+"dfkaie", "dfkaie.ttc", 31,
+"dfkbtp", "dfkbt3.ttc", 31,
+"dfoyjq", "dfoyj5.ttc", 31,
+"dfryss", "dfrys9.ttc", 31,
+"dfshtq", "dfsht5.ttc", 31,
+"dfshtr", "dfsht7.ttc", 31,
+"dfskair", "dfskai7.ttc", 31,
+#
+);
+
+open(LISTFILE, "> map.list");
+
+$list_length = (scalar @font_list ) /3 ;
+for ($i = 0; $i < $list_length ; $i++)
+{
+ $stem = shift @font_list;
+ $font = shift @font_list;
+ $entries = shift @font_list;
+ print LISTFILE "f ", $stem, ".map\n";
+ open(MAPFILE, "> ${stem}.map");
+
+ for ($j=1; $j<= $entries ; $j++)
+ {
+ $j_pad = sprintf "%2.2d", $j;
+ print MAPFILE
+ $stem, $j_pad, " ", $stem, $j_pad, " <",
+ $stem, $j_pad, ".enc <",
+ $font, "\n";
+ }
+ close(MAPFILE);
+}
+close(LISTFILE);
+
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/map.list b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/map.list
new file mode 100644
index 00000000000..ae1fcd4ad12
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/map.list
@@ -0,0 +1,78 @@
+f cwtb.map
+f cwtf.map
+f cwtk.map
+f cwtm.map
+f cwtr.map
+f mekl.map
+f mest.map
+f mesx.map
+f mesy.map
+f meko.map
+f meso.map
+f bkai.map
+f bsmi.map
+f gbsn.map
+f gkai.map
+f ntbr.map
+f ntfs.map
+f ntka.map
+f ntli.map
+f ntmb.map
+f ntmm.map
+f ntmr.map
+f nttw.map
+f wclj.map
+f wclk.map
+f wcll.map
+f wclm.map
+f wcln.map
+f wclp.map
+f wclq.map
+f wclr.map
+f wcls.map
+f wclt.map
+f zysg.map
+f wnmc.map
+f wdgt.map
+f kcgt.map
+f kcmc.map
+f acrj.map
+f acrg.map
+f acrb.map
+f ykah.map
+f gtrl.map
+f gtrm.map
+f leim.map
+f heim.map
+f sunm.map
+f gbsnl.map
+f ggtrl.map
+f gkaim.map
+f gleim.map
+f gsinm.map
+f tgtrl.map
+f tkaim.map
+f tleim.map
+f tooru.map
+f tovru.map
+f tsinm.map
+f dcaiq.map
+f dcailq.map
+f dcaisq.map
+f dccryq.map
+f dchgmq.map
+f dchleiq.map
+f dcinlq.map
+f dckgmc.map
+f dclkaiq.map
+f dcysmr.map
+f dfcrdp.map
+f dffrsp.map
+f dfgskr.map
+f dfkaie.map
+f dfkbtp.map
+f dfoyjq.map
+f dfryss.map
+f dfshtq.map
+f dfshtr.map
+f dfskair.map
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/Bg5/c00cwtb.fd b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/Bg5/c00cwtb.fd
new file mode 100644
index 00000000000..2f7ec98edd3
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/Bg5/c00cwtb.fd
@@ -0,0 +1,11 @@
+% This is the file c00cwtb.fd of the CJK package
+\def\fileversion{4.8.0}
+\def\filedate{2008/05/22}
+\ProvidesFile{c00cwtb.fd}[\filedate\space\fileversion]
+
+\DeclareFontFamily{C00}{cwtb}{\hyphenchar \font\m@ne}
+
+\DeclareFontShape{C00}{cwtb}{m}{n}{<-> CJK * cwtb}{}
+\DeclareFontShape{C00}{cwtb}{bx}{n}{<-> CJKb * cwtb}{\CJKbold}
+
+\endinput
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/Bg5/c00tmpl.fd b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/Bg5/c00tmpl.fd
new file mode 100644
index 00000000000..aaa7a6044fa
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/Bg5/c00tmpl.fd
@@ -0,0 +1,11 @@
+% This is the file c00tmpl.fd of the CJK package
+\def\fileversion{4.8.0}
+\def\filedate{2008/05/22}
+\ProvidesFile{c00tmpl.fd}[\filedate\space\fileversion]
+
+\DeclareFontFamily{C00}{tmpl}{\hyphenchar \font\m@ne}
+
+\DeclareFontShape{C00}{tmpl}{m}{n}{<-> CJK * tmpl}{}
+\DeclareFontShape{C00}{tmpl}{bx}{n}{<-> CJKb * tmpl}{\CJKbold}
+
+\endinput
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/GB/c10tmpl.fd b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/GB/c10tmpl.fd
new file mode 100644
index 00000000000..b0aaa99ff01
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/GB/c10tmpl.fd
@@ -0,0 +1,10 @@
+% This is the file c10tmpl.fd of the CJK package
+\def\fileversion{4.8.0}
+\def\filedate{2008/05/22}
+\ProvidesFile{c10tmpl.fd}[\filedate\space\fileversion]
+\DeclareFontFamily{C10}{tmpl}{\hyphenchar \font\m@ne}
+
+\DeclareFontShape{C10}{tmpl}{m}{n}{<-> CJK * tmpl}{}
+\DeclareFontShape{C10}{tmpl}{bx}{n}{<-> CJKb * tmpl}{\CJKbold}
+
+\endinput
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/JIS/c40tmpl.fd b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/JIS/c40tmpl.fd
new file mode 100644
index 00000000000..23754ff2e4b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/JIS/c40tmpl.fd
@@ -0,0 +1,10 @@
+% This is the file c40tmpl.fd of the CJK package
+\def\fileversion{4.8.0}
+\def\filedate{2008/05/22}
+\ProvidesFile{c40tmpl.fd}[\filedate\space\fileversion]
+
+\DeclareFontFamily{C40}{tmpl}{\hyphenchar \font\m@ne}
+
+\DeclareFontShape{C40}{tmpl}{m}{n}{<-> CJK * tmpl}{}
+\DeclareFontShape{C40}{tmpl}{bx}{n}{<-> CJKb * tmpl}{\CJKbold}
+\endinput
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/SJIS/c49tmpl.fd b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/SJIS/c49tmpl.fd
new file mode 100644
index 00000000000..3e90a446768
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/texinput/SJIS/c49tmpl.fd
@@ -0,0 +1,10 @@
+% This is the file c49song.fd of the CJK package
+\def\fileversion{4.8.0}
+\def\filedate{2008/05/22}
+\ProvidesFile{c49song.fd}[\filedate\space\fileversion]
+
+\DeclareFontFamily{C49}{song}{\hyphenchar \font\m@ne}
+
+\DeclareFontShape{C49}{song}{m}{n}{<-> CJK * tmpl}{}
+\DeclareFontShape{C49}{song}{bx}{n}{<-> CJKb * tmpl}{\CJKbold}
+\endinput
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/updmap.my b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/updmap.my
new file mode 100644
index 00000000000..a020e035ee5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/updmap.my
@@ -0,0 +1,161 @@
+#!/bin/sh
+# Thomas Esser, 1998, 1999. Public domain.
+
+###########################################################################
+# updmap: create psfonts.map, ps2pk.map and pdftex.map from smaller
+# "modules". To recreate the map files, just run the command:
+# ./updmap
+###########################################################################
+
+###########################################################################
+# Configuration section:
+###########################################################################
+
+# Add any extra modules here. See the definition of common_modules below
+# for an example of the correct syntax. If you just want to use the type1
+# version for the computer modern fonts by default in dvips (instead of
+# the metafont based bitmap fonts), just change the definition of
+# type1_default that is given below.
+#
+# An alternative to adding map files here is to edit the files
+# config/dvips/config.ps
+# pdftex/config/pdftex.cfg
+# in a local texmf tree.
+extra_modules="
+cwtb.map
+cwtf.map
+cwtk.map
+cwtm.map
+cwtr.map
+mekl.map
+mest.map
+mesx.map
+mesy.map
+meko.map
+meso.map
+bkai.map
+bsmi.map
+gbsn.map
+gkai.map
+ntbr.map
+ntfs.map
+ntka.map
+ntli.map
+ntmb.map
+ntmm.map
+ntmr.map
+nttw.map
+wclj.map
+wclk.map
+wcll.map
+wclm.map
+wcln.map
+wclp.map
+wclq.map
+wclr.map
+wcls.map
+wclt.map
+zysg.map
+wnmc.map
+wdgt.map
+kcgt.map
+kcmc.map
+acrj.map
+acrg.map
+acrb.map
+"
+
+###########################################################################
+# Set up the standard Laserwriter fonts:
+# urw-kb: these are included in teTeX's texmf tree
+# urw-urw: these are included in ghostscript 4.0 and later. Adjust the
+# search paths for type1 and afm files in texmf.cnf if you set
+# this
+# adobe-kb: use this if you have the original Adobe fonts. Install the
+# type1 and afm files with Berry names.
+###########################################################################
+
+lw35=urw-kb # URW fonts (download type1 files using Berry names)
+# lw35=urw-urw # URW fonts (download type1 files using URW names)
+# lw35=adobe-kb # Adobe fonts (download type1 files using Berry names)
+
+###########################################################################
+# Set to true to use postscript type1 versions for fonts with existing
+# metafont versions.
+###########################################################################
+
+type1_default=false
+# type1_default=true
+
+###########################################################################
+# Add common map files here:
+###########################################################################
+common_modules="
+ charter.map context.map lucidabr.map marvosym.map mathpi.map
+ mathpple-ext.map mt-plus.map mt-yy.map omega.map utopia.map
+ xypic.map txr4.map pxr4.map pazo.map $extra_modules
+"
+
+###########################################################################
+# End of configuration section.
+###########################################################################
+
+###########################################################################
+# Type1 fonts with Metafont equivalents. When not generating resolution
+# independent postscript or pdf, we prefer the Metafont variants for these.
+###########################################################################
+mf_modules="
+ bsr.map bsr-interpolated.map cmcyr.map cs.map hoekwater.map pl.map
+"
+
+###########################################################################
+# These are used by dvips:
+###########################################################################
+lw35_modules="
+ *-adobe-bi.map
+ $common_modules
+"
+
+###########################################################################
+# Add CM + AMS fonst if configured:
+###########################################################################
+if test "x$type1_default" = xtrue; then
+ lw35_modules="$lw35_modules $mf_modules"
+fi
+
+###########################################################################
+# ps2pk has no "built in" fonts and needs to download everything:
+###########################################################################
+ps2pk_modules="
+ *-$lw35.map
+"
+
+###########################################################################
+# pdftex has the acrobat fonts (subset of the lw35 fonts) built in, but
+# needs to download fonts for ExtendFont / SlantFont:
+###########################################################################
+pdftex_modules="
+ $mf_modules
+
+ *ar-ext-$lw35.map
+ *ar-std-adobe-bi.map
+ *lw35extra-$lw35.map
+ mtsupp-ext-$lw35.map
+ mtsupp-std-adobe-bi.map
+
+ $common_modules
+"
+
+# Create psfonts.map ps2pk.map and pdftex.map:
+for file in psfonts.map ps2pk.map pdftex.map; do
+cat >$file <<eof
+% $file: maintained by the script updmap in \$TEXMFMAIN/dvips/config.
+% The preferred way to add things to this file is to put the extra lines
+% into a separate file and add that filename to the updmap script. Then,
+% run the updmap script to recreate this file.
+eof
+done
+
+cat $lw35_modules | grep -v '^%' | grep . | sort | uniq >> psfonts.map
+cat $ps2pk_modules | grep -v '^%' | grep . | sort | uniq >> ps2pk.map
+cat $pdftex_modules | grep -v '^%' | grep . | sort | uniq >> pdftex.map
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/wcl.sfd b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/wcl.sfd
new file mode 100644
index 00000000000..594a36acbad
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pdfhowto/examples/wcl.sfd
@@ -0,0 +1,62 @@
+# Big5.sfd
+#
+# subfont numbers for Big 5 encoding and its corresponding code ranges
+# to be used with the CJK package for LaTeX.
+
+01 0xA140_0xA17E 0xA1A1_0xA1FE 0xA240_0xA27E 0xA2A1_0xA2C4
+02 0xA2C5_0xA2FE 0xA340_0xA37E 0xA3A1_0xA3FE 0xA440_0xA468
+03 0xA469_0xA47E 0xA4A1_0xA4FE 0xA540_0xA57E 0xA5A1_0xA5ED
+04 0xA5EE_0xA5FE 0xA640_0xA67E 0xA6A1_0xA6FE 0xA740_0xA77E 0xA7A1_0xA7B3
+05 0xA7B4_0xA7FE 0xA840_0xA87E 0xA8A1_0xA8FE 0xA940_0xA957
+06 0xA958_0xA97E 0xA9A1_0xA9FE 0xAA40_0xAA7E 0xAAA1_0xAADC
+07 0xAADD_0xAAFE 0xAB40_0xAB7E 0xABA1_0xABFE 0xAC40_0xAC7E 0xACA1_0xACA2
+08 0xACA3_0xACFE 0xAD40_0xAD7E 0xADA1_0xADFE 0xAE40_0xAE46
+09 0xAE47_0xAE7E 0xAEA1_0xAEFE 0xAF40_0xAF7E 0xAFA1_0xAFCB
+10 0xAFCC_0xAFFE 0xB040_0xB07E 0xB0A1_0xB0FE 0xB140_0xB16F
+11 0xB170_0xB17E 0xB1A1_0xB1FE 0xB240_0xB27E 0xB2A1_0xB2F4
+12 0xB2F5_0xB2FE 0xB340_0xB37E 0xB3A1_0xB3FE 0xB440_0xB47E 0xB4A1_0xB4BA
+13 0xB4BB_0xB4FE 0xB540_0xB57E 0xB5A1_0xB5FE 0xB640_0xB65E
+14 0xB65F_0xB67E 0xB6A1_0xB6FE 0xB740_0xB77E 0xB7A1_0xB7E3
+15 0xB7E4_0xB7FE 0xB840_0xB87E 0xB8A1_0xB8FE 0xB940_0xB97E 0xB9A1_0xB9A9
+16 0xB9AA_0xB9FE 0xBA40_0xBA7E 0xBAA1_0xBAFE 0xBB40_0xBB4D
+17 0xBB4E_0xBB7E 0xBBA1_0xBBFE 0xBC40_0xBC7E 0xBCA1_0xBCD2
+18 0xBCD3_0xBCFE 0xBD40_0xBD7E 0xBDA1_0xBDFE 0xBE40_0xBE76
+19 0xBE77_0xBE7E 0xBEA1_0xBEFE 0xBF40_0xBF7E 0xBFA1_0xBFFB
+20 0xBFFC_0xBFFE 0xC040_0xC07E 0xC0A1_0xC0FE 0xC140_0xC17E 0xC1A1_0xC1C1
+21 0xC1C2_0xC1FE 0xC240_0xC27E 0xC2A1_0xC2FE 0xC340_0xC365
+22 0xC366_0xC37E 0xC3A1_0xC3FE 0xC440_0xC47E 0xC4A1_0xC4EA
+23 0xC4EB_0xC4FE 0xC540_0xC57E 0xC5A1_0xC5FE 0xC640_0xC67E 0xC6A1_0xC6B0
+24 0xC6B1_0xC6FE 0xC740_0xC77E 0xC7A1_0xC7FE 0xC840_0xC854
+25 0xC855_0xC87E 0xC8A1_0xC8FE 0xC940_0xC97E 0xC9A1_0xC9D9
+26 0xC9DA_0xC9FE 0xCA40_0xCA7E 0xCAA1_0xCAFE 0xCB40_0xCB7D
+27 0xCB7E 0xCBA1_0xCBFE 0xCC40_0xCC7E 0xCCA1_0xCCFE 0xCD40_0xCD43
+28 0xCD44_0xCD7E 0xCDA1_0xCDFE 0xCE40_0xCE7E 0xCEA1_0xCEC8
+29 0xCEC9_0xCEFE 0xCF40_0xCF7E 0xCFA1_0xCFFE 0xD040_0xD06C
+30 0xD06D_0xD07E 0xD0A1_0xD0FE 0xD140_0xD17E 0xD1A1_0xD1F1
+31 0xD1F2_0xD1FE 0xD240_0xD27E 0xD2A1_0xD2FE 0xD340_0xD37E 0xD3A1_0xD3B7
+32 0xD3B8_0xD3FE 0xD440_0xD47E 0xD4A1_0xD4FE 0xD540_0xD55B
+33 0xD55C_0xD57E 0xD5A1_0xD5FE 0xD640_0xD67E 0xD6A1_0xD6E0
+34 0xD6E1_0xD6FE 0xD740_0xD77E 0xD7A1_0xD7FE 0xD840_0xD87E 0xD8A1_0xD8A6
+35 0xD8A7_0xD8FE 0xD940_0xD97E 0xD9A1_0xD9FE 0xDA40_0xDA4A
+36 0xDA4B_0xDA7E 0xDAA1_0xDAFE 0xDB40_0xDB7E 0xDBA1_0xDBCF
+37 0xDBD0_0xDBFE 0xDC40_0xDC7E 0xDCA1_0xDCFE 0xDD40_0xDD73
+38 0xDD74_0xDD7E 0xDDA1_0xDDFE 0xDE40_0xDE7E 0xDEA1_0xDEF8
+39 0xDEF9_0xDEFE 0xDF40_0xDF7E 0xDFA1_0xDFFE 0xE040_0xE07E 0xE0A1_0xE0BE
+40 0xE0BF_0xE0FE 0xE140_0xE17E 0xE1A1_0xE1FE 0xE240_0xE262
+41 0xE263_0xE27E 0xE2A1_0xE2FE 0xE340_0xE37E 0xE3A1_0xE3E7
+42 0xE3E8_0xE3FE 0xE440_0xE47E 0xE4A1_0xE4FE 0xE540_0xE57E 0xE5A1_0xE5AD
+43 0xE5AE_0xE5FE 0xE640_0xE67E 0xE6A1_0xE6FE 0xE740_0xE751
+44 0xE752_0xE77E 0xE7A1_0xE7FE 0xE840_0xE87E 0xE8A1_0xE8D6
+45 0xE8D7_0xE8FE 0xE940_0xE97E 0xE9A1_0xE9FE 0xEA40_0xEA7A
+46 0xEA7B_0xEA7E 0xEAA1_0xEAFE 0xEB40_0xEB7E 0xEBA1_0xEBFE 0xEC40
+47 0xEC41_0xEC7E 0xECA1_0xECFE 0xED40_0xED7E 0xEDA1_0xEDC5
+48 0xEDC6_0xEDFE 0xEE40_0xEE7E 0xEEA1_0xEEFE 0xEF40_0xEF69
+49 0xEF6A_0xEF7E 0xEFA1_0xEFFE 0xF040_0xF07E 0xF0A1_0xF0EE
+50 0xF0EF_0xF0FE 0xF140_0xF17E 0xF1A1_0xF1FE 0xF240_0xF27E 0xF2A1_0xF2B4
+51 0xF2B5_0xF2FE 0xF340_0xF37E 0xF3A1_0xF3FE 0xF440_0xF458
+52 0xF459_0xF47E 0xF4A1_0xF4FE 0xF540_0xF57E 0xF5A1_0xF5DD
+53 0xF5DE_0xF5FE 0xF640_0xF67E 0xF6A1_0xF6FE 0xF740_0xF77E 0xF7A1_0xF7A3
+54 0xF7A4_0xF7FE 0xF840_0xF87E 0xF8A1_0xF8FE 0xF940_0xF947
+55 0xF948_0xF97E 0xF9A1_0xF9FE 0xFA40_0xFA65
+
+# eof
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pinyin.txt b/Master/texmf-dist/doc/latex/cjk/doc/pinyin.txt
new file mode 100644
index 00000000000..86b8fc1fd91
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pinyin.txt
@@ -0,0 +1,62 @@
+This is the file pinyin.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+pinyin.sty
+----------
+
+This style file (which can be also used under plain TeX) enables the input
+of pinyin syllables with tones.
+
+Say
+
+ \usepackage{pinyin}
+
+to load all pinyin macros under LaTeX2e; say `\input pinyin.sty' under plain
+TeX.
+
+An example explains best how to input pinyin:
+
+ \Wo3 \hen3 \xi3\huan1 \chi1 \Zhong1\guo2 \cai4.
+
+Note there is no fifth tone marker in pinyin (Zhuyinfuhao uses a dot to
+indicate the fifth tone; on the other hand no marker is used for the first
+tone). Nevertheless you can say e.g., \ne5 to get the syllable `ne' without a
+tone.
+
+
+There are some special cases:
+
+ o use `v' instead of `u umlaut' in pinyin syllables (these are \lv,
+ \lve, \nv, \nve and its uppercase forms). Example:
+
+ \nv3'\er2 daughter
+
+ The appearance of u umlaut with additional tone markers has been
+ tested with the standard cm, ec, and PostScript fonts.
+
+ o use \Long and \LONG instead of \long and \Long (which you would
+ expect): \long is a very important internal TeX command. Many
+ packages would fail if we redefined \long.
+
+
+Problems:
+
+ The following macros are redefined if you load pinyin.sty:
+
+ \a, \chi, \cong, \ding, \ge, \hang, \le, \min, \mu, \ne, \ni, \nu,
+ \o, \O, \pi, \Pi, \Re, \tan, \xi, \Xi.
+
+ They are available as \PY... (\PYchi, \PYcong, etc.).
+
+ If this is not enough, you can say \PYdeactivate to restore the original
+ definitions (and reactivate these syllables with \PYactivate).
+
+ In case you use the hyperref package earlier than version 6.75a
+ (2006-Feb-12) together with the `hpdftex' driver you should load
+ pinyin.sty *after* hyperref.sty (contrary to what the hyperref manual
+ says). Reason is that \ding is defined in pifont.sty which is
+ automatically loaded by hpdftex.def -- the latest hyperref version no
+ longer uses pifont.sty .
+
+
+---End of pinyin.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/pyhyphen.txt b/Master/texmf-dist/doc/latex/cjk/doc/pyhyphen.txt
new file mode 100644
index 00000000000..c18f6d71210
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/pyhyphen.txt
@@ -0,0 +1,107 @@
+This is the file pyhyphen.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+Hyphenation patterns for unaccented pinyin syllables
+----------------------------------------------------
+
+Sometimes it makes sense to use unaccented pinyin syllables for common names
+and phrases which are repeated frequently; sometimes you are in an
+environment which doesn't allow accented pinyin syllables at all. For such
+cases it is desirable to have correct hyphenation, avoiding manually added
+hints using e.g., `\-' between the syllables.
+
+Fortunately, due to the limited numbers of Chinese pinyin syllables (407 for
+Mandarin), it is easy to create hyphenation patterns. The logical
+consequence is to add a new `language' to the Babel package, and exactly
+this can be found in the directory utils/pyhyphen.
+
+
+Installation
+------------
+
+This is fairly straightforward. Move the Babel language definition file
+pinyin.ldf file to a place found by TeX. If you e.g., maintain a local TEXMF
+tree, a good place would be $TEXMFLOCAL/tex/generic/babel/pinyin.ldf.
+Similarly, move the pinyin hyphenation pattern file pyhyph.tex into your
+(local) TEXMF tree: The analogous place would be
+$TEXMFLOCAL/tex/generic/hyphen/pyhyph.tex.
+
+Now run texconfig (or a similar tool) to add pyhyph.tex to the used
+hyphenation patterns. In the usual case you have to add a line saying
+
+ pinyin pyhyph.tex
+
+to the hyphenation configuration file language.dat. Finally, build a new
+format file (usually the command `initex latex.ltx'); in most cases this
+happens automatically.
+
+Using Babel ensures that it works both with LaTeX and Plain TeX.
+
+
+Usage
+-----
+
+Do something like this:
+
+ \documentclass[...]{...}
+
+ \usepackage[T1]{fontenc}
+ \usepackage[pinyin,german,english]{babel}
+ ...
+
+ \begin{document}
+ ...
+ \foreignlanguage{pinyin}{some pinyin syllables}
+ ...
+ \end{document}
+
+
+Note 1: pinyin.ldf is intentionally very minimal. Don't expect that e.g.,
+ \chapter yields a pinyin version of the Chinese word for `chapter'.
+ It might be useful to define a shorthand macro like the following:
+
+ \newcommand{\py}[1]{\foreignlanguage{pinyin}{#1}}
+
+ Now you can simply say
+
+ \py{Beijing}
+
+Note 2: The hyphenation patterns use `umlaut u' with code position 0xFC
+ (this is latin-1 and T1 encoding). You can also use OT1 encoding,
+ but then the patterns containing `umlaut u' won't work.
+ Additionally, the quote character `'' is used as a letter which is
+ needed to resolve ambiguities like this:
+
+ Xi'an <-> Xian
+
+ If a syllable not at the beginning of a word starts with a vowel
+ (i.e., `a', `e', or `o'), you must precede it with a quote
+ character. Example:
+
+ Tian'anmen
+
+ The hyphenation patterns correctly treat it as Tian'-an-men.
+
+ The shorthand `"u' (as used in German) is available to input
+ `umlaut u'.
+
+Note 3: Most Babel language support files define a `<language>.sty' file
+ also. This is not true for pinyin! pinyin.sty is used for accented
+ pinyin syllables which don't need a special hyphenation support.
+ (pinyin.sty works with Plain TeX also.)
+
+
+Technical details
+-----------------
+
+The dictionary used to construct the hyphenation patterns has been created
+with the small C program `pinyin.c' which simply combines all existing
+Chinese syllable pairs, inserting quote characters where needed. Then,
+`patgen' has been run on the dictionary; `pinyin.tr' defines the used
+character set.
+
+Due to the regularity of the word combinations, only two-letter patterns of
+the first level are needed to find all possible breaks without a single
+error or omission.
+
+---End of pyhyphen.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/reftex.txt b/Master/texmf-dist/doc/latex/cjk/doc/reftex.txt
new file mode 100644
index 00000000000..99901bbc14c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/reftex.txt
@@ -0,0 +1,34 @@
+This is the file reftex.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+RefTeX
+------
+
+To make RefTeX aware of \CJKinput and \CJKbibliography, add the following
+two lines to your .emacs file:
+
+ (add-to-list 'reftex-include-file-commands "CJKinclude")
+ (add-to-list 'reftex-bibliography-commands "CJKbibliography")
+
+These two variables have been added to RefTeX in July 2002.
+
+Older versions (like 4.16) which don't have them must be patched directly.
+In reftex.el:
+
+1097c1097
+< (include-re (concat wbol "\\\\\\(include\\|input\\)[{ \t]+\\([^} \t\n\r]+\\)"))
+---
+> (include-re (concat wbol "\\\\\\(include\\|input\\|CJKinput\\)[{ \t]+\\([^} \t\n\r]+\\)"))
+
+In reftex-parse.el:
+
+333c333
+< "\\(\\`\\|[\n\r]\\)[ \t]*\\\\\\(no\\)?bibliography{[ \t]*\\([^}]+\\)" nil t)
+---
+> "\\(\\`\\|[\n\r]\\)[ \t]*\\\\\\(no\\|CJK\\)?bibliography{[ \t]*\\([^}]+\\)" nil t)
+
+Changes for even older RefTeX versions (before Aug 1999 which only have
+reftex.el) are virtually the same.
+
+
+---End of reftex.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/ruby.txt b/Master/texmf-dist/doc/latex/cjk/doc/ruby.txt
new file mode 100644
index 00000000000..fc1b30cd36c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/ruby.txt
@@ -0,0 +1,139 @@
+This is the file ruby.txt of the CJK macro package ver. 4.8.0 (22-May-2008).
+
+What is ruby?
+-------------
+
+To cite Martin Duerst (mduerst@w3.org) who wrote a proposal for ruby in HTML
+documents:
+
+
+ Ruby are small characters used for annotations of a text, at the right
+ side for vertical text, and atop for horizontal text, to indicate the
+ reading (pronounciation) of ideographic characters. [...]
+
+ The name `ruby' is the name of the 5.5 point type size in British
+ terminology; this was the size most used for ruby. [...]
+
+ Ruby are in most cases set at half the size of the main letters,
+ resulting in a possible two ruby characters per main character, and
+ taking up half of the width of the main characters. However, at least up
+ to five ruby characters per main character are possible (an example is
+ `u-ke-ta-ma-wa-...'), and so various solutions, from leaving white space
+ in the main text to having the ruby overlap the next characters of the
+ main text, are possible (the later is possible in Japanese especially
+ because in many cases, the characters around an ideograph with ruby are
+ syllabic, and therefore the assignment of ruby to main characters poses
+ no problems for the reader). [...]
+
+ Ruby are particularly frequent in Japanese, because of the way CJK
+ ideographs are used in Japanese. Ideographs can have many different
+ readings (pronounciations) because different readings were taken over
+ from different regions of China and at different times when the
+ characters where adopted in Japan. Also, these characters are used to
+ write indigenous Japanese words, and many readings may be possible
+ because the ideograph might cover many different concepts distinguished
+ in the Japanese language. [...] The main use of ruby today is in
+ magazines of all levels, and of course in educational material. Ruby are
+ also used in educational material in China and Taiwan.
+
+ In Japan, the term `furigana' is also used instead of `ruby'. `Furigana'
+ is composed of the verb `furu' (to attach, sprinkle, ...) and `gana'
+ (either hiragana or katakana, one of the two Japanese syllabaries usually
+ used for ruby).
+
+
+
+Usage
+-----
+
+Here a typical example:
+
+
+ \documentclass{article}
+
+ \usepackage{CJK}
+ \usepackage[overlap, CJK]{ruby}
+
+
+ \begin{document}
+
+ \begin{CJK*}{JIS}{song}
+
+ ....Japanese text.....\ruby{base character(s)}{ruby}....
+
+ \end{CJK*}
+
+ \end{document}
+
+
+The following options can be selected:
+
+ `overlap' and `nooverlap', as described above. \rubyoverlap and
+ \rubynooverlap are the corresponding commands to modify the overlap flag.
+ `overlap' is the default.
+
+ `CJK' and `latin'. The corresponding commands are \rubyCJK and \rubylatin.
+ Use these commands similar to \CJKnospace and \CJKspace to suppress or not
+ suppress spaces after a \ruby macro and to get/avoid insertion of glue.
+ `CJK' is the default.
+
+The command \rubysize defines the factor between the size of the base
+character and the ruby. Its default value is 0.4 . Usually you get some
+error messages about size substitution (the reason is that LaTeX 2e always
+defines a default error font) which can be safely ignored if you use ttf2pk
+or hbf2gf since these programs compute fonts for (almost) any font size. In
+the unlikely case that you need latin fonts as ruby it may be necessary to
+adapt your FD definition files if the particular font supports non-standard
+sizes (e.g., EC, Sauter, PS) and you really want exactly that size.
+
+The command \rubysep defines the separation between the base character and
+the ruby. Its default value is -0.5ex.
+
+To avoid lines sticking together the value of \lineskiplimit has been set
+to 1pt. It may be necessary to increase this value for larger font sizes.
+
+Note that all \ruby... commands are local, i.e., they obey groups.
+
+
+Implementation specific details
+-------------------------------
+
+There are a number of possibilities how ruby can interact with other CJK
+characters.
+
+ o The ruby has a smaller width than its base character:
+
+ The behaviour is identical to an ordinary CJK character.
+
+ o The ruby has a greater width than its base character:
+
+ + Overlapping ruby:
+
+ . If the previous or next character is a CJK character
+ (ordinary or punctuation), insert unbreakable glue between.
+
+ . If the previous or next character is a ruby, handle both
+ ruby as non-overlapping and insert unbreakable glue between.
+
+ . A ruby at the beginning of a paragraph is treated as if the
+ nonoverlap option had been set. To force an overlapping ruby
+ you have to start the paragraph with a \leavevmode command.
+
+ + Non-overlapping ruby:
+
+ . If the previous or next character is a CJK character
+ (ordinary or punctuation), insert unbreakable glue between.
+
+If `latin' is active, no glue at all is inserted.
+
+
+Technical details
+-----------------
+
+ruby.sty introduces a third variation of a small kern (3sp) to inform the
+next CJK or ruby macro that the previous character was an overlapping ruby
+with the ruby's width greater than its base character. The global variable
+\ruby@width then contains this width.
+
+
+---End of ruby.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/thaifont.txt b/Master/texmf-dist/doc/latex/cjk/doc/thaifont.txt
new file mode 100644
index 00000000000..08df1befd8e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/thaifont.txt
@@ -0,0 +1,129 @@
+This is the file thaifont.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+Thai font support in the CJK package
+------------------------------------
+
+Version 4.8.0 of the CJK package has improved support for Thai. This file
+describes how to install and use the fonts. Please refer to cjk-enc.txt how
+to set up cjk-enc.el (which automatically loads thai-word.el for finding
+word breaks).
+
+The directory structure in utils/thaifont/texmf already reflects the
+directory structure of a standard TEXMF tree, version 1.1. Example:
+
+ utils/thaifont/texmf/fonts/enc/dvips/thai/c90.enc ->
+ /usr/local/share/texmf/fonts/enc/dvips/thai/c90.enc
+
+To create TFM files for other Thai fonts, use the utility files in the
+`thaifont/tools' directory. Details how to do that can be found in
+`thaifonts/tools/INSTALL'. The file thaifont/tools/c90.etx gives the
+theoretical background on the used font encoding and ligature mechanism;
+a pre-formatted version can be found in CJK's doc bundle.
+
+
+Installation
+------------
+
+. It is assumed that you have already installed the main parts of the CJK
+ package (as described in the doc/INSTALL file).
+
+. Get the latest thailatex package from
+
+ http://linux.thai.net/plne/TLWG/thailatex
+
+ and install the Type 1 font families `garuda' and `norasi'. You should use
+ thailatex version 0.3.5.1 or newer. Recommended locations are
+
+ TEXMF/fonts/type1/public/{garuda,norasi}/ .
+
+ Fot historical reasons, you must remove the underscore from the font names
+ to stay within the 8.3 filename limit imposed by some operating systems.
+ Additionally, you should append the letter `n' to the normal shape's font.
+
+ Examples:
+
+ garuda.pfb -> TEXMF/fonts/type1/public/garuda/garudan.pfb
+ norasi_bi.pfb -> TEXMF/fonts/type1/public/norasi/norasibi.pfb
+
+ Note that the TeX metric files of thailatex bundle are incompatible with
+ CJK's Thai implementation. Nevertheless, it is possible to use both at the
+ same time if desired. This is the very reason that the Babel language
+ support file of the CJK package is called `thaicjk.ldf', not `thai.ldf'.
+
+. Install all files from utils/thaifont/texmf in your TEXMF tree. This
+ should be straightforward.
+
+. Font definition files for Thai are in CJK's texinput/thai directory. To
+ simplify font handling with LaTeX, `gar' and `nrsr' are aliased to `cmr',
+ `cmss', and `cmtt'. If you want to use other fonts, you have to adapt
+ c90cmr.fd, c90cmss.fd, and c90cmtt.fd accordingly.
+
+. There are two possibilities how to make the Thai PostScript fonts known to
+ the various DVI drivers (and pdftex). The recommended way is to include
+ the files `garuda.map' and `norasi.map' in the `updmap.cfg' configuration
+ script by adding the following two lines:
+
+ Map garuda.map
+ Map norasi.map
+
+ Older versions of updmap which don't have updmap.cfg must be patched
+ directly by adding the map files to the `extra_modules' variable:
+
+ extra_modules="
+ dbtt.map
+ norasi.map
+ "
+
+ After executing updmap, the fonts are known to all programs which uses the
+ map files.
+
+ For dvips, you can also use the `config.norasi' and `config.garuda' files
+ on the command line:
+
+ dvips -P norasi ...
+
+ This method doesn't work with pdfTeX (which doesn't understand the `-P'
+ option).
+
+. Run mktexlsr or a similar program to update the TEXMF file database.
+
+
+Usage
+-----
+
+Thai support has been fully integrated into the Babel system. For example,
+to have Thai as a secondary language and US English as the primary language,
+say
+
+ \documentclass{...}
+
+ ...
+ \usepackage[thaicjk,USenglish]{babel}
+ ...
+
+
+ \begin{document}
+
+ ...
+ \begin{otherlanguage}{thaicjk}
+ Thai text
+ \end{otherlanguage}
+
+ ...
+
+`thaicjk' changes the baseline stretch to 1.2, activates \frenchspacing, and
+modifies the \today command to use the proper Thai values and names.
+
+The just sketched outline works without cjk-enc also (but no word breaks are
+inserted automatically); you must then insert
+
+ \addto\extrasthaicjk{\fontencoding{C90}\selectfont}
+
+in the preamble of your document to make Babel switch to Thai font encoding
+on entering the `thaicjk' language environment.
+
+For use of cjk-enc.el please read `cjk-enc.txt'.
+
+
+---End of thaifont.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/vertical.txt b/Master/texmf-dist/doc/latex/cjk/doc/vertical.txt
new file mode 100644
index 00000000000..1766d3c29ba
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/vertical.txt
@@ -0,0 +1,120 @@
+This is the file vertical.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+
+Vertical typesetting
+====================
+
+TeX itself can't support vertical typesetting. Nevertheless, it is possible
+to emulate it by rotating glyphs by 90 degrees.
+
+The CJK package supports two different approaches:
+
+o Provide fonts which already contain rotated glyphs. In this case, the
+ only difference to normal typesetting is the emulation of bold
+ characters by printing a character three times with slight vertical
+ offsets instead of horizontal ones. Both hbf2gf and ttf2pk can produce
+ rotated bitmap fonts. The major disadvantage is that it doesn't work
+ well for outline fonts since there is no portable way to implement
+ rotation on the font level which works for both PostScript and PDF
+ output.
+
+ You need a `.fdx' file for this option which at least contains
+ `\CJKvdef{norotate}{}'.
+
+o Use the graphicx package to rotate glyphs. A disadvantage is that
+ processing of a document is much slower and that documents tend to be
+ much larger in size. On the other hand, PDF and PostScript output can be
+ produced from identical sources since graphicx hides the implementation
+ differences.
+
+ This works even without a `.fdx' file in case CJK's default rotation
+ parameters are fine.
+
+
+CJKvert.sty
+-----------
+
+Loading CJKvert.sty activates vertical support. The two commands to be used
+in documents are \CJKvert and \CJKhorz which do the obvious. \CJKvert is
+the default. The two commands act locally, not globally.
+
+Use macro \CJKbaselinestretch to adjust the baseline stretch during vertical
+typesetting. The default value is `1.3'.
+
+Package option `usebaselinestretch' saves the \baselinestretch value set
+before loading CJKvert.sty. If this option is active, then
+
+ new \baselinestretch = \CJKbaselinestretch * \baselinestretch
+
+after issuing \CJKvert. Otherwise, it is simply
+
+ new \baselinestretch = \CJKbaselinestretch
+
+Similarly, \CJKhorz restores the old \baselinestretch value if
+`usebaselinestretch' is active; without the option, \baselinestretch is set
+to `1'.
+
+
+Problems with vertical typesetting
+----------------------------------
+
+Some glyphs can't be used directly for vertical typesetting; a simple
+rotation by 90 degrees would produce ugly results for various reasons:
+
+o Many punctuation characters have special vertical representation forms.
+ Some fonts contain proper vertical glyphs, but many don't. In the latter
+ case it is necessary to provide alternative methods to improve the
+ optical appearance.
+
+o Non-rotated (latin) text within rotated (CJK) text is aligned
+ differently as if text is written horizontally. Rotated glyphs thus must
+ be slightly shifted.
+
+o Some fonts contain CJK glyphs without quadratic bounding boxes but only
+ monospaced advance widths. It is then necessary to provide glyph
+ dimensions to assure monospaced advance heights after rotation.
+
+See the documentation file `fdxfiles.txt' for details on setting up
+extended font definition files which can handle those items.
+
+
+Fonts with vertical representation forms
+----------------------------------------
+
+OpenType fonts intended for vertical typesetting normally contain a GSUB
+feature called `vert' which provides a mapping to vertical instead of
+horizontal representation forms. ttf2tfm automatically takes care of it (see
+below), but if such fonts have been converted to sets of Type 1 subfonts
+this feature is lost.
+
+A solution to this problem is to collect all vertical representation glyphs
+in a special Type 1 subfont. See the scripts vertical.pe, vertref.pe (for
+FontForge), and makefdx.pl (for Perl) in the directory utils/subfonts which
+do that.
+
+At the moment of this writing, only the fonts bsmi00lp.ttf and bkai00mp.ttf
+for traditional Chinese have been transformed to Type 1 subfonts together
+with a font with vertical representation glyphs (bsmilpv.pfb and
+bkaimpv.pfb). They are part of the corresponding CJK font bundles found on
+CTAN. See the file INSTALL for more information.
+
+
+Rotated fonts
+-------------
+
+o To install a rotated font to be handled by hbf2gf, simply proceed as
+ usual, with one difference: You have to add a line
+
+ rotation yes
+
+ to the hbf2gf configuration file of this font. x_offset and y_offset
+ values must be adjusted too. Look at the example configuration file
+ b5kr12.cfg for details---as you can see, the name of the non-rotated
+ font (b5ka12) has been changed to `b5kr12'.
+
+o With ttf2tfm, use the `-x' switch to activate rotation. For details
+ please refer to the man pages of ttf2tfm and ttf2pk.
+
+
+---End of vertical.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/doc/xCJK.txt b/Master/texmf-dist/doc/latex/cjk/doc/xCJK.txt
new file mode 100644
index 00000000000..60e2811644f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/doc/xCJK.txt
@@ -0,0 +1,73 @@
+This is the file xCJK.txt of the CJK macro package ver. 4.8.0
+(22-May-2008).
+
+xCJK.sty
+--------
+
+This file provides support for the CJK package with XeLaTeX:
+
+ . Use the CJK package to deal with CJK characters, especially for
+ spaces and punctuation, while the font selection is left to XeLaTeX.
+
+ . Specify different default fonts for CJK and other characters,
+ respectively.
+
+Usage:
+
+ \documentclass{...}
+ ...
+ \usepackage[<options>]{xCJK}
+ ...
+ \begin{document}
+ ...
+ \begin{CJK*}{UTF8}{...}
+ ...
+ \end{CJK*}
+ ...
+ \end{document}
+
+ Available values for <options> are
+
+ boldfont simulate bold fonts for CJK characters
+ italicfont simulate italic fonts for CJK characters
+
+ To make `italicfont' work you need XeTeX version 0.997 or newer.
+
+
+xCJK.sty provides three basic macros for font selection:
+
+ \setCJKmainfont[<font features>]{<font name>}
+ Set a default font for CJK characters.
+
+ \setCJKfamilyfont{<family name>}[<font features>]{<font name>}
+ Declare a CJK family and select a font for it. Switching font families
+ can be done as usual with \CJKfamily.
+
+ \setCJKmonofont[<font features>]{<font name>}
+ Declare a CJK font to be used in verbatim environments.
+
+Note that \setCJKmainfont takes precedence over \setmainfont (which is
+defined in the standard `fontspec' package for XeLaTeX).
+
+For a full description of the parameters <font features> and <font name>
+please read the documentation of the `fontspec' package; an example input
+file is examples/xCJK.tex .
+
+
+Remarks:
+
+ . To make the xCJK package work the following two commands must be called:
+
+ \XeTeXinputencoding "bytes"
+ \XeTeXdefaultencoding "bytes"
+
+ xCJK.sty automatically does this (using the \AtBeginDocument hook) but
+ other packages might override it.
+
+ . <font name> must be in English.
+
+ . If you use the `verbatim' package you should call \CJKverbatim to make
+ the verbatim environment select the CJK font as specified with
+ \setCJKmonofont automatically (\CJKverbatim redefines \verbatim@font).
+
+---End of xCJK.txt---
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/Big5.tex b/Master/texmf-dist/doc/latex/cjk/examples/Big5.tex
new file mode 100644
index 00000000000..8a7ba74401d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/Big5.tex
@@ -0,0 +1,35 @@
+% This is the file Big5.tex of the CJK package
+% for testing Chinese (in Big 5 encoding).
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+%
+%
+% process this file with bg5latex
+
+\documentclass[12pt]{article}
+
+\usepackage{CJK}
+
+
+\begin{document}
+
+\begin{CJK*}{Bg5}{bsmi}
+\CJKtilde
+
+\noindent `ݰݵ~(FAQ list)~Oq@Ǹg`Qݨ쪺DΨA
+AHKΦKnӥXCW@POAsƵcwܡC
+\textbf{scӸ`AiѦҡup\ŪݵΤFѨsƵcv
+C}
+
+\end{CJK*}
+
+\end{document}
+
+%%% Local Variables:
+%%% coding: big5
+%%% mode: latex
+%%% TeX-master: t
+%%% TeX-command-default: "CJKLaTeX"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/Big5vert.tex b/Master/texmf-dist/doc/latex/cjk/examples/Big5vert.tex
new file mode 100644
index 00000000000..3f4b58b2412
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/Big5vert.tex
@@ -0,0 +1,35 @@
+% This is the file Big5vert.tex of the CJK package
+% for testing vertical typesetting (in Big 5 encoding).
+%
+% process this file with bg5latex
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+\documentclass[12pt]{article}
+
+\usepackage{CJK}
+\usepackage{CJKvert}
+
+
+\begin{document}
+
+\begin{CJK*}{Bg5}{bsmi}
+\CJKtilde
+
+\noindent `ݰݵ~(FAQ list)~Oq@Ǹg`Qݨ쪺DΨA
+AHKΦKnӥXCW@POAsƵcwܡC
+\textbf{scӸ`AiѦҡup\ŪݵΤFѨsƵcv
+C}
+
+\end{CJK*}
+
+\end{document}
+
+%%% Local Variables:
+%%% coding: big5
+%%% mode: latex
+%%% TeX-master: t
+%%% TeX-command-default: "CJKLaTeX"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/CEF_test.tex b/Master/texmf-dist/doc/latex/cjk/examples/CEF_test.tex
new file mode 100644
index 00000000000..682b72920a0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/CEF_test.tex
@@ -0,0 +1,41 @@
+% This is the file CEF_test.tex of the CJK package
+% for testing CEF encoded text with LaTeX2e
+%
+% Version 4.8.0 (22-May-2008)
+%
+% process this text with ceflatex
+
+\documentclass[12pt]{article}
+
+\usepackage[global]{CJK}
+\usepackage{MULEenc}
+
+
+\begin{document}
+
+\begin{CJK}{}{}
+
+\verb|\CJKchar[CNS1]{"5A}{"5A}| \CJKchar[CNS1]{"5A}{"5A}
+\quad \verb|&C1-|\verb|5A5A;| &C1-5A5A;
+
+\verb|\CJKchar[CNS2]{"5A}{"5A}| \CJKchar[CNS2]{"5A}{"5A}
+\quad \verb|&C2-|\verb|5A5A;| &C2-5A5A;
+
+\verb|\CJKchar[CNS3]{"5A}{"5A}| \CJKchar[CNS3]{"5A}{"5A}
+\quad \verb|&C3-|\verb|5A5A;| &C3-5A5A;
+
+\verb|\CJKchar[CNS4]{"5A}{"5A}| \CJKchar[CNS4]{"5A}{"5A}
+\quad \verb|&C4-|\verb|5A5A;| &C4-5A5A;
+
+\verb|\CJKchar[CNS5]{"5A}{"5A}| \CJKchar[CNS5]{"5A}{"5A}
+\quad \verb|&C5-|\verb|5A5A;| &C5-5A5A;
+
+\verb|\CJKchar[CNS6]{"5A}{"5A}| \CJKchar[CNS6]{"5A}{"5A}
+\quad \verb|&C6-|\verb|5A5A;| &C6-5A5A;
+
+\verb|\CJKchar[CNS7]{"5A}{"5A}| \CJKchar[CNS7]{"5A}{"5A}
+\quad \verb|&C7-|\verb|5A5A;| &C7-5A5A;
+
+\end{CJK}
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/CJKbabel.tex b/Master/texmf-dist/doc/latex/cjk/examples/CJKbabel.tex
new file mode 100644
index 00000000000..45aed068f88
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/CJKbabel.tex
@@ -0,0 +1,135 @@
+% This is the file CJKbabel.tex of the CJK package
+% for testing text written with Emacs 20 and Babel (starting
+% with version 3.6).
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+% You need Emacs 20 to process this file!
+
+% You should load this file into Emacs (C-x C-f) and call
+% `cjk-write-file' (M-x cjk-write-file). Then run LaTeX on the file
+% `CJKbabel.cjk'.
+%
+% `cjk-write-file' will be available after loading cjk-enc.el into
+% Emacs 20 with the commands load-file or load-library.
+%
+% Vietnamese support for Babel comes with the VnTeX package.
+%
+% Read cjk-enc.txt for more details.
+
+\documentclass[12pt]{article}
+
+\usepackage{inputenc} % load it without argument
+ % to avoid Babel warnings
+
+\usepackage[10pt]{type1ec} % use only 10pt fonts
+\usepackage[T1]{fontenc}
+
+\usepackage[german,
+ russian, % T2A font encoding
+ thaicjk, % C90 font encoding
+ greek, % LGR font encoding
+ vietnam, % T5 font encoding
+ USenglish]{babel}
+
+\usepackage[overlap, CJK]{ruby}
+\usepackage{CJKulem}
+
+\usepackage{pshan} % Korean Wansong PS fonts
+
+\CJKencfamily{Bg5}{bsmi}
+\CJKencfamily{GB}{gbsn}
+\CJKencfamily[dnp]{JIS}{min}
+
+\CJKfontenc{KS}{HL}
+\CJKfontenc{JIS}{dnp}
+
+\renewcommand{\rubysep}{-0.2ex}
+
+
+\begin{document}
+
+\parskip 3ex
+\parindent 0pt
+
+ FAQ ړ ݓǓ ד 듴 ܓ퓷 瓽ē
+ ϓ. \uline{ FAQ Ǔ ϓ ȹ
+ 擵Ǔϓ.} \textbf{󓼼 ͓ `` FAQ  Г
+ ͓Γ'' 듸 ϓÓ ٓϓ.}
+
+\begin{otherlanguage}{german}
+ Dieses FAQ wurde erstellt, um hufig gestellte Fragen und ihre
+ Antworten in einer geflligen Form zusammenzufassen. \uline{Die
+ Struktur dieses FAQ wurde drastisch gendert seit der letzten
+ Version.} \textbf{Fr Details siehe den Abschnitt "`Wie lese ich
+ dieses FAQ"'.}
+\end{otherlanguage}
+
+\CJKtilde
+
+ʑʑ𑼯~(FAQ list)~ǑӑһЩʑđʑ⑼ʑđ⑴Бԑ
+㑵đΑʽժҪđ\uline{ϑһ摲ͬđǑ䑱őᑹёבđ䑡}
+\textbf{Бؑ‘ᑹđϸڑɑΑ瑺Αđʑ𑼯ˑ䑱őᑹ
+ Бđ˵}
+
+ܘØØñ~(FAQ list)~ӘØØ˘Ƕ٘ñ䘡阧
+Ә՘\uline{똦㘩ҘӘоù˭٘是Ҙɘ}
+\textbf{ØƼù˭٘蘡Ԙ֘ܘØñ٘оù˭ט
+ 䘰ͪ}
+
+This FAQ list was made to summarize some frequently asked questions
+and their answers in a convenient form. \uline{The structure of this
+ FAQ list has drastically changed since the last version.}
+\textbf{For details of the new structure, see the entry of `How to
+ read this FAQ and its structure'.}
+
+~FAQ~꒥Ȓϒ蒤뒼䒤ȒΒ򒽸ᒡ˒ΩĒ蒤˒⒤
+ǒ\uline{~FAQ~꒥ȒΒ¤ϒʒΒ⒤ΒȒ撤ْƒ˒ђ
+ ƒޒ}\textbf{\ruby{}{}¤˒ؒƒϒ֒~FAQ~
+ ΒɒߒȒΒ¤גΒܒ\ruby{}{}\ruby{}{璤}ƒ
+ }
+
+\begin{otherlanguage}{vietnam}
+Phn ``Nhng cu hi v gii p thߚng gp'' (vit tt t ting Anh
+l FAQ) ߚc nu ra y nhm mc ch thu thp nhng cu hi thߚng
+gp trong thc t v nhng li gii p thch hp nht ca n.
+\uline{T ln n bn cui cng 𚢪n nay, c nhng s thay 𚢱i kh
+ ln trong cu trc ca FAQ.} \textbf{𚢬 hiu r hn bn nn xem li
+ chߚng ``Lm sao ti c th c uc FAQ''.}
+\end{otherlanguage}
+
+\begin{otherlanguage}{russian}
+ ͌ތ ߌ،ތ ь ތЌҌیՌ Ԍی ܌܌،ތҌЌ݌، ݌Ռڌތތ Ќ
+ ׌ЌԌЌҌЌՌ܌ Ҍތߌތތ (FAQ), Ҍ܌Ռ ތҌՌЌ܌ ݌ ݌،, Ԍތь݌ތ
+ ތ܌. \uline{ڌ ތӌ FAQ ڌЌԌ،݌Ќی݌ ،׌܌Ռ݌،یЌ ߌ
+ ЌҌ݌Ռ݌، ߌތیՌ\-݌Ռ ҌՌ،Ռ.} \textbf{ Ќ׌ԌՌی `Ќ ،Ќ
+ ތ FAQ Ռӌ ڌ' ތь݌Ռ݌ ԌՌЌی ތ ݌ތҌތ ڌ.}
+\end{otherlanguage}
+
+\begin{otherlanguage}{thaicjk}
+ Å҅…҅ FAQ եʀå֥҅酹ץͅʀå؅Ӆ҅ե腶҅хͅ…åѥ酧ŅЅӅͅӅ҅ㅹåمᅺՅʅЅDž.
+ \uline{ⅤÅʀå҅ͅÅ҅…҅ FAQ եťե…䅻҅ѥ酧ဥ耥åإ腹եဥť.}
+ \textbf{مÅ҅…ŅЅͥՅ…ʅӅˀåхⅤÅʀå҅ˀ䀥酨҅Dž ``ⅤÅʀå҅ŅЀǥԀՅ҅Àͥ҅
+ FAQ.''}
+\end{otherlanguage}
+
+\begin{otherlanguage}{greek}
+ ߆ ӆԆ ( ݆ ކ) ݆
+ ܆ ܆ ݆ ކ
+ ކ . \uline{ ܆ ކ ߆ ܆
+ ߆ ݆ .} \textbf{Æ
+ ݆ ܆ ݆ ܆, ݆ ކ <<І
+ ܆ ӆԆ ߆ ݆>>.}
+\end{otherlanguage}
+
+\end{document}
+
+
+%%% Local Variables:
+%%% coding: emacs-mule
+%%% mode: latex
+%%% TeX-master: t
+%%% TeX-command-default: "CJKLaTeX"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/CJKfntef.tex b/Master/texmf-dist/doc/latex/cjk/examples/CJKfntef.tex
new file mode 100644
index 00000000000..54e0e42c6cc
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/CJKfntef.tex
@@ -0,0 +1,61 @@
+% This is the file CJKfntef.tex of the CJK package
+% for testing CJKfntef.sty.
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+\documentclass[12pt]{article}
+
+\usepackage{color}
+\usepackage{CJK}
+\usepackage{CJKfntef}
+
+\textwidth 100mm
+\pagestyle{empty}
+
+
+\begin{document}
+
+\baselineskip 24pt
+\parindent 24pt
+
+\begin{CJK*}{GB}{gbsn}
+
+\begin{CJKfilltwosides}{40mm}
+˷ɢ\\
+ɢ \\
+\CJKunderdot{ ɼӵ}
+\end{CJKfilltwosides}
+
+\vspace{0.3cm}
+
+\CJKunderdot{ּӵ㣬 \CJKunderline{ͬʱ»߼», Զ,}}
+
+\CJKunderline*{ּӵ㣬 \CJKunderdot{ͬʱ»߼», Զ,}}
+
+\CJKunderdot{ּӵ㣬 \CJKunderwave{ͬʱ»߼», Զ,}}
+
+\CJKunderwave*{ּӵ㣬 \CJKunderdot{ͬʱ»߼», Զ,}}
+
+\CJKunderdot{ּӵ㣬 \CJKunderdblline{ͬʱ»߼», Զ,}}
+
+\CJKunderdblline*{ּӵ㣬 \CJKunderdot{ͬʱ»߼», Զ,}}
+
+\CJKunderdot{ּӵ㣬 \CJKsout{ͬʱ»߼», Զ,}}
+
+\CJKsout*{ּӵ㣬 \CJKunderdot{ͬʱ»߼», Զ,}}
+
+\CJKunderdot{ּӵ㣬 \CJKxout{ͬʱ»߼», Զ,}}
+
+\CJKxout*{ּӵ㣬 \CJKunderdot{ͬʱ»߼», Զ,}}
+
+\end{CJK*}
+
+\end{document}
+
+%%% Local Variables:
+%%% coding: euc-china
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex b/Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex
new file mode 100644
index 00000000000..89119584f4f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/CJKmixed.tex
@@ -0,0 +1,81 @@
+% This is the file CJKmixed.tex of the CJK package
+% for testing CJK text written vertically.
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+%
+% Vietnamese support for Babel comes with the VnTeX package.
+
+\documentclass[12pt]{article}
+
+\usepackage{CJKutf8}
+\usepackage{CJKvert}
+\usepackage{CJKulem}
+
+\usepackage{inputenc} % load it without argument
+ % to avoid Babel warnings
+
+\usepackage[vietnam, % T5 font encoding
+ USenglish]{babel}
+
+\newenvironment{TChinese}{%
+ \CJKfamily{bsmi}%
+ \CJKtilde
+ \CJKnospace}{}
+
+
+\begin{document}
+
+\begin{CJK}{UTF8}{}
+
+\CJKhorz
+
+This is a test how CJK scripts can be typeset horizontally and
+vertically at the same time. It is not too difficult to achieve,
+nevertheless it is not trivial. Most importantly, you need a
+\texttt{.fdx} file which corresponds to your CJK font, and which
+defines how to set up the font for vertical typesetting.
+
+\begin{center}
+ \rotatebox[origin=c]{-90}{%
+ \begin{minipage}[c]{8cm}
+ \CJKvert
+ \begin{TChinese}
+ 本常問問答集~(FAQ list)~是從一些經常被問到的問題及其適當的解答
+ 中,以方便的形式摘要而出的。\uline{跟上一版不同的是,其編排結構
+ 已徹底改變。} \textbf{有關新結構的細節,可參考「如何閱讀本問
+ 答集及了解其編排結構」該項中的說明。}
+ \end{TChinese}
+ \end{minipage}%
+ }%
+ \hspace{0.5cm}%
+ \begin{minipage}[c]{8cm}
+ \begin{otherlanguage}{vietnam}
+ Phần ``Những câu hỏi và giải đáp thường gặp'' (viết tắt từ tiếng
+ Anh là FAQ) được nêu ra ở đây nhằm mục đích thu thập những câu
+ hỏi thường gặp trong thực tế và những lời giải đáp thích hợp
+ nhất của nó. \uline{Từ lần ấn bản cuối cùng đến nay, đã có
+ những sự thay đổi khá lớn trong cấu trúc của FAQ.} \textbf{Để
+ hiểu rõ hơn bạn nên xem lại chương ``Làm sao tôi có thể đọc
+ đuợc FAQ''.}
+ \end{otherlanguage}
+ \end{minipage}
+\end{center}
+
+\begin{TChinese}
+ 本常問問答集~(FAQ list)~是從一些經常被問到的問題及其適當的解答中,以
+ 方便的形式摘要而出的。\uline{跟上一版不同的是,其編排結構已徹底改變。}
+ \textbf{有關新結構的細節,可參考「如何閱讀本問答集及了解其編排結構」
+ 該項中的說明。}
+\end{TChinese}
+
+\end{CJK}
+
+\end{document}
+
+%%% Local Variables:
+%%% mode: latex
+%%% coding: utf-8
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/CJKutf8.tex b/Master/texmf-dist/doc/latex/cjk/examples/CJKutf8.tex
new file mode 100644
index 00000000000..9acb30becaf
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/CJKutf8.tex
@@ -0,0 +1,117 @@
+% This is the file CJKutf8.tex of the CJK package
+% for testing the CJKutf8 style file.
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+% Vietnamese support for Babel comes with the VnTeX package.
+%
+% Read CJKutf8.txt for more details.
+
+\documentclass[12pt]{article}
+
+\usepackage[10pt]{type1ec} % use only 10pt fonts
+\usepackage[T1]{fontenc}
+
+\usepackage{CJKutf8}
+\usepackage[german, russian, vietnam, USenglish]{babel}
+
+\usepackage[overlap, CJK]{ruby}
+\usepackage{CJKulem}
+
+\renewcommand{\rubysep}{-0.2ex}
+
+\newenvironment{SChinese}{%
+ \CJKfamily{gbsn}%
+ \CJKtilde
+ \CJKnospace}{}
+\newenvironment{TChinese}{%
+ \CJKfamily{bsmi}%
+ \CJKtilde
+ \CJKnospace}{}
+\newenvironment{Japanese}{%
+ \CJKfamily{min}%
+ \CJKtilde
+ \CJKnospace}{}
+\newenvironment{Korean}{%
+ \CJKfamily{mj}}{}
+
+
+\begin{document}
+
+\parskip 3ex
+\parindent 0pt
+
+\begin{CJK}{UTF8}{}
+
+\begin{Korean}
+ 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
+ 모아 엮어졌습니다. \uline{이 FAQ 의 구조는 지난 판에 비하여
+ 획기적으로 변경되었습니다.} \textbf{상세한 것은 ``이 FAQ 을 어떻게
+ 읽을 것인가'' 라는 대목을 참조하시기 바랍니다.}
+\end{Korean}
+
+\begin{otherlanguage}{german}
+ Dieses FAQ wurde erstellt, um häufig gestellte Fragen und ihre
+ Antworten in einer gefälligen Form zusammenzufassen. \uline{Die
+ Struktur dieses FAQ wurde drastisch geändert seit der letzten
+ Version.} \textbf{Für Details siehe den Abschnitt "`Wie lese ich
+ dieses FAQ"'.}
+\end{otherlanguage}
+
+\begin{SChinese}
+ 本常问问答集~(FAQ list)~是从一些经常被问到的问题及其适当的解答中,以
+ 方便的形式摘要而出的。\uline{跟上一版不同的是,其编排结构已彻底改变。}
+ \textbf{有关新结构的细节,可参考「如何阅读本问答集及了解其编排结构」
+ 该项中的说明。}
+\end{SChinese}
+
+\begin{TChinese}
+ 本常問問答集~(FAQ list)~是從一些經常被問到的問題及其適當的解答中,以
+ 方便的形式摘要而出的。\uline{跟上一版不同的是,其編排結構已徹底改變。}
+ \textbf{有關新結構的細節,可參考「如何閱讀本問答集及了解其編排結構」
+ 該項中的說明。}
+\end{TChinese}
+
+This FAQ list was made to summarize some frequently asked questions
+and their answers in a convenient form. \uline{The structure of this
+ FAQ list has drastically changed since the last version.}
+\textbf{For details of the new structure, see the entry of `How to
+ read this FAQ and its structure'.}
+
+\begin{Japanese}
+ この~FAQ~リストは、よくある質問とその答を集め、役に立つようにしたもの
+ です。\uline{この~FAQ~リストの構造は、以前のものと比べて大幅に変更さ
+ れています。}\textbf{\ruby{新}{あたら}しい構造に関しては、「こ
+ の~FAQ~ の読み方とその構造」の項目を\ruby{参}{さん}\ruby{照}{しょ
+ う}して下さい。}
+\end{Japanese}
+
+\begin{otherlanguage}{vietnam}
+ Phần ``Những câu hỏi và giải đáp thường gặp'' (viết tắt từ tiếng Anh
+ là FAQ) được nêu ra ở đây nhằm mục đích thu thập những câu hỏi
+ thường gặp trong thực tế và những lời giải đáp thích hợp nhất của
+ nó. \uline{Từ lần ấn bản cuối cùng đến nay, đã có những sự thay đổi
+ khá lớn trong cấu trúc của FAQ.} \textbf{Để hiểu rõ hơn bạn nên
+ xem lại chương ``Làm sao tôi có thể đọc đuợc FAQ''.}
+\end{otherlanguage}
+
+\begin{otherlanguage}{russian}
+ Этот список был составлен для суммирования некоторых часто
+ задаваемых вопросов (FAQ), вместе с ответами на них, в удобной
+ форме. \uline{Структура этого FAQ кардинально изменилась по
+ сравнению с послед\-ней версией.} \textbf{В разделе `Как читать
+ этот FAQ и его структура' объяснены детали этой новой структуры.}
+\end{otherlanguage}
+
+\end{CJK}
+
+\end{document}
+
+
+%%% Local Variables:
+%%% coding: utf-8
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/GB.tex b/Master/texmf-dist/doc/latex/cjk/examples/GB.tex
new file mode 100644
index 00000000000..28a7672fd8d
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/GB.tex
@@ -0,0 +1,31 @@
+% This is the file GB.tex of the CJK package
+% for testing Chinese (in GB encoding).
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+\documentclass[12pt]{article}
+
+\usepackage{CJK}
+
+
+\begin{document}
+
+\begin{CJK*}{GB}{gbsn}
+\CJKtilde
+
+\noindent ʴ~(FAQ list)~ǴһЩʵ⼰ʵĽ
+УԷʽժҪġһ治ͬǣŽṹѳ׸ı䡣
+\textbf{й½ṹϸڣɲοĶʴ𼯼˽Žṹ
+е˵}
+
+\end{CJK*}
+
+\end{document}
+
+%%% Local Variables:
+%%% coding: euc-china
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/JIS.tex b/Master/texmf-dist/doc/latex/cjk/examples/JIS.tex
new file mode 100644
index 00000000000..d29dbb59ed1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/JIS.tex
@@ -0,0 +1,35 @@
+% This is the file JIS.tex of the CJK package
+% for testing Japanese (in JIS encoding).
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+\documentclass[12pt]{article}
+
+\usepackage{CJK}
+\usepackage[CJK, overlap]{ruby}
+
+\renewcommand{\rubysep}{-0.2ex}
+
+
+\begin{document}
+
+\begin{CJK*}[dnp]{JIS}{min}
+\CJKtilde
+
+\noindent ~FAQ~ꥹȤϡ褯Ȥ򽸤ᡢΩĤ褦
+ˤΤǤ~FAQ~ꥹȤι¤ϡΤΤ٤ѹ
+Ƥޤ\textbf{\ruby{}{}¤˴ؤƤϡ֤~FAQ~
+ɤȤι¤פιܤ\ruby{}{}\ruby{}{礦}Ʋ
+}
+
+\end{CJK*}
+
+\end{document}
+
+%%% Local Variables:
+%%% coding: euc-japan
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/KS.tex b/Master/texmf-dist/doc/latex/cjk/examples/KS.tex
new file mode 100644
index 00000000000..4a644a03dc0
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/KS.tex
@@ -0,0 +1,31 @@
+% This is the file KS.tex of the CJK package
+% for testing Korean (in KS encoding).
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+\documentclass[12pt]{article}
+
+\usepackage{CJK}
+\usepackage{pshan}
+
+
+\begin{document}
+
+\begin{CJK}[HL]{KS}{}
+
+\noindent FAQ ݺǴ ׿ ܸ
+ ϴ. FAQ ǿ Ͽ
+ȹ Ǿϴ. \textbf{ `` FAQ 
+ ΰ'' Ͻñ ٶϴ.}
+
+\end{CJK}
+
+\end{document}
+
+%%% Local Variables:
+%%% coding: euc-korea
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/README b/Master/texmf-dist/doc/latex/cjk/examples/README
new file mode 100644
index 00000000000..38e932a325b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/README
@@ -0,0 +1,66 @@
+Please note that the used fonts in the example files are set up for the
+TeXLive distribution. Here a listing of some files and the used CJK fonts.
+
+
+ example file font definition file(s) TeX font names font file name(s)
+ ---------------------------------------------------------------------------
+
+ Big5.tex c00bsmi.fd bsmilp01, bsmiu00.pfb,
+ bsmilp02, bsmiu02.pfb,
+ ... (4) ...
+
+ Big5vert.tex c00bsmi.fd (1) bsmilp01, bsmiu00.pfb,
+ bsmilp02, bsmiu02.pfb,
+ ..., ...,
+ bsmilpv (4) bsmiuv.pfb
+
+ CEF_test.tex c31song.fd, c1so1201, cns40-1.hbf,
+ ..., c1so1202, ...,
+ c37song.fd ..., cns40-7.hbf (5)
+ c2so1201,
+ c2so1202,
+ ...
+
+ CJKutf8.txt c70bsmi.fd, bsmiu00,... bsmiu00.pfb,...
+ c70gbsn.fd, gbsnu00,... gbsnu00.pfb,...
+ c70min.fd, (2) udmj00,... (4) dmjsy.pfb,...
+ c70mj.fd uwmj00,... (4,6) umj00.pfb,... (7)
+
+ GB.tex c10gbsn.fd gbsnlp01, gbsnlp01.pfb,
+ gbsnlp02, gbsnlp02.pfb,
+ ... (4) ...
+
+ JIS.tex
+ SJIS.tex c42min.fd (2) dmjsy, dmjsy.pfb,
+ dmjroma, dmjroma.pfb,
+ dmjhira, dmjhira.pfb,
+ ... ...
+
+ KS.tex c63mj.fd wmj0, umj00.pfb,
+ wmj1, umj01.pfb,
+ ... (4) ... (7)
+
+ UTF8.tex c70song.fd (3) cyberb00, cyberbit.ttf
+ cyberb01,
+ ...
+
+
+(1) The glyphs are rotated using the graphicx package.
+
+(2) Font definition files for the Wadalab fonts are in the directory
+ `contrib/wadalab'.
+
+(3) For licensing reasons, TeXLive doesn't contain cyberbit.ttf and
+ corresponding TeX subfont metric files, thus you can't process UTF8.tex
+ without installing this font (or another Unicode font) manually.
+
+(4) These are virtual fonts.
+
+(5) These are bitmap fonts.
+
+(6) Virtual Unicode fonts for Korean (from HLaTeX) are currently only
+ available in the TeXLive distribution.
+
+(7) Korean PS fonts (from HLaTeX) with glyph names compliant to the Adobe
+ Glyph List (AGL) are currently only available in the TeXLive
+ distribution.
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/SJIS.tex b/Master/texmf-dist/doc/latex/cjk/examples/SJIS.tex
new file mode 100644
index 00000000000..f01e028c525
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/SJIS.tex
@@ -0,0 +1,39 @@
+% This is the file SJIS.tex of the CJK package
+% for testing Japanese (in SJIS encoding).
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+%
+%
+% process this file with sjislatex
+
+\documentclass[12pt]{article}
+
+\usepackage{CJK}
+\usepackage[CJK, overlap]{ruby}
+
+\renewcommand{\rubysep}{-0.3ex}
+
+
+\begin{document}
+
+\begin{CJK*}[dnp]{SJIS}{min}
+\CJKtilde
+
+\noindent ~FAQ~XǵA悭鎿Ƃ̓W߁Aɗ‚悤
+ɂ̂łB~FAQ~Xg̍\́AȑÔ̂Ɣׂđ啝ɕύX
+Ă܂B\textbf{\ruby{V}{}\ɊւẮAu~FAQ~
+̓ǂݕƂ̍\v̍ڂ\ruby{Q}{}\ruby{}{傤}ĉ
+B}
+
+\end{CJK*}
+
+\end{document}
+
+%%% Local Variables:
+%%% coding: sjis
+%%% mode: latex
+%%% TeX-master: t
+%%% TeX-command-default: "CJKLaTeX"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/UTF8.tex b/Master/texmf-dist/doc/latex/cjk/examples/UTF8.tex
new file mode 100644
index 00000000000..c2247323bcd
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/UTF8.tex
@@ -0,0 +1,38 @@
+% This is the file UTF8.tex of the CJK package
+% for testing UTF 8 encoding.
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+\documentclass[12pt]{article}
+
+\usepackage{CJK}
+\usepackage[T1]{fontenc}
+
+% we want the Unicode font for normal text also
+\DeclareFontFamily{T1}{song}{}
+\DeclareFontShape{T1}{song}{m}{n}{<-> cyberb00}{}
+\renewcommand\rmdefault{song}
+
+
+\begin{document}
+
+\begin{CJK}{UTF8}{song}
+
+\noindent Hello World!
+
+\noindent Καλημέρα κόσμε
+
+\CJKnospace
+\noindent こんにちは 世界
+
+\end{CJK}
+
+\end{document}
+
+%%% Local Variables:
+%%% coding: utf-8
+%%% mode: latex
+%%% TeX-master: t
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/muletest.tex b/Master/texmf-dist/doc/latex/cjk/examples/muletest.tex
new file mode 100644
index 00000000000..008355b1fbb
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/muletest.tex
@@ -0,0 +1,149 @@
+% This is the file muletest.tex of the CJK package
+% for testing text written with Mule and Emacs 20.
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+% You need Emacs 20 (or Mule 2.3) to process this file!
+
+% You should load this file into Mule with `*internal*' encoding scheme
+% (C-u C-x C-f) and call `cjk-write-file' (M-x cjk-write-file).
+% Then run LaTeX on the file `muletest.cjk'.
+%
+% Under Emacs 20 type `C-x C-f muletest.tex' to load this file.
+%
+% `cjk-write-file' will be available after loading cjk-enc.el into Mule
+% (Emacs 20) with the commands load-file or load-library.
+%
+% If you don't have german.sty, comment out the `\usepackage{german}'
+% line.
+%
+% The T5 encoding is part of the VnTeX package (available at CTAN) which
+% contains Vietnamese fonts and other support files for both TeX and
+% LaTeX.
+%
+% Read cjk-enc.txt for more details.
+
+\documentclass[12pt]{article}
+
+\usepackage{inputenc} % load it without argument
+ % to avoid Babel warnings
+
+\usepackage[10pt]{type1ec} % use only 10pt fonts
+
+\usepackage{german}
+\usepackage[T5,T2A,LGR,OT1]{fontenc} % T2A is Cyrillic,
+ % LGR is Greek
+ % T5 is Vietnamese
+
+\usepackage[overlap, CJK]{ruby}
+\usepackage{pshan} % Korean Wansong PS fonts
+
+\CJKencfamily{Bg5}{bsmi}
+\CJKencfamily{GB}{gbsn}
+\CJKencfamily[dnp]{JIS}{min}
+
+\CJKfontenc{KS}{HL}
+\CJKfontenc{JIS}{dnp}
+
+\renewcommand{\rubysep}{-0.2ex}
+
+\begin{document}
+
+% suppress hyphenation completely since we don't use Babel and thus
+% don't know which \language corresponds to which hyphenation pattern
+\lefthyphenmin 65
+\raggedright
+
+\noindent FAQ ړ ݓǓ ד 듴 ܓ퓷
+瓽ē ϓ. FAQ Ǔ ϓ
+ȹ 擵Ǔϓ. \textbf{󓼼 ͓ `` FAQ 
+ Г ͓Γ'' 듸 ϓÓ ٓϓ.}
+
+\vspace{0.5cm}
+
+\noindent Dieses FAQ wurde erstellt, um hufig gestellte Fragen und
+ihre Antworten in einer geflligen Form zusammenzufassen. Die
+Struktur dieses FAQ wurde drastisch gendert seit der letzten Version.
+\textbf{Fr Details siehe den Abschnitt "`Wie lese ich dieses FAQ"'.}
+
+\vspace{0.5cm}
+
+\CJKtilde
+
+\noindent ʑʑ𑼯~(FAQ list)~ǑӑһЩʑđʑ⑼ʑđ
+Бԑ㑵đΑʽժҪđϑһ摲ͬđǑ䑱őᑹёבđ䑡
+\textbf{Бؑ‘ᑹđϸڑɑΑ瑺Αđʑ𑼯ˑ䑱őᑹ
+ Бđ˵}
+
+\vspace{0.5cm}
+
+\noindent ܘØØñ~(FAQ list)~ӘØØ˘Ƕ
+ñ䘡阧ʘӘ՘똦㘩ҘӘоù˭٘是Ҙɘ
+\textbf{ØƼù˭٘蘡Ԙ֘ܘØñ٘оù˭ט
+ 䘰ͪ}
+
+\vspace{0.5cm}
+
+\noindent This FAQ list was made to summarize some frequently asked
+questions and their answers in a convenient form. The structure of
+this FAQ list has drastically changed since the last version.
+\textbf{For details of the new structure, see the entry of `How to
+ read this FAQ and its structure'.}
+
+\vspace{0.5cm}
+
+\noindent ~FAQ~꒥Ȓϒ蒤뒼䒤ȒΒ򒽸ᒡ˒ΩĒ蒤
+˒⒤Βǒ~FAQ~꒥ȒΒ¤ϒʒΒ⒤ΒȒ撤ْƒ˒ђ
+쒤ƒޒ\textbf{\ruby{}{}¤˒ؒƒϒ֒~FAQ~
+ ΒɒߒȒΒ¤גΒܒ\ruby{}{}\ruby{}{璤}ƒ
+ }
+
+\vspace{0.5cm}
+
+\bgroup
+\fontencoding{T5}\selectfont
+
+\noindent Phn ``Nhng cu hi v gii p thߚng gp'' (vit tt t
+ting Anh l FAQ) ߚc nu ra y nhm mc ch thu thp nhng cu
+hi thߚng gp trong thc t v nhng li gii p thch hp nht ca
+n. T ln n bn cui cng 𚢪n nay, c nhng s thay 𚢱i kh ln
+trong cu trc ca FAQ. \textbf{𚢬 hiu r hn bn nn xem li chߚng
+ ``Lm sao ti c th c uc FAQ''.}
+\egroup
+
+\vspace{0.5cm}
+
+\bgroup
+\fontencoding{T2A}\selectfont
+
+\noindent ͌ތ ߌ،ތ ь ތЌҌیՌ Ԍی ܌܌،ތҌЌ݌، ݌Ռڌތތ Ќ
+׌ЌԌЌҌЌՌ܌ Ҍތߌތތ (FAQ), Ҍ܌Ռ ތҌՌЌ܌ ݌ ݌،, Ԍތь݌ތ ތ܌.
+ڌ ތӌ FAQ ڌЌԌ،݌Ќی݌ ،׌܌Ռ݌،یЌ ߌ ЌҌ݌Ռ݌، ߌތیՌԌ݌Ռ
+ҌՌ،Ռ. \textbf{ Ќ׌ԌՌی `Ќ ،Ќ ތ FAQ Ռӌ ڌ'
+ ތь݌Ռ݌ ԌՌЌی ތ ݌ތҌތ ڌ.}
+\egroup
+
+\vspace{0.5cm}
+
+\bgroup
+\fontencoding{LGR}\selectfont
+
+\noindent ߆ ӆԆ ( ݆ ކ) ݆
+ ܆ ܆ ݆ ކ
+ކ . ܆ ކ ߆ ܆
+߆ ݆ . \textbf{Æ ݆ ܆ ݆
+ ܆, ݆ ކ <<І ܆ ӆԆ
+ ߆ ݆>>.}
+\egroup
+
+\end{document}
+
+
+%%% Local Variables:
+%%% coding: emacs-mule
+%%% mode: latex
+%%% TeX-master: t
+%%% TeX-command-default: "CJKLaTeX"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/py_test.tex b/Master/texmf-dist/doc/latex/cjk/examples/py_test.tex
new file mode 100644
index 00000000000..6bd2a966549
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/py_test.tex
@@ -0,0 +1,43 @@
+% This is the file py_test.tex of the CJK package
+% for testing pinyin syllables with LaTeX2e
+%
+% created by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+\documentclass{article}
+
+\usepackage{pinyin}
+
+
+\begin{document}
+
+\Huge
+
+{\Wo3 \hen3 \xi3\huan1 \lv3\xing2.}
+
+{\slshape
+ \Wo3 \hen3 \xi3\huan1 \lv3\xing2.}
+
+{\itshape
+ \Wo3 \hen3 \xi3\huan1 \lv3\xing2.}
+
+{\bfseries
+ \Wo3 \hen3 \xi3\huan1 \lv3\xing2.}
+
+{\sffamily
+ \Wo3 \hen3 \xi3\huan1 \lv3\xing2.}
+
+{\ttfamily
+ \Wo3 \hen3 \xi3\huan1 \lv3\xing2.}
+
+{\bfseries\sffamily
+ \Wo3 \hen3 \xi3\huan1 \lv3\xing2.}
+
+\PYdeactivate
+$\Xi, \xi, \Re$
+\PYactivate
+
+\Zhen1de \bu2 \cuo4 ne!
+
+\end{document}
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/rubytest.tex b/Master/texmf-dist/doc/latex/cjk/examples/rubytest.tex
new file mode 100644
index 00000000000..30eee7a4ae2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/rubytest.tex
@@ -0,0 +1,56 @@
+% This is the file rubytest.tex of the CJK package
+% for testing ruby with LaTeX2e
+%
+% created by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+% You need Emacs 20 (or Mule 2.3) to process this file!
+
+% You should load this file into Mule with `*internal*' encoding scheme
+% (C-u C-x C-f) and call `cjk-write-file' (M-x cjk-write-file).
+% Then run LaTeX on the created file `rubytest.cjk'.
+%
+% Under Emacs 20 type `C-x C-f rubytest.tex' to load this file.
+%
+% `cjk-write-file' will be available after loading cjk-enc.el into Mule
+% (Emacs 20) with the commands load-file or load-library.
+
+\documentclass[12pt]{article}
+
+\usepackage[overlap, CJK]{ruby}
+\usepackage{pinyin}
+
+\CJKencfamily{Bg5}{bsmi}
+\CJKencfamily[dnp]{JIS}{min}
+
+\CJKfontenc{JIS}{dnp}
+
+\renewcommand{\rubysep}{-0.3ex}
+
+
+\begin{document}
+
+{
+\rubylatin
+\renewcommand{\rubysize}{1}
+
+\ruby{\wo3}{} \ruby{\hen3}{} \ruby{\xi3}{}\ruby{\huan1}{}
+\ruby{\chi1}{} \ruby{\Zhong1}{}\ruby{\guo2}{}
+\ruby{\cai4}{}\ruby{.}{}
+}
+
+\Large
+
+\ruby{}{ϒ}\ruby{}{}\ruby{}{}\ruby{}{}
+
+\ruby{}{}\ruby{}{ߒ}ؒԒ
+
+\end{document}
+
+%%% Local Variables:
+%%% coding: emacs-mule
+%%% mode: latex
+%%% TeX-master: t
+%%% TeX-command-default: "CJKLaTeX"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/thai.tex b/Master/texmf-dist/doc/latex/cjk/examples/thai.tex
new file mode 100644
index 00000000000..278aa0021c1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/thai.tex
@@ -0,0 +1,37 @@
+% This is the file thai.tex of the CJK package
+% for testing Thai (in TIS-620 encoding).
+%
+% written by Werner Lemberg <wl@gnu.org>
+%
+% Version 4.8.0 (22-May-2008)
+
+% This file should be processed with cjk-enc.el to get
+%
+% . proper word breaks
+% . font switching between Thai and non-Thai
+% . intercharacter glue
+%
+% Please read cjk-enc.txt for usage instructions.
+
+
+\documentclass[12pt]{article}
+
+\usepackage[thaicjk]{babel}
+
+
+\begin{document}
+
+¡ FAQ ҧػӶѹ¤ФӵͺӶٻẺдǡ.
+çҧͧ¡ FAQ ¹ҡ蹷.
+\textbf{´Ѻçҧҡǧ ``çҧԸաҹ
+ FAQ.''}
+
+\end{document}
+
+
+%%% Local Variables:
+%%% coding: thai-tis620
+%%% mode: latex
+%%% TeX-master: t
+%%% TeX-command-default: "CJKLaTeX"
+%%% End:
diff --git a/Master/texmf-dist/doc/latex/cjk/examples/xCJK.tex b/Master/texmf-dist/doc/latex/cjk/examples/xCJK.tex
new file mode 100644
index 00000000000..5a0165e5268
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/cjk/examples/xCJK.tex
@@ -0,0 +1,127 @@
+% This is the file xCJK.tex of the CJK package
+% for testing the xCJK style file.
+%
+% written by SUN Wenchang <sunwch@hotmail.com>
+%
+% Version 4.8.0 (22-May-2008)
+
+% Read xCJK.txt for more details.
+
+\documentclass[12pt]{article}
+\usepackage[bookmarks=true,
+ bookmarksopen=true,
+ dvipdfm]{hyperref}
+
+\usepackage[CJK, overlap]{ruby}
+\usepackage[boldfont]{xCJK}
+\usepackage{CJKulem}
+
+\setmainfont{Times New Roman}
+
+
+% You can specify a different default font for CJK characters.
+\setCJKmainfont{Bitstream Cyberbit}
+
+% You can also specify a font for a certain CJK family.
+\setCJKfamilyfont{SimpChinese}[BoldFont={SimHei},
+ ItalicFont={FZKaiTi}]{SimSun}
+\setCJKfamilyfont{TChinese}{FZMingTiB}
+\setCJKfamilyfont{Japanese}{MS Gothic}
+\setCJKfamilyfont{Korean}{Batang}
+
+\renewcommand{\rubysep}{-0.3ex}
+
+
+\begin{document}
+
+\begin{CJK*}{UTF8}{song}
+
+
+Samples for using the font specified with \verb|\setCJKmainfont|.
+
+\section{本常问问答集}
+
+本常问问答集~(FAQ list)~是从一些经常被问到的问题及其适当的解答中,以方
+便的形式摘要而出的。\uline{跟上一版不同的是,其编排结构已彻底改变。}
+\textbf{有关新结构的细节,可参考「如何阅读本问答集及了解其编排结构」该
+ 项中的说明。}
+
+
+\section{本常問問答集}
+
+本常問問答集~(FAQ list)~是從一些經常被問到的問題及其適當的解答中,以方
+便的形式摘要而出的。\uline{跟上一版不同的是,其編排結構已徹底改變。}
+\textbf{有關新結構的細節,可參考「如何閱讀本問答集及了解其編排結構」該
+ 項中的說明。}
+
+
+\section{この}
+
+この~FAQ~リストは、よくある質問とその答を集め、役に立つようにしたもので
+す。\uline{この~FAQ~リストの構造は、以前のものと比べて大幅に変更されて
+ います。}\textbf{\ruby{新}{あたら}しい構造に関しては、「この~FAQ~ の
+ 読み方とその構造」の項目を\ruby{参}{さん}\ruby{照}{しょう}して下さい。}
+
+
+\CJKspace
+\section{이}
+
+이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
+모아 엮어졌습니다. \uline{이 FAQ 의 구조는 지난 판에 비하여 획기적으로
+ 변경되었습니다.} \textbf{상세한 것은 “이 FAQ 을 어떻게 읽을
+ 것인가” 라는 대목을 참조하시기 바랍니다.}
+
+
+\newpage
+
+
+Samples for using fonts specified with \verb|\setCJKfamilyfont|.
+
+\CJKnospace
+\CJKfamily{SimpChinese}
+\section{本常问问答集}
+
+本常问问答集~(FAQ list)~是从一些经常被问到的问题及其适当的解答中,以方
+便的形式摘要而出的。\uline{跟上一版不同的是,其编排结构已彻底改变。}
+\textbf{有关新结构的细节,可参考「如何阅读本问答集及了解其编排结构」该
+ 项中的说明。}\textit{本常问问答集~(FAQ list)~是从一些经常被问到的问题
+ 及其适当的解答中,以方便的形式摘要而出的。}
+
+
+\CJKfamily{TChinese}
+\section{本常問問答集}
+
+本常問問答集~(FAQ list)~是從一些經常被問到的問題及其適當的解答中,以方
+便的形式摘要而出的。\uline{跟上一版不同的是,其編排結構已徹底改變。}
+\textbf{有關新結構的細節,可參考「如何閱讀本問答集及了解其編排結構」該
+ 項中的說明。}
+
+
+\CJKfamily{Japanese}
+\section{この}
+
+この~FAQ~リストは、よくある質問とその答を集め、役に立つようにしたもので
+す。\uline{この~FAQ~リストの構造は、以前のものと比べて大幅に変更されて
+ います。}\textbf{\ruby{新}{あたら}しい構造に関しては、「この~FAQ~ の
+ 読み方とその構造」の項目を\ruby{参}{さん}\ruby{照}{しょう}して下さい。}
+
+
+\CJKspace
+\CJKfamily{Korean}
+\section{이}
+
+이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
+모아 엮어졌습니다. \uline{이 FAQ 의 구조는 지난 판에 비하여 획기적으로
+ 변경되었습니다.} \textbf{상세한 것은 “이 FAQ 을 어떻게 읽을
+ 것인가” 라는 대목을 참조하시기 바랍니다.}
+
+\end{CJK*}
+
+\end{document}
+
+
+%%% Local Variables:
+%%% coding: utf-8
+%%% mode: latex
+%%% TeX-master: t
+%%% End: