summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/generic/ifptex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-04-08 21:44:40 +0000
committerKarl Berry <karl@freefriends.org>2022-04-08 21:44:40 +0000
commita69186887266cc09b69f7725269b93f10d55c80e (patch)
tree86d35ba267637cc3fcec3491c756ac75147f2f64 /Master/texmf-dist/doc/generic/ifptex
parent81063fc4a0b874c806dd3b07cb21fac3fad63c06 (diff)
ifptex (8apr22)
git-svn-id: svn://tug.org/texlive/trunk@62982 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/generic/ifptex')
-rw-r--r--Master/texmf-dist/doc/generic/ifptex/LICENSE2
-rw-r--r--Master/texmf-dist/doc/generic/ifptex/README-ja.md12
-rw-r--r--Master/texmf-dist/doc/generic/ifptex/README.md13
3 files changed, 26 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/generic/ifptex/LICENSE b/Master/texmf-dist/doc/generic/ifptex/LICENSE
index ead3a3702e3..df92641d58a 100644
--- a/Master/texmf-dist/doc/generic/ifptex/LICENSE
+++ b/Master/texmf-dist/doc/generic/ifptex/LICENSE
@@ -1,6 +1,6 @@
The MIT License
-Copyright (c) 2008-2021 Takayuki YATO (aka. "ZR")
+Copyright (c) 2008-2022 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
diff --git a/Master/texmf-dist/doc/generic/ifptex/README-ja.md b/Master/texmf-dist/doc/generic/ifptex/README-ja.md
index 49fc486c060..591f746ea90 100644
--- a/Master/texmf-dist/doc/generic/ifptex/README-ja.md
+++ b/Master/texmf-dist/doc/generic/ifptex/README-ja.md
@@ -66,6 +66,15 @@ LaTeX の場合:
* `\RequirepTeXng`
`\ifpTeXng` 不成立の場合はエラーを出す。
※一応 `\RequireStrictpTeXng` もある。
+ * `\upTeXguessedversion` [mathchardef-トークン]
+ upTeX のバージョンの推測値(を百倍した整数値)。
+ ※1.23版以降では常に正確なバージョン値が得られる。
+ ※upTeX 以外のエンジンでは 0 になる。
+ * `\RequireupTeXAtLeast{<要求値>}`
+ `\upTeXguessedversion` の値が要求値より小さい場合はエラーを出す。
+ * `\RequireNativeupTeXAtLeast{<要求値>}`
+ `\upTeXguessedversion` の値が要求値より小さいまたは `\ifnativeupTeX`
+ が不成立の場合はエラーを出す。
ifuptex パッケージ ― ifptex の別名
@@ -88,6 +97,9 @@ LaTeX の場合:
更新履歴
--------
+ * Version 2.2 〈2022/04/03〉
+ - `\upTeXguessedversion` を正式にサポート。
+ - `\Require(Native)upTeXAtLeast` を追加。
* Version 2.1 〈2021/07/01〉
- 将来の版の pTeX に対応させる。
- とある非公開機能を削除。
diff --git a/Master/texmf-dist/doc/generic/ifptex/README.md b/Master/texmf-dist/doc/generic/ifptex/README.md
index 4b09b0baff7..9f09ad8d85b 100644
--- a/Master/texmf-dist/doc/generic/ifptex/README.md
+++ b/Master/texmf-dist/doc/generic/ifptex/README.md
@@ -68,6 +68,16 @@ NB: Here “e-TeX-ness” is not considered.
Issues an error if `\ifnativeupTeX` fails.
* `\RequirepTeXng`
Issues an error if `\ifpTeXng` fails.
+ * `\upTeXguessedversion` [mathchardef-token]
+ The guessed value of upTeX version; given as a 100-folded integer.
+ NB. On version 1.23 or later, the value is correct.
+ NB. On a non-upTeX engine, the value is zero.
+ * `\RequireupTeXAtLeast{<required>}`
+ Issues an error if `\upTeXguessedversion` is smaller than the given
+ required value.
+ * `\RequireNativeupTeXAtLeast{<required>}`
+ Issues an error either if `\upTeXguessedversion` is smaller than
+ the given required value or if `\ifnativeupTeX` fails.
ifuptex Package ― Alias of ifptex
@@ -94,6 +104,9 @@ Just the same as the ifptex package.
Revision History
----------------
+ * Version 2.2 〈2022/04/03〉
+ - Officialy support `\upTeXguessedversion`.
+ - Add `\Require(Native)upTeXAtLeast`.
* Version 2.1 〈2021/07/01〉
- Adjust for the future version of pTeX.
- Drop an undocumented feature.