[latex3-commits] [git/LaTeX3-latex3-hyperref] main: handle guillemot/guillemets (a07c4b7)
Ulrike Fischer
fischer at troubleshooting-tex.de
Mon Jun 13 10:52:15 CEST 2022
Repository : https://github.com/latex3/hyperref
On branch : main
Link : https://github.com/latex3/hyperref/commit/a07c4b742018e0b16b6345d85411adfdbe703481
>---------------------------------------------------------------
commit a07c4b742018e0b16b6345d85411adfdbe703481
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Mon Jun 13 10:52:15 2022 +0200
handle guillemot/guillemets
>---------------------------------------------------------------
a07c4b742018e0b16b6345d85411adfdbe703481
ChangeLog.txt | 4 ++++
hyperref.dtx | 22 +++++++++++++---------
2 files changed, 17 insertions(+), 9 deletions(-)
diff --git a/ChangeLog.txt b/ChangeLog.txt
index 3c35ea9..c3f1565 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -1,3 +1,7 @@
+XXXX-XX-XX Ulrike Fischer/David Carlisle
+ * add definitions for guillemet (corrects the spelling) and
+ use them to follow the LaTeX change.
+
2022-05-17 Ulrike Fischer/David Carlisle
* fixed: beamer patch in nameref has to be delayed after
the class has been loaded. issue #236.
diff --git a/hyperref.dtx b/hyperref.dtx
index edf82e4..fb0a484 100644
--- a/hyperref.dtx
+++ b/hyperref.dtx
@@ -1687,7 +1687,7 @@
% a token that is detected by \cs{xspace}.
%
% The code of |frenchb.ldf| can produce an additional
-% space before \cs{guillemotright}, because \cs{lastskip}
+% space before \cs{guillemetright}, because \cs{lastskip}
% and \cs{unskip} do not work. Therefore it is removed here.
% \begin{macrocode}
\ifHy at unicode
@@ -20119,8 +20119,9 @@
\DeclareTextCommand{\textcopyright}{PD1}{\251}% U+00A9
% U+00AA FEMININE ORDINAL INDICATOR; ordfeminine
\DeclareTextCommand{\textordfeminine}{PD1}{\252}% U+00AA
-% U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemotleft
+% U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemetleft
\DeclareTextCommand{\guillemotleft}{PD1}{\253}% U+00AB
+\DeclareTextCommand{\guillemetleft}{PD1}{\253}% U+00AB
% U+00AC NOT SIGN; logicalnot
\DeclareTextCommand{\textlogicalnot}{PD1}{\254}% U+00AC
\DeclareTextCommand{\textlnot}{PD1}{\254}% logical not
@@ -20153,8 +20154,9 @@
\DeclareTextCommand{\textonesuperior}{PD1}{\271}%* U+00B9
% U+00BA MASCULINE ORDINAL INDICATOR; ordmasculine
\DeclareTextCommand{\textordmasculine}{PD1}{\272}% U+00BA
-% U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemotright
+% U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemetright
\DeclareTextCommand{\guillemotright}{PD1}{\273}% U+00BB
+\DeclareTextCommand{\guillemetright}{PD1}{\273}% U+00BB
% U+00BC VULGAR FRACTION ONE QUARTER; onequarter
\DeclareTextCommand{\textonequarter}{PD1}{\274}% U+00BC
% U+00BD VULGAR FRACTION ONE HALF; onehalf
@@ -20311,8 +20313,8 @@
\DeclareTextCommand{\textgrqq}{PD1}{\textquotedblleft}%
\DeclareTextCommand{\textglq}{PD1}{\quotesinglbase}%
\DeclareTextCommand{\textgrq}{PD1}{\textquoteleft}%
-\DeclareTextCommand{\textflqq}{PD1}{\guillemotleft}%
-\DeclareTextCommand{\textfrqq}{PD1}{\guillemotright}%
+\DeclareTextCommand{\textflqq}{PD1}{\guillemetleft}%
+\DeclareTextCommand{\textfrqq}{PD1}{\guillemetright}%
\DeclareTextCommand{\textflq}{PD1}{\guilsinglleft}%
\DeclareTextCommand{\textfrq}{PD1}{\guilsinglright}%
% \end{macrocode}
@@ -20661,8 +20663,9 @@
\DeclareTextCommand{\textcopyright}{PU}{\80\251}%* U+00A9
% U+00AA FEMININE ORDINAL INDICATOR; ordfeminine
\DeclareTextCommand{\textordfeminine}{PU}{\80\252}% U+00AA
-% U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemotleft
+% U+00AB LEFT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemetleft
\DeclareTextCommand{\guillemotleft}{PU}{\80\253}% U+00AB
+\DeclareTextCommand{\guillemetleft}{PU}{\80\253}% U+00AB
% U+00AC NOT SIGN; logicalnot
\DeclareTextCommand{\textlogicalnot}{PU}{\80\254}% U+00AC
\DeclareTextCommand{\textlnot}{PU}{\80\254}% U+00AC
@@ -20699,8 +20702,9 @@
\DeclareTextCommand{\textonesuperior}{PU}{\80\271}%* U+00B9
% U+00BA MASCULINE ORDINAL INDICATOR; ordmasculine
\DeclareTextCommand{\textordmasculine}{PU}{\80\272}% U+00BA
-% U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemotright
+% U+00BB RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK; guillemetright
\DeclareTextCommand{\guillemotright}{PU}{\80\273}% U+00BB
+\DeclareTextCommand{\guillemetright}{PU}{\80\273}% U+00BB
% U+00BC VULGAR FRACTION ONE QUARTER; onequarter
\DeclareTextCommand{\textonequarter}{PU}{\80\274}% U+00BC
% U+00BD VULGAR FRACTION ONE HALF; onehalf
@@ -25240,8 +25244,8 @@
\DeclareTextCommand{\textgrqq}{PU}{\textquotedblleft}%
\DeclareTextCommand{\textglq}{PU}{\quotesinglbase}%
\DeclareTextCommand{\textgrq}{PU}{\textquoteleft}%
-\DeclareTextCommand{\textflqq}{PU}{\guillemotleft}%
-\DeclareTextCommand{\textfrqq}{PU}{\guillemotright}%
+\DeclareTextCommand{\textflqq}{PU}{\guillemetleft}%
+\DeclareTextCommand{\textfrqq}{PU}{\guillemetright}%
\DeclareTextCommand{\textflq}{PU}{\guilsinglleft}%
\DeclareTextCommand{\textfrq}{PU}{\guilsinglright}%
% \end{macrocode}
More information about the latex3-commits
mailing list.