Re: [BUG] False-positive warning @node name should not contain `,'

Patrice Dumas <[email protected]>
Newsgroups gmane.comp.tex.texinfo.bugs
Message-ID <[email protected]>
On Sun, Mar 01, 2026 at 01:45:41PM +0000, Ihor Radchenko wrote:
> Hello,
> 
> Consider the following .texi file.
> When I try to compile it with makeinfo file.texi, I get
>  warning: @node name should not contain `,': This is test, yes
> even though the comma is escaped with @comma{}, as suggested by the
> manual https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Node-Line-Requirements.html

As explained on this page, you need to set INFO_SPECIAL_CHARS_WARNING to
0 if you do not want to get the warnings about commas in node names.

It seems to work (calling your texinfo file tbug.texi):
$ ./texi2any.pl tbug.texi
tbug.texi:4: warning: @settitle missing argument
tbug.texi:16: warning: @title missing argument
tbug.texi:31: warning: @node name should not contain `,': This is test, yes

$ ./texi2any.pl -c INFO_SPECIAL_CHARS_WARNING=0 tbug.texi 
tbug.texi:4: warning: @settitle missing argument
tbug.texi:16: warning: @title missing argument

> 
> Texinfo version: 7.2
> 
> \input texinfo    @c -*- texinfo -*-
> @c %**start of header
> @setfilename bug.info
> @settitle 
> @documentencoding UTF-8
> @documentlanguage en
> @c %**end of header
> 
> @dircategory Misc
> @direntry
> * (bug).                .
> @end direntry
> 
> @finalout
> @titlepage
> @title 
> @author Ihor Radchenko
> @end titlepage
> 
> @contents
> 
> @ifnottex
> @node Top
> @top 
> @end ifnottex
> 
> @menu
> * This is test@comma{} yes::
> @end menu
> 
> @node This is test@comma{} yes
> @chapter This is test@comma{} yes

-- 
Pat
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.