diff options
author | Norbert Preining <norbert@preining.info> | 2023-05-19 03:01:08 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-05-19 03:01:08 +0000 |
commit | dd54bf2a9c9e985917ceb5ced412213cd44eaeae (patch) | |
tree | 0d0a94b7cad225ba7570c9ae16082392e2c41a2b /support/TeX4ht/source | |
parent | b2f81626104e48abe103ae135fb0d538bb2de3cd (diff) |
CTAN sync 202305190301
Diffstat (limited to 'support/TeX4ht/source')
-rw-r--r-- | support/TeX4ht/source/ChangeLog | 8 | ||||
-rw-r--r-- | support/TeX4ht/source/tex4ht-4ht.tex | 9 |
2 files changed, 13 insertions, 4 deletions
diff --git a/support/TeX4ht/source/ChangeLog b/support/TeX4ht/source/ChangeLog index 0792e7db66..02e9e5d0c1 100644 --- a/support/TeX4ht/source/ChangeLog +++ b/support/TeX4ht/source/ChangeLog @@ -1,4 +1,12 @@ +2023-05-18 Michal Hoftich <michal.h21@gmail.com> + * tex4ht-4ht.tex (cleveref.4ht): don't include punctuation in links + with Cleveref references. + https://tex.stackexchange.com/a/686051/2891 + +2023-05-14 Karl Berry <karl@freefriends.org> + + * update-htfonts: also install tex4ht-fonts*.tex and other sources. 2023-05-11 Michal Hoftich <michal.h21@gmail.com> diff --git a/support/TeX4ht/source/tex4ht-4ht.tex b/support/TeX4ht/source/tex4ht-4ht.tex index f4beaa0ac6..37cefd1942 100644 --- a/support/TeX4ht/source/tex4ht-4ht.tex +++ b/support/TeX4ht/source/tex4ht-4ht.tex @@ -1,4 +1,4 @@ -% $Id: tex4ht-4ht.tex 1328 2023-05-07 14:40:45Z karl $ +% $Id: tex4ht-4ht.tex 1332 2023-05-18 14:17:52Z michal_h21 $ % tex tex4ht-4ht or ht tex tex4ht-4ht % % Copyright 2009-2023 TeX Users Group @@ -3712,10 +3712,11 @@ Support for links from the \Verb|\cref| command. \def\:tempa#1#2{\bgroup% \def\rEfLiNK##1##2{\Link{##1}{}}% \def\XRrEfLiNK[##1]##2##3{\Link[##1]{##2}{}}% handle links from Xr and Xr-hyper - \expandafter\expandafter\expandafter\@firstoffive\csname r@#2\endcsname{}{}{}{}{}% \cref@getlabel{#2}{\@templabel}% - #1{\@templabel}{}{}% - \EndLink\egroup% + #1{% add links only around reference numbers, not the previous text, because it can contain punctuation + \expandafter\expandafter\expandafter\@firstoffive\csname r@#2\endcsname{}{}{}{}{}% + \@templabel\EndLink}{}{}% + \egroup% }% \HLet\@@@setcref=\:tempa |