patta42 / lipsum

A LaTeX package to access to 150 paragraphs of Lorem Ipsum dummy text.
5 stars 2 forks source link

lipsum uses an internal command of xparse which will disappear in the next latex. #19

Open u-fischer opened 3 years ago

u-fischer commented 3 years ago

lipsum uses an internal command of xparse:

\cs_generate_variant:Nn \__xparse_split_argument:nnn {nne}
\cs_new_eq:NN
  \__lipsum_split_argument_expanded:nne
  \__xparse_split_argument:nne

This is not allowed according to the expl3 rules: Internal commands are private to a package and can change without notice. And this what is just happening as xparse has been moved to the latex kernel.

And so currently all my documents using lipsum break when I use the latex development version with

! Undefined control sequence.
<inserted text> \__xparse_split_argument:nnn 
                                             {1}{-}{1}
l.15 \end
         {document}

Probably (but untested) the code can be replaced by

\cs_new_eq:NN \__lipsum_split_argument_expanded:nnn \SplitArgument
\cs_generate_variant:Nn \__lipsum_split_argument_expanded:nnn {nne}
PhelypeOleinik commented 3 years ago

This is fixed in lipsum version 2.3 (2021-03-03).

Development moved to https://github.com/PhelypeOleinik/lipsum