latex3/hyperref

Incorrect declaration `\CYRSDSC{\CYRS}` in hyperref.dtx

rriegs opened this issue · 2 comments

rriegs commented

The composite command \CYRSDSC{\CYRS} declared on line 22184 of hyperref.dtx should instead be \k{\CYRS} (i.e., ogonek applied to Cyrillic capital letter Es):

hyperref/hyperref.dtx

Lines 22182 to 22187 in 7a25bf3

% U+04AA CYRILLIC CAPITAL LETTER ES WITH DESCENDER; Esdescendercyrillic
\DeclareTextCommand{\CYRSDSC}{PU}{\84\252}% U+04AA
\DeclareTextCompositeCommand{\CYRSDSC}{PU}{\CYRS}{\84\252}% U+04AA
% U+04AB CYRILLIC SMALL LETTER ES WITH DESCENDER; esdescendercyrillic
\DeclareTextCommand{\cyrsdsc}{PU}{\84\253}% U+04AB
\DeclareTextCompositeCommand{\k}{PU}{\cyrs}{\84\253}% U+04AB

This change would be consistent with the declaration for the lowercase version of the letter on line 22187 and would eliminate a redundancy (and possible conflict) in that \CYRSDSC by itself as declared on line 22183 is intended to be a synonym for \k{\CYRS}.

Similar to #307 and #310, this error has propagated to other repositories including ctex-kit's xeCJK.dtx.

Similar to #307 and #310, this error has propagated to other repositories including ctex-kit's xeCJK.dtx.

@rriegs Thanks for your report again! This has been fixed in ctex-kit dev too, see CTeX-org/ctex-kit@81f7050.

this has been fixed in the newest hyperref. 7.01g