diff options
author | Karl Berry <karl@freefriends.org> | 2017-05-04 22:14:01 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-05-04 22:14:01 +0000 |
commit | 673a8d0f7aca9c451d1a2e325e8479824b1a0df2 (patch) | |
tree | c7c963103e3a24f5b336a5cea25b9e80ea436ebb /Master/texmf-dist/doc/generic | |
parent | 7026f62c118b13c173024f7a2748d1088fd48779 (diff) |
ifptex (4may17)
git-svn-id: svn://tug.org/texlive/trunk@44194 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic')
-rw-r--r-- | Master/texmf-dist/doc/generic/ifptex/LICENSE | 21 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/ifptex/README-ja.md | 90 | ||||
-rw-r--r-- | Master/texmf-dist/doc/generic/ifptex/README.md | 100 |
3 files changed, 211 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/generic/ifptex/LICENSE b/Master/texmf-dist/doc/generic/ifptex/LICENSE new file mode 100644 index 00000000000..8ada757fbc8 --- /dev/null +++ b/Master/texmf-dist/doc/generic/ifptex/LICENSE @@ -0,0 +1,21 @@ +The MIT License + +Copyright (c) 2017 Takayuki YATO (aka. "ZR") + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/Master/texmf-dist/doc/generic/ifptex/README-ja.md b/Master/texmf-dist/doc/generic/ifptex/README-ja.md new file mode 100644 index 00000000000..2ed2e754b71 --- /dev/null +++ b/Master/texmf-dist/doc/generic/ifptex/README-ja.md @@ -0,0 +1,90 @@ +ifptex パッケージバンドル +========================= + +TeX: エンジンが pTeX(やその派生)であるかを判定する + +ifptex パッケージは ifxetex や ifluatex 等のパッケージの pTeX 版に +相当する。ifuptex パッケージは ifptex の別名で、後方互換性のために +用意されている。 + +### システム要件 + + - TeX フォーマット: plain TeX、LaTeX (および他の plain 互換なもの) + - TeX エンジン: 不問 + - DVI ウェア(DVI 出力時): 不問 + +### インストール + +TDS 1.1 に準拠するシステムの場合、以下のようにファイルを移動する: + + - `*.sty` → $TEXMF/tex/latex/ifptex + +この後必要に応じて mktexlsr を実行する。 + +ifptex パッケージ ― pTeX 系エンジンの判定 +------------------------------------------ + +### パッケージ読込 + +plain TeX の場合: + + \input ifptex.sty + +LaTeX の場合: + + \usepackage{ifptex} + +### 機能 + + * `\ifpTeX`(又は `\ifptex`)[if-トークン] + pTeX(upTeX を含む)を使っているか。 + * `\ifstrictpTeX`(又は `\ifstrictptex`)[if-トークン] + pTeX(upTeX ではなく)を使っているか。 + * `\ifupTeX`(又は `\ifuptex`) [if-トークン] + upTeX を使っているか。 + * `\ifnativeupTeX` [if-トークン] + upTeX を内部文字コードが Unicode の状態で使っているか。 + * `\ifpTeXng`(又は `\ifptexng`)[if-トークン] + pTeX-ng を使っているか。 + * `\RequirepTeX` + `\ifpTeX` 不成立の場合はエラーを出す。 + * `\RequireupTeX` + `\ifupTeX` 不成立の場合はエラーを出す。 + * `\RequireNativeupTeX` + `\ifNativeupTeX` 不成立の場合はエラーを出す。 + * `\RequirepTeXng` + `\ifpTeXng` 不成立の場合はエラーを出す。 + + +ifuptex パッケージ ― ifptex の別名 +----------------------------------- + +ただ単に ifptex を読み込むだけのパッケージであり、0.2 版との後方互換性の +ために用意されている。 + +### パッケージ読込 + +plain TeX の場合: + + \input ifuptex.sty + +LaTeX の場合: + + \usepackage{ifuptex} + + +更新履歴 +-------- + + * Version 1.1 〈2017/05/04〉 + - 細かい調整。 + * Version 1.0 〈2013/04/29〉 + - 独立のバンドルに移動。 + - パッケージ名を ifptex に変更して、pTeX 判定機能を付加。 + - (試験的) upTeX の版判定機能を追加。 + * Version 0.2 〈2008/03/14〉 + - 最初の公開版。 + +-------------------- +Takayuki YATO (aka. "ZR") +https://github.com/zr-tex8r diff --git a/Master/texmf-dist/doc/generic/ifptex/README.md b/Master/texmf-dist/doc/generic/ifptex/README.md new file mode 100644 index 00000000000..05591ab2fd8 --- /dev/null +++ b/Master/texmf-dist/doc/generic/ifptex/README.md @@ -0,0 +1,100 @@ +ifptex Package Bundle +===================== + +TeX: To check the engine is pTeX (or its derivatives) + +The ifptex package is a counterpart of ifxetex, ifluatex, etc. for +the pTeX engine. The ifuptex package is an alises to ifptex provided +for backward compatibility. + +### System Requirements + + - TeX format: plain TeX, LaTeX (and any plain-compatible ones). + - TeX engine: Anything. + - DVI driver (in DVI mode): Anything. + +### Installation + +In a system compliant to TDS 1.1, move the files as follows: + + - `*.sty` → $TEXMF/tex/latex/ifptex + +And rehash your TEXMF trees if necessary. + +### License + +This package is distributed under the MIT License. + +ifptex Package ― Test for pTeX engine +-------------------------------------- + +### Package Loading + +In plain TeX: + + \input ifptex.sty + +In LaTeX: + + \usepackage{ifptex} + +### Usage + + * `\ifpTeX` (or `\ifptex`) [if-token] + Whether the engine is pTeX (or its derivative, including upTeX). + * `\ifstrictpTeX` (or `\ifstrictptex`) [if-token] + Whether the engine is pTeX (or its derivative) but *not* upTeX. + * `\ifupTeX` (or `\ifuptex`) [if-token] + Whether the engine is upTeX (or its derivative). + * `\ifnativeupTeX` [if-token] + Whether the engine is upTeX and its internal encoding is Unicode. + * `\ifpTeXng` (or `\ifptexng`) [if-token] + Whether the engine is pTeX-ng. + * `\RequirepTeX` + Issues an error if `\ifpTeX` fails. + * `\RequireStrictpTeX` + Issues an error if `\ifstrictpTeX` fails. + * `\RequireupTeX` + Issues an error if `\ifupTeX` fails. + * `\RequireNativeupTeX` + Issues an error if `\ifnativeupTeX` fails. + * `\RequirepTeXng` + Issues an error if `\ifpTeXng` fails. + + +ifuptex Package ― Alias of ifptex +---------------------------------- + +The ifuptex package does nothing but loading ifptex internally. It is +provided for backward compatibility. + +### Package Loading + +In plain TeX: + + \input ifuptex.sty + +In LaTeX: + + \usepackage{ifuptex} + +### Usage + +Just the same as the ifptex package. + + +Revision History +---------------- + + * Version 1.1 〈2017/05/04〉 + - Minor fix. + * Version 1.0 〈2013/04/29〉 + - Move to a separate bundle. + - Change the package name to ifptex, and added the test + for pTeX (besides upTeX). + * Version 0.2 〈2008/03/14〉 + - First public version. + +-------------------- +Takayuki YATO (aka. "ZR") +https://github.com/zr-tex8r |