summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-12-17 20:42:57 +0000
committerKarl Berry <karl@freefriends.org>2016-12-17 20:42:57 +0000
commitf721a6666851b87d58decd85137c3931d7bf4eda (patch)
tree0b77f3691016c2f6e5818630a1ced26ad80e6963 /Master/texmf-dist/doc/generic
parent16bf613671c9c801210b618e549388542875cf89 (diff)
babel-japanese (17dec16)
git-svn-id: svn://tug.org/texlive/trunk@42738 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r--Master/texmf-dist/doc/generic/babel-japanese/Makefile32
-rw-r--r--Master/texmf-dist/doc/generic/babel-japanese/README.md78
-rw-r--r--Master/texmf-dist/doc/generic/babel-japanese/japanese-sample.pdfbin0 -> 42562 bytes
-rw-r--r--Master/texmf-dist/doc/generic/babel-japanese/japanese-sample.tex74
-rw-r--r--Master/texmf-dist/doc/generic/babel-japanese/japanese.pdfbin0 -> 122991 bytes
5 files changed, 184 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/babel-japanese/Makefile b/Master/texmf-dist/doc/generic/babel-japanese/Makefile
new file mode 100644
index 00000000000..a9d92127097
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/babel-japanese/Makefile
@@ -0,0 +1,32 @@
+# Makefile for babel-japanese
+# Note that all files are UTF-8 (without BOM) encoded!
+
+STRIPTARGET = japanese.ldf japanese-sample.tex
+PDFTARGET = japanese.pdf japanese-sample.pdf
+DVITARGET = japanese.dvi japanese-sample.dvi
+KANJI = --kanji=utf8
+FONTMAP = -f ptex-ipaex.map -f ipaex.map
+
+default: $(STRIPTARGET) $(DVITARGET)
+strip: $(STRIPTARGET)
+all: $(STRIPTARGET) $(PDFTARGET)
+
+japanese.ldf: japanese.dtx
+ platex $(KANJI) japanese.ins
+
+japanese.dvi: japanese.dtx
+ platex $(KANJI) japanese.dtx
+ platex $(KANJI) japanese.dtx
+
+.SUFFIXES: .tex .dvi .pdf
+.tex.dvi:
+ platex $(KANJI) $<
+ platex $(KANJI) $<
+.dvi.pdf:
+ dvipdfmx $(FONTMAP) $<
+
+.PHONY: clean
+clean:
+ rm -f \
+ japanese.ldf japanese-sample.tex \
+ japanese.pdf japanese-sample.pdf
diff --git a/Master/texmf-dist/doc/generic/babel-japanese/README.md b/Master/texmf-dist/doc/generic/babel-japanese/README.md
new file mode 100644
index 00000000000..5a7f41e9b7d
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/babel-japanese/README.md
@@ -0,0 +1,78 @@
+# babel-japanese
+
+The package "babel-japanese" (or shortly, "japanese" package) provides
+`japanese` option for Babel package. It defines all the language
+definition macros in Japanese.
+
+Currently this package works on pLaTeX, upLaTeX, XeLaTeX and LuaLaTeX.
+
+
+## Limitations
+
+Note that this package is not perfect: the word order in Japanese is
+different from that in most Western languages including English, so
+the words like "Part" or "Chapter" cannot be replaced with Japanese
+counterpart. This limitation is due to the design of classes.dtx
+(article.cls etc), which has \chaptername in front of the numbering
+but no sequence behind the number.
+
+The common Japanese classes including (u)jclasses in (u)pLaTeX,
+jsclasses, ltj(s)classes in LuaTeX-ja are well-supported.
+
+
+## Installation
+
+1) Process japanese.ins with some tex engine. For example, using lualatex:
+
+ lualatex japanese.ins
+
+When you use platex, give -kanji=utf8 option.
+
+ platex -kanji=utf8 japanese.ins
+
+You will get japanese.ldf (the main code) and japanese-sample.tex (sample
+document for pLaTeX).
+
+2) Process documentation, japanese.dtx and japanese-sample.tex, as you wish.
+japanese.dtx can be processed with pLaTeX, upLaTeX or LuaLaTeX.
+japanese-sample.tex is written for pLaTeX.
+
+ platex -kanji=utf8 japanese.dtx
+ dvipdfmx japanese.dvi
+ platex -kanji=utf8 japanese-sample.tex
+ dvipdfmx japanese-sample.dvi
+
+3) Deploy the directory or files in an appropriate place under the TEXMF tree.
+
+ * japanese.ldf
+ => $TEXMF/tex/latex/japanese
+ * japanese.dtx
+ => $TEXMF/source/latex/japanese
+ * japanese.pdf, japanese-sample.tex, japanese-sample.pdf
+ => $TEXMF/doc/latex/japanese
+
+4) Execute mktexlsr.
+
+
+## Repository
+
+The bundle is maintained on GitHub:
+ https://github.com/texjporg/babel-japanese
+
+If you have issues, please let us know from the above page.
+
+
+## License
+
+Copyright (C) 1999-2007 by ING (Toru Inagaki)
+Copyright (C) 2016- by Japanese TeX Development Community
+
+This package is free software that can be redistributed and/or
+modified under the terms of the LaTeX Project Public License.
+
+
+## Release Date
+
+2016-12-16
+
+Japanese TeX Development Community
diff --git a/Master/texmf-dist/doc/generic/babel-japanese/japanese-sample.pdf b/Master/texmf-dist/doc/generic/babel-japanese/japanese-sample.pdf
new file mode 100644
index 00000000000..a4420a3d940
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/babel-japanese/japanese-sample.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/generic/babel-japanese/japanese-sample.tex b/Master/texmf-dist/doc/generic/babel-japanese/japanese-sample.tex
new file mode 100644
index 00000000000..13816c84bef
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/babel-japanese/japanese-sample.tex
@@ -0,0 +1,74 @@
+%%
+%% This is file `japanese-sample.tex',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% japanese.dtx (with options: `sample')
+%%
+\ifx\epTeXinputencoding\undefined\else
+ \epTeXinputencoding utf8
+\fi
+\ifx\directlua\undefined
+ \documentclass{jbook}
+\else
+ \documentclass{ltjbook}
+\fi
+\usepackage[german,english,japanese]{babel}
+\makeatletter
+\def\tbcaption{\def\@captype{table}\caption{キャプションの例}}
+\def\fgcaption{\def\@captype{figure}\caption{キャプションの例}}
+\makeatother
+\def\yes{--- はい。}
+\def\no{--- いいえ。}
+\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{\hoffset}{-13mm}
+\setlength{\textwidth}{16cm}
+\begin{document}
+
+\chapter{babel}
+\section{japaneseパッケージ}
+japaneseパッケージは日本語による見出し語と日付を出力するためのマクロを
+定義しています。
+
+\fgcaption
+
+\begin{itemize}
+\se
+\item ここで英語(\texttt{english})に変更します。(languageの値は\the\language)
+
+\TEXT
+
+ここは英語? \iflanguage{english}{\yes}{\no}\par
+ここはドイツ語? \iflanguage{german}{\yes}{\no}\par
+ここは日本語? \iflanguage{japanese}{\yes}{\no}
+
+※ \verb:\adddialect\l@japanese0: と設定しているため,日本語?も「はい」となります。
+
+\sg
+\item ここでドイツ語(\texttt{german})に変更します。(languageの値は\the\language)
+
+\TEXT
+
+ここは英語? \iflanguage{english}{\yes}{\no}\par
+ここはドイツ語? \iflanguage{german}{\yes}{\no}\par
+ここは日本語? \iflanguage{japanese}{\yes}{\no}
+
+※ ハイフネーションがドイツ語―旧正書法―に切り替わっている点に注目。
+なお,新正書法(\texttt{ngerman})では\texttt{Leis-tungs-f\"a-hig-keit}のように分綴します。
+
+\sj
+\item ここで日本語(\texttt{japanese})に変更します。(languageの値は\the\language)
+\tbcaption
+\item \verb:\和暦: は日付の表示をデフォルトの西暦「\today 」から和暦「\和暦\today 」に変更します。
+\end{itemize}
+\end{document}
+\endinput
+%%
+%% End of file `japanese-sample.tex'.
diff --git a/Master/texmf-dist/doc/generic/babel-japanese/japanese.pdf b/Master/texmf-dist/doc/generic/babel-japanese/japanese.pdf
new file mode 100644
index 00000000000..8768b68fb97
--- /dev/null
+++ b/Master/texmf-dist/doc/generic/babel-japanese/japanese.pdf
Binary files differ