On Sun, Mar 02, 2025 at 04:50:50PM +0100, pertu...@free.fr wrote: > On Sun, Mar 02, 2025 at 02:19:26PM +0000, Gavin Smith wrote: > > hello type translit > > hello mono ${GS}/hello/manual/hello.html > > hello node ${GS}/hello/manual/html_node_node/ > > hello node.translit ${GS}/hello/manual/html_node_translit/ > > > > then I get warnings: > > > > ./htmlxref.d/Texinfo_GNU.cnf:511: warning: unrecognised type: type > > ./htmlxref.d/Texinfo_GNU.cnf:514: warning: unrecognised type: node.translit > > ./htmlxref.d/Texinfo_GNU.cnf:511: warning: unrecognised type: type > > ./htmlxref.d/Texinfo_GNU.cnf:514: warning: unrecognised type: node.translit > > /home/g/src/texinfo/GIT/tta/C/.libs//../../perl//../../util/htmlxref.d/Texinfo_GNU.cnf:511: > > warning: unrecognised type: type > > /home/g/src/texinfo/GIT/tta/C/.libs//../../perl//../../util/htmlxref.d/Texinfo_GNU.cnf:514: > > warning: unrecognised type: node.translit > > > > This is the case regardless if whether I make a reference to the "hello" > > manual or not. > > > > Could the warnings be reduced so only to print the warning once, rather > > than twice for the ./htmlxref.d location? > > I don't reproduce that, I think that the issue is probably that a file > is read twice, rather than warnings being emitted twice per file. > Where/how/what do you call to get that result, and where are the > htmlxref.d directories in your case?
Hopefully this is enough for you to replicate the repeated warnings. They are repeated twice with texi2any.pl and three times with ctexi2any. $ cat test2.texi \input texinfo @node First cap @chapter First cap @node Bar @section Bar hello @bye $ ../tta/C/ctexi2any --html --no-split test2.texi ./htmlxref.d/test.cnf:1: warning: unrecognised type: type ./htmlxref.d/test.cnf:4: warning: unrecognised type: node.translit ./htmlxref.d/test.cnf:1: warning: unrecognised type: type ./htmlxref.d/test.cnf:4: warning: unrecognised type: node.translit test2.texi: warning: must specify a title with a title command or @top $ ../tta/perl/texi2any.pl --html --no-split test2.texi ./htmlxref.d/test.cnf:1: warning: unrecognised type: type ./htmlxref.d/test.cnf:4: warning: unrecognised type: node.translit ./htmlxref.d/test.cnf:1: warning: unrecognised type: type ./htmlxref.d/test.cnf:4: warning: unrecognised type: node.translit ./htmlxref.d/test.cnf:1: warning: unrecognised type: type ./htmlxref.d/test.cnf:4: warning: unrecognised type: node.translit test2.texi: warning: must specify a title with a title command or @top $