CTeX-org / ctex-kit

Macro Packages and Scripts for Chinese TeX users
980 stars 124 forks source link

Two self-referential declarations in xeCJK.dtx #682

Closed rriegs closed 10 months ago

rriegs commented 10 months ago

The declaration for \textnbacksim on line 12899 of xeCJK.dtx refers to itself instead of the intended \textbacksim:

https://github.com/CTeX-org/ctex-kit/blob/29d70d8bdfbeb1a955ee8a128852cf3069b8ec88/xeCJK/xeCJK.dtx#L12899

The declaration for \textnlessapprox on line 13388 similarly refers to itself instead of the intended \textlessapprox:

https://github.com/CTeX-org/ctex-kit/blob/29d70d8bdfbeb1a955ee8a128852cf3069b8ec88/xeCJK/xeCJK.dtx#L13388

Also, the declaration for \textnleqslant on line 13384 refers to \textlstrikethrux instead of the correct \textlstrikethru:

https://github.com/CTeX-org/ctex-kit/blob/29d70d8bdfbeb1a955ee8a128852cf3069b8ec88/xeCJK/xeCJK.dtx#L13384

muzimuzhi commented 10 months ago

Thanks for reporting these!

A fix corresponding to your similar reports to hyperref has also been applied in xeCJK.dtx, see #680.