[latex3-commits] [git/LaTeX3-latex3-iftex] main: use HINT rather than HiTeX for command names (suggested by Martin Ruckert) (a34a657)

David Carlisle d.p.carlisle at gmail.com
Thu Feb 3 20:50:23 CET 2022


Repository : https://github.com/latex3/iftex
On branch  : main
Link       : https://github.com/latex3/iftex/commit/a34a6573491ea636b57630db0f01a640a157b81b

>---------------------------------------------------------------

commit a34a6573491ea636b57630db0f01a640a157b81b
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Thu Feb 3 19:50:23 2022 +0000

    use HINT rather than HiTeX for command names (suggested by Martin Ruckert)


>---------------------------------------------------------------

a34a6573491ea636b57630db0f01a640a157b81b
 iftex.sty | 10 +++++-----
 iftex.tex |  6 +++---
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/iftex.sty b/iftex.sty
index f5f1ec5..7e9e362 100644
--- a/iftex.sty
+++ b/iftex.sty
@@ -90,8 +90,8 @@
 \IFTEX at protected\def\RequireTUTeX{\IFTEX at Require\iftutex{LuaTeX or XeTeX}\fi}
 % TeXpad TeX
 \IFTEX at protected\def\RequireTexpadTeX{\IFTEX at Require\iftexpadtex{TexpadTeX}\fi}
-% HiTeX
-\IFTEX at protected\def\RequireHiTeX{\IFTEX at Require\ifhitex{HiTeX}\fi}
+% HiTeX/HINT
+\IFTEX at protected\def\RequireHINT{\IFTEX at Require\ifhint{HINT}\fi}
 
 % As a matter of policy over-write any existing \if*tex macro and set
 % by the tests here.
@@ -231,11 +231,11 @@
 % HiTeX
 \begingroup\expandafter\expandafter\expandafter\endgroup
 \expandafter\ifx\csname HINTversion\endcsname\relax
-  \IFTEX at let{hitex}{false}
+  \IFTEX at let{hint}{false}
 \else
-  \IFTEX at let{hitex}{true}
+  \IFTEX at let{hint}{true}
 \fi
-\IFTEX at let{HiTeX}{hitex}
+\IFTEX at let{HINT}{hinnt}
 
 
 % Output mode
diff --git a/iftex.tex b/iftex.tex
index 134e548..6e07436 100644
--- a/iftex.tex
+++ b/iftex.tex
@@ -124,8 +124,8 @@ 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{ifhitex}, \cs{ifHiTeX}]
-True if Hi\TeX\ is in use.
+\item[\cs{ifhint}, \cs{ifHINT}]
+True if Hi\TeX\ (HINT output format) is in use.
 \end{description}
 
 \section{Requiring specific engines}
@@ -146,7 +146,7 @@ with a suitable engine, and stops with an error message if not.
 \item[\cs{RequireAlephTeX}]
 \item[\cs{RequireTUTeX}]
 \item[\cs{RequireTexpadTeX}]
-\item[\cs{RequireHiTeX}]
+\item[\cs{RequireHINT}]
 \end{description}
 
 





More information about the latex3-commits mailing list.