summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-07-16 17:12:32 +0000
committerKarl Berry <karl@freefriends.org>2007-07-16 17:12:32 +0000
commitcdc057d0c6bc289fb757b60024ada53615e5ff4e (patch)
tree8499037431a124f849bf56d34d3f19fc39cb2e7c /Master
parent18ea95383394cd5fabb9aaeb2c697a63ca4f7972 (diff)
new babel support package japanese (21jun07)
git-svn-id: svn://tug.org/texlive/trunk@4632 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/japanese/README60
-rw-r--r--Master/texmf-dist/doc/latex/japanese/langxmpl.dat8
-rw-r--r--Master/texmf-dist/doc/latex/japanese/readme.pdfbin0 -> 114684 bytes
-rw-r--r--Master/texmf-dist/doc/latex/japanese/readme.tex8
-rw-r--r--Master/texmf-dist/doc/latex/japanese/sample.pdfbin0 -> 44594 bytes
-rw-r--r--Master/texmf-dist/doc/latex/japanese/sample.tex8
-rw-r--r--Master/texmf-dist/source/latex/japanese/japanese.drv33
-rw-r--r--Master/texmf-dist/source/latex/japanese/japanese.dtx339
-rw-r--r--Master/texmf-dist/source/latex/japanese/japanese.ins54
-rw-r--r--Master/texmf-dist/tex/latex/japanese/japanese.ldf33
-rw-r--r--Master/texmf-dist/tex/latex/japanese/japanese.sty24
-rw-r--r--Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/japanese.tlpsrc2
13 files changed, 570 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/japanese/README b/Master/texmf-dist/doc/latex/japanese/README
new file mode 100644
index 00000000000..05ee0776097
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/japanese/README
@@ -0,0 +1,60 @@
+1. SUMMARY
+
+Currently, the babel package does not provide a Japanese option.
+This package behaves in a similar way as if you provided
+(non-existent) Japanese option in the babel package so that you
+can handle Japanese language with it.
+
+
+2. ENCODINGS
+
+Japanese language has three major encodings: EUC-JP, JIS and
+SJIS (you may want to add UTF-8 to the above). A user must adapt
+this package to the Japanese encoding he/she is using.
+
+The included japanese.dtx is encoded in JIS (ISO-2022-JP). Users
+using other encodings must covert that file to suit their
+environment before installation. Do the following in the directory
+which contain japanese.dtx:
+
+ 1) EUC-JP
+ mv japanese.dtx japanese.dtx.orig
+ iconv -f ISO-2022-JP -t EUC-JP japanese.dtx.orig > japanese.dtx
+
+ 2) SJIS (for Windows)
+ mv japanese.dtx japanese.dtx.ori
+ iconv -f ISO-2022-JP -t CP932 japanese.dtx.orig > japanese.dtx
+
+
+3. INSTALLATION
+
+ 1) Process japanese.ins with a TeX which is capable of handling
+ Japanese language, e.g.
+
+ ptex japanese.ins
+
+ 2) Read langxmpl.dat and create language.dat file following the
+ instruction of the file (you may simply rename it).
+
+ 3) Process documentation, readme.tex and sample.tex, as you wish.
+
+ 4) Deploy the directory or files in an appropriate place under
+ the TeX tree.
+
+ 5) Execute mktexlsr.
+
+
+4. COPYRIGHT
+
+Copyright (C) 1999 by ING
+
+This package is free software that can be redistributed and/or
+modified under the terms of the LaTeX Project Public License as
+specified in the file `macros/latex/base/lppl.txt on any CTAN
+archive server, such as http://ring.wakwak.com/pub/text/CTAN/.
+
+Maintained by ING,
+using ideas by bookworm, Tony, and Ohishi.
+
+Please report errors to: ING
+ t-ing@tbh.t-com.ne.jp
diff --git a/Master/texmf-dist/doc/latex/japanese/langxmpl.dat b/Master/texmf-dist/doc/latex/japanese/langxmpl.dat
new file mode 100644
index 00000000000..9673363ab2f
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/japanese/langxmpl.dat
@@ -0,0 +1,8 @@
+%%
+%% This is file `langxmpl.dat',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% japanese.dtx (with options: `dat')
+%%
diff --git a/Master/texmf-dist/doc/latex/japanese/readme.pdf b/Master/texmf-dist/doc/latex/japanese/readme.pdf
new file mode 100644
index 00000000000..09386e2016e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/japanese/readme.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/japanese/readme.tex b/Master/texmf-dist/doc/latex/japanese/readme.tex
new file mode 100644
index 00000000000..5b3df828efa
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/japanese/readme.tex
@@ -0,0 +1,8 @@
+%%
+%% This is file `readme.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% japanese.dtx (with options: `readme')
+%%
diff --git a/Master/texmf-dist/doc/latex/japanese/sample.pdf b/Master/texmf-dist/doc/latex/japanese/sample.pdf
new file mode 100644
index 00000000000..684b775c207
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/japanese/sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/japanese/sample.tex b/Master/texmf-dist/doc/latex/japanese/sample.tex
new file mode 100644
index 00000000000..971680be154
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/japanese/sample.tex
@@ -0,0 +1,8 @@
+%%
+%% This is file `sample.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% japanese.dtx (with options: `sample')
+%%
diff --git a/Master/texmf-dist/source/latex/japanese/japanese.drv b/Master/texmf-dist/source/latex/japanese/japanese.drv
new file mode 100644
index 00000000000..be5d6b36fe0
--- /dev/null
+++ b/Master/texmf-dist/source/latex/japanese/japanese.drv
@@ -0,0 +1,33 @@
+%%
+%% This is file `japanese.drv',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% japanese.dtx (with options: `driver')
+%%
+%% This file is part of the `japanese' package,
+%% providing Japanese language.
+%%
+%% Copyright (C) 1999 by ING
+%%
+%% This package is free software that can be redistributed and/or
+%% modified under the terms of the LaTeX Project Public License as
+%% specified in the file `macros/latex/base/lppl.txt on any CTAN
+%% archive server, such as http://ring.wakwak.com/pub/text/CTAN/.
+%%
+%% Maintained by ING,
+%% using ideas by bookworm, Tony, and Ohishi.
+%%
+%% Please report errors to: ING
+%% t-ing@tbh.t-com.ne.jp
+%%
+\ProvidesFile{japanese.drv}
+\documentclass{ltxdoc}
+\setcounter{StandardModuleDepth}{1}
+\CodelineNumbered
+\MakeShortVerb{\|}
+\OnlyDescription
+\begin{document}
+ \DocInput{japanese.dtx}
+\end{document}
diff --git a/Master/texmf-dist/source/latex/japanese/japanese.dtx b/Master/texmf-dist/source/latex/japanese/japanese.dtx
new file mode 100644
index 00000000000..eb6226b9892
--- /dev/null
+++ b/Master/texmf-dist/source/latex/japanese/japanese.dtx
@@ -0,0 +1,339 @@
+% \iffalse meta comment
+%
+% Copyright (c) ING 1999-2006
+%
+% \fi
+%
+% \iffalse
+%<*!fdl>
+%<*driver>
+\ProvidesFile{japanese.drv}
+%</driver>
+%
+%<*driver>
+\documentclass{ltxdoc}
+\setcounter{StandardModuleDepth}{1}
+\CodelineNumbered
+\MakeShortVerb{\|}
+\OnlyDescription
+\begin{document}
+ \DocInput{japanese.dtx}
+\end{document}
+%</driver>
+%</!fdl>
+% \fi
+%
+% \parindent=1zw
+% \def\babel{{\sffamily babel}$B%7%9%F%`(B}
+% \title{Babel-Option {\sffamily japanese} \\ {\Large version 1.1}}
+% \author{Copyright \copyright 1999, 2006 ING}
+% \date{}
+% \maketitle
+% \baselineskip=15pt
+% \def\abstractname{$B35(B $BMW(B}
+% \begin{abstract}
+% {\sffamily japanese}$B%Q%C%1!<%8$O(B\babel{}$B$NF|K\8l%*%W%7%g%s$rDj5A(B
+% $B$7$?%^%/%m=8$G$9!#8=9T$N(B\babel{}$B$K$OF|K\8l%*%W%7%g%s$,Dj5A$5$l$F(B
+% $B$$$J$$$N$G!$K\%Q%C%1!<%8$G$O(B |\usepackage{japanese}|$B$G(Bjapanese.ldt
+% $B%U%!%$%k$rFI$_9~$s$G$$$^$9!#(B
+% \end{abstract}
+%
+% \section*{japanese.ldf}
+%
+% japanese.ldf$B$O!$8+=P$78l$HF|IU$rF|K\8l$G=PNO$9$k$?$a$N%^%/%m$r(B
+% $BDj5A$7$?%U%!%$%k!J(Blanguagedefinition file$B!K$G$9!#(B
+%
+% \DescribeMacro{\LdfInit}
+% |\LdfInit|$B%^%/%m$O(Bjapanese.ldf$B$rFs=E$KFI$_9~$^$J$$$h$&$KKI;_$7$^$9!#(B
+% \begin{macrocode}
+%<*ldf>
+\LdfInit{japanese}\captionsjapanese
+% \end{macrocode}
+% \DescribeMacro{\l@japanese}
+% $B<!$K!$(B|\l@japanese|$B%3%^%s%I$,Dj5A$5$l$F$$$k$+H]$+$rH=CG$7$^$9!#(B
+% $BDj5A$5$l$F$$$l$P!$(B\babel{}$B$OF|K\8lMQ$K;XDj$7$?%O%$%U%M!<%7%g%s%Q%?!<%s$r(B
+% $BFI$_9~$_$^$9!#(B
+% \DescribeMacro{\adddialect}
+% $BDj5A$5$l$F$$$J$1$l$P(B |\adddialect|$B$G!$%G%U%)%k%H$N8@8lHV9f(B0$B$N!J(Blanguage.dat
+% $B$G:G=i$K;XDj$7$?8@8l!$DL>o$O1Q8l!K%Q%?!<%s$rFI$_9~$_$^$9!#(B
+%
+% \babel{}$B$K$O(B |\addlanguage{|{\itshape language}|}|$B%^%/%m$,$"$j!$?7$7$$(B
+% $B8@8l(B{\itshape language}$B$rDj5A$9$k$N$K;H$o$l$^$9!#$=$3$G!$$3$N%^%/%m$r(B
+% $BDj5A$7$F$*$1$P!$F|K\8lMQ$K309q8l$N%O%$%U%M!<%7%g%s%Q%?!<%s$rFI$_9~$^(B
+% $B$J$/$F$b!$8+=P$78l$HF|IU$r@Z$jBX$($F;H$&$3$H$,$G$-$^$9!#$7$+$7!$B>$N8@8l(B
+% $B$H$N8_49@-!$$*$h$S<+F0%O%$%U%s5!G=$,F/$+$J$$$?$a!$(Boverfull$B$,B3=P$9$k$N$G!$(B
+% $B2?$l$+$N8@8lMQ%O%$%U%M!<%7%g%s%Q%?!<%s$rFI$_9~$s$G$*$-$^$9!#(B
+%
+% {\sffamily japanese}$B%Q%C%1!<%8$G$O!$(Blanguage.dat$B$G1Q8lMQ%O%$%U%M!<%7%g%s(B
+% $B%Q%?!<%s$rFI$_9~$`$3$H$G(B |\l@|{\itshape lang}$B%3%^%s%I!$$D$^(B
+% $B$j(B |\l@japanese|$B$rDj5A$7$F$$$^$9!#(B
+% \begin{macrocode}
+\ifx\l@japanese\@undefined
+ \@nopatterns{Japanese}
+ \adddialect\l@japanese0\fi
+% \end{macrocode}
+% \DescribeMacro{\captionsjapanese}
+% |\captionsjapanese|$B%^%/%m$O(B\LaTeX{}$B$NI8=`$N%/%i%9%U%!%$%k$G;H$o$l$k(B
+% $B8+=P$78l$rF|K\8l$G=PNO$7$^$9!#(B
+% \begin{macrocode}
+\addto\captionsjapanese{%
+ \def\prefacename{$BA0(B $B=q(B $B$-(B}%
+ \def\refname{$B;29MJ88%(B}%
+ \def\abstractname{$B35(B $BMW(B}%
+ \def\bibname{$B4XO"?^=q(B}%
+ \def\chaptername{$BBh(B\protect\@Jchp $B>O(B}%
+ \def\@Jchp{\thechapter\def\thechapter{}}%
+ \def\appendixname{$BIU(B $BO?(B}%
+ \def\contentsname{$BL\(B $B<!(B}%
+ \def\listfigurename{$B?^(B $BL\(B $B<!(B}%
+ \def\listtablename{$BI=(B $BL\(B $B<!(B}%
+ \def\indexname{$B:w(B $B0z(B}%
+ \def\figurename{$B?^(B}%
+ \def\tablename{$BI=(B}%
+ \def\partname{$BBh(B\protect\@Jpt $BIt(B}%
+ \def\@Jpt{\thepart\def\thepart{}}}%
+% \end{macrocode}
+% \DescribeMacro{\datejapanese}
+% |\datejapanese|$B%^%/%m$OF|K\8l$GF|IU$r=PNO$9$k$h$&$K(B |\today|$B%3%^%s%I$r(B
+% $B:FDj5A$7$^$9!#%G%U%)%k%H$N=PNO$O@>Nq!J!V(B1999$BG/(B1$B7n(B10$BF|!W$N7A<0!K$G$9!#(B
+% $BG/7nF|$H?t;z$N4V$K$ODL>o$N%9%Z!<%9$,F~$j$^$9!#(B
+% \begin{macrocode}
+\def\datejapanese{%
+ \newif\if$B@>Nq(B \$B@>Nq(Btrue%
+ \def\$B@>Nq(B{\$B@>Nq(Btrue}%
+ \def\$BOBNr(B{\$B@>Nq(Bfalse}%
+ \def\today{%
+ \if$B@>Nq(B%
+ \number\year $BG/(B\nobreak \number\month $B7n(B\nobreak \number\day $BF|(B%
+ \else \@tempcnta\year%
+ \advance\@tempcnta-1988 $BJ?@.(B%
+ \ifnum \@tempcnta =1 $B85(B\else\number\@tempcnta\fi%
+ $BG/(B\nobreak \number\month $B7n(B\nobreak\number\day $BF|(B\fi}}
+% \end{macrocode}
+% \DescribeMacro{\extrasjapanese}
+% |\extrasjapanese|$B%^%/%m$N0z?t$K$O!$F|K\8l$K$h$kAHHG>e$N5,B'$K!$FCJL$J(B
+% $BDj5A$rDI2C$9$k$3$H$,$G$-$^$9!#(B|\nonextrasjapanese|$B%^%/%m$ODI2C$7$?Dj5A$r(B
+% \DescribeMacro{\nonextrasjapanese}
+% $B%-%c%s%;%k$7$^$9!#8=:_$OI,MW$,$J$$$N$G0z?t$O6u$G$9!#(B
+% \begin{macrocode}
+\addto\extrasjapanese{}
+\addto\noextrasjapanese{}
+\ldf@finish{japanese}
+%</ldf>
+% \end{macrocode}
+%
+% \section*{japanese.sty}
+%
+% japanese.sty$B$O(Bjapanese.ldf$B$rFI$_9~$`$?$a$N%Q%C%1!<%8%U%!%$%k$G$9!#(B
+% \begin{macrocode}
+%<+package>\ifx\Ldfinit\@undefined
+%<+package>\def\Ldfinit{%
+%<+package> \chardef\atcatcode=\catcode`\@
+%<+package> \catcode`\@=11\relax
+%<+package> \input babel.def\relax
+%<+package> \catcode`\@=\atcatcode \let\atcatcode\relax
+%<+package> \Ldfinit}\fi
+%<+package>\input japanese.ldf\relax
+% \end{macrocode}
+%
+% \section*{langxmpl.dat}
+%
+% langxmpl.dat$B$O(BINI\TeX{}$B$G3F8@8lMQ%O%$%U%M!<%7%g%s%Q%?!<%s$N(B
+% $BFI$_9~$_$r@)8f$9$k(Blanguage.dat$B$N%5%s%W%k$G$9!#(B
+%
+% \begin{macrocode}
+%<+dat>%% langxmpl.dat$B$r(Blanguage.dat$B$H%j%M!<%`$7$F$*;H$$$/$@$5$$!#(B
+%<+dat>%% \endinput$B$N9T$O:o=|$7$F$/$@$5$$!#(B
+%<+dat>%%
+%<+dat>=USenglish
+%<+dat>%%american ushyphen.tex
+%<+dat>%%ukhyphen.tex$B$O(Bhyphen.tex$B$r%j%M!<%`$7$?$b$N$G$9!#(B
+%<+dat>english ukhyphen.tex
+%<+dat>=UKenglish
+%<+dat>=british
+%<+dat>%%french fhyph.tex
+%<+dat>%%pTeX 2.1.5$B$G$O(BCTAN:/digests/tugboat/germanhy.tex$B$r;H$$$^$9!#(B
+%<+dat>%%german germanhy.tex
+%<+dat>japanese ukhyphen.tex
+%<+dat>%%$B<!$N#19T$O!cI,$:!d:o=|$7$F$/$@$5$$!#(B
+% \end{macrocode}
+% \rightline{1999$BG/(B1$B7n(B}
+% \rightline{ING $<$t-ing@tbh.t-com.ne.jp$>$}
+%
+% \StopEventually{}
+%
+% \begin{macrocode}
+%<*readme>
+\documentclass{jarticle}
+\def\babel{\textsf{babel}$B%7%9%F%`(B}
+\def\japanese{\textsf{japanese}$B%Q%C%1!<%8(B}
+\begin{document}
+\title{Babel-Option {\sffamily japanese} \\ {\Large version 1.0}}
+\author{Copyright \copyright 1999 ING}
+\date{}
+\maketitle
+
+\section*{$B35MW(B}
+
+japanese$B%Q%C%1!<%8$O(B \babel{}$B$NF|K\8l%*%W%7%g%s$rDj5A$7$?%^%/%m=8$G$9!#(B
+$B0J2<$N%U%!%$$r4^$s$G$$$^$9!#(B
+\begin{quote}
+\begin{tabular}{l@{$B!'(B }l}
+japanese.ldf & $BF|K\8lDj5A%U%!%$%k(B \\
+japanese.sty & japanese.ldf$B$rFI$_9~$`%9%?%$%k%U%!%$%k(B \\
+japanese.drv & japanese.dtx$B$rJ8=q2=$9$k$?$a$N%I%i%$%P%U%!%$%k(B \\
+langxmpl.dat & language.dat$B$N%5%s%W%k(B \\
+readme.tex & $B$3$N%U%!%$%k(B \\
+sample.tex & \verb+\iflanguage+$B$H(B \verb+\selectlanguage+$B$N;HMQNc(B
+\end{tabular}
+\end{quote}
+
+\babel{}$B$K$O(B japanese$B%*%W%7%g%s$,Dj5A$5$l$F$$$^$;$s!#$=$3$G!$(Bjapanese.sty$B$H(B
+$B%O%$%U%M!<%7%g%s%Q%?!<%s$rFI$_9~$s$G!V8@8l(Bjapanese$B!W$r(B \babel{}$B$KDI2C$7$^$9!#(B
+
+\section*{$B%$%s%9%H!<%k(B}
+
+$B%$%s%9%H!<%k$O<!$N(B2$BCJ3,$G$9!#(B
+\begin{enumerate}
+\item $B%O%$%U%M!<%7%g%s%Q%?!<%s$r%U%)!<%^%C%H%U%!%$%k$KFI$_9~$`!#(B
+\item japanese.sty$B$rFI$_9~$`!#(B
+\end{enumerate}
+
+$BF|K\8l$K$O%O%$%U%M!<%7%g%s=hM}$,$"$j$^$;$s!#$7$+$7!$2?$i$+$N(B
+$B%O%$%U%M!<%7%g%s%Q%?!<%s$r%U%)!<%^%C%H%U%!%$%k$KFI$_9~$s$G$*$+$J$1$l$P!$(B
+$B2$J8C18l$N<+F0%O%$%U%s=hM}$O9T$o$l$:(BOverfull$B$K$J$j$^$9!#(B
+$B$^$?!$(B\verb+\iflanguage+$B%3%^%s%I$G!$8=:_$I$N8@8l$,%"%/%F%#%V$J$N$+$r(B
+$BD4$Y$k$3$H$,$G$-$^$;$s!#(B
+
+$B$3$3$G$OL5Fq$K!$1Q8l$N%O%$%U%M!<%7%g%s%Q%?!<%s$r%U%)!<%^%C%H%U%!%$%k$K(B
+$BFI$_9~$s$G$*$/$3$H$r$*4+$a$7$^$9!#$J$*!$1Q8l$N%O%$%U%M!<%7%g%s%Q%?!<%s$O!$(B
+\LaTeX{}$B$NG[I[%Q%C%1!<%8$K4^$^$l$F$$$k(Bhyphen.tex$B$r%j%M!<%`(B\footnote{%
+$B87L)$K8@$($P!$JF8l$H1Q8l$N%O%$%U%M!<%7%g%s$O0[$J$j$^$9!#$3$3$G$OJX59E*$K(B
+$BN><T$rF10l$N$b$N$H$7$F07$C$F$$$^$9!#(B}$B$7$FFI$_9~$_$^$9!#(B
+langxmpl.dat$B$r;2>H$7$F$/$@$5$$!#!JCm0U!'(B\LaTeX{}$B$NG[I[%Q%C%1!<%8$K4^$^$l(B
+$B$F$$$k(Bhyphen.cfg$B$r(Bphyphen.cfg$B$J$I$N$h$&$K%j%M!<%`$7$F$*$$$F$/$@$5$$!#!K(B
+
+\japanese{}$B$G$O(Bbabel$B$N%*%W%7%g%s$G(B \verb+japanese+$B$r;XDj$9$k$N$G$O$J$/!$(B
+japanese.sty$B$rC1FH$GFI$_9~$_$^$9!#(B
+$B$3$N>l9g%G%U%)%k%H$N8@8l$OF|K\8l$G$9!#(B
+\begin{quote}\small\begin{verbatim}
+\documentclass{jreport}
+\usepackage[...,english,...]{babel}
+\usepackage{japanese}
+\begin{document}
+$BK\J8(B
+\end{document}
+\end{verbatim}\end{quote}
+
+\section*{$BHw9M(B}
+
+\babel{}$B$,%5%]!<%H$9$kB>$N8@8l$HF1$8;H$$J}$r$9$k$H$-$O!$(Bbabel.sty$B$r(B
+$B=$@5$7$^$9!#(Bbabel.sty$B$r(Bmybabel.sty$B$J$I$K%3%T!<$7$F!$$=$l$K<!$N#19T$r(B
+$BDI2C$7$^$9!#(B
+\begin{quote}
+\verb+\DeclareOption{japanese}{\input{japanese.ldf}}+
+\end{quote}
+$B;H$$J}$NNc$r<($7$^$9!#%G%U%)%k%H$N8@8l$O!$%*%W%7%g%s$G:G8e$K;XDj$7$?(B
+$B8@8l$K$J$j$^$9!#(B
+\begin{quote}\small\begin{verbatim}
+\documentclass{jreport}
+\usepackage[english,japanese,...]{mybabel}
+\begin{document}
+$BK\J8(B
+\end{document}
+\end{verbatim}\end{quote}
+$B$3$3$G2~JQ$7$?(Bmybabel.sty$B$O8D?ME*$J;HMQ$K;_$a$F$/$@$5$$!#(B
+
+\section*{$B<U<-(B}
+
+Babel-Option {\sffamily japanese}$B$N:n@.$KEv$C$F!$%P%0%U%#%C%/%9$d2~NI0F$r(B
+$B$4Ds0F$$$?$@$$$?J}$K46<U$7$^$9!#(B
+
+bookworm $<$BYV01204$>$$B$5$s$+$i!$?7$7$$8@8l$rDj5A$7!$$=$l$K8GM-$N(B
+$B8@8lHV9f$rIU$1$k%^%/%m(B \verb+\addlanguage+$B$N5!G=$K$D$$$F!$>\$7$$(B
+$B2r@b$r$$$?$@$-$^$7$?!#K\%Q%C%1!<%8$G$O:NMQ$7$F$$$^$;$s$,!$(B\babel{}
+$B$N8@8l@Z$jBX$(5!G=$rM}2r$9$k>e$G$?$$$X$s;29M$K$J$j$^$7$?!#(B
+
+Tony $<$PAG01322$>$$B$5$s$+$i!$%-%c%W%7%g%s$HF|IU$NDj5A$K$D$$$F(B
+$B$4Ds0F$r$$$?$@$-$^$7$?!#(B
+
+$BBg@P>!(B $<$DZH00446$>$$B$5$s$+$i!$=iHG$K4^$^$l$F$$$?(B \verb+\ifx\undefined+
+$B$N%P%0$r$4;XE&$$$?$@$-$^$7$?!#(B
+
+\section*{COPYRIGHT NOTICE}
+
+This package is free software that can be redistributed and/or modified
+under the terms of the \LaTeX{} Project Public License as specified in
+the file \texttt{macros/latex/base/lppl.txt} on any CTAN archive server,
+such as \texttt{http:/ring.wakwak.com/pub/text/CTAN/}.
+
+\section*{$BJQ99MzNr(B}
+
+$BF|IU$NDj5A$K=iJbE*$J%_%9$,$"$C$?$N$r=$@5$7$^$7$?!#!J(B2005$BG/(B2$B7n!K(B
+\bigskip
+
+\rightline{2005$BG/(B2$B7n(B}
+\rightline{ING $<$t-ing@tbh.t-com.ne.jp$>$}
+\end{document}
+%</readme>
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<*sample>
+\documentclass{report}
+\usepackage[german,english]{babel}
+\usepackage{japanese}
+\makeatletter
+\def\tbcaption{\def\@captype{table}\caption}
+\makeatother
+\def\yes{--- $B$O$$!#:#F|$O(B\today $B$G$9!#(B \tbcaption{$B%-%c%W%7%g%s$NNc(B}}
+\def\no{--- $B$$$$$((B}
+\def\TEXT{Textverarbeitung mit einem Rechner kann in vielf\"altiger Weise
+erfolgen. Eigenschaften und Leistungsf\"ahigkeit sind hierbei weniger
+vom jeweiligen Rechnertype, sondern vielmehr vom verwendeten
+\textit{Textverarbeitungsprogramm} bestimmt.}
+\def\se{\selectlanguage{english}}
+\def\sj{\selectlanguage{japanese}}
+\def\sg{\selectlanguage{german}}
+\setlength{\textheight}{23cm}
+\begin{document}
+\se
+\chapter{babel}
+$B:G=i$O1Q8l$@$C$?$O$:$@$,(B.... $B!J(Blanguage$B$NCM$O(B\the\language$B!K(B
+
+\bigskip
+\TEXT
+
+$B$3$3$O1Q8l!)(B \iflanguage{english}{\yes}{\no}\par
+-- --$B%I%$%D8l!)(B \iflanguage{german}{\yes}{\no}\par
+-- --$BF|K\8l!)(B \iflanguage{japanese}{\yes}{\no}
+
+\sj
+\begin{flushright}
+$B!J$3$3$GF|K\8l$KJQ99$9$k!#(Blanguage$B$NCM$O(B\the\language$B!K(B
+\end{flushright}
+
+\TEXT
+
+$BJQ$@$J!$$3$3$O1Q8l!)(B \iflanguage{english}{\yes}{\no}\par
+-- --$B%I%$%D8l!)(B \iflanguage{german}{\yes}{\no}\par
+-- --$BF|K\8l!)(B \iflanguage{japanese}{\yes}{\no}
+
+\sg
+\begin{flushright}
+$B!J$3$3$G%I%$%D8l$KJQ99$9$k!#(Blanguage$B$NCM$O(B\the\language$B!K(B
+\end{flushright}
+
+\TEXT
+
+$B$o$+$i$J$/$J$C$?!$$3$3$O1Q8l!)(B \iflanguage{english}{\yes}{\no}\par
+-- --$B%I%$%D8l!)(B \iflanguage{german}{\yes}{\no}\par
+-- --$BF|K\8l!)(B \iflanguage{japanese}{\yes}%
+{\no \sj}
+
+$B$=$l$J$iF|K\8l$K$7$h$&!#(Blanguage$B$NCM$O(B\the\language\tbcaption{\today}
+\end{document}
+%</sample>
+% \end{macrocode>
+%
+% \Finale
diff --git a/Master/texmf-dist/source/latex/japanese/japanese.ins b/Master/texmf-dist/source/latex/japanese/japanese.ins
new file mode 100644
index 00000000000..b14448c457e
--- /dev/null
+++ b/Master/texmf-dist/source/latex/japanese/japanese.ins
@@ -0,0 +1,54 @@
+%% japanese.ins
+%%
+%% Docstrip installation instruction file
+%% for the `japanese' package, Version 1.0 of 1999-1-10
+%%
+%%
+
+\def\batchfile{japanese.ins}
+\input docstrip.tex
+
+\expandafter\ifx\csname declarepreamble\endcsname\relax
+ \Msg{==> This file requires docstrip version 2.4}
+ \Msg{==> available from CTAN (e.g. ftp.dante.de) in}
+ \Msg{==> tex-archive/macros/latex/unpacked/docstrip.tex}
+ \Msg{}\expandafter\endinput\fi
+
+\keepsilent
+
+\preamble
+
+This file is part of the `japanese' package,
+providing Japanese language.
+
+Copyright (C) 1999 by ING
+
+This package is free software that can be redistributed and/or
+modified under the terms of the LaTeX Project Public License as
+specified in the file `macros/latex/base/lppl.txt on any CTAN
+archive server, such as http://ring.wakwak.com/pub/text/CTAN/.
+
+Maintained by ING,
+using ideas by bookworm, Tony, and Ohishi.
+
+Please report errors to: ING
+ t-ing@tbh.t-com.ne.jp
+
+\endpreamble
+
+\declarepreamble\emptypreamble
+\endpreamble
+
+\Msg{*** Generating files ***}
+\generate{%
+ \file{japanese.sty}{\from{japanese.dtx}{package}}
+ \file{japanese.drv}{\from{japanese.dtx}{driver}}
+ \file{japanese.ldf}{\from{japanese.dtx}{ldf}}
+ \usepreamble\emptypreamble
+ \file{langxmpl.dat}{\from{japanese.dtx}{dat}}
+ \file{sample.tex}{\from{japanese.dtx}{sample}}
+ \file{readme.tex}{\from{japanese.dtx}{readme}}
+}
+\endbatchfile
+%%
+%% End of file `japanese.ins'.
diff --git a/Master/texmf-dist/tex/latex/japanese/japanese.ldf b/Master/texmf-dist/tex/latex/japanese/japanese.ldf
new file mode 100644
index 00000000000..7376af3beb1
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/japanese/japanese.ldf
@@ -0,0 +1,33 @@
+%%
+%% This is file `japanese.ldf',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% japanese.dtx (with options: `ldf')
+%%
+%% This file is part of the `japanese' package,
+%% providing Japanese language.
+%%
+%% Copyright (C) 1999 by ING
+%%
+%% This package is free software that can be redistributed and/or
+%% modified under the terms of the LaTeX Project Public License as
+%% specified in the file `macros/latex/base/lppl.txt on any CTAN
+%% archive server, such as http://ring.wakwak.com/pub/text/CTAN/.
+%%
+%% Maintained by ING,
+%% using ideas by bookworm, Tony, and Ohishi.
+%%
+%% Please report errors to: ING
+%% t-ing@tbh.t-com.ne.jp
+%%
+\LdfInit{japanese}\captionsjapanese
+\ifx\l@japanese\@undefined
+ \@nopatterns{Japanese}
+ \adddialect\l@japanese0\fi
+\addto\captionsjapanese{%
+ \def\prefacename{$BA0(B $B=q(B $B$-(B}%
+ \def\refname{$B;29MJ88%(B}%
+ \def\abstractname{$B35(B $BMW(B}%
+ \def\bibname{$B4XO"?^=q(B}%
diff --git a/Master/texmf-dist/tex/latex/japanese/japanese.sty b/Master/texmf-dist/tex/latex/japanese/japanese.sty
new file mode 100644
index 00000000000..826967aacb3
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/japanese/japanese.sty
@@ -0,0 +1,24 @@
+%%
+%% This is file `japanese.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% japanese.dtx (with options: `package')
+%%
+%% This file is part of the `japanese' package,
+%% providing Japanese language.
+%%
+%% Copyright (C) 1999 by ING
+%%
+%% This package is free software that can be redistributed and/or
+%% modified under the terms of the LaTeX Project Public License as
+%% specified in the file `macros/latex/base/lppl.txt on any CTAN
+%% archive server, such as http://ring.wakwak.com/pub/text/CTAN/.
+%%
+%% Maintained by ING,
+%% using ideas by bookworm, Tony, and Ohishi.
+%%
+%% Please report errors to: ING
+%% t-ing@tbh.t-com.ne.jp
+%%
diff --git a/Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc b/Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc
index 70c0bf87289..18c3ef5251d 100644
--- a/Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-langcjk.tlpsrc
@@ -7,6 +7,7 @@ depend Package/arphic
depend Package/c90enc
depend Package/cns
depend Package/garuda
+depend Package/japanese
depend Package/norasi
depend Package/uhc
depend Package/wadalab
diff --git a/Master/tlpkg/tlpsrc/japanese.tlpsrc b/Master/tlpkg/tlpsrc/japanese.tlpsrc
new file mode 100644
index 00000000000..23d6379284e
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/japanese.tlpsrc
@@ -0,0 +1,2 @@
+name japanese
+category Package