On Sun, Feb 20, 2022 at 08:25:59AM +0200, Eli Zaretskii wrote: > > Date: Sat, 19 Feb 2022 23:28:43 +0100 > > From: Patrice Dumas <[email protected]> > > > > Info: always ignore text before the first @node or sectioning command. > > There are directives there that cannot be ignored, so I'm not sure I > understand what you mean by "ignore". Please elaborate.
I forgot to change it here. It should have been Info: never output text before the first @node or sectioning command. The @-command are processed, but no output is produced (or the output is hidden). > Maybe you should show a complete example of what is usually there, so > that the discussion could be less abstract. Here is an example. What I propose is * in book-like: output, in some way, some @titlepage content and @copying. not output "Before node and sectioning. Not output in Info." * in non book: not output "Before node and sectioning. Ignored in Info." In every case, process "@documentlanguage l1" and "@documentlanguage l2", whatever is output or not output. \input texinfo.tex @c preamble @copying This is foo. Conditions. @end copying @titlepage @title Title @page @insertcopying Some publishing informations @end titlepage @frenchspacing on @c after preamble, before @node and sectioning commands Before node and sectioning. Ignored in Info. @documentlanguage l1 @top Something @node Top This is foo. Ignored in printed. @documentlanguage l2 @node another node Always output. @node Chap @chapter Chap @bye
