[latex3-commits] [latex3/hyperref] noltxcmds: no ltxcmds in hluatex.dtx (a792063)

github at latex-project.org github at latex-project.org
Tue Nov 14 18:46:59 CET 2023


Repository : https://github.com/latex3/hyperref
On branch  : noltxcmds
Link       : https://github.com/latex3/hyperref/commit/a792063ae356316fe02f9240e6f266c1ef5d25ea

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

commit a792063ae356316fe02f9240e6f266c1ef5d25ea
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Tue Nov 14 18:46:59 2023 +0100

    no ltxcmds in hluatex.dtx


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

a792063ae356316fe02f9240e6f266c1ef5d25ea
 hluatex.dtx | 100 ++++++++++++++++++++++++++++++------------------------------
 1 file changed, 50 insertions(+), 50 deletions(-)

diff --git a/hluatex.dtx b/hluatex.dtx
index ada09a2..44741da 100644
--- a/hluatex.dtx
+++ b/hluatex.dtx
@@ -66,7 +66,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \pdf at ifdraftmode{%
-  \let\Hy at PutCatalog\ltx at gobble
+  \let\Hy at PutCatalog\@gobble
 }{%
   \let\Hy at PutCatalog\pdfcatalog
 }
@@ -105,7 +105,7 @@
       |ifx|\#2|\%%
       |else
         \\%
-        |ltx at ReturnAfterFi{%
+        |Hy at ReturnAfterFi{%
           |Hy at ExchangeBackslash#2|@nil
         }%
       |fi
@@ -116,7 +116,7 @@
     \ifx\\#2\\%
     \else
       \@backslashchar(%
-      \ltx at ReturnAfterFi{%
+      \Hy at ReturnAfterFi{%
         \Hy at ExchangeLeftParenthesis#2\@nil
       }%
     \fi
@@ -126,7 +126,7 @@
     \ifx\\#2\\%
     \else
       \@backslashchar)%
-      \ltx at ReturnAfterFi{%
+      \Hy at ReturnAfterFi{%
         \Hy at ExchangeRightParenthesis#2\@nil
       }%
     \fi
@@ -156,7 +156,7 @@
   \fi
   \ifHy at setpdfversion
     \ifnum\Hy at pdf@majorminor at version<105 %
-      \ltx at IfUndefined{pdfobjcompresslevel}{%
+      \@ifundefined{pdfobjcompresslevel}{%
       }{%
         \ifHy at verbose
           \Hy at InfoNoLine{%
@@ -166,19 +166,19 @@
             \Hy at pdf@majorversion.\Hy at pdf@minorversion
           }%
         \fi
-        \pdfobjcompresslevel=\ltx at zero
+        \pdfobjcompresslevel=\z@
       }%
     \fi
     \ifnum\Hy at pdfmajorminor@version=\Hy at pdf@majorminor at version\relax
     \else
-      \let\Hy at temp\ltx at empty
+      \let\Hy at temp\@empty
       \def\Hy at temp@A#1#2{%
-        \ifnum#1>\ltx at zero
+        \ifnum#1>\z@
           \edef\Hy at temp{%
             \Hy at temp
             \space\space
             \the#1\space #2%
-            \ifnum#1=\ltx at one\else s\fi
+            \ifnum#1=\@ne\else s\fi
             \MessageBreak
           }%
         \fi
@@ -187,15 +187,15 @@
       \Hy at temp@A\lastsavedboxresourceindex{form XObject}%
       \Hy at temp@A\lastsavedimageresourceindex{image XObject}%
       \Hy at temp@A\pdflastannot{annotation}%
-      \ltx at IfUndefined{pdflastlink}{%
+      \@ifundefined{pdflastlink}{%
       }{%
          \Hy at temp@A\pdflastlink{link}%
       }%
-      \ifx\Hy at temp\ltx at empty
+      \ifx\Hy at temp\@empty
         \Hy at pdfmajorversion=\Hy at pdf@majorversion\relax
         \Hy at pdfminorversion=\Hy at pdf@minorversion\relax
       \else
-        \let\Hy at temp@A\ltx at empty
+        \let\Hy at temp@A\@empty
         \ifnum\Hy at pdf@majorminor at version=104 %
           \IfFileExists{pdf14.sty}{%
             \def\Hy at temp@A{%
@@ -218,7 +218,7 @@
           \expandafter\string\Hy at pdfminorversion=\Hy at pdf@minorversion
           \string\relax
           \ifnum\Hy at pdf@majorminor at version<105 %
-            \ltx at ifundefined{pdfobjcompresslevel}{%
+            \@ifundefined{pdfobjcompresslevel}{%
             }{%
               \MessageBreak
               \space\space
@@ -426,7 +426,7 @@
 }
 \def\hyper at linkstart#1#2{%
   \Hy at VerboseLinkStart{#1}{#2}%
-  \ltx at IfUndefined{@#1bordercolor}{%
+  \@ifundefined{@#1bordercolor}{%
     \let\CurrentBorderColor\relax
   }{%
     \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}%
@@ -436,7 +436,7 @@
 \def\hyper at linkend{\close at pdflink}
 \def\hyper at link#1#2#3{%
   \Hy at VerboseLinkStart{#1}{#2}%
-  \ltx at IfUndefined{@#1bordercolor}{%
+  \@ifundefined{@#1bordercolor}{%
     \let\CurrentBorderColor\relax
   }{%
     \edef\CurrentBorderColor{\csname @#1bordercolor\endcsname}%
@@ -742,7 +742,7 @@
         \fi
       \fi
     }{%
-      \ltx at IfUndefined{stockwidth}{%
+      \@ifundefined{stockwidth}{%
         \ifdim\paperwidth>\z@
           \setlength{\pagewidth}{\paperwidth}%
         \fi
@@ -813,8 +813,8 @@
     \the\lastsavedboxresourceindex\space 0 R%
   }%
 }%
-\let\HyField at afields\ltx at empty
-\let\HyField at cofields\ltx at empty
+\let\HyField at afields\@empty
+\let\HyField at cofields\@empty
 \begingroup\expandafter\expandafter\expandafter\endgroup
 \expandafter\ifx\csname pdflastlink\endcsname\relax
   \let\HyField at AddToFields\relax
@@ -826,37 +826,37 @@
     but other PDF viewers might complain%
   }%
 \else
-  \let\HyField at AuxAddToFields\ltx at gobble
-  \let\HyField at AuxAddToCoFields\ltx at gobbletwo
+  \let\HyField at AuxAddToFields\@gobble
+  \let\HyField at AuxAddToCoFields\@gobbletwo
   \def\HyField at AfterAuxOpen{\Hy at AtBeginDocument}%
   \def\HyField at ABD@AuxAddToCoFields#1#2{%
     \begingroup
       \Hy at safe@activestrue
-      \let\ltx at secondoftwo\relax
-      \ifx\HyField at cofields\ltx at empty
+      \let\@secondoftwo\relax
+      \ifx\HyField at cofields\@empty
         \xdef\HyField at cofields{%
-          \ltx at secondoftwo{#1}{ #2 0 R}%
+          \@secondoftwo{#1}{ #2 0 R}%
         }%
       \else
-        \let\ltx at secondoftwo\relax
+        \let\@secondoftwo\relax
         \def\HyField at AddCoField##1##2##3{%
-          \ifx##1\ltx at empty
-            \ltx at secondoftwo{#1}{ #2 0 R}%
-            \expandafter\ltx at gobble
+          \ifx##1\@empty
+            \@secondoftwo{#1}{ #2 0 R}%
+            \expandafter\@gobble
           \else
-            \ifnum\pdf at strcmp{##2}{#1}>\ltx at zero
-              \ltx at secondoftwo{#1}{ #2 0 R}%
-              \ltx at secondoftwo{##2}{##3}%
-              \expandafter\expandafter\expandafter\ltx at gobble
+            \ifnum\pdf at strcmp{##2}{#1}>\z@
+              \@secondoftwo{#1}{ #2 0 R}%
+              \@secondoftwo{##2}{##3}%
+              \expandafter\expandafter\expandafter\@gobble
             \else
-              \ltx at secondoftwo{##2}{##3}%
+              \@secondoftwo{##2}{##3}%
             \fi
           \fi
           \HyField at AddCoField
         }%
         \xdef\HyField at cofields{%
           \expandafter\HyField at AddCoField
-          \HyField at cofields\ltx at empty\ltx at empty\ltx at empty
+          \HyField at cofields\@empty\@empty\@empty
         }%
       \fi
     \endgroup
@@ -887,7 +887,7 @@
     \expandafter\HyField@@AddToFields\expandafter{%
       \the\pdflastlink
     }%
-    \ifx\Fld at calculate@code\ltx at empty
+    \ifx\Fld at calculate@code\@empty
     \else
       \begingroup
         \Hy at safe@activestrue
@@ -928,7 +928,7 @@
       \immediate\pdfobj{%
         <<%
           /Fields[\HyField at afields]%
-          \ifx\HyField at cofields\ltx at empty
+          \ifx\HyField at cofields\@empty
           \else
             /CO[\romannumeral-`\Q\HyField at cofields]%
           \fi
@@ -968,16 +968,16 @@
     \fbox{\textcolor{yellow}{\textsf{SubmitP}}}%
   }{SubmitP}%
 }
-\let\@endForm\ltx at empty
-\let\HyAnn at AbsPageLabel\ltx at empty
-\let\Fld at pageobjref\ltx at empty
-\ltx at IfUndefined{pdfpageref}{%
+\let\@endForm\@empty
+\let\HyAnn at AbsPageLabel\@empty
+\let\Fld at pageobjref\@empty
+\@ifundefined{pdfpageref}{%
 }{%
-  \ltx at ifpackageloaded{zref-abspage}{%
+  \@ifpackageloaded{zref-abspage}{%
     \newcount\HyAnn at Count
-    \HyAnn at Count=\ltx at zero
+    \HyAnn at Count=\z@
     \def\HyAnn at AbsPageLabel{%
-      \global\advance\HyAnn at Count by\ltx at one
+      \global\advance\HyAnn at Count by\@ne
       \zref at labelbyprops{HyAnn@\the\HyAnn at Count}{abspage}%
       \zref at refused{HyAnn@\the\HyAnn at Count}%
     }%
@@ -997,7 +997,7 @@
 }
 \def\@TextField[#1]#2{% parameters, label
   \def\Fld at name{#2}%
-  \let\Fld at default\ltx at empty
+  \let\Fld at default\@empty
   \let\Fld at value\@empty
   \def\Fld at width{\DefaultWidthofText}%
   \def\Fld at height{%
@@ -1317,7 +1317,7 @@
     \else
       \expandafter
       \Hy at pstringdef\csname Hy at esc@\string#2\endcsname{#2}%
-      \ltx at ReturnAfterFi{%
+      \Hy at ReturnAfterFi{%
         \Hy@@escapeform#3\@nil
       }%
     \fi
@@ -1750,9 +1750,9 @@
   \def\HyPsd at SanitizeOut@BraceLeft#1(#2\@nil{%
     #1%
     \ifx\\#2\\%
-      \expandafter\ltx at gobble
+      \expandafter\@gobble
     \else
-      \expandafter\ltx at firstofone
+      \expandafter\@firstofone
     \fi
     {%
       \string\173%
@@ -1762,9 +1762,9 @@
   \def\HyPsd at SanitizeOut@BraceRight#1)#2\@nil{%
     #1%
     \ifx\\#2\\%
-      \expandafter\ltx at gobble
+      \expandafter\@gobble
     \else
-      \expandafter\ltx at firstofone
+      \expandafter\@firstofone
     \fi
     {%
       \string\175%
@@ -1913,7 +1913,7 @@
   \endgroup
   \H at old@schapter{#1}%
 }
-\ltx at IfUndefined{@chapter}{}{%
+\@ifundefined{@chapter}{}{%
   \let\Hy at org@chapter\@chapter
   \def\@chapter{%
     \def\Hy at next{%
@@ -1923,7 +1923,7 @@
       }%
     }%
     \ifnum\c at secnumdepth>\m at ne
-      \ltx at IfUndefined{if at mainmatter}%
+      \@ifundefined{if at mainmatter}%
       \iftrue{\csname if at mainmatter\endcsname}%
         \let\Hy at next\relax
       \fi





More information about the latex3-commits mailing list.