texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Warn if @| appears out of a heading specification


From: Patrice Dumas
Subject: branch master updated: Warn if @| appears out of a heading specification
Date: Sun, 02 Oct 2022 03:35:38 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 956a87e708 Warn if @| appears out of a heading specification
956a87e708 is described below

commit 956a87e708fa76d553342d901ce5c9be5fbce283
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Oct 2 09:35:26 2022 +0200

    Warn if @| appears out of a heading specification
    
    * tp/Texinfo/Common.pm (%in_heading_spec_commands),
    tp/Texinfo/Convert/LaTeX.pm (_convert)
    %LaTeX_in_heading_commands_formatting),
    tp/Texinfo/XS/parsetexi/command_data.txt,
    tp/Texinfo/XS/parsetexi/commands.h,
    tp/Texinfo/XS/parsetexi/handle_commands.c (handle_other_command),
    tp/Texinfo/XS/parsetexi/parser.c (check_valid_nesting): rename
    in_heading as in_heading_spec in XS parser to match perl.  Set @| to
    be in in_heading_spec.  In LaTeX.pm, rename
    %LaTeX_in_heading_spec_commands as
    %LaTeX_in_heading_commands_formatting and use that source of
    information to select the corresponding commands to format.
---
 ChangeLog                                          | 17 +++++++++
 tp/Texinfo/Common.pm                               |  2 ++
 tp/Texinfo/Convert/LaTeX.pm                        | 40 +++++++++++-----------
 tp/Texinfo/XS/parsetexi/command_data.txt           | 22 ++++++------
 tp/Texinfo/XS/parsetexi/commands.h                 |  2 +-
 tp/Texinfo/XS/parsetexi/handle_commands.c          |  2 +-
 tp/Texinfo/XS/parsetexi/parser.c                   |  2 +-
 tp/t/results/coverage/commands_in_math.pl          | 12 ++++++-
 tp/tests/layout/res_parser/formatting/formatting.2 |  8 +++++
 .../layout/res_parser/formatting_chm/formatting.2  |  8 +++++
 .../res_parser/formatting_docbook/formatting.2     |  8 +++++
 .../formatting_enable_encoding/formatting.2        |  8 +++++
 .../layout/res_parser/formatting_epub/formatting.2 |  8 +++++
 .../res_parser/formatting_epub_nodes/formatting.2  |  8 +++++
 .../res_parser/formatting_exotic/formatting.2      |  8 +++++
 .../res_parser/formatting_fr_icons/formatting.2    |  8 +++++
 .../layout/res_parser/formatting_html/formatting.2 |  8 +++++
 .../res_parser/formatting_html32/formatting.2      |  8 +++++
 .../formatting_html_no_texi2html/formatting.2      |  8 +++++
 .../res_parser/formatting_html_nodes/formatting.2  |  8 +++++
 .../layout/res_parser/formatting_info/formatting.2 |  8 +++++
 .../res_parser/formatting_inline_css/formatting.2  |  8 +++++
 .../res_parser/formatting_latex/formatting.2       |  8 +++++
 .../formatting_macro_expand/formatting.2           |  8 +++++
 .../res_parser/formatting_mathjax/formatting.2     |  8 +++++
 .../res_parser/formatting_nodes/formatting.2       |  8 +++++
 .../formatting_numerical_entities/formatting.2     |  8 +++++
 .../res_parser/formatting_plaintext/formatting.2   |  8 +++++
 .../res_parser/formatting_rawtext/formatting.2     |  8 +++++
 .../formatting_regions/formatting_regions.2        |  8 +++++
 .../res_parser/formatting_textcontent/formatting.2 |  8 +++++
 .../formatting_weird_quotes/formatting.2           |  8 +++++
 .../res_parser/formatting_xhtml/formatting.2       |  8 +++++
 .../layout/res_parser/formatting_xml/formatting.2  |  8 +++++
 .../res_parser/formatting_singular/formatting.2    |  8 +++++
 35 files changed, 280 insertions(+), 35 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 4f2cabf71e..f676a5ce1b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,20 @@
+2022-10-02  Patrice Dumas  <pertusus@free.fr>
+
+       Warn if @| appears out of a heading specification
+
+       * tp/Texinfo/Common.pm (%in_heading_spec_commands),
+       tp/Texinfo/Convert/LaTeX.pm (_convert)
+       %LaTeX_in_heading_commands_formatting),
+       tp/Texinfo/XS/parsetexi/command_data.txt,
+       tp/Texinfo/XS/parsetexi/commands.h,
+       tp/Texinfo/XS/parsetexi/handle_commands.c (handle_other_command),
+       tp/Texinfo/XS/parsetexi/parser.c (check_valid_nesting): rename
+       in_heading as in_heading_spec in XS parser to match perl.  Set @| to
+       be in in_heading_spec.  In LaTeX.pm, rename
+       %LaTeX_in_heading_spec_commands as
+       %LaTeX_in_heading_commands_formatting and use that source of
+       information to select the corresponding commands to format.
+
 2022-10-01  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/TexinfoMarkup.pm (_convert): collect trailing
diff --git a/tp/Texinfo/Common.pm b/tp/Texinfo/Common.pm
index 3299662fa1..b0d0144fae 100644
--- a/tp/Texinfo/Common.pm
+++ b/tp/Texinfo/Common.pm
@@ -650,6 +650,8 @@ foreach my $in_heading_command ('thischapter', 
'thischaptername',
   $nobrace_commands{$in_heading_command} = 'other';
 }
 
+$in_heading_spec_commands{'|'} = 1;
+
 # %in_heading_spec_commands and @| are only valid in the following @-commands
 our %heading_spec_commands;
 foreach my $headings_specification_command ('everyheading', 'everyfooting',
diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 68f60f4b9b..fe7ea807ff 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -233,7 +233,6 @@ my %preformatted_code_commands = 
%Texinfo::Common::preformatted_code_commands;
 my %default_index_commands = %Texinfo::Common::default_index_commands;
 my %letter_no_arg_commands = %Texinfo::Common::letter_no_arg_commands;
 my %heading_spec_commands = %Texinfo::Common::heading_spec_commands;
-my %in_heading_spec_commands = %Texinfo::Common::in_heading_spec_commands;
 my %unformatted_brace_command = %Texinfo::Common::unformatted_brace_command;
 
 my %preamble_commands = %Texinfo::Common::preamble_commands;
@@ -248,7 +247,24 @@ foreach my $def_command (keys(%def_commands)) {
   $formatted_line_commands{$def_command} = 1 if ($line_commands{$def_command});
 }
 
-foreach my $kept_command (keys(%in_heading_spec_commands),
+# TODO command that could be used for translation \sectionname does
+# not exist in the default case.  it is defined in the pagenote package 
together with
+# \pagename which is page in the default case, but it is unclear if this
+# can be used as a basis for translations
+my %LaTeX_in_heading_commands_formatting = (
+  'thischapter' => '\chaptername{} \thechapter{} \chaptertitle{}',
+  'thischaptername' => '\chaptertitle{}',
+  'thischapternum' => '\thechapter{}',
+  #'thissection' => '\sectionname{} \thesection{} \sectiontitle{}',
+  'thissection' => 'Section \thesection{} \sectiontitle{}',
+  'thissectionname' => '\sectiontitle{}',
+  'thissectionnum' => '\thesection{}',
+  'thisfile' => '',
+  'thispage' => '\thepage{}',
+  'thistitle' => '\GNUTexinfosettitle{}',
+);
+
+foreach my $kept_command (keys(%LaTeX_in_heading_commands_formatting),
                                        'indent', 'noindent') {
   $formatted_nobrace_commands{$kept_command} = 1;
 }
@@ -447,22 +463,6 @@ foreach my $accent_command (keys 
%{$LaTeX_accent_commands{'cmd_math'}}) {
   }
 }
 
-# TODO command that could be used for translation \sectionname does
-# not exist in the default case.  it is defined in the pagenote package 
together with
-# \pagename which is page in the default case, but it is unclear if this
-# can be used as a basis for translations
-my %LaTeX_in_heading_spec_commands = (
-  'thischapter' => '\chaptername{} \thechapter{} \chaptertitle{}',
-  'thischaptername' => '\chaptertitle{}',
-  'thischapternum' => '\thechapter{}',
-  #'thissection' => '\sectionname{} \thesection{} \sectiontitle{}',
-  'thissection' => 'Section \thesection{} \sectiontitle{}',
-  'thissectionname' => '\sectiontitle{}',
-  'thissectionnum' => '\thesection{}',
-  'thisfile' => '',
-  'thispage' => '\thepage{}',
-  'thistitle' => '\GNUTexinfosettitle{}',
-);
 
 my %ignored_commands = (%ignored_line_commands, %ignored_nobrace_commands);
 # processed as part of the index command or type formatting
@@ -3405,8 +3405,8 @@ sub _convert($$)
         $result .= "\\needspace{${need_value}pt}%\n";
       }
       return $result;
-    } elsif ($in_heading_spec_commands{$cmdname}) {
-      $result .= $LaTeX_in_heading_spec_commands{$cmdname};
+    } elsif ($LaTeX_in_heading_commands_formatting{$cmdname}) {
+      $result .= $LaTeX_in_heading_commands_formatting{$cmdname};
       return $result;
     } elsif ($cmdname eq 'title') {
       my $title_text = _title_font($self, $element);
diff --git a/tp/Texinfo/XS/parsetexi/command_data.txt 
b/tp/Texinfo/XS/parsetexi/command_data.txt
index e8de4d8225..775194ad77 100644
--- a/tp/Texinfo/XS/parsetexi/command_data.txt
+++ b/tp/Texinfo/XS/parsetexi/command_data.txt
@@ -31,7 +31,7 @@ txiinternalvalue        brace,internal                  
INTERNAL_brace
 \t                      nobrace                         NOBRACE_symbol
 \n                      nobrace                         NOBRACE_symbol
 -                       nobrace                         NOBRACE_symbol
-|                       nobrace                         NOBRACE_symbol
+|                       nobrace,in_heading_spec         NOBRACE_symbol
 /                       nobrace                         NOBRACE_symbol
 :                       nobrace                         NOBRACE_symbol
 !                       nobrace                         NOBRACE_symbol
@@ -155,7 +155,7 @@ subentry                line                            
LINE_line
 
 ##########################################################
 #
-# miscellaneous commands
+# no brace commands - miscellaneous commands
 #
 ##########################################################
 
@@ -166,15 +166,15 @@ headitem                nobrace                         
NOBRACE_skipspace
 item                    nobrace                         NOBRACE_skipspace
 tab                     nobrace                         NOBRACE_skipspace
 # only valid in heading or footing
-thischapter             nobrace,in_heading              NOBRACE_other
-thischaptername         nobrace,in_heading              NOBRACE_other
-thischapternum          nobrace,in_heading              NOBRACE_other
-thissection             nobrace,in_heading              NOBRACE_other
-thissectionname         nobrace,in_heading              NOBRACE_other
-thissectionnum          nobrace,in_heading              NOBRACE_other
-thisfile                nobrace,in_heading              NOBRACE_other
-thispage                nobrace,in_heading              NOBRACE_other
-thistitle               nobrace,in_heading              NOBRACE_other
+thischapter             nobrace,in_heading_spec         NOBRACE_other
+thischaptername         nobrace,in_heading_spec         NOBRACE_other
+thischapternum          nobrace,in_heading_spec         NOBRACE_other
+thissection             nobrace,in_heading_spec         NOBRACE_other
+thissectionname         nobrace,in_heading_spec         NOBRACE_other
+thissectionnum          nobrace,in_heading_spec         NOBRACE_other
+thisfile                nobrace,in_heading_spec         NOBRACE_other
+thispage                nobrace,in_heading_spec         NOBRACE_other
+thistitle               nobrace,in_heading_spec         NOBRACE_other
 # obsolete @-commands.
 refill                  nobrace,deprecated              NOBRACE_other
 
diff --git a/tp/Texinfo/XS/parsetexi/commands.h 
b/tp/Texinfo/XS/parsetexi/commands.h
index 11f94da71f..278ef6a155 100644
--- a/tp/Texinfo/XS/parsetexi/commands.h
+++ b/tp/Texinfo/XS/parsetexi/commands.h
@@ -60,7 +60,7 @@ void wipe_user_commands (void);
 #define CF_math                                0x0080
 #define CF_variadic                    0x0100
 #define CF_INFOENCLOSE                 0x0200
-#define CF_in_heading                  0x0400
+#define CF_in_heading_spec                     0x0400
 #define CF_ref                         0x0800
 #define CF_ALIAS                        0x1000
 #define CF_block                       0x2000
diff --git a/tp/Texinfo/XS/parsetexi/handle_commands.c 
b/tp/Texinfo/XS/parsetexi/handle_commands.c
index 1beaf4c5c9..3e97d1bc98 100644
--- a/tp/Texinfo/XS/parsetexi/handle_commands.c
+++ b/tp/Texinfo/XS/parsetexi/handle_commands.c
@@ -94,7 +94,7 @@ handle_other_command (ELEMENT *current, char **line_inout,
       misc = new_element (ET_NONE);
       misc->cmd = cmd;
       add_to_element_contents (current, misc);
-      if (command_data(cmd).flags & CF_in_heading
+      if (command_data(cmd).flags & CF_in_heading_spec
           && !(command_data(current_context_command()).flags & 
CF_heading_spec))
         {
           line_error ("@%s should only appear in heading or footing",
diff --git a/tp/Texinfo/XS/parsetexi/parser.c b/tp/Texinfo/XS/parsetexi/parser.c
index 877567dd81..34e7420e45 100644
--- a/tp/Texinfo/XS/parsetexi/parser.c
+++ b/tp/Texinfo/XS/parsetexi/parser.c
@@ -1006,7 +1006,7 @@ check_valid_nesting (ELEMENT *current, enum command_id 
cmd)
           && command_data(cmd).data == BLOCK_conditional)
         ok = 1;
 
-      if (cmd_flags & CF_in_heading)
+      if (cmd_flags & CF_in_heading_spec)
         { /* in heading commands can only appear in headings and style
              brace commands */
           ok = 0;
diff --git a/tp/t/results/coverage/commands_in_math.pl 
b/tp/t/results/coverage/commands_in_math.pl
index 3fbfda9d10..0f16a13c4f 100644
--- a/tp/t/results/coverage/commands_in_math.pl
+++ b/tp/t/results/coverage/commands_in_math.pl
@@ -2633,7 +2633,17 @@ TH d th ! ? #
 > o Euro -> <= >=
 ';
 
-$result_errors{'commands_in_math'} = [];
+$result_errors{'commands_in_math'} = [
+  {
+    'error_line' => '@| should only appear in heading or footing
+',
+    'file_name' => '',
+    'line_nr' => 12,
+    'macro' => '',
+    'text' => '@| should only appear in heading or footing',
+    'type' => 'error'
+  }
+];
 
 
 $result_floats{'commands_in_math'} = {};
diff --git a/tp/tests/layout/res_parser/formatting/formatting.2 
b/tp/tests/layout/res_parser/formatting/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting/formatting.2
+++ b/tp/tests/layout/res_parser/formatting/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting.2 
b/tp/tests/layout/res_parser/formatting_chm/formatting.2
index 61c3085b46..b6a050bda2 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_docbook/formatting.2 
b/tp/tests/layout/res_parser/formatting_docbook/formatting.2
index 0ab7469490..d75787ff48 100644
--- a/tp/tests/layout/res_parser/formatting_docbook/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_docbook/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.2 
b/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_enable_encoding/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_epub/formatting.2 
b/tp/tests/layout/res_parser/formatting_epub/formatting.2
index f5a76bd1ed..bd53495882 100644
--- a/tp/tests/layout/res_parser/formatting_epub/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_epub/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting.2 
b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting.2
index f5a76bd1ed..bd53495882 100644
--- a/tp/tests/layout/res_parser/formatting_epub_nodes/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_epub_nodes/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_exotic/formatting.2 
b/tp/tests/layout/res_parser/formatting_exotic/formatting.2
index d600e38590..eb37b4dbcb 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.2 
b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_html/formatting.2 
b/tp/tests/layout/res_parser/formatting_html/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_html/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_html/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_html32/formatting.2 
b/tp/tests/layout/res_parser/formatting_html32/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_html32/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_html32/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git 
a/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.2 
b/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.2
index d600e38590..eb37b4dbcb 100644
--- a/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/formatting.2 
b/tp/tests/layout/res_parser/formatting_html_nodes/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_info/formatting.2 
b/tp/tests/layout/res_parser/formatting_info/formatting.2
index d8419664d6..94c5d05df4 100644
--- a/tp/tests/layout/res_parser/formatting_info/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_info/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_inline_css/formatting.2 
b/tp/tests/layout/res_parser/formatting_inline_css/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_inline_css/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_inline_css/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.2 
b/tp/tests/layout/res_parser/formatting_latex/formatting.2
index 40da37a516..77b3e993f5 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -65,6 +67,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -86,6 +89,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -131,6 +135,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -152,6 +157,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -199,6 +205,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -231,6 +238,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_macro_expand/formatting.2 
b/tp/tests/layout/res_parser/formatting_macro_expand/formatting.2
index 342f746753..21538ab876 100644
--- a/tp/tests/layout/res_parser/formatting_macro_expand/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_macro_expand/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_mathjax/formatting.2 
b/tp/tests/layout/res_parser/formatting_mathjax/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_mathjax/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_mathjax/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_nodes/formatting.2 
b/tp/tests/layout/res_parser/formatting_nodes/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git 
a/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.2 
b/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_numerical_entities/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_plaintext/formatting.2 
b/tp/tests/layout/res_parser/formatting_plaintext/formatting.2
index aa896c1959..e18f58a6c4 100644
--- a/tp/tests/layout/res_parser/formatting_plaintext/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_plaintext/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_rawtext/formatting.2 
b/tp/tests/layout/res_parser/formatting_rawtext/formatting.2
index 342f746753..21538ab876 100644
--- a/tp/tests/layout/res_parser/formatting_rawtext/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_rawtext/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_regions/formatting_regions.2 
b/tp/tests/layout/res_parser/formatting_regions/formatting_regions.2
index 3b35799aee..940c2ba4ff 100644
--- a/tp/tests/layout/res_parser/formatting_regions/formatting_regions.2
+++ b/tp/tests/layout/res_parser/formatting_regions/formatting_regions.2
@@ -1,3 +1,4 @@
+formatting_regions.texi:28: @| should only appear in heading or footing 
(possibly involving @mymacro)
 formatting_regions.texi:28: warning: @author should only appear at the 
beginning of a line (possibly involving @mymacro)
 formatting_regions.texi:28: warning: missing name for @deffnx (possibly 
involving @mymacro)
 formatting_regions.texi:28: warning: missing name for @deffnx (possibly 
involving @mymacro)
@@ -19,6 +20,7 @@ formatting_regions.texi:28: @, expected braces (possibly 
involving @mymacro)
 formatting_regions.texi:28: warning: command `@'' must not be followed by new 
line (possibly involving @mymacro)
 formatting_regions.texi:28: @' expected braces (possibly involving @mymacro)
 formatting_regions.texi:28: @' expected braces (possibly involving @mymacro)
+formatting_regions.texi:28: @| should only appear in heading or footing 
(possibly involving @mymacro)
 formatting_regions.texi:28: @dotless expects `i' or `j' as argument, not 
`truc' (possibly involving @mymacro)
 formatting_regions.texi:28: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting_regions.texi:28: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting_regions.texi:28: warning: @inforef is obsolete 
(possibly involving @m
 formatting_regions.texi:28: warning: @inforef is obsolete (possibly involving 
@mymacro)
 formatting_regions.texi:28: warning: @inforef is obsolete (possibly involving 
@mymacro)
 formatting_regions.texi:28: warning: command @inforef missing a node or 
external manual argument (possibly involving @mymacro)
+formatting_regions.texi:39: @| should only appear in heading or footing 
(possibly involving @mymacro)
 formatting_regions.texi:39: warning: @author should only appear at the 
beginning of a line (possibly involving @mymacro)
 formatting_regions.texi:39: warning: missing name for @deffnx (possibly 
involving @mymacro)
 formatting_regions.texi:39: warning: missing name for @deffnx (possibly 
involving @mymacro)
@@ -87,6 +90,7 @@ formatting_regions.texi:39: @, expected braces (possibly 
involving @mymacro)
 formatting_regions.texi:39: warning: command `@'' must not be followed by new 
line (possibly involving @mymacro)
 formatting_regions.texi:39: @' expected braces (possibly involving @mymacro)
 formatting_regions.texi:39: @' expected braces (possibly involving @mymacro)
+formatting_regions.texi:39: @| should only appear in heading or footing 
(possibly involving @mymacro)
 formatting_regions.texi:39: @dotless expects `i' or `j' as argument, not 
`truc' (possibly involving @mymacro)
 formatting_regions.texi:39: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting_regions.texi:39: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting_regions.texi:39: warning: @inforef is obsolete 
(possibly involving @m
 formatting_regions.texi:39: warning: @inforef is obsolete (possibly involving 
@mymacro)
 formatting_regions.texi:39: warning: @inforef is obsolete (possibly involving 
@mymacro)
 formatting_regions.texi:39: warning: command @inforef missing a node or 
external manual argument (possibly involving @mymacro)
+formatting_regions.texi:46: @| should only appear in heading or footing 
(possibly involving @mymacro)
 formatting_regions.texi:46: warning: @author should only appear at the 
beginning of a line (possibly involving @mymacro)
 formatting_regions.texi:46: warning: missing name for @deffnx (possibly 
involving @mymacro)
 formatting_regions.texi:46: warning: missing name for @deffnx (possibly 
involving @mymacro)
@@ -154,6 +159,7 @@ formatting_regions.texi:46: @, expected braces (possibly 
involving @mymacro)
 formatting_regions.texi:46: warning: command `@'' must not be followed by new 
line (possibly involving @mymacro)
 formatting_regions.texi:46: @' expected braces (possibly involving @mymacro)
 formatting_regions.texi:46: @' expected braces (possibly involving @mymacro)
+formatting_regions.texi:46: @| should only appear in heading or footing 
(possibly involving @mymacro)
 formatting_regions.texi:46: @dotless expects `i' or `j' as argument, not 
`truc' (possibly involving @mymacro)
 formatting_regions.texi:46: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting_regions.texi:46: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -201,6 +207,7 @@ formatting_regions.texi:46: warning: @inforef is obsolete 
(possibly involving @m
 formatting_regions.texi:46: warning: @inforef is obsolete (possibly involving 
@mymacro)
 formatting_regions.texi:46: warning: @inforef is obsolete (possibly involving 
@mymacro)
 formatting_regions.texi:46: warning: command @inforef missing a node or 
external manual argument (possibly involving @mymacro)
+formatting_regions.texi:49: @| should only appear in heading or footing 
(possibly involving @mymacro)
 formatting_regions.texi:49: warning: @author should only appear at the 
beginning of a line (possibly involving @mymacro)
 formatting_regions.texi:49: warning: missing name for @deffnx (possibly 
involving @mymacro)
 formatting_regions.texi:49: warning: missing name for @deffnx (possibly 
involving @mymacro)
@@ -222,6 +229,7 @@ formatting_regions.texi:49: @, expected braces (possibly 
involving @mymacro)
 formatting_regions.texi:49: warning: command `@'' must not be followed by new 
line (possibly involving @mymacro)
 formatting_regions.texi:49: @' expected braces (possibly involving @mymacro)
 formatting_regions.texi:49: @' expected braces (possibly involving @mymacro)
+formatting_regions.texi:49: @| should only appear in heading or footing 
(possibly involving @mymacro)
 formatting_regions.texi:49: @dotless expects `i' or `j' as argument, not 
`truc' (possibly involving @mymacro)
 formatting_regions.texi:49: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting_regions.texi:49: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_textcontent/formatting.2 
b/tp/tests/layout/res_parser/formatting_textcontent/formatting.2
index 342f746753..21538ab876 100644
--- a/tp/tests/layout/res_parser/formatting_textcontent/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_textcontent/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.2 
b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_xhtml/formatting.2 
b/tp/tests/layout/res_parser/formatting_xhtml/formatting.2
index cdcd0bed8f..cee7c0fd76 100644
--- a/tp/tests/layout/res_parser/formatting_xhtml/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_xhtml/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_xml/formatting.2 
b/tp/tests/layout/res_parser/formatting_xml/formatting.2
index 342f746753..21538ab876 100644
--- a/tp/tests/layout/res_parser/formatting_xml/formatting.2
+++ b/tp/tests/layout/res_parser/formatting_xml/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/formatting.2 
b/tp/tests/tex_html/res_parser/formatting_singular/formatting.2
index 205df6ce60..a2dc0c61e9 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/formatting.2
+++ b/tp/tests/tex_html/res_parser/formatting_singular/formatting.2
@@ -1,3 +1,4 @@
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:22: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -19,6 +20,7 @@ formatting.texi:22: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:22: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
 formatting.texi:22: @' expected braces (possibly involving @mymacro)
+formatting.texi:22: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:22: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -66,6 +68,7 @@ formatting.texi:22: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:22: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:32: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -87,6 +90,7 @@ formatting.texi:32: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:32: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
 formatting.texi:32: @' expected braces (possibly involving @mymacro)
+formatting.texi:32: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:32: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -133,6 +137,7 @@ formatting.texi:32: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:32: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: warning: @author should only appear at the beginning of a 
line (possibly involving @mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
 formatting.texi:68: warning: missing name for @deffnx (possibly involving 
@mymacro)
@@ -154,6 +159,7 @@ formatting.texi:68: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:68: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
 formatting.texi:68: @' expected braces (possibly involving @mymacro)
+formatting.texi:68: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:68: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
@@ -202,6 +208,7 @@ formatting.texi:68: warning: @inforef is obsolete (possibly 
involving @mymacro)
 formatting.texi:68: warning: @inforef is obsolete (possibly involving @mymacro)
 formatting.texi:68: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
 formatting.texi:73: unmatched `@end' (possibly involving @mymacro)
@@ -234,6 +241,7 @@ formatting.texi:73: @, expected braces (possibly involving 
@mymacro)
 formatting.texi:73: warning: command `@'' must not be followed by new line 
(possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
 formatting.texi:73: @' expected braces (possibly involving @mymacro)
+formatting.texi:73: @| should only appear in heading or footing (possibly 
involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
 formatting.texi:73: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]