[latex3-commits] [git/LaTeX3-latex3-hyperref] master: removed greek patches (ccadea9)

Ulrike Fischer fischer at troubleshooting-tex.de
Thu Feb 4 12:56:13 CET 2021


Repository : https://github.com/latex3/hyperref
On branch  : master
Link       : https://github.com/latex3/hyperref/commit/ccadea9b4ae20e8ff23a34a3335e7b179cdb5cd1

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

commit ccadea9b4ae20e8ff23a34a3335e7b179cdb5cd1
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Feb 4 12:56:13 2021 +0100

     removed greek patches


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

ccadea9b4ae20e8ff23a34a3335e7b179cdb5cd1
 ChangeLog.txt |   2 +
 hyperref.dtx  | 142 +---------------------------------------------------------
 2 files changed, 3 insertions(+), 141 deletions(-)

diff --git a/ChangeLog.txt b/ChangeLog.txt
index 99cd613..d6a4d22 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -18,6 +18,8 @@
     * removed outdated code to fix old ltxcmds code
     * removed outdated code to fix fancyvrb
     * removed code related to /Hid - deprecated in PDF 1.2
+    * removed patches for greeknumerals, the code is now in
+    babel-greek.
 
 2020-01-14 7.00d David Carlisle
     * Test for newer GhostScript releases in dvips output
diff --git a/hyperref.dtx b/hyperref.dtx
index f2e3884..74fb4ea 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -2240,7 +2240,7 @@
 %    change 2020/10/10: removed patch for macedonian, ukrainian; maintainers notified.
 %    change 2020/10/11: removed patch for russian, has been merged into babel-russian
 %    see https://github.com/kia999/babel-russian/pull/3
-%
+%    change 2021/02/04: removed patches for greek numerals, code is now in babel-greek.
 %    spanish: Nested quoting environments are not supported (|<<|, |>>|).
 %    \begin{macrocode}
 \ltx at IfUndefined{spanish at sh@>@sel}{}{%
@@ -2255,146 +2255,6 @@
 }
 %    \end{macrocode}
 %    \begin{macrocode}
-\ltx at IfUndefined{greek at sh@\string~@sel}{%
-  \let\HyPsd at GreekPatch\@empty
-}{%
-  \def\HyPsd at GreekPatch{%
-    \let\greeknumeral\HyPsd at greeknumeral
-    \let\Greeknumeral\HyPsd at Greeknumeral
-  }%
-}
-\def\HyPsd at greeknumeral#1{%
-  \HyPsd at GreekNum\@firstoftwo{#1}%
-}
-\def\HyPsd at Greeknumeral#1{%
-  \HyPsd at GreekNum\@secondoftwo{#1}%
-}
-\def\HyPsd at GreekNum#1#2{%
-  \ifHy at unicode
-    \ifnum#2<\@ne
-      \@arabic{#2}%
-    \else
-      \ifnum#2<1000000 %
-        \HyPsd@@GreekNum#1{#2}%
-      \else
-        \@arabic{#2}%
-      \fi
-    \fi
-  \else
-    \@arabic{#2}%
-  \fi
-}
-\def\HyPsd@@GreekNum#1#2{%
-  \ifnum#2<\@m
-    \ifnum#2<10 %
-      \expandafter\HyPsd at GreekNumI
-          \expandafter\@gobble\expandafter#1\number#2%
-    \else
-      \ifnum#2<100 %
-        \expandafter\HyPsd at GreekNumII
-            \expandafter\@gobble\expandafter#1\number#2%
-      \else
-        \expandafter\HyPsd at GreekNumIII
-            \expandafter\@gobble\expandafter#1\number#2%
-      \fi
-    \fi
-    \ifnum#2>\z@
-      \textnumeralsigngreek
-    \fi
-  \else
-    \ifnum#2<\@M
-      \expandafter\HyPsd at GreekNumIV\expandafter#1\number#2%
-    \else
-      \ifnum#2<100000 %
-        \expandafter\HyPsd at GreekNumV\expandafter#1\number#2%
-      \else
-        \expandafter\HyPsd at GreekNumVI\expandafter#1\number#2%
-      \fi
-    \fi
-  \fi
-}
-\def\HyPsd at GreekNumI#1#2#3{%
-  #1{%
-    \ifnum#3>\z@
-      \textnumeralsignlowergreek
-    \fi
-  }%
-  \expandafter#2%
-  \ifcase#3 %
-    {}{}%
-  \or\textalpha\textAlpha
-  \or\textbeta\textBeta
-  \or\textgamma\textGamma
-  \or\textdelta\textDelta
-  \or\textepsilon\textEpsilon
-  \or\textstigmagreek\textStigmagreek
-  \or\textzeta\textZeta
-  \or\texteta\textEta
-  \or\texttheta\textTheta
-  \else
-    {}{}%
-  \fi
-}
-\def\HyPsd at GreekNumII#1#2#3#4{%
-  #1{%
-    \ifnum#3>\z@
-      \textnumeralsignlowergreek
-    \fi
-  }%
-  \expandafter#2%
-  \ifcase#3 %
-    {}{}%
-  \or\textiota\textIota
-  \or\textkappa\textKappa
-  \or\textlambda\textLambda
-  \or\textmu\textMu
-  \or\textnu\textNu
-  \or\textxi\textXi
-  \or\textomicron\textOmicron
-  \or\textpi\textPi
-  \or\textkoppagreek\textKoppagreek
-  \else
-    {}{}%
-  \fi
-  \HyPsd at GreekNumI#1#2#4%
-}
-\def\HyPsd at GreekNumIII#1#2#3#4#5{%
-  #1{%
-    \ifnum#3>\z@
-      \textnumeralsignlowergreek
-    \fi
-  }%
-  \expandafter#2%
-  \ifcase#3 %
-    {}{}%
-  \or\textrho\textRho
-  \or\textsigma\textSigma
-  \or\texttau\textTau
-  \or\textupsilon\textUpsilon
-  \or\textphi\textPhi
-  \or\textchi\textChi
-  \or\textpsi\textPsi
-  \or\textomega\textOmega
-  \or\textsampigreek\textSampigreek
-  \else
-    {}{}%
-  \fi
-  \HyPsd at GreekNumII#1#2#4#5%
-}
-\def\HyPsd at GreekNumIV#1#2#3#4#5{%
-  \HyPsd at GreekNumI\@firstofone#1#2%
-  \HyPsd@@GreekNum#1{#3#4#5}%
-}
-\def\HyPsd at GreekNumV#1#2#3#4#5#6{%
-  \HyPsd at GreekNumII\@firstofone#1#2#3%
-  \HyPsd@@GreekNum#1{#4#5#6}%
-}
-\def\HyPsd at GreekNumVI#1#2#3#4#5#6#7{%
-  \HyPsd at GreekNumIII\@firstofone#1#2#3#4%
-  \HyPsd@@GreekNum#1{#5#6#7}%
-}
-%    \end{macrocode}
-%    \begin{macrocode}
 \def\HyPsd at SpanishPatch{%
   \ltx at IfUndefined{es at save@dot}{%
   }{%





More information about the latex3-commits mailing list.