diff options
author | Norbert Preining <norbert@preining.info> | 2022-02-06 03:01:17 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2022-02-06 03:01:17 +0000 |
commit | 350b3e35109171f0edd6fe9d697b91d5e76561f9 (patch) | |
tree | c6eac90d0b35dec36fa17ee58b736e55d6e42755 /macros/generic/iftex/iftex.tex | |
parent | 08ccf305ee79ab8e5ba9d1a8f3d22e74dccedd80 (diff) |
CTAN sync 202202060301
Diffstat (limited to 'macros/generic/iftex/iftex.tex')
-rw-r--r-- | macros/generic/iftex/iftex.tex | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/macros/generic/iftex/iftex.tex b/macros/generic/iftex/iftex.tex index 8e13546e77..6e0743684f 100644 --- a/macros/generic/iftex/iftex.tex +++ b/macros/generic/iftex/iftex.tex @@ -22,7 +22,7 @@ \section{Introduction} This original \textsf{iftex} was written as part of the \textsf{bidi} -collection (by the Persian TeX Group / Vafa Khalighi) +collection (by the Persian TeX Group / Vafa Khalighi) and provided checks for whether a document was being processed with PDF\TeX, or Xe\TeX, or Lua\TeX. This version recodes the package and incorporates similar tests from the \textsf{ifetex} @@ -33,7 +33,7 @@ Yato. For each \TeX\ variant engine supported two commands are provided: \begin{itemize} -\item +\item a conditional, \verb|\iffootex| that is true if the \textsf(footex) engine (or a compatible extension) is being used. @@ -119,7 +119,13 @@ true for Lua\TeX\ and Xe\TeX, allowing constructs such as \usepackage{newtxtext,newtxmath} \fi \end{verbatim} - +\item[\cs{iftexpadtex}, \cs{ifTexpadTeX}] +True if Texpad\TeX\ is in use. Please note that Texpad\TeX\ can run in two +modes, one which uses Unicode and native fonts internally (similar to +Xe\TeX\ and Lua\TeX), and one which uses 8-bit codepages internally (similar to +PDF\TeX). This can be determined using \cs{iftutex}. +\item[\cs{ifhint}, \cs{ifHINT}] +True if Hi\TeX\ (HINT output format) is in use. \end{description} \section{Requiring specific engines} @@ -139,6 +145,8 @@ with a suitable engine, and stops with an error message if not. \item[\cs{RequireVTeX}] \item[\cs{RequireAlephTeX}] \item[\cs{RequireTUTeX}] +\item[\cs{RequireTexpadTeX}] +\item[\cs{RequireHINT}] \end{description} |