Closed muzimuzhi closed 7 months ago
The first paragraph in csvsimple-l3.pdf
(2.6.0pre2, 2023-12-18), sec. 5 "String and Number Tests" is not 100% correct too, since now these tests are wrappers of expl3
functions.
The following string tests are complementing the string tests from packages like
etoolbox
. They all do the same, i.e., comparing expanded strings for equality. To some extent, they are provided for backward compatibility.
I have updated the documentation and removed the old stuff. Thank you for the hint.
Although it's true for
csvsimple-legacy
, incsvsimple-l3
\ifcsvstrcmp
is always available. Thus the (general) description of\ifcsvstrcmp
and\ifcsvstrequal
at the beginning ofcsvsimple-l3.pdf
(2.6.0pre2, 2023-12-18), sec. 5 "String and Number Tests" need some adaption.https://github.com/T-F-S/csvsimple/blob/3f4d4295b7fa2395758f4d1b49d67603d1cde9b0/doc/latex/csvsimple/csvsimple-l3.tex#L2367-L2381
In
csvsimple-l3.sty
,\ifcsvstrcmp
always uses\str_if_eq:eeTF
. https://github.com/T-F-S/csvsimple/blob/3f4d4295b7fa2395758f4d1b49d67603d1cde9b0/tex/latex/csvsimple/csvsimple-l3.sty#L477-L480In
csvsimple-legacy.sty
,\ifcsvstrcmp
might fallback to\ifcsvstrequal
https://github.com/T-F-S/csvsimple/blob/3f4d4295b7fa2395758f4d1b49d67603d1cde9b0/tex/latex/csvsimple/csvsimple-legacy.sty#L776-L793