On Sun, Oct 18, 2026 at 07:21:03PM +0200, Patrice Dumas wrote: > On Fri, Oct 16, 2026 at 09:54:34AM +0800, aidan wrote: > > 1. create a file named "a.texi" > > 2. run: > > > > texi2any --set-customization-variable paragraphindent=asis --info a.texi > > > > 3. the following warnings appear: > > > > Argument "asis" isn't numeric in numeric gt (>) at > > /usr/local/share/texi2any/Texinfo/Convert/ParagraphNonXS.pm line 177. > > Argument "asis" isn't numeric in numeric ge (>=) at > > /usr/local/share/texi2any/Texinfo/Convert/PlaintextNonXS.pm line 4042. > > I added many checks on customization variables values set from the > command-line or init files. The warning is now: > > texi2any: warning: "asis" invalid for paragraphindent (integer number > expected) > > Does it looks good?
An integer is a type of number and so the phrase "integer number" is redundant. I would change it simply to "number expected". Should I add the meanings of the special values (0 and -2) to the manual? > The added messages are mainly warnings, but texi2any may now also abort > when the Perl variable type does not match the variable type, both from > the command-line and init files. > > Thans for the report. > > -- > Pat >
