diff options
author | Norbert Preining <preining@logic.at> | 2011-10-28 05:21:24 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2011-10-28 05:21:24 +0000 |
commit | 7cf69137395b19b4642863e0492cf8c607688497 (patch) | |
tree | ae867d8adac74db52311428948abcbcf4c3e8688 /Master/texmf-dist/doc/platex | |
parent | 521d250fcd4a3a409b053b7dee8910b54a5a3d03 (diff) |
add japanese babel package
cannot be processed with ctan2tl because it needs ptex
git-svn-id: svn://tug.org/texlive/trunk@24422 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/platex')
-rw-r--r-- | Master/texmf-dist/doc/platex/japanese/README | 33 | ||||
-rw-r--r-- | Master/texmf-dist/doc/platex/japanese/sample.pdf | bin | 0 -> 49427 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/platex/japanese/sample.tex | 88 |
3 files changed, 121 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/platex/japanese/README b/Master/texmf-dist/doc/platex/japanese/README new file mode 100644 index 00000000000..171a8238604 --- /dev/null +++ b/Master/texmf-dist/doc/platex/japanese/README @@ -0,0 +1,33 @@ +1. SUMMARY + +Currently, the babel package does not provide a Japanese option. +The file japanese.dtx defines all the language definition macros +for the Japanese language. +Note that this package works with a latex system *pLaTeX2e* and +documentclass such as jarticle, jbook, jsarticle and jsbook. + +2. INSTALLATION + + 1) Process japanese.ins with platex. + + platex japanese.ins + + 2) Process documentation, japanese.dtx and sample.tex, as you wish. + + 3) Deploy the directory or files in an appropriate place under + the TeX tree. + + 4) Execute mktexlsr. + + +3. COPYRIGHT + +Copyright (C) 1999-2007 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://www.ring.gr.jp/archives/text/CTAN/. + +Please report errors to: ING + t-ing@tbh.t-com.ne.jp diff --git a/Master/texmf-dist/doc/platex/japanese/sample.pdf b/Master/texmf-dist/doc/platex/japanese/sample.pdf Binary files differnew file mode 100644 index 00000000000..55664b52f3e --- /dev/null +++ b/Master/texmf-dist/doc/platex/japanese/sample.pdf diff --git a/Master/texmf-dist/doc/platex/japanese/sample.tex b/Master/texmf-dist/doc/platex/japanese/sample.tex new file mode 100644 index 00000000000..6d32efc9263 --- /dev/null +++ b/Master/texmf-dist/doc/platex/japanese/sample.tex @@ -0,0 +1,88 @@ +%% +%% This is file `sample.tex', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% japanese.dtx (with options: `sample') +%% +%% File 'japanese.dtx' +%% Babel package for LaTeX version 2e +%% Copyright (C) 1989 - 2007 +%% by Johannes Braams, TeXniek +\documentclass{jbook} +\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} +%% +%% \CharacterTable +%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +%% Digits \0\1\2\3\4\5\6\7\8\9 +%% Exclamation \! Double quote \" Hash (number) \# +%% Dollar \$ Percent \% Ampersand \& +%% Acute accent \' Left paren \( Right paren \) +%% Asterisk \* Plus \+ Comma \, +%% Minus \- Point \. Solidus \/ +%% Colon \: Semicolon \; Less than \< +%% Equals \= Greater than \> Question mark \? +%% Commercial at \@ Left bracket \[ Backslash \\ +%% Right bracket \] Circumflex \^ Underscore \_ +%% Grave accent \` Left brace \{ Vertical bar \| +%% Right brace \} Tilde \~} +%% +\endinput +%% +%% End of file `sample.tex'. |