diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /language/chinese/CJK/cjk-4.8.4/doc/japanese |
Initial commit
Diffstat (limited to 'language/chinese/CJK/cjk-4.8.4/doc/japanese')
8 files changed, 1648 insertions, 0 deletions
diff --git a/language/chinese/CJK/cjk-4.8.4/doc/japanese/README b/language/chinese/CJK/cjk-4.8.4/doc/japanese/README new file mode 100644 index 0000000000..ab5101887a --- /dev/null +++ b/language/chinese/CJK/cjk-4.8.4/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/language/chinese/CJK/cjk-4.8.4/doc/japanese/ascii.txt b/language/chinese/CJK/cjk-4.8.4/doc/japanese/ascii.txt new file mode 100644 index 0000000000..41815cca5a --- /dev/null +++ b/language/chinese/CJK/cjk-4.8.4/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/language/chinese/CJK/cjk-4.8.4/doc/japanese/japanese.jis b/language/chinese/CJK/cjk-4.8.4/doc/japanese/japanese.jis new file mode 100644 index 0000000000..69e034c6d1 --- /dev/null +++ b/language/chinese/CJK/cjk-4.8.4/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$$$$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/language/chinese/CJK/cjk-4.8.4/doc/japanese/japanese.txt b/language/chinese/CJK/cjk-4.8.4/doc/japanese/japanese.txt new file mode 100644 index 0000000000..e637fdb0d7 --- /dev/null +++ b/language/chinese/CJK/cjk-4.8.4/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/language/chinese/CJK/cjk-4.8.4/doc/japanese/jp-fonts.txt b/language/chinese/CJK/cjk-4.8.4/doc/japanese/jp-fonts.txt new file mode 100644 index 0000000000..49d2bae519 --- /dev/null +++ b/language/chinese/CJK/cjk-4.8.4/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/language/chinese/CJK/cjk-4.8.4/doc/japanese/jp-tex.txt b/language/chinese/CJK/cjk-4.8.4/doc/japanese/jp-tex.txt new file mode 100644 index 0000000000..8effc41832 --- /dev/null +++ b/language/chinese/CJK/cjk-4.8.4/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/language/chinese/CJK/cjk-4.8.4/doc/japanese/preview.txt b/language/chinese/CJK/cjk-4.8.4/doc/japanese/preview.txt new file mode 100644 index 0000000000..574eb29925 --- /dev/null +++ b/language/chinese/CJK/cjk-4.8.4/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/language/chinese/CJK/cjk-4.8.4/doc/japanese/shibuaki.txt b/language/chinese/CJK/cjk-4.8.4/doc/japanese/shibuaki.txt new file mode 100644 index 0000000000..ca317a82fd --- /dev/null +++ b/language/chinese/CJK/cjk-4.8.4/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 |