texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Remove useless end of lines. Add @latex in covera


From: Patrice Dumas
Subject: branch master updated: Remove useless end of lines. Add @latex in coverage_macro.texi.
Date: Thu, 12 Aug 2021 20:50:36 -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 2d8a256  Remove useless end of lines. Add @latex in 
coverage_macro.texi.
2d8a256 is described below

commit 2d8a2567ae957eeeba6ada4d9461ce1cf359947b
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Fri Aug 13 02:50:01 2021 +0200

    Remove useless end of lines.
    Add @latex in coverage_macro.texi.
---
 tp/Texinfo/Convert/LaTeX.pm                        |  19 +-
 tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl  |   8 -
 tp/tests/coverage_macro.texi                       |   4 +
 .../layout/res_parser/formatting/formatting.html   |   6 +
 .../layout/res_parser/formatting_chm/anchor.html   |   1 +
 .../layout/res_parser/formatting_chm/chapter.html  |   1 +
 .../layout/res_parser/formatting_chm/chapter2.html |   1 +
 .../res_parser/formatting_chm/formatting.html      |   6 +
 .../res_parser/formatting_chm/formatting_abt.html  |   1 +
 .../res_parser/formatting_chm/formatting_ovr.html  |   1 +
 .../res_parser/formatting_chm/formatting_toc.html  |   1 +
 .../layout/res_parser/formatting_chm/index.html    |   1 +
 .../formatting_chm/s_002d_002dect_002cion.html     |   1 +
 .../res_parser/formatting_chm/subsection.html      |   1 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   1 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   1 +
 .../res_parser/formatting_docbook/formatting.xml   |   6 +
 .../res_parser/formatting_exotic/anchor.html       |   1 +
 .../res_parser/formatting_exotic/chapter.html      |   1 +
 .../res_parser/formatting_exotic/chapter2.html     |   1 +
 .../formatting_exotic/formatting_abt.html          |   1 +
 .../formatting_exotic/formatting_ovr.html          |   1 +
 .../formatting_exotic/formatting_toc.html          |   1 +
 .../layout/res_parser/formatting_exotic/index.html |   4 +
 .../formatting_exotic/s_002d_002dect_002cion.html  |   1 +
 .../res_parser/formatting_exotic/subsection.html   |   1 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   1 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   1 +
 .../res_parser/formatting_fr_icons/formatting.html |   6 +
 .../res_parser/formatting_html/formatting.html     |   6 +
 .../res_parser/formatting_html32/formatting.html   |   6 +
 .../formatting_html_no_texi2html/formatting.html   |   4 +
 .../res_parser/formatting_html_nodes/anchor.html   |   1 +
 .../res_parser/formatting_html_nodes/chapter.html  |   1 +
 .../res_parser/formatting_html_nodes/chapter2.html |   1 +
 .../formatting_html_nodes/formatting_abt.html      |   1 +
 .../formatting_html_nodes/formatting_fot.html      |   1 +
 .../formatting_html_nodes/formatting_ovr.html      |   1 +
 .../formatting_html_nodes/formatting_toc.html      |   1 +
 .../res_parser/formatting_html_nodes/index.html    |   6 +
 .../s_002d_002dect_002cion.html                    |   1 +
 .../formatting_html_nodes/subsection.html          |   1 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   1 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   1 +
 .../res_parser/formatting_info/formatting.info     | Bin 87213 -> 87214 bytes
 .../res_parser/formatting_latex/formatting.tex     | 488 +--------------------
 .../res_parser/formatting_mathjax/formatting.html  |   6 +
 .../layout/res_parser/formatting_nodes/anchor.html |   1 +
 .../res_parser/formatting_nodes/chapter.html       |   1 +
 .../res_parser/formatting_nodes/chapter2.html      |   1 +
 .../formatting_nodes/formatting_abt.html           |   1 +
 .../formatting_nodes/formatting_fot.html           |   1 +
 .../formatting_nodes/formatting_ovr.html           |   1 +
 .../formatting_nodes/formatting_toc.html           |   1 +
 .../layout/res_parser/formatting_nodes/index.html  |   6 +
 .../formatting_nodes/s_002d_002dect_002cion.html   |   1 +
 .../res_parser/formatting_nodes/subsection.html    |   1 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   1 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   1 +
 .../res_parser/formatting_plaintext/formatting.txt |  65 +--
 .../formatting_regions/formatting_regions.html     |   6 +
 .../formatting_weird_quotes/formatting.html        |   6 +
 .../res_parser/formatting_xml/formatting.xml       |  16 +
 63 files changed, 187 insertions(+), 530 deletions(-)

diff --git a/tp/Texinfo/Convert/LaTeX.pm b/tp/Texinfo/Convert/LaTeX.pm
index 6bd4c3c..6f8a3af 100644
--- a/tp/Texinfo/Convert/LaTeX.pm
+++ b/tp/Texinfo/Convert/LaTeX.pm
@@ -1318,9 +1318,7 @@ sub _convert($$)
         return '';
       }
       if ($block_raw_commands{$command}) {
-        if ($format_raw_commands{$command}) {
-          $result .= "\n\n";
-        } elsif ($command eq 'verbatim') {
+        if ($command eq 'verbatim') {
           $result .= "\\begin{verbatim}\n";
         }
         push @{$self->{'style_context'}->[-1]->{'context'}}, 'raw';
@@ -1423,7 +1421,7 @@ sub _convert($$)
       $result = $self->_convert (
                        {'contents' => $root->{'args'}->[0]->{'contents'}},
                        {'indent_length' => 0});
-      return $result;
+      return $result."\n";
     } elsif ($command eq 'exdent') {
       if 
($preformatted_commands{$self->{'style_context'}->[-1]->{'context'}->[-1]}) {
         $result = $self->_convert({'contents' => 
$root->{'args'}->[0]->{'contents'}});
@@ -1503,14 +1501,8 @@ sub _convert($$)
   }
 
   # open 'type' constructs.
-  my $paragraph = 0;
   if ($root->{'type'}) {
-    if ($root->{'type'} eq 'paragraph') {
-      $paragraph = 1;
-    } elsif ($root->{'type'} eq 'preformatted'
-             or $root->{'type'} eq 'rawpreformatted') {
-      $preformatted = 1;
-    } elsif ($root->{'type'} eq 'def_line') {
+    if ($root->{'type'} eq 'def_line') {
       if ($root->{'extra'} and $root->{'extra'}->{'def_parsed_hash'}
              and %{$root->{'extra'}->{'def_parsed_hash'}}) {
         my $arguments = Texinfo::Common::definition_arguments_content($root);
@@ -1710,10 +1702,6 @@ sub _convert($$)
       $self->{'text_before_first_node'} = $result;
     }
   }
-  # close preformatted
-  if ($preformatted) {
-    $result .= "\n\n";
-  }
 
   # close commands
   if ($command) {
@@ -1758,7 +1746,6 @@ sub _convert($$)
       if ($command eq 'verbatim') {
         $result .= "\\end{verbatim}\n";
       }
-      # FIXME add \n if not verbatim?
     } elsif ($flush_commands{$command}) {
       my $old_context = pop @{$self->{'style_context'}->[-1]->{'context'}};
       die if (! $flush_commands{$old_context});
diff --git a/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl 
b/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
index 17fcbb8..a2a4a51 100644
--- a/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
+++ b/tp/t/results/latex_tests/kbdinputstyle_and_kbd.pl
@@ -745,22 +745,14 @@ $result_converted{'latex'}->{'kbdinputstyle_and_kbd'} = '
 {\\ttfamily\\textsl{default kbdinputstyle}}
 {\\ttfamily\\textsl{in example default kbdinputstyle}}
 
-
-
 \\texttt{code kbdinputstyle}
 \\texttt{in example code kbdinputstyle}
 
-
-
 {\\ttfamily\\textsl{example kbdinputstyle}}
 \\texttt{in example example kbdinputstyle}
 
-
-
 {\\ttfamily\\textsl{distinct kbdinputstyle}}
 {\\ttfamily\\textsl{in example distinct kbdinputstyle}}
-
-
 ';
 
 1;
diff --git a/tp/tests/coverage_macro.texi b/tp/tests/coverage_macro.texi
index 46dc355..14d49d4 100644
--- a/tp/tests/coverage_macro.texi
+++ b/tp/tests/coverage_macro.texi
@@ -705,6 +705,10 @@ $$\\partial_t \\eta (t) = g(\\eta(t),\\varphi(t))$$ ''
 docbook ''
 @end docbook
 
+@latex
+$\\frac{a < b @code{tex \\hbox{ code }}}{b}$ ``
+@end latex
+
 @majorheading majorheading
 
 @chapheading chapheading
diff --git a/tp/tests/layout/res_parser/formatting/formatting.html 
b/tp/tests/layout/res_parser/formatting/formatting.html
index f4b3533..ef5a53c 100644
--- a/tp/tests/layout/res_parser/formatting/formatting.html
+++ b/tp/tests/layout/res_parser/formatting/formatting.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1396,6 +1397,7 @@ html ''
 
 
 
+
 <span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
@@ -2204,6 +2206,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3037,6 +3040,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3844,6 +3848,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -4745,6 +4750,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git a/tp/tests/layout/res_parser/formatting_chm/anchor.html 
b/tp/tests/layout/res_parser/formatting_chm/anchor.html
index 6334d01..e8197ce 100644
--- a/tp/tests/layout/res_parser/formatting_chm/anchor.html
+++ b/tp/tests/layout/res_parser/formatting_chm/anchor.html
@@ -549,6 +549,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_chm/chapter.html 
b/tp/tests/layout/res_parser/formatting_chm/chapter.html
index e1bc370..20229ed 100644
--- a/tp/tests/layout/res_parser/formatting_chm/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_chm/chapter.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_chm/chapter2.html 
b/tp/tests/layout/res_parser/formatting_chm/chapter2.html
index b35cc12..1ba2b80 100644
--- a/tp/tests/layout/res_parser/formatting_chm/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_chm/chapter2.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting.html
index a62d4ab..2008538 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1396,6 +1397,7 @@ html ''
 
 
 
+
 <span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
@@ -2204,6 +2206,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3020,6 +3023,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3827,6 +3831,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -4728,6 +4733,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html
index c830e53..ce3177a 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html
index 1db3fd3..4aed548 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html
index 53565af..5d8baaa 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_chm/index.html 
b/tp/tests/layout/res_parser/formatting_chm/index.html
index 60822eb..58ad17b 100644
--- a/tp/tests/layout/res_parser/formatting_chm/index.html
+++ b/tp/tests/layout/res_parser/formatting_chm/index.html
@@ -549,6 +549,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_chm/s_002d_002dect_002cion.html 
b/tp/tests/layout/res_parser/formatting_chm/s_002d_002dect_002cion.html
index 0e3e0f1..833f5a4 100644
--- a/tp/tests/layout/res_parser/formatting_chm/s_002d_002dect_002cion.html
+++ b/tp/tests/layout/res_parser/formatting_chm/s_002d_002dect_002cion.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_chm/subsection.html 
b/tp/tests/layout/res_parser/formatting_chm/subsection.html
index c53a0b9..7ab0626 100644
--- a/tp/tests/layout/res_parser/formatting_chm/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_chm/subsection.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_chm/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/layout/res_parser/formatting_chm/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index d8d8f78..98d82fe 100644
--- 
a/tp/tests/layout/res_parser/formatting_chm/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/layout/res_parser/formatting_chm/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_chm/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/layout/res_parser/formatting_chm/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index dbe3ab0..1047a0b 100644
--- 
a/tp/tests/layout/res_parser/formatting_chm/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/layout/res_parser/formatting_chm/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_docbook/formatting.xml 
b/tp/tests/layout/res_parser/formatting_docbook/formatting.xml
index d24a86b..447503c 100644
--- a/tp/tests/layout/res_parser/formatting_docbook/formatting.xml
+++ b/tp/tests/layout/res_parser/formatting_docbook/formatting.xml
@@ -564,6 +564,7 @@ This is a very simple texi manual @  &lt;&gt;.
 
 docbook ''
 
+
 <bridgehead renderas="other">majorheading</bridgehead>
 
 <bridgehead renderas="other">chapheading</bridgehead>
@@ -1242,6 +1243,7 @@ This is a very simple texi manual @  &lt;&gt;.
 
 docbook ''
 
+
 <bridgehead renderas="other">majorheading</bridgehead>
 
 <bridgehead renderas="other">chapheading</bridgehead>
@@ -1921,6 +1923,7 @@ This is a very simple texi manual @  &lt;&gt;.
 
 docbook ''
 
+
 <bridgehead renderas="other">majorheading</bridgehead>
 
 <bridgehead renderas="other">chapheading</bridgehead>
@@ -2600,6 +2603,7 @@ This is a very simple texi manual @  &lt;&gt;.
 
 docbook ''
 
+
 <bridgehead renderas="other">majorheading</bridgehead>
 
 <bridgehead renderas="other">chapheading</bridgehead>
@@ -3278,6 +3282,7 @@ This is a very simple texi manual @  &lt;&gt;.
 
 docbook ''
 
+
 <bridgehead renderas="other">majorheading</bridgehead>
 
 <bridgehead renderas="other">chapheading</bridgehead>
@@ -3948,6 +3953,7 @@ This is a very simple texi manual @  &lt;&gt;.
 
 docbook ''
 
+
 </screen><bridgehead renderas="other">majorheading</bridgehead>
 <screen>
 </screen><bridgehead renderas="other">chapheading</bridgehead>
diff --git a/tp/tests/layout/res_parser/formatting_exotic/anchor.html 
b/tp/tests/layout/res_parser/formatting_exotic/anchor.html
index f3e918e..ff41984 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/anchor.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/anchor.html
@@ -549,6 +549,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_exotic/chapter.html 
b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
index 2e9203b..53e9aef 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_exotic/chapter2.html 
b/tp/tests/layout/res_parser/formatting_exotic/chapter2.html
index f5296ee..d925a0d 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/chapter2.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html 
b/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html
index aea8f8e..301e802 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html 
b/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html
index a2ff6f8..57d0dbe 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html 
b/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html
index 31f6584..31ec328 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_exotic/index.html 
b/tp/tests/layout/res_parser/formatting_exotic/index.html
index 63a4a4d..7156ea0 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/index.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/index.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1408,6 +1409,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -2215,6 +2217,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -3116,6 +3119,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git 
a/tp/tests/layout/res_parser/formatting_exotic/s_002d_002dect_002cion.html 
b/tp/tests/layout/res_parser/formatting_exotic/s_002d_002dect_002cion.html
index e148144..ccbf5a8 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/s_002d_002dect_002cion.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/s_002d_002dect_002cion.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_exotic/subsection.html 
b/tp/tests/layout/res_parser/formatting_exotic/subsection.html
index bbe0fa1..bc96ad6 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/subsection.html
@@ -549,6 +549,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_exotic/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/layout/res_parser/formatting_exotic/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index eeff3d2..34d472d 100644
--- 
a/tp/tests/layout/res_parser/formatting_exotic/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/layout/res_parser/formatting_exotic/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -549,6 +549,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_exotic/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/layout/res_parser/formatting_exotic/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index 06d566b..ddc5c1e 100644
--- 
a/tp/tests/layout/res_parser/formatting_exotic/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/layout/res_parser/formatting_exotic/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -549,6 +549,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html 
b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
index ae83147..956d8c0 100644
--- a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1396,6 +1397,7 @@ html ''
 
 
 
+
 <span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
@@ -2204,6 +2206,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3037,6 +3040,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3844,6 +3848,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -4745,6 +4750,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git a/tp/tests/layout/res_parser/formatting_html/formatting.html 
b/tp/tests/layout/res_parser/formatting_html/formatting.html
index f4b3533..ef5a53c 100644
--- a/tp/tests/layout/res_parser/formatting_html/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html/formatting.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1396,6 +1397,7 @@ html ''
 
 
 
+
 <span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
@@ -2204,6 +2206,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3037,6 +3040,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3844,6 +3848,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -4745,6 +4750,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git a/tp/tests/layout/res_parser/formatting_html32/formatting.html 
b/tp/tests/layout/res_parser/formatting_html32/formatting.html
index 2165926..00a7405 100644
--- a/tp/tests/layout/res_parser/formatting_html32/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html32/formatting.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1356,6 +1357,7 @@ html ''
 
 
 
+
 <span id="majorheading-3"></span><h1>majorheading</h1>
 
 <span id="chapheading-3"></span><h1>chapheading</h1>
@@ -2143,6 +2145,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1>majorheading</h1>
 
 <span id="chapheading"></span><h1>chapheading</h1>
@@ -2955,6 +2958,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1>majorheading</h1>
 
 <span id="chapheading"></span><h1>chapheading</h1>
@@ -3741,6 +3745,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1>majorheading</h1>
 
 <span id="chapheading-1"></span><h1>chapheading</h1>
@@ -4620,6 +4625,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre>
 
diff --git 
a/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.html 
b/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.html
index 33feb22..e994382 100644
--- a/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html_no_texi2html/formatting.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1407,6 +1408,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h2 class="majorheading">majorheading</h2>
 
 <span id="chapheading"></span><h2 class="chapheading">chapheading</h2>
@@ -2214,6 +2216,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h2 class="majorheading">majorheading</h2>
 
 <span id="chapheading-1"></span><h2 class="chapheading">chapheading</h2>
@@ -3115,6 +3118,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/anchor.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/anchor.html
index 6334d01..e8197ce 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/anchor.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/anchor.html
@@ -549,6 +549,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
index b2bb778..2f208e2 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html
index 2166ed6..9c08812 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_abt.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_abt.html
index 9140a90..9136900 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_abt.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_fot.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_fot.html
index 42067cc..22c11f3 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_fot.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_fot.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_ovr.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_ovr.html
index deafe80..06174fd 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_ovr.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_toc.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_toc.html
index 6ad0ae8..7771de1 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/formatting_toc.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/index.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/index.html
index 587d876..6f627b5 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/index.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/index.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1396,6 +1397,7 @@ html ''
 
 
 
+
 <span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
@@ -2204,6 +2206,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3038,6 +3041,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3845,6 +3849,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -4746,6 +4751,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/s_002d_002dect_002cion.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/s_002d_002dect_002cion.html
index c530e68..5b069b7 100644
--- 
a/tp/tests/layout/res_parser/formatting_html_nodes/s_002d_002dect_002cion.html
+++ 
b/tp/tests/layout/res_parser/formatting_html_nodes/s_002d_002dect_002cion.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html
index f51e13d..fb0eca3 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index cb4a9cb..0861a06 100644
--- 
a/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index 615c2b0..5a083fe 100644
--- 
a/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/layout/res_parser/formatting_html_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_info/formatting.info 
b/tp/tests/layout/res_parser/formatting_info/formatting.info
index 321bf84..b09ab8b 100644
Binary files a/tp/tests/layout/res_parser/formatting_info/formatting.info and 
b/tp/tests/layout/res_parser/formatting_info/formatting.info differ
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex 
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
index abdb4b2..4fcd85a 100644
--- a/tp/tests/layout/res_parser/formatting_latex/formatting.tex
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -253,23 +253,15 @@ $$
 {\ttfamily\textsl{default kbdinputstyle}}
 {\ttfamily\textsl{in example default kbdinputstyle}}
 
-
-
 \texttt{code kbdinputstyle}
 \texttt{in example code kbdinputstyle}
 
-
-
 {\ttfamily\textsl{example kbdinputstyle}}
 \texttt{in example example kbdinputstyle}
 
-
-
 {\ttfamily\textsl{distinct kbdinputstyle}}
 {\ttfamily\textsl{in example distinct kbdinputstyle}}
 
-
-
 A quot---ation
 
 \textbf{Note:} A Note
@@ -298,6 +290,7 @@ A quot---ation
 \textbf{\leavevmode{}\\:} 
 aaa quotation
 --- \emph{quotation author}
+
 A small quot---ation
 
 \textbf{Note:} A small Note
@@ -349,72 +342,38 @@ truc bidule
 e--xample  some
    text
 
-
-
 example one arg
 
-
-
 example two args
 
-
-
 example three args
 
-
-
 example four args
 
-
-
 example five args
 
-
-
 The something \'{e} \TeX{} is here.
 
-
-
 A @ at the end of the @example line.
 
-
-
 example with empty args
 
-
-
 example with empty and non empty args mix
 
-
-
 s--mallexample
 
-
-
 d--isplay
 
-
-
 s--malldisplay
 
-
-
 l--isp
 
-
-
 s--malllisp
 
-
-
 f--ormat
 
-
-
 s--mallformat
 
-
-
 $$
 disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
@@ -684,6 +643,7 @@ f--lushleft
 f--lushright
 
 ce--ntered line
+
 \begin{verbatim}
 \input texinfo @c -*-texinfo-*-
 
@@ -704,6 +664,8 @@ in verbatim ''
 
 
 
+$\frac{a < b \texttt{tex \hbox{ code }}}{b}$ ``
+
 
 \chapter*{chapheading}
 
@@ -1063,23 +1025,15 @@ $$
 {\ttfamily\textsl{default kbdinputstyle}}
 {\ttfamily\textsl{in example default kbdinputstyle}}
 
-
-
 \texttt{code kbdinputstyle}
 \texttt{in example code kbdinputstyle}
 
-
-
 {\ttfamily\textsl{example kbdinputstyle}}
 \texttt{in example example kbdinputstyle}
 
-
-
 {\ttfamily\textsl{distinct kbdinputstyle}}
 {\ttfamily\textsl{in example distinct kbdinputstyle}}
 
-
-
 A quot---ation
 
 \textbf{Note:} A Note
@@ -1108,6 +1062,7 @@ A quot---ation
 \textbf{\leavevmode{}\\:} 
 aaa quotation
 --- \emph{quotation author}
+
 A small quot---ation
 
 \textbf{Note:} A small Note
@@ -1159,72 +1114,38 @@ truc bidule
 e--xample  some
    text
 
-
-
 example one arg
 
-
-
 example two args
 
-
-
 example three args
 
-
-
 example four args
 
-
-
 example five args
 
-
-
 The something \'{e} \TeX{} is here.
 
-
-
 A @ at the end of the @example line.
 
-
-
 example with empty args
 
-
-
 example with empty and non empty args mix
 
-
-
 s--mallexample
 
-
-
 d--isplay
 
-
-
 s--malldisplay
 
-
-
 l--isp
 
-
-
 s--malllisp
 
-
-
 f--ormat
 
-
-
 s--mallformat
 
-
-
 $$
 disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
@@ -1494,6 +1415,7 @@ f--lushleft
 f--lushright
 
 ce--ntered line
+
 \begin{verbatim}
 \input texinfo @c -*-texinfo-*-
 
@@ -1514,6 +1436,8 @@ in verbatim ''
 
 
 
+$\frac{a < b \texttt{tex \hbox{ code }}}{b}$ ``
+
 
 \chapter*{chapheading}
 
@@ -1785,9 +1709,7 @@ but , ,\@
 \texttt{@t\{{-}{-}a\}} \texttt{{-}{-}a}
 \texttt{@sansserif\{{-}{-}a\}} 
 \texttt{@slanted\{{-}{-}a\}} 
-\texttt{@titlefont\{{-}{-}a\}} 
-
-{\Huge \bfseries --a}
+\texttt{@titlefont\{{-}{-}a\}} {\Huge \bfseries --a}
 \texttt{@indicateurl\{{-}{-}a\}} `\texttt{{-}{-}a}'
 \texttt{@uref\{{-}{-}a,{-}{-}b\}} --b (--a)
 \texttt{@uref\{{-}{-}a\}} \texttt{<{-}{-}a>}
@@ -1838,21 +1760,15 @@ but , ,\@
 
 \vskip 2\baselineskip
 
-
-
 \texttt{@clicksequence\{click @click\{\} A\}} click $\rightarrow{}$ A
 After clickstyle $\Rightarrow{}$
 \texttt{@clicksequence\{click @click\{\} A\}} click $\Rightarrow{}$ A
 
-
-
 $$
 \mathbf{``simple-double--three---four----''} \hbox{aa}
 `\hbox{}`simple-double-\hbox{}-three---four----'\hbox{}'\leavevmode{}\\
 $$
 
-
-
 $$
 \ddot{u} \ddot{U} \tilde{n} \hat{a} \acute{e} \bar{o} \grave{i} \acute{e} 
\imath{} \jmath{} \grave{\bar{E}}
 \mathord{\text{\l{}}} \textsl{\c{\'{C}}} \textsl{\c{\'{C}}} \textsl{\c{c}} 
\textsl{\H{a}} \dot{a} \mathring{a} \textsl{\t{a}}
@@ -1861,8 +1777,6 @@ $$
 a sunny day
 $$
 
-
-
 $$
 \rightarrow{}
 u
@@ -1873,8 +1787,6 @@ TeX LaTeX \bullet{} \copyright{} \dots{} \dots{} \equiv{}
 \circledR{} \mathord{\text{\textordfeminine{}}} 
\mathord{\text{\textordmasculine{}}} , 
 $$
 
-
-
 $$
 \mathord{\text{\textquotedblleft{}}} \mathord{\text{\textquotedblright{}}} 
 \mathord{\text{\textquoteleft{}}} \mathord{\text{\textquoteright{}}} 
\mathord{\text{\quotedblbase{}}} \mathord{\text{\quotesinglbase{}}} 
\mathord{\text{\guillemotleft{}}}
@@ -1883,372 +1795,147 @@ $$
 $$
 
 {\ttfamily\textsl{default kbdinputstyle}}
-
-
 {\ttfamily\textsl{in example default kbdinputstyle}}
 
-
-
 \texttt{code kbdinputstyle}
-
-
 \texttt{in example code kbdinputstyle}
 
-
-
 \texttt{example kbdinputstyle}
-
-
 \texttt{in example example kbdinputstyle}
 
-
-
 {\ttfamily\textsl{distinct kbdinputstyle}}
-
-
 {\ttfamily\textsl{in example distinct kbdinputstyle}}
 
-
-
-
-
 A quot---ation
 
-
-
-
-
 \textbf{Note:} A Note
 
-
-
-
-
 \textbf{note:} A note
 
-
-
-
-
 \textbf{Caution:} Caution
 
-
-
-
-
 \textbf{Important:} Important
 
-
-
-
-
 \textbf{Tip:} a Tip
 
-
-
-
-
 \textbf{Warning:} a Warning.
 
-
-
-
-
 \textbf{something \'{e} \TeX{}:} The something \'{e} \TeX{} is here.
 
-
-
-
-
 \textbf{@ at the end of line \ {}:} A @ at the end of the @quotation line.
 
-
-
-
-
 \textbf{something, other thing:} something, other thing
 
-
-
-
-
 \textbf{Note, the note:} Note, the note
 
 
-
-
-
-
-
-
 \textbf{Empty:} 
-
-
 \textbf{:} 
-
-
 \textbf{\leavevmode{}\\:} 
-
-
 aaa quotation
-
-
 --- \emph{quotation author}
 
-
 A small quot---ation
 
-
-
-
-
 \textbf{Note:} A small Note
 
-
-
-
-
 \textbf{something, other thing:} something, other thing
 
-
-
-
-
 \textbullet{} 
 
 i--temize
 
-
-
-
-
 + 
 
 i--tem +
 
-
-
-
-
 \textbullet{} 
 
 b--ullet
 
-
-
-
-
 - 
 
 minu--s
 
-
-
-
-
 \emph{} 
 
 e--mph item
 
-
-
-
-
-
-
 \emph{after emph} 
 
 e--mph item
 
-
-
-
-
-
-
 \textbullet{} a--n itemize line 
 
 i--tem 1
-
-
 \textbullet{} a--n itemize line 
 
 i--tem 2
 
-
-
-
-
 1. 
 
 e--numerate
 
-
-
-
-
-mu--ltitable headitem 
-
-another tab
-
-
-mu--ltitable item 
-
-multitable tab
-
-
-mu--ltitable item 2 
-
-multitable tab 2
-
-
+mu--ltitable headitem another tab
+mu--ltitable item multitable tab
+mu--ltitable item 2 multitable tab 2
 lone mu--ltitable item
 
-
-
-
-
-truc 
-
-bidule
-
-
-
-
+truc bidule
 
 e--xample  some
    text
 
-
-
-
-
 example one arg
 
-
-
-
-
 example two args
 
-
-
-
-
 example three args
 
-
-
-
-
 example four args
 
-
-
-
-
 example five args
 
-
-
-
-
 The something \'{e} \TeX{} is here.
 
-
-
-
-
 A @ at the end of the @example line.
 
-
-
-
-
 example with empty args
 
-
-
-
-
 example with empty and non empty args mix
 
-
-
-
-
 s--mallexample
 
-
-
-
-
 d--isplay
 
-
-
-
-
 s--malldisplay
 
-
-
-
-
 l--isp
 
-
-
-
-
 s--malllisp
 
-
-
-
-
 f--ormat
 
-
-
-
-
 s--mallformat
 
-
-
-
-
 $$
 disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $$
 
-
-
 \hbox{}-- c--ategory: d--effn\_name a--rguments...
 
 
 d--effn
 
-
-
-
-
 \hbox{}-- cate--gory: de--ffn\_name ar--guments    more args \leavevmode{}\\ 
even more so
 
 
 def--fn
 
-
-
-
-
 \hbox{}-- fset: \emph{i} a g
 
 
-
-
 \hbox{}-- cmde: truc 
 
 
@@ -2295,8 +1982,6 @@ def--fn
 \hbox{}-- truc: followed by a comment
 
 
-
-
 \hbox{}-- truc: 
 
 
@@ -2310,25 +1995,17 @@ def--fn
 
 
 
-
-
 \hbox{}-- empty: deffn
 
 
 
-
-
 \hbox{}-- empty: deffn with deffnx
 
 
-
-
 \hbox{}-- empty: deffnx
 
 
 
-
-
 \hbox{}-- fset: \emph{i} a g
 
 
@@ -2337,170 +2014,96 @@ def--fn
 
 text in def item for second def item
 
-
-
-
-
 \hbox{}-- c--ategory: d--efvr\_name
 
 
 d--efvr
 
-
-
-
-
 \hbox{}-- c--ategory: t--ype d--eftypefn\_name a--rguments...
 
 
 d--eftypefn
 
-
-
-
-
 \hbox{}-- c--ategory on c--lass: t--ype d--eftypeop\_name a--rguments...
 
 
 d--eftypeop
 
-
-
-
-
 \hbox{}-- c--ategory: t--ype d--eftypevr\_name
 
 
 d--eftypevr
 
-
-
-
-
 \hbox{}-- c--ategory of c--lass: d--efcv\_name
 
 
 d--efcv
 
-
-
-
-
 \hbox{}-- c--ategory on c--lass: d--efop\_name a--rguments...
 
 
 d--efop
 
-
-
-
-
 \hbox{}-- c--ategory: d--eftp\_name a--ttributes...
 
 
 d--eftp
 
-
-
-
-
 \hbox{}-- Function: d--efun\_name a--rguments...
 
 
 d--efun
 
-
-
-
-
 \hbox{}-- Macro: d--efmac\_name a--rguments...
 
 
 d--efmac
 
-
-
-
-
 \hbox{}-- Special Form: d--efspec\_name a--rguments...
 
 
 d--efspec
 
-
-
-
-
 \hbox{}-- Variable: d--efvar\_name argvar argvar1
 
 
 d--efvar
 
-
-
-
-
 \hbox{}-- User Option: d--efopt\_name
 
 
 d--efopt
 
-
-
-
-
 \hbox{}-- Function: t--ype d--eftypefun\_name a--rguments...
 
 
 d--eftypefun
 
-
-
-
-
 \hbox{}-- Variable: t--ype d--eftypevar\_name
 
 
 d--eftypevar
 
-
-
-
-
 \hbox{}-- Instance Variable of c--lass: d--efivar\_name
 
 
 d--efivar
 
-
-
-
-
 \hbox{}-- Instance Variable of c--lass: t--ype d--eftypeivar\_name
 
 
 d--eftypeivar
 
-
-
-
-
 \hbox{}-- Method on c--lass: d--efmethod\_name a--rguments...
 
 
 d--efmethod
 
-
-
-
-
 \hbox{}-- Method on c--lass: t--ype d--eftypemethod\_name a--rguments...
 
 
 d--eftypemethod
 
-
-
 \texttt{@xref\{c{-}{-}{-}hapter@@, cross r{-}{-}{-}ef name@@, 
t{-}{-}{-}itle@@, file n{-}{-}{-}ame@@, ma{-}{-}{-}nual@@\}} See cross r---ef 
name@(file n---ame@) (page \pageref{anchor:c_002d_002d_002dhapter_0040}).
 \texttt{@ref\{chapter, cross ref name, title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:chapter})
 \texttt{@pxref\{chapter, cross ref name, title, file name, manual\}} see cross 
ref name(file name) (page \pageref{anchor:chapter})
@@ -2564,64 +2167,27 @@ a , in cross
 ref(a comma, in file) (page \pageref{anchor:s_002d_002dect_002cion})
 
 
-
-
-
-
 a
 l--ine
 
-
-
-
-
 a
-
-
 b
 l--ine
 
-
-
-
-
 a
-
-
 b
 l--ine
 
-
-
-
-
 c--artouche
 
-
-
-
-
 g--roupe
 
-
-
-
-
 f--lushleft
 
-
-
-
-
 f--lushright
 
-
-
-
-
 ce--ntered line
 
-
 \begin{verbatim}
 \input texinfo @c -*-texinfo-*-
 
@@ -2634,8 +2200,6 @@ This is a very simple texi manual @  <>.
 @bye
 \end{verbatim}
 
-
-
 \begin{verbatim}
 in verbatim ''
 \end{verbatim}
@@ -2644,23 +2208,15 @@ in verbatim ''
 
 
 
-
-
-
+$\frac{a < b \texttt{tex \hbox{ code }}}{b}$ ``
 
 
 \chapter*{chapheading}
 
-
-
 \section*{heading}
 
-
-
 \subsection*{subheading}
 
-
-
 \subsubsection*{subsubheading}
 
 
@@ -2706,29 +2262,17 @@ Invalid use of @':\leavevmode{}\\
 \texttt{@image\{,,,3{-}{-}xt\}} 
 
 
-
-
 \emph{} after emph 
 
 e--mph item
 
-
-
-
-
 \textbullet{} a--n itemize line 
 
 i--tem 1
-
-
 \textbullet{} a--n itemize line 
 
 i--tem 2
 
-
-
-
-
 \hbox{}-- fun: 
 
 
@@ -2748,8 +2292,6 @@ i--tem 2
 
 
 Various deff lines
-
-
 \hbox{}-- truc: after a deff item
 
 
@@ -2795,8 +2337,6 @@ Various deff lines
 
 
 
-
-
 cp
 \printindex
 
diff --git a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html 
b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
index 1a30feb..8fca8e4 100644
--- a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1406,6 +1407,7 @@ html ''
 
 
 
+
 <span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
@@ -2214,6 +2216,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3047,6 +3050,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3854,6 +3858,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -4755,6 +4760,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git a/tp/tests/layout/res_parser/formatting_nodes/anchor.html 
b/tp/tests/layout/res_parser/formatting_nodes/anchor.html
index 6334d01..e8197ce 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/anchor.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/anchor.html
@@ -549,6 +549,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_nodes/chapter.html 
b/tp/tests/layout/res_parser/formatting_nodes/chapter.html
index b2bb778..2f208e2 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/chapter.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_nodes/chapter2.html 
b/tp/tests/layout/res_parser/formatting_nodes/chapter2.html
index 2166ed6..9c08812 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/chapter2.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html 
b/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html
index 9140a90..9136900 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html 
b/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html
index 42067cc..22c11f3 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html 
b/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html
index deafe80..06174fd 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html 
b/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html
index 6ad0ae8..7771de1 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_nodes/index.html 
b/tp/tests/layout/res_parser/formatting_nodes/index.html
index 587d876..6f627b5 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/index.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/index.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1396,6 +1397,7 @@ html ''
 
 
 
+
 <span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
@@ -2204,6 +2206,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3038,6 +3041,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3845,6 +3849,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -4746,6 +4751,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git 
a/tp/tests/layout/res_parser/formatting_nodes/s_002d_002dect_002cion.html 
b/tp/tests/layout/res_parser/formatting_nodes/s_002d_002dect_002cion.html
index c530e68..5b069b7 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/s_002d_002dect_002cion.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/s_002d_002dect_002cion.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_nodes/subsection.html 
b/tp/tests/layout/res_parser/formatting_nodes/subsection.html
index f51e13d..fb0eca3 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/subsection.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/layout/res_parser/formatting_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index cb4a9cb..0861a06 100644
--- 
a/tp/tests/layout/res_parser/formatting_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/layout/res_parser/formatting_nodes/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git 
a/tp/tests/layout/res_parser/formatting_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/layout/res_parser/formatting_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index 615c2b0..5a083fe 100644
--- 
a/tp/tests/layout/res_parser/formatting_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/layout/res_parser/formatting_nodes/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
diff --git a/tp/tests/layout/res_parser/formatting_plaintext/formatting.txt 
b/tp/tests/layout/res_parser/formatting_plaintext/formatting.txt
index 007251e..e098b16 100644
--- a/tp/tests/layout/res_parser/formatting_plaintext/formatting.txt
+++ b/tp/tests/layout/res_parser/formatting_plaintext/formatting.txt
@@ -1536,6 +1536,7 @@ aaa
 
 
 
+
      majorheading
      ************
 
@@ -1668,9 +1669,9 @@ aaa
 * -option:                               Top.                (line   16)
 * -option <1>:                           Top.                (line  511)
 * -option <2>:                           Top.                (line 1017)
-* .:                                     Top.                (line 1660)
-* ?:                                     Top.                (line 1660)
-* a:                                     Top.                (line 1660)
+* .:                                     Top.                (line 1661)
+* ?:                                     Top.                (line 1661)
+* a:                                     Top.                (line 1661)
 * index entry between item and itemx:    Top.                (line  380)
 * index entry between item and itemx <1>: Top.               (line  875)
 * index entry between item and itemx <2>: Top.               (line 1509)
@@ -1683,8 +1684,8 @@ aaa
 * index entry within multitable:         Top.                (line  175)
 * index entry within multitable <1>:     Top.                (line  670)
 * index entry within multitable <2>:     Top.                (line 1305)
-* t-ruc:                                 Top.                (line 1660)
-* T-ruc:                                 Top.                (line 1660)
+* t-ruc:                                 Top.                (line 1661)
+* T-ruc:                                 Top.                (line 1661)
 
    fn
 
@@ -1693,8 +1694,8 @@ aaa
 * --foption:                             Top.                (line   16)
 * --foption <1>:                         Top.                (line  511)
 * --foption <2>:                         Top.                (line 1017)
-* .:                                     Top.                (line 1660)
-* ?:                                     Top.                (line 1660)
+* .:                                     Top.                (line 1661)
+* ?:                                     Top.                (line 1661)
 * ``:                                    Top.                (line   16)
 * `` <1>:                                Top.                (line  511)
 * `` <2>:                                Top.                (line 1017)
@@ -1704,10 +1705,10 @@ aaa
 * a <3>:                                 Top.                (line  874)
 * a <4>:                                 Top.                (line 1372)
 * a <5>:                                 Top.                (line 1508)
-* a <6>:                                 Top.                (line 1660)
+* a <6>:                                 Top.                (line 1661)
 * after:                                 Top.                (line  464)
 * after <1>:                             Top.                (line  959)
-* after <2>:                             Top.                (line 1619)
+* after <2>:                             Top.                (line 1620)
 * b:                                     Top.                (line  380)
 * b <1>:                                 Top.                (line  875)
 * b <2>:                                 Top.                (line 1509)
@@ -1764,7 +1765,7 @@ aaa
 * followed <2>:                          Top.                (line  735)
 * followed <3>:                          Top.                (line  957)
 * followed <4>:                          Top.                (line 1369)
-* followed <5>:                          Top.                (line 1617)
+* followed <5>:                          Top.                (line 1618)
 * I:                                     Top.                (line  225)
 * I <1>:                                 Top.                (line  251)
 * I <2>:                                 Top.                (line  720)
@@ -1800,12 +1801,12 @@ aaa
 * machin <11>:                           Top.                (line  956)
 * machin <12>:                           Top.                (line 1365)
 * machin <13>:                           Top.                (line 1367)
-* machin <14>:                           Top.                (line 1613)
-* machin <15>:                           Top.                (line 1614)
-* machin <16>:                           Top.                (line 1615)
-* machin <17>:                           Top.                (line 1616)
-* t--ruc:                                Top.                (line 1660)
-* T--ruc:                                Top.                (line 1660)
+* machin <14>:                           Top.                (line 1614)
+* machin <15>:                           Top.                (line 1615)
+* machin <16>:                           Top.                (line 1616)
+* machin <17>:                           Top.                (line 1617)
+* t--ruc:                                Top.                (line 1661)
+* T--ruc:                                Top.                (line 1661)
 * truc:                                  Top.                (line  226)
 * truc <1>:                              Top.                (line  252)
 * truc <2>:                              Top.                (line  721)
@@ -1907,9 +1908,9 @@ chapter 2
 * -option:                               Top.                (line   16)
 * -option <1>:                           Top.                (line  511)
 * -option <2>:                           Top.                (line 1017)
-* .:                                     Top.                (line 1660)
-* ?:                                     Top.                (line 1660)
-* a:                                     Top.                (line 1660)
+* .:                                     Top.                (line 1661)
+* ?:                                     Top.                (line 1661)
+* a:                                     Top.                (line 1661)
 * index entry between item and itemx:    Top.                (line  380)
 * index entry between item and itemx <1>: Top.               (line  875)
 * index entry between item and itemx <2>: Top.               (line 1509)
@@ -1922,16 +1923,16 @@ chapter 2
 * index entry within multitable:         Top.                (line  175)
 * index entry within multitable <1>:     Top.                (line  670)
 * index entry within multitable <2>:     Top.                (line 1305)
-* t-ruc:                                 Top.                (line 1660)
-* T-ruc:                                 Top.                (line 1660)
+* t-ruc:                                 Top.                (line 1661)
+* T-ruc:                                 Top.                (line 1661)
 
 * Menu:
 
 * --foption:                             Top.                (line   16)
 * --foption <1>:                         Top.                (line  511)
 * --foption <2>:                         Top.                (line 1017)
-* .:                                     Top.                (line 1660)
-* ?:                                     Top.                (line 1660)
+* .:                                     Top.                (line 1661)
+* ?:                                     Top.                (line 1661)
 * ``:                                    Top.                (line   16)
 * `` <1>:                                Top.                (line  511)
 * `` <2>:                                Top.                (line 1017)
@@ -1941,10 +1942,10 @@ chapter 2
 * a <3>:                                 Top.                (line  874)
 * a <4>:                                 Top.                (line 1372)
 * a <5>:                                 Top.                (line 1508)
-* a <6>:                                 Top.                (line 1660)
+* a <6>:                                 Top.                (line 1661)
 * after:                                 Top.                (line  464)
 * after <1>:                             Top.                (line  959)
-* after <2>:                             Top.                (line 1619)
+* after <2>:                             Top.                (line 1620)
 * b:                                     Top.                (line  380)
 * b <1>:                                 Top.                (line  875)
 * b <2>:                                 Top.                (line 1509)
@@ -2001,7 +2002,7 @@ chapter 2
 * followed <2>:                          Top.                (line  735)
 * followed <3>:                          Top.                (line  957)
 * followed <4>:                          Top.                (line 1369)
-* followed <5>:                          Top.                (line 1617)
+* followed <5>:                          Top.                (line 1618)
 * I:                                     Top.                (line  225)
 * I <1>:                                 Top.                (line  251)
 * I <2>:                                 Top.                (line  720)
@@ -2037,12 +2038,12 @@ chapter 2
 * machin <11>:                           Top.                (line  956)
 * machin <12>:                           Top.                (line 1365)
 * machin <13>:                           Top.                (line 1367)
-* machin <14>:                           Top.                (line 1613)
-* machin <15>:                           Top.                (line 1614)
-* machin <16>:                           Top.                (line 1615)
-* machin <17>:                           Top.                (line 1616)
-* t--ruc:                                Top.                (line 1660)
-* T--ruc:                                Top.                (line 1660)
+* machin <14>:                           Top.                (line 1614)
+* machin <15>:                           Top.                (line 1615)
+* machin <16>:                           Top.                (line 1616)
+* machin <17>:                           Top.                (line 1617)
+* t--ruc:                                Top.                (line 1661)
+* T--ruc:                                Top.                (line 1661)
 * truc:                                  Top.                (line  226)
 * truc <1>:                              Top.                (line  252)
 * truc <2>:                              Top.                (line  721)
diff --git 
a/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html 
b/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
index e818759..5d919d8 100644
--- a/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
+++ b/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
@@ -547,6 +547,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1396,6 +1397,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -2203,6 +2205,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -3044,6 +3047,7 @@ html ''
 
 
 
+
 <span id="majorheading-2"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-2"></span><h1 class="chapheading">chapheading</h1>
@@ -3944,6 +3948,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-3"></span><strong>majorheading</strong>
 <pre class="example">
 
@@ -4764,6 +4769,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
diff --git a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html 
b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
index c8f45b2..8fc8c90 100644
--- a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
@@ -548,6 +548,7 @@ html ''
 
 
 
+
 majorheading
 ************
 
@@ -1396,6 +1397,7 @@ html ''
 
 
 
+
 <span id="majorheading-3"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-3"></span><h1 class="chapheading">chapheading</h1>
@@ -2204,6 +2206,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3037,6 +3040,7 @@ html ''
 
 
 
+
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading"></span><h1 class="chapheading">chapheading</h1>
@@ -3844,6 +3848,7 @@ html ''
 
 
 
+
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
 
 <span id="chapheading-1"></span><h1 class="chapheading">chapheading</h1>
@@ -4745,6 +4750,7 @@ html ''
 
 
 
+
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
 <pre class="example">
 
diff --git a/tp/tests/layout/res_parser/formatting_xml/formatting.xml 
b/tp/tests/layout/res_parser/formatting_xml/formatting.xml
index e31ad29..e359d22 100644
--- a/tp/tests/layout/res_parser/formatting_xml/formatting.xml
+++ b/tp/tests/layout/res_parser/formatting_xml/formatting.xml
@@ -728,6 +728,10 @@ $$\\partial_t \\eta (t) = g(\\eta(t),\\varphi(t))$$ ''
 docbook ''
 @end docbook
 
+@latex
+$\\frac{a &lt; b @code{tex \\hbox{ code }}}{b}$ ``
+@end latex
+
 @majorheading majorheading
 
 @chapheading chapheading
@@ -1558,6 +1562,9 @@ in verbatim ''
 <docbook endspaces=" ">
 </docbook>
 
+<latex endspaces=" ">
+</latex>
+
 <majorheading spaces=" ">majorheading</majorheading>
 
 <chapheading spaces=" ">chapheading</chapheading>
@@ -2386,6 +2393,9 @@ in verbatim ''
 <docbook endspaces=" ">
 </docbook>
 
+<latex endspaces=" ">
+</latex>
+
 <majorheading spaces=" ">majorheading</majorheading>
 
 <chapheading spaces=" ">chapheading</chapheading>
@@ -3214,6 +3224,9 @@ in verbatim ''
 <docbook endspaces=" ">
 </docbook>
 
+<latex endspaces=" ">
+</latex>
+
 <majorheading spaces=" ">majorheading</majorheading>
 
 <chapheading spaces=" ">chapheading</chapheading>
@@ -4036,6 +4049,9 @@ in verbatim ''
 <docbook endspaces=" ">
 </docbook>
 
+<latex endspaces=" ">
+</latex>
+
 </pre><majorheading spaces=" ">majorheading</majorheading>
 <pre xml:space="preserve">
 </pre><chapheading spaces=" ">chapheading</chapheading>



reply via email to

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