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?

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

Reply via email to