texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Add coverage tests, mostly @-commands in @display


From: Patrice Dumas
Subject: branch master updated: Add coverage tests, mostly @-commands in @displaymath.
Date: Wed, 11 Aug 2021 17:38:46 -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 25c6798  Add coverage tests, mostly @-commands in @displaymath.
25c6798 is described below

commit 25c679882d796f34b122366b37158faafd041442
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Wed Aug 11 23:38:07 2021 +0200

    Add coverage tests, mostly @-commands in @displaymath.
---
 tp/tests/coverage_macro.texi                       |   55 +
 .../layout/res_parser/formatting/formatting.html   |  258 ++
 .../layout/res_parser/formatting_chm/anchor.html   |   35 +
 .../layout/res_parser/formatting_chm/chapter.html  |   35 +
 .../layout/res_parser/formatting_chm/chapter2.html |   35 +
 .../res_parser/formatting_chm/formatting.html      |  258 ++
 .../res_parser/formatting_chm/formatting_abt.html  |   35 +
 .../res_parser/formatting_chm/formatting_ovr.html  |   35 +
 .../res_parser/formatting_chm/formatting_toc.html  |   35 +
 .../layout/res_parser/formatting_chm/index.html    |   35 +
 .../formatting_chm/s_002d_002dect_002cion.html     |   35 +
 .../res_parser/formatting_chm/subsection.html      |   35 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   35 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   35 +
 .../res_parser/formatting_docbook/formatting.xml   |  216 ++
 .../res_parser/formatting_exotic/anchor.html       |   35 +
 .../res_parser/formatting_exotic/chapter.html      |   35 +
 .../res_parser/formatting_exotic/chapter2.html     |   35 +
 .../formatting_exotic/formatting_abt.html          |   35 +
 .../formatting_exotic/formatting_ovr.html          |   35 +
 .../formatting_exotic/formatting_toc.html          |   35 +
 .../layout/res_parser/formatting_exotic/index.html |  172 ++
 .../formatting_exotic/s_002d_002dect_002cion.html  |   35 +
 .../res_parser/formatting_exotic/subsection.html   |   35 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   35 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   35 +
 .../res_parser/formatting_fr_icons/formatting.html |  258 ++
 .../res_parser/formatting_html/formatting.html     |  258 ++
 .../res_parser/formatting_html32/formatting.html   |  238 ++
 .../formatting_html_no_texi2html/formatting.html   |  172 ++
 .../res_parser/formatting_html_nodes/anchor.html   |   35 +
 .../res_parser/formatting_html_nodes/chapter.html  |   35 +
 .../res_parser/formatting_html_nodes/chapter2.html |   35 +
 .../formatting_html_nodes/formatting_abt.html      |   35 +
 .../formatting_html_nodes/formatting_fot.html      |   35 +
 .../formatting_html_nodes/formatting_ovr.html      |   35 +
 .../formatting_html_nodes/formatting_toc.html      |   35 +
 .../res_parser/formatting_html_nodes/index.html    |  258 ++
 .../s_002d_002dect_002cion.html                    |   35 +
 .../formatting_html_nodes/subsection.html          |   35 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   35 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   35 +
 .../res_parser/formatting_info/formatting.info     |  Bin 84127 -> 86787 bytes
 .../res_parser/formatting_latex/formatting.1       |    0
 .../res_parser/formatting_latex/formatting.2       |  258 ++
 .../res_parser/formatting_latex/formatting.tex     | 3019 ++++++++++++++++++++
 .../res_parser/formatting_mathjax/formatting.html  |  258 ++
 .../layout/res_parser/formatting_nodes/anchor.html |   35 +
 .../res_parser/formatting_nodes/chapter.html       |   35 +
 .../res_parser/formatting_nodes/chapter2.html      |   35 +
 .../formatting_nodes/formatting_abt.html           |   35 +
 .../formatting_nodes/formatting_fot.html           |   35 +
 .../formatting_nodes/formatting_ovr.html           |   35 +
 .../formatting_nodes/formatting_toc.html           |   35 +
 .../layout/res_parser/formatting_nodes/index.html  |  258 ++
 .../formatting_nodes/s_002d_002dect_002cion.html   |   35 +
 .../res_parser/formatting_nodes/subsection.html    |   35 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   35 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   35 +
 .../res_parser/formatting_plaintext/formatting.txt |  739 +++--
 .../formatting_regions/formatting_regions.html     |  258 ++
 .../formatting_weird_quotes/formatting.html        |  258 ++
 .../res_parser/formatting_xml/formatting.xml       |  271 ++
 .../res_parser/formatting_singular/anchor.html     |   35 +
 .../res_parser/formatting_singular/chapter.html    |   35 +
 .../res_parser/formatting_singular/chapter2.html   |   35 +
 .../res_parser/formatting_singular/index.htm       |  343 ++-
 .../res_parser/formatting_singular/index.html      |   35 +
 .../s_002d_002dect_002cion.html                    |   35 +
 .../formatting_singular/sing-l2h_cache.pm          |  105 +-
 .../res_parser/formatting_singular/sing_abt.htm    |   35 +
 .../res_parser/formatting_singular/sing_fot.htm    |   35 +
 .../res_parser/formatting_singular/sing_l2h.html   |   97 +-
 .../res_parser/formatting_singular/sing_l2h.tex    |   56 +-
 .../formatting_singular/sing_l2h_images.tex        |   50 +-
 .../res_parser/formatting_singular/sing_ovr.htm    |   35 +
 .../res_parser/formatting_singular/sing_toc.htm    |   35 +
 .../res_parser/formatting_singular/subsection.html |   35 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |   35 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |   35 +
 .../anchor.html                                    |    4 +
 .../chapter.html                                   |    4 +
 .../chapter2.html                                  |    4 +
 .../index.htm                                      |  160 +-
 .../index.html                                     |    4 +
 .../s_002d_002dect_002cion.html                    |    4 +
 .../sing_abt.htm                                   |    4 +
 .../sing_fot.htm                                   |    4 +
 .../sing_ovr.htm                                   |    4 +
 .../sing_tex4ht_displaymath.4ct                    |    2 +
 .../sing_tex4ht_displaymath.4tc                    |    1 +
 .../sing_tex4ht_displaymath.css                    |   42 +
 .../sing_tex4ht_displaymath.html                   |   76 +
 .../sing_tex4ht_displaymath.lg                     |   57 +
 .../sing_tex4ht_displaymath.tex                    |   28 +
 .../sing_tex4ht_displaymath.tmp                    |    2 +
 .../sing_tex4ht_displaymath.xref                   |    1 +
 .../sing_tex4ht_math.4ct                           |    2 +
 .../sing_tex4ht_math.4tc                           |    1 +
 .../sing_tex4ht_math.css                           |   40 +
 .../sing_tex4ht_math.html                          |    6 +
 .../formatting_singular_tex4ht/sing_tex4ht_math.lg |   47 +
 .../sing_tex4ht_math.tex                           |   20 +
 .../sing_tex4ht_math.tmp                           |    2 +
 .../sing_tex4ht_math.xref                          |    1 +
 .../formatting_singular_tex4ht/sing_tex4ht_tex.4ct |    2 +
 .../formatting_singular_tex4ht/sing_tex4ht_tex.4tc |    1 +
 .../formatting_singular_tex4ht/sing_tex4ht_tex.css |   42 +
 .../sing_tex4ht_tex.html                           |   66 +
 .../formatting_singular_tex4ht/sing_tex4ht_tex.lg  |   55 +
 .../formatting_singular_tex4ht/sing_tex4ht_tex.tex |   16 +
 .../formatting_singular_tex4ht/sing_tex4ht_tex.tmp |    2 +
 .../sing_tex4ht_tex.xref                           |    1 +
 .../sing_toc.htm                                   |    4 +
 .../subsection.html                                |    4 +
 ...tion-_0060_0060simple_002ddouble_002d_002d.html |    4 +
 ...02d_002dfour_002d_002d_002d_002d_0027_0027.html |    4 +
 .../res_parser/tex_gdef_mathjax/js_licenses.html   |   10 +
 .../res_parser/tex_gdef_mathjax/tex_gdef.1         |    0
 .../res_parser/tex_gdef_mathjax/tex_gdef.2         |    1 +
 .../res_parser/tex_gdef_mathjax/tex_gdef.html      |   65 +
 121 files changed, 10398 insertions(+), 437 deletions(-)

diff --git a/tp/tests/coverage_macro.texi b/tp/tests/coverage_macro.texi
index a211283..96111f2 100644
--- a/tp/tests/coverage_macro.texi
+++ b/tp/tests/coverage_macro.texi
@@ -185,6 +185,7 @@ but , ,@:
 @code{@@,@{--c@}} @,{--c}
 @code{@@ogonek@{a@}} @ogonek{a}
 @code{@@ogonek@{--a@}} @ogonek{--a}
+@code{a@@sup@{h@}@@sub@{l@}} a@sup{h}@sub{l}
 @code{@@footnote@{in footnote@}} @footnote{in footnote}
 @code{@@footnote@{in footnote2@}} @footnote{in footnote2}
 
@@ -205,6 +206,60 @@ After clickstyle @result{}
 @code{@@clicksequence@{click @@click@{@} A@}} @clicksequence{click @click{} A}
 @clickstyle @arrow
 
+@c test most commands that could happen in math mode
+@displaymath
+@strong{``simple-double--three---four----''} @w{aa}
+@end displaymath
+
+@displaymath
+@"u @"{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} @dotless{j} @`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @| @: @! @? @. @@ @} @{ @/
+@today{}
+@end displaymath
+
+@displaymath
+@click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{} 
+@end displaymath
+
+@displaymath
+@quotedblleft{} @quotedblright{} 
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+@end displaymath
+
+@kbd{default kbdinputstyle}
+@example
+@kbd{in example default kbdinputstyle}
+@end example
+
+@kbdinputstyle code
+@kbd{code kbdinputstyle}
+@example
+@kbd{in example code kbdinputstyle}
+@end example
+
+@kbdinputstyle example
+@kbd{example kbdinputstyle}
+@example
+@kbd{in example example kbdinputstyle}
+@end example
+
+@kbdinputstyle distinct
+@kbd{distinct kbdinputstyle}
+@example
+@kbd{in example distinct kbdinputstyle}
+@end example
+
 @quotation 
 A quot---ation
 @end quotation
diff --git a/tp/tests/layout/res_parser/formatting/formatting.html 
b/tp/tests/layout/res_parser/formatting/formatting.html
index 75ef67c..41e25bd 100644
--- a/tp/tests/layout/res_parser/formatting/formatting.html
+++ b/tp/tests/layout/res_parser/formatting/formatting.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -848,6 +883,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="#FOOT3"><sup>7</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="#FOOT4"><sup>8</sup></a>
 </p>
@@ -867,6 +903,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1606,6 +1684,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -1625,6 +1704,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2389,6 +2510,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>2</sup></a>
 </p>
@@ -2408,6 +2530,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3146,6 +3310,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>4</sup></a>
 </p>
@@ -3165,6 +3330,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3910,6 +4117,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(6)</a>
 
@@ -3929,6 +4137,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
diff --git a/tp/tests/layout/res_parser/formatting_chm/anchor.html 
b/tp/tests/layout/res_parser/formatting_chm/anchor.html
index 83283d8..7bd90cd 100644
--- a/tp/tests/layout/res_parser/formatting_chm/anchor.html
+++ b/tp/tests/layout/res_parser/formatting_chm/anchor.html
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_chm/chapter.html 
b/tp/tests/layout/res_parser/formatting_chm/chapter.html
index e6534a1..53d9d26 100644
--- a/tp/tests/layout/res_parser/formatting_chm/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_chm/chapter.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_chm/chapter2.html 
b/tp/tests/layout/res_parser/formatting_chm/chapter2.html
index f7bf0a5..1c4acdb 100644
--- a/tp/tests/layout/res_parser/formatting_chm/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_chm/chapter2.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_chm/formatting.html 
b/tp/tests/layout/res_parser/formatting_chm/formatting.html
index f257035..2f04f1f 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -848,6 +883,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="#FOOT3"><sup>7</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="#FOOT4"><sup>8</sup></a>
 </p>
@@ -867,6 +903,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &#339; &AElig; &#338; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &#8364; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1606,6 +1684,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -1625,6 +1704,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &#339; &AElig; &#338; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &#8364; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2372,6 +2493,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>2</sup></a>
 </p>
@@ -2391,6 +2513,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &#339; &AElig; &#338; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &#8364; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3129,6 +3293,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>4</sup></a>
 </p>
@@ -3148,6 +3313,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &#339; &AElig; &#338; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &#8364; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3893,6 +4100,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(6)</a>
 
@@ -3912,6 +4120,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &#339; &AElig; &#338; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &#8364; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
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 216e4c6..fe31db2 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting_abt.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 6f3c6b3..cb36ecd 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting_ovr.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 1e7d7b2..46eb5f4 100644
--- a/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_chm/formatting_toc.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_chm/index.html 
b/tp/tests/layout/res_parser/formatting_chm/index.html
index 2528b24..55f4a81 100644
--- a/tp/tests/layout/res_parser/formatting_chm/index.html
+++ b/tp/tests/layout/res_parser/formatting_chm/index.html
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 090528e..f051790 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_chm/subsection.html 
b/tp/tests/layout/res_parser/formatting_chm/subsection.html
index 003827a..1778f9c 100644
--- a/tp/tests/layout/res_parser/formatting_chm/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_chm/subsection.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 bcba4b6..bf2b6af 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 20c4c83..f6fb38b 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_docbook/formatting.xml 
b/tp/tests/layout/res_parser/formatting_docbook/formatting.xml
index 2a126a3..f5ad6e2 100644
--- a/tp/tests/layout/res_parser/formatting_docbook/formatting.xml
+++ b/tp/tests/layout/res_parser/formatting_docbook/formatting.xml
@@ -204,6 +204,7 @@ but , ,
 <literal>@,{--c}</literal> &#8211;c,
 <literal>@ogonek{a}</literal> &#261;
 <literal>@ogonek{--a}</literal> &#8211;a;
+<literal>a@sup{h}@sub{l}</literal> 
a<superscript>h</superscript><subscript>l</subscript>
 <literal>@footnote{in footnote}</literal> <footnote><para>in 
footnote</para></footnote>
 <literal>@footnote{in footnote2}</literal> <footnote><para>in 
footnote2</para></footnote>
 </para>
@@ -227,6 +228,41 @@ aaa</literallayout></textobject></inlinemediaobject>
 After clickstyle &#8658;
 <literal>@clicksequence{click @click{} A}</literal> click &#8658; A
 </para>
+<!-- test most commands that could happen in math mode -->
+<informalequation><mathphrase><emphasis 
role="bold">``simple-double--three---four----''</emphasis> aa<!-- /@w -->
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#252; &#220; &#241; &#226; &#233; &#333; &#236; 
&#233; i j &#274;`
+&#322; &#262;, &#262;, &#231; a'' &#551; &#229; a[
+&#259; a_ &#7841; &#462; &#261; 
a<superscript>h</superscript><subscript>l</subscript>
+
+ &#160;&#160; &#160;   ! ? . @ } { 
+a sunny day
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8594;
+&#x0075;
+&tex; &latex; &#8226; &#169; &#8230; ... &#8801;
+error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
+&#229; &#197; &#230; &#339; &#198; &#338; &#248; &#216; &#223; &#322; &#321; 
&#208;
+&#222; &#240; &#254; &#161; &#191; &#163;
+&#174; &#170; &#186; &#44; 
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8220; &#8221; 
+&#8216; &#8217; &#8222; &#8218; &#171;
+&#187; &#171; &#187; &#8249;
+&#8250; &#176; &#8364; &#8594; &#8804; &#8805;
+</mathphrase></informalequation>
+<para><userinput>default kbdinputstyle</userinput>
+</para><screen><userinput>in example default kbdinputstyle</userinput>
+</screen>
+<para><userinput>code kbdinputstyle</userinput>
+</para><screen><userinput>in example code kbdinputstyle</userinput>
+</screen>
+<para><userinput>example kbdinputstyle</userinput>
+</para><screen><userinput>in example example kbdinputstyle</userinput>
+</screen>
+<para><userinput>distinct kbdinputstyle</userinput>
+</para><screen><userinput>in example distinct kbdinputstyle</userinput>
+</screen>
 <blockquote><para>A quot&#8212;ation
 </para></blockquote>
 <note><para>A Note
@@ -841,6 +877,7 @@ but , ,
 <literal>@,{--c}</literal> &#8211;c,
 <literal>@ogonek{a}</literal> &#261;
 <literal>@ogonek{--a}</literal> &#8211;a;
+<literal>a@sup{h}@sub{l}</literal> 
a<superscript>h</superscript><subscript>l</subscript>
 <literal>@footnote{in footnote}</literal> <footnote><para>in 
footnote</para></footnote>
 <literal>@footnote{in footnote2}</literal> <footnote><para>in 
footnote2</para></footnote>
 </para>
@@ -864,6 +901,41 @@ aaa</literallayout></textobject></inlinemediaobject>
 After clickstyle &#8658;
 <literal>@clicksequence{click @click{} A}</literal> click &#8658; A
 </para>
+<!-- test most commands that could happen in math mode -->
+<informalequation><mathphrase><emphasis 
role="bold">``simple-double--three---four----''</emphasis> aa<!-- /@w -->
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#252; &#220; &#241; &#226; &#233; &#333; &#236; 
&#233; i j &#274;`
+&#322; &#262;, &#262;, &#231; a'' &#551; &#229; a[
+&#259; a_ &#7841; &#462; &#261; 
a<superscript>h</superscript><subscript>l</subscript>
+
+ &#160;&#160; &#160;   ! ? . @ } { 
+a sunny day
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8594;
+&#x0075;
+&tex; &latex; &#8226; &#169; &#8230; ... &#8801;
+error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
+&#229; &#197; &#230; &#339; &#198; &#338; &#248; &#216; &#223; &#322; &#321; 
&#208;
+&#222; &#240; &#254; &#161; &#191; &#163;
+&#174; &#170; &#186; &#44; 
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8220; &#8221; 
+&#8216; &#8217; &#8222; &#8218; &#171;
+&#187; &#171; &#187; &#8249;
+&#8250; &#176; &#8364; &#8594; &#8804; &#8805;
+</mathphrase></informalequation>
+<para><userinput>default kbdinputstyle</userinput>
+</para><screen><userinput>in example default kbdinputstyle</userinput>
+</screen>
+<para><userinput>code kbdinputstyle</userinput>
+</para><screen><userinput>in example code kbdinputstyle</userinput>
+</screen>
+<para><userinput>example kbdinputstyle</userinput>
+</para><screen><userinput>in example example kbdinputstyle</userinput>
+</screen>
+<para><userinput>distinct kbdinputstyle</userinput>
+</para><screen><userinput>in example distinct kbdinputstyle</userinput>
+</screen>
 <blockquote><para>A quot&#8212;ation
 </para></blockquote>
 <note><para>A Note
@@ -1479,6 +1551,7 @@ but , ,
 <literal>@,{--c}</literal> &#8211;c,
 <literal>@ogonek{a}</literal> &#261;
 <literal>@ogonek{--a}</literal> &#8211;a;
+<literal>a@sup{h}@sub{l}</literal> 
a<superscript>h</superscript><subscript>l</subscript>
 <literal>@footnote{in footnote}</literal> <footnote><para>in 
footnote</para></footnote>
 <literal>@footnote{in footnote2}</literal> <footnote><para>in 
footnote2</para></footnote>
 </para>
@@ -1502,6 +1575,41 @@ aaa</literallayout></textobject></inlinemediaobject>
 After clickstyle &#8658;
 <literal>@clicksequence{click @click{} A}</literal> click &#8658; A
 </para>
+<!-- test most commands that could happen in math mode -->
+<informalequation><mathphrase><emphasis 
role="bold">``simple-double--three---four----''</emphasis> aa<!-- /@w -->
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#252; &#220; &#241; &#226; &#233; &#333; &#236; 
&#233; i j &#274;`
+&#322; &#262;, &#262;, &#231; a'' &#551; &#229; a[
+&#259; a_ &#7841; &#462; &#261; 
a<superscript>h</superscript><subscript>l</subscript>
+
+ &#160;&#160; &#160;   ! ? . @ } { 
+a sunny day
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8594;
+&#x0075;
+&tex; &latex; &#8226; &#169; &#8230; ... &#8801;
+error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
+&#229; &#197; &#230; &#339; &#198; &#338; &#248; &#216; &#223; &#322; &#321; 
&#208;
+&#222; &#240; &#254; &#161; &#191; &#163;
+&#174; &#170; &#186; &#44; 
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8220; &#8221; 
+&#8216; &#8217; &#8222; &#8218; &#171;
+&#187; &#171; &#187; &#8249;
+&#8250; &#176; &#8364; &#8594; &#8804; &#8805;
+</mathphrase></informalequation>
+<para><userinput>default kbdinputstyle</userinput>
+</para><screen><userinput>in example default kbdinputstyle</userinput>
+</screen>
+<para><userinput>code kbdinputstyle</userinput>
+</para><screen><userinput>in example code kbdinputstyle</userinput>
+</screen>
+<para><userinput>example kbdinputstyle</userinput>
+</para><screen><userinput>in example example kbdinputstyle</userinput>
+</screen>
+<para><userinput>distinct kbdinputstyle</userinput>
+</para><screen><userinput>in example distinct kbdinputstyle</userinput>
+</screen>
 <blockquote><para>A quot&#8212;ation
 </para></blockquote>
 <note><para>A Note
@@ -2117,6 +2225,7 @@ but , ,
 <literal>@,{--c}</literal> &#8211;c,
 <literal>@ogonek{a}</literal> &#261;
 <literal>@ogonek{--a}</literal> &#8211;a;
+<literal>a@sup{h}@sub{l}</literal> 
a<superscript>h</superscript><subscript>l</subscript>
 <literal>@footnote{in footnote}</literal> <footnote><para>in 
footnote</para></footnote>
 <literal>@footnote{in footnote2}</literal> <footnote><para>in 
footnote2</para></footnote>
 </para>
@@ -2140,6 +2249,41 @@ aaa</literallayout></textobject></inlinemediaobject>
 After clickstyle &#8658;
 <literal>@clicksequence{click @click{} A}</literal> click &#8658; A
 </para>
+<!-- test most commands that could happen in math mode -->
+<informalequation><mathphrase><emphasis 
role="bold">``simple-double--three---four----''</emphasis> aa<!-- /@w -->
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#252; &#220; &#241; &#226; &#233; &#333; &#236; 
&#233; i j &#274;`
+&#322; &#262;, &#262;, &#231; a'' &#551; &#229; a[
+&#259; a_ &#7841; &#462; &#261; 
a<superscript>h</superscript><subscript>l</subscript>
+
+ &#160;&#160; &#160;   ! ? . @ } { 
+a sunny day
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8594;
+&#x0075;
+&tex; &latex; &#8226; &#169; &#8230; ... &#8801;
+error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
+&#229; &#197; &#230; &#339; &#198; &#338; &#248; &#216; &#223; &#322; &#321; 
&#208;
+&#222; &#240; &#254; &#161; &#191; &#163;
+&#174; &#170; &#186; &#44; 
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8220; &#8221; 
+&#8216; &#8217; &#8222; &#8218; &#171;
+&#187; &#171; &#187; &#8249;
+&#8250; &#176; &#8364; &#8594; &#8804; &#8805;
+</mathphrase></informalequation>
+<para><userinput>default kbdinputstyle</userinput>
+</para><screen><userinput>in example default kbdinputstyle</userinput>
+</screen>
+<para><userinput>code kbdinputstyle</userinput>
+</para><screen><userinput>in example code kbdinputstyle</userinput>
+</screen>
+<para><userinput>example kbdinputstyle</userinput>
+</para><screen><userinput>in example example kbdinputstyle</userinput>
+</screen>
+<para><userinput>distinct kbdinputstyle</userinput>
+</para><screen><userinput>in example distinct kbdinputstyle</userinput>
+</screen>
 <blockquote><para>A quot&#8212;ation
 </para></blockquote>
 <note><para>A Note
@@ -2754,6 +2898,7 @@ but , ,
 <literal>@,{--c}</literal> &#8211;c,
 <literal>@ogonek{a}</literal> &#261;
 <literal>@ogonek{--a}</literal> &#8211;a;
+<literal>a@sup{h}@sub{l}</literal> 
a<superscript>h</superscript><subscript>l</subscript>
 <literal>@footnote{in footnote}</literal> <footnote><para>in 
footnote</para></footnote>
 <literal>@footnote{in footnote2}</literal> <footnote><para>in 
footnote2</para></footnote>
 </para>
@@ -2777,6 +2922,41 @@ aaa</literallayout></textobject></inlinemediaobject>
 After clickstyle &#8658;
 <literal>@clicksequence{click @click{} A}</literal> click &#8658; A
 </para>
+<!-- test most commands that could happen in math mode -->
+<informalequation><mathphrase><emphasis 
role="bold">``simple-double--three---four----''</emphasis> aa<!-- /@w -->
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#252; &#220; &#241; &#226; &#233; &#333; &#236; 
&#233; i j &#274;`
+&#322; &#262;, &#262;, &#231; a'' &#551; &#229; a[
+&#259; a_ &#7841; &#462; &#261; 
a<superscript>h</superscript><subscript>l</subscript>
+
+ &#160;&#160; &#160;   ! ? . @ } { 
+a sunny day
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8594;
+&#x0075;
+&tex; &latex; &#8226; &#169; &#8230; ... &#8801;
+error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
+&#229; &#197; &#230; &#339; &#198; &#338; &#248; &#216; &#223; &#322; &#321; 
&#208;
+&#222; &#240; &#254; &#161; &#191; &#163;
+&#174; &#170; &#186; &#44; 
+</mathphrase></informalequation>
+<informalequation><mathphrase>&#8220; &#8221; 
+&#8216; &#8217; &#8222; &#8218; &#171;
+&#187; &#171; &#187; &#8249;
+&#8250; &#176; &#8364; &#8594; &#8804; &#8805;
+</mathphrase></informalequation>
+<para><userinput>default kbdinputstyle</userinput>
+</para><screen><userinput>in example default kbdinputstyle</userinput>
+</screen>
+<para><userinput>code kbdinputstyle</userinput>
+</para><screen><userinput>in example code kbdinputstyle</userinput>
+</screen>
+<para><userinput>example kbdinputstyle</userinput>
+</para><screen><userinput>in example example kbdinputstyle</userinput>
+</screen>
+<para><userinput>distinct kbdinputstyle</userinput>
+</para><screen><userinput>in example distinct kbdinputstyle</userinput>
+</screen>
 <blockquote><para>A quot&#8212;ation
 </para></blockquote>
 <note><para>A Note
@@ -3387,6 +3567,7 @@ but , ,
 <literal>@,{--c}</literal> --c,
 <literal>@ogonek{a}</literal> &#261;
 <literal>@ogonek{--a}</literal> --a;
+<literal>a@sup{h}@sub{l}</literal> 
a<superscript>h</superscript><subscript>l</subscript>
 <literal>@footnote{in footnote}</literal> <footnote><para>in 
footnote</para></footnote>
 <literal>@footnote{in footnote2}</literal> <footnote><para>in 
footnote2</para></footnote>
 
@@ -3410,6 +3591,41 @@ aaa</literallayout></textobject></inlinemediaobject>
 After clickstyle &#8658;
 <literal>@clicksequence{click @click{} A}</literal> click &#8658; A
 
+<!-- test most commands that could happen in math mode -->
+</screen><informalequation><mathphrase><emphasis 
role="bold">``simple-double--three---four----''</emphasis> aa<!-- /@w -->
+</mathphrase></informalequation><screen>
+</screen><informalequation><mathphrase>&#252; &#220; &#241; &#226; &#233; 
&#333; &#236; &#233; i j &#274;`
+&#322; &#262;, &#262;, &#231; a'' &#551; &#229; a[
+&#259; a_ &#7841; &#462; &#261; 
a<superscript>h</superscript><subscript>l</subscript>
+
+ &#160;&#160; &#160;   ! ? . @ } { 
+a sunny day
+</mathphrase></informalequation><screen>
+</screen><informalequation><mathphrase>&#8594;
+&#x0075;
+&tex; &latex; &#8226; &#169; &#8230; ... &#8801;
+error&#8594; &#8614; &#8722; &#9733; &#8867; &#8658;
+&#229; &#197; &#230; &#339; &#198; &#338; &#248; &#216; &#223; &#322; &#321; 
&#208;
+&#222; &#240; &#254; &#161; &#191; &#163;
+&#174; &#170; &#186; &#44; 
+</mathphrase></informalequation><screen>
+</screen><informalequation><mathphrase>&#8220; &#8221; 
+&#8216; &#8217; &#8222; &#8218; &#171;
+&#187; &#171; &#187; &#8249;
+&#8250; &#176; &#8364; &#8594; &#8804; &#8805;
+</mathphrase></informalequation><screen>
+<userinput>default kbdinputstyle</userinput>
+</screen><screen><userinput>in example default kbdinputstyle</userinput>
+</screen><screen>
+<userinput>code kbdinputstyle</userinput>
+</screen><screen><userinput>in example code kbdinputstyle</userinput>
+</screen><screen>
+<userinput>example kbdinputstyle</userinput>
+</screen><screen><userinput>in example example kbdinputstyle</userinput>
+</screen><screen>
+<userinput>distinct kbdinputstyle</userinput>
+</screen><screen><userinput>in example distinct kbdinputstyle</userinput>
+</screen><screen>
 </screen><blockquote><screen>A quot---ation
 </screen></blockquote><screen>
 </screen><note><screen>A Note
diff --git a/tp/tests/layout/res_parser/formatting_exotic/anchor.html 
b/tp/tests/layout/res_parser/formatting_exotic/anchor.html
index dee496d..d3c01cb 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/anchor.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/anchor.html
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_exotic/chapter.html 
b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
index 0f8c42f..6d064af 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/chapter.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_exotic/chapter2.html 
b/tp/tests/layout/res_parser/formatting_exotic/chapter2.html
index 0713ba0..2875c18 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/chapter2.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 f15d92b..405da99 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting_abt.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 7e93dea..750a983 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting_ovr.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 36ccf59..1bdd8a4 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/formatting_toc.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_exotic/index.html 
b/tp/tests/layout/res_parser/formatting_exotic/index.html
index f76648f..686ef01 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/index.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/index.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -861,6 +896,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>2</sup></a>
 </p>
@@ -880,6 +916,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1618,6 +1696,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>4</sup></a>
 </p>
@@ -1637,6 +1716,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2382,6 +2503,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(6)</a>
 
@@ -2401,6 +2523,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
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 0f50cc7..84f5566 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_exotic/subsection.html 
b/tp/tests/layout/res_parser/formatting_exotic/subsection.html
index f0f6c83..ddc5545 100644
--- a/tp/tests/layout/res_parser/formatting_exotic/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_exotic/subsection.html
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 cba4187..68de3a4 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
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 0fd1190..9ffb10a 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
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 2e83ea6..98cbf9e 100644
--- a/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_fr_icons/formatting.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+erreur-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -848,6 +883,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="#FOOT3"><sup>7</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="#FOOT4"><sup>8</sup></a>
 </p>
@@ -867,6 +903,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+erreur&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1606,6 +1684,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -1625,6 +1704,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+erreur&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2389,6 +2510,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>2</sup></a>
 </p>
@@ -2408,6 +2530,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+erreur&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3146,6 +3310,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>4</sup></a>
 </p>
@@ -3165,6 +3330,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+erreur&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3910,6 +4117,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(6)</a>
 
@@ -3929,6 +4137,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+erreur&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
diff --git a/tp/tests/layout/res_parser/formatting_html/formatting.html 
b/tp/tests/layout/res_parser/formatting_html/formatting.html
index 75ef67c..41e25bd 100644
--- a/tp/tests/layout/res_parser/formatting_html/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html/formatting.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -848,6 +883,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="#FOOT3"><sup>7</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="#FOOT4"><sup>8</sup></a>
 </p>
@@ -867,6 +903,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1606,6 +1684,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -1625,6 +1704,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2389,6 +2510,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>2</sup></a>
 </p>
@@ -2408,6 +2530,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3146,6 +3310,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>4</sup></a>
 </p>
@@ -3165,6 +3330,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3910,6 +4117,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(6)</a>
 
@@ -3929,6 +4137,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
diff --git a/tp/tests/layout/res_parser/formatting_html32/formatting.html 
b/tp/tests/layout/res_parser/formatting_html32/formatting.html
index 7a785dd..5cbbe21 100644
--- a/tp/tests/layout/res_parser/formatting_html32/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html32/formatting.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -829,6 +864,7 @@ but , ,
 <code>@,{--c}</code> -c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> -a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="#FOOT3"><sup>7</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="#FOOT4"><sup>8</sup></a>
 </p>
@@ -848,6 +884,44 @@ but , ,
 After clickstyle =&gt;
 <code>@clicksequence{click @click{} A}</code> click =&gt; A
 </p>
+<div><em><strong>``simple-double--three---four----''</strong> aa<!-- /@w -->
+</em></div>
+<div><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; &igrave; &eacute; i j 
&#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div><em>-&gt;
+&#x0075;
+TeX LaTeX * &copy; ... ... ==
+error-&gt; ==&gt; - -!- -| =&gt;
+&aring; &Aring; &aelig; &#156; &AElig; &#140; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div><em>`` '' 
+` ' ,, , &lt;&lt;
+&gt;&gt; &lt;&lt; &gt;&gt; &lt;
+&gt; &deg; Euro -&gt; &lt;= &gt;=
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><kbd>in example default 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+
+<p><code>code kbdinputstyle</code>
+</p><table><tr><td>&nbsp;</td><td><pre><code>in example code 
kbdinputstyle</code>
+</pre></td></tr></table>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><code>in example example 
kbdinputstyle</code>
+</pre></td></tr></table>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><kbd>in example distinct 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+
 <blockquote>
 <p>A quot--ation
 </p></blockquote>
@@ -1570,6 +1644,7 @@ but , ,
 <code>@,{--c}</code> -c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> -a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -1589,6 +1664,44 @@ but , ,
 After clickstyle =&gt;
 <code>@clicksequence{click @click{} A}</code> click =&gt; A
 </p>
+<div><em><strong>``simple-double--three---four----''</strong> aa<!-- /@w -->
+</em></div>
+<div><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; &igrave; &eacute; i j 
&#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div><em>-&gt;
+&#x0075;
+TeX LaTeX * &copy; ... ... ==
+error-&gt; ==&gt; - -!- -| =&gt;
+&aring; &Aring; &aelig; &#156; &AElig; &#140; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div><em>`` '' 
+` ' ,, , &lt;&lt;
+&gt;&gt; &lt;&lt; &gt;&gt; &lt;
+&gt; &deg; Euro -&gt; &lt;= &gt;=
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><kbd>in example default 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+
+<p><code>code kbdinputstyle</code>
+</p><table><tr><td>&nbsp;</td><td><pre><code>in example code 
kbdinputstyle</code>
+</pre></td></tr></table>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><code>in example example 
kbdinputstyle</code>
+</pre></td></tr></table>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><kbd>in example distinct 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+
 <blockquote>
 <p>A quot--ation
 </p></blockquote>
@@ -2336,6 +2449,7 @@ but , ,
 <code>@,{--c}</code> -c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> -a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>2</sup></a>
 </p>
@@ -2355,6 +2469,44 @@ but , ,
 After clickstyle =&gt;
 <code>@clicksequence{click @click{} A}</code> click =&gt; A
 </p>
+<div><em><strong>``simple-double--three---four----''</strong> aa<!-- /@w -->
+</em></div>
+<div><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; &igrave; &eacute; i j 
&#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div><em>-&gt;
+&#x0075;
+TeX LaTeX * &copy; ... ... ==
+error-&gt; ==&gt; - -!- -| =&gt;
+&aring; &Aring; &aelig; &#156; &AElig; &#140; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div><em>`` '' 
+` ' ,, , &lt;&lt;
+&gt;&gt; &lt;&lt; &gt;&gt; &lt;
+&gt; &deg; Euro -&gt; &lt;= &gt;=
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><kbd>in example default 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+
+<p><code>code kbdinputstyle</code>
+</p><table><tr><td>&nbsp;</td><td><pre><code>in example code 
kbdinputstyle</code>
+</pre></td></tr></table>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><code>in example example 
kbdinputstyle</code>
+</pre></td></tr></table>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><kbd>in example distinct 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+
 <blockquote>
 <p>A quot--ation
 </p></blockquote>
@@ -3076,6 +3228,7 @@ but , ,
 <code>@,{--c}</code> -c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> -a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>4</sup></a>
 </p>
@@ -3095,6 +3248,44 @@ but , ,
 After clickstyle =&gt;
 <code>@clicksequence{click @click{} A}</code> click =&gt; A
 </p>
+<div><em><strong>``simple-double--three---four----''</strong> aa<!-- /@w -->
+</em></div>
+<div><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; &igrave; &eacute; i j 
&#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div><em>-&gt;
+&#x0075;
+TeX LaTeX * &copy; ... ... ==
+error-&gt; ==&gt; - -!- -| =&gt;
+&aring; &Aring; &aelig; &#156; &AElig; &#140; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div><em>`` '' 
+` ' ,, , &lt;&lt;
+&gt;&gt; &lt;&lt; &gt;&gt; &lt;
+&gt; &deg; Euro -&gt; &lt;= &gt;=
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><kbd>in example default 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+
+<p><code>code kbdinputstyle</code>
+</p><table><tr><td>&nbsp;</td><td><pre><code>in example code 
kbdinputstyle</code>
+</pre></td></tr></table>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><code>in example example 
kbdinputstyle</code>
+</pre></td></tr></table>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><table><tr><td>&nbsp;</td><td><pre><kbd>in example distinct 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+
 <blockquote>
 <p>A quot--ation
 </p></blockquote>
@@ -3822,6 +4013,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(6)</a>
 
@@ -3841,6 +4033,52 @@ but , ,
 After clickstyle =&gt;
 <code>@clicksequence{click @click{} A}</code> click =&gt; A
 
+</pre><div><em><strong>``simple-double--three---four----''</strong> aa<!-- /@w 
-->
+</em></div><pre>
+
+</pre><div><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; &igrave; 
&eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre>
+
+</pre><div><em>-&gt;
+&#x0075;
+TeX LaTeX * &copy; ... ... ==
+error-&gt; ==&gt; - -!- -| =&gt;
+&aring; &Aring; &aelig; &#156; &AElig; &#140; &oslash; &Oslash; &szlig; &#322; 
&#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre>
+
+</pre><div><em>`` '' 
+` ' ,, , &lt;&lt;
+&gt;&gt; &lt;&lt; &gt;&gt; &lt;
+&gt; &deg; Euro -&gt; &lt;= &gt;=
+</em></div><pre>
+
+<kbd>default kbdinputstyle</kbd>
+</pre><table><tr><td>&nbsp;</td><td><pre><kbd>in example default 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+<pre>
+
+<code>code kbdinputstyle</code>
+</pre><table><tr><td>&nbsp;</td><td><pre><code>in example code 
kbdinputstyle</code>
+</pre></td></tr></table>
+<pre>
+
+<code>example kbdinputstyle</code>
+</pre><table><tr><td>&nbsp;</td><td><pre><code>in example example 
kbdinputstyle</code>
+</pre></td></tr></table>
+<pre>
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><table><tr><td>&nbsp;</td><td><pre><kbd>in example distinct 
kbdinputstyle</kbd>
+</pre></td></tr></table>
+<pre>
+
 </pre><blockquote>
 <pre>A quot---ation
 </pre></blockquote>
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 b33d57a..505ec73 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -860,6 +895,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>2</sup></a>
 </p>
@@ -879,6 +915,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1617,6 +1695,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>4</sup></a>
 </p>
@@ -1636,6 +1715,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2381,6 +2502,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(6)</a>
 
@@ -2400,6 +2522,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
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 83283d8..7bd90cd 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/anchor.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/anchor.html
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 52440bf..d37c2cb 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/chapter.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 9ab7d82..ef5d2f0 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/chapter2.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 2497c79..5a519a8 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 4f74486..ba624b4 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 0cdbe56..c20ef54 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 839f685..7a14548 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 3845637..434146a 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/index.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/index.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -848,6 +883,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="formatting_fot.html#FOOT3"><sup>7</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="formatting_fot.html#FOOT4"><sup>8</sup></a>
 </p>
@@ -867,6 +903,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1606,6 +1684,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="formatting_fot.html#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="formatting_fot.html#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -1625,6 +1704,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2390,6 +2511,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="formatting_fot.html#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="formatting_fot.html#FOOT2"><sup>2</sup></a>
 </p>
@@ -2409,6 +2531,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3147,6 +3311,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="formatting_fot.html#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="formatting_fot.html#FOOT6"><sup>4</sup></a>
 </p>
@@ -3166,6 +3331,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3911,6 +4118,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" 
href="formatting_fot.html#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" 
href="formatting_fot.html#FOOT8">(6)</a>
 
@@ -3930,6 +4138,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
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 73148f6..eca7899 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 efbd6a0..73edccd 100644
--- a/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_html_nodes/subsection.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 27b54d5..e044bb7 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 b8a1413..32585ae 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_info/formatting.info 
b/tp/tests/layout/res_parser/formatting_info/formatting.info
index 091e691..4e67e47 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.1 
b/tp/tests/layout/res_parser/formatting_latex/formatting.1
new file mode 100644
index 0000000..e69de29
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.2 
b/tp/tests/layout/res_parser/formatting_latex/formatting.2
new file mode 100644
index 0000000..040d03e
--- /dev/null
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.2
@@ -0,0 +1,258 @@
+formatting.texi:25: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:25: warning: missing category for @deffnx (possibly involving 
@mymacro)
+formatting.texi:25: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:25: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:25: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:25: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:25: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:25: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: command @bullet not accepting argument in brace should not 
be on @table line (possibly involving @mymacro)
+formatting.texi:25: command @minus not accepting argument in brace should not 
be on @ftable line (possibly involving @mymacro)
+formatting.texi:25: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:25: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:25: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:25: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:25: warning: accent command `@,' must not be followed by new 
line (possibly involving @mymacro)
+formatting.texi:25: use braces to give a command as an argument to @, 
(possibly involving @mymacro)
+formatting.texi:25: warning: accent command `@'' must not be followed by new 
line (possibly involving @mymacro)
+formatting.texi:25: use braces to give a command as an argument to @' 
(possibly involving @mymacro)
+formatting.texi:25: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
+formatting.texi:25: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
+formatting.texi:25: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
+formatting.texi:25: @dotless expects `i' or `j' as argument, not `a' (possibly 
involving @mymacro)
+formatting.texi:25: @U expected braces (possibly involving @mymacro)
+formatting.texi:25: warning: no argument specified for @U (possibly involving 
@mymacro)
+formatting.texi:25: non-hex digits in argument for @U: z (possibly involving 
@mymacro)
+formatting.texi:25: warning: fewer than four hex digits in argument for @U: 
abc (possibly involving @mymacro)
+formatting.texi:25: argument for @U exceeds Unicode maximum 0x10FFFF: 
FFFFFFFFFFFFFF (possibly involving @mymacro)
+formatting.texi:25: argument for @U exceeds Unicode maximum 0x10FFFF: 110000 
(possibly involving @mymacro)
+formatting.texi:25: @TeX expected braces (possibly involving @mymacro)
+formatting.texi:25: unexpected @ (possibly involving @mymacro)
+formatting.texi:25: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:25: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:25: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:25: @sp missing argument (possibly involving @mymacro)
+formatting.texi:25: warning: missing name for @deffn (possibly involving 
@mymacro)
+formatting.texi:25: misplaced } (possibly involving @mymacro)
+formatting.texi:25: misplaced } (possibly involving @mymacro)
+formatting.texi:25: misplaced { (possibly involving @mymacro)
+formatting.texi:25: misplaced { (possibly involving @mymacro)
+formatting.texi:25: must be after `@deffn' to use `@deffnx' (possibly 
involving @mymacro)
+formatting.texi:25: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:25: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:25: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:25: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:35: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:35: warning: missing category for @deffnx (possibly involving 
@mymacro)
+formatting.texi:35: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:35: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:35: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:35: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:35: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:35: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: command @bullet not accepting argument in brace should not 
be on @table line (possibly involving @mymacro)
+formatting.texi:35: command @minus not accepting argument in brace should not 
be on @ftable line (possibly involving @mymacro)
+formatting.texi:35: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:35: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:35: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:35: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:35: warning: accent command `@,' must not be followed by new 
line (possibly involving @mymacro)
+formatting.texi:35: use braces to give a command as an argument to @, 
(possibly involving @mymacro)
+formatting.texi:35: warning: accent command `@'' must not be followed by new 
line (possibly involving @mymacro)
+formatting.texi:35: use braces to give a command as an argument to @' 
(possibly involving @mymacro)
+formatting.texi:35: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
+formatting.texi:35: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
+formatting.texi:35: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
+formatting.texi:35: @dotless expects `i' or `j' as argument, not `a' (possibly 
involving @mymacro)
+formatting.texi:35: @U expected braces (possibly involving @mymacro)
+formatting.texi:35: warning: no argument specified for @U (possibly involving 
@mymacro)
+formatting.texi:35: non-hex digits in argument for @U: z (possibly involving 
@mymacro)
+formatting.texi:35: warning: fewer than four hex digits in argument for @U: 
abc (possibly involving @mymacro)
+formatting.texi:35: argument for @U exceeds Unicode maximum 0x10FFFF: 
FFFFFFFFFFFFFF (possibly involving @mymacro)
+formatting.texi:35: argument for @U exceeds Unicode maximum 0x10FFFF: 110000 
(possibly involving @mymacro)
+formatting.texi:35: @TeX expected braces (possibly involving @mymacro)
+formatting.texi:35: unexpected @ (possibly involving @mymacro)
+formatting.texi:35: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:35: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:35: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:35: @sp missing argument (possibly involving @mymacro)
+formatting.texi:35: warning: missing name for @deffn (possibly involving 
@mymacro)
+formatting.texi:35: misplaced } (possibly involving @mymacro)
+formatting.texi:35: misplaced } (possibly involving @mymacro)
+formatting.texi:35: misplaced { (possibly involving @mymacro)
+formatting.texi:35: misplaced { (possibly involving @mymacro)
+formatting.texi:35: must be after `@deffn' to use `@deffnx' (possibly 
involving @mymacro)
+formatting.texi:35: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:35: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:35: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:35: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:45: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:45: warning: missing category for @deffnx (possibly involving 
@mymacro)
+formatting.texi:45: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:45: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:45: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:45: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:45: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:45: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: command @bullet not accepting argument in brace should not 
be on @table line (possibly involving @mymacro)
+formatting.texi:45: command @minus not accepting argument in brace should not 
be on @ftable line (possibly involving @mymacro)
+formatting.texi:45: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:45: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:45: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:45: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:45: warning: accent command `@,' must not be followed by new 
line (possibly involving @mymacro)
+formatting.texi:45: use braces to give a command as an argument to @, 
(possibly involving @mymacro)
+formatting.texi:45: warning: accent command `@'' must not be followed by new 
line (possibly involving @mymacro)
+formatting.texi:45: use braces to give a command as an argument to @' 
(possibly involving @mymacro)
+formatting.texi:45: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
+formatting.texi:45: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
+formatting.texi:45: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
+formatting.texi:45: @dotless expects `i' or `j' as argument, not `a' (possibly 
involving @mymacro)
+formatting.texi:45: @U expected braces (possibly involving @mymacro)
+formatting.texi:45: warning: no argument specified for @U (possibly involving 
@mymacro)
+formatting.texi:45: non-hex digits in argument for @U: z (possibly involving 
@mymacro)
+formatting.texi:45: warning: fewer than four hex digits in argument for @U: 
abc (possibly involving @mymacro)
+formatting.texi:45: argument for @U exceeds Unicode maximum 0x10FFFF: 
FFFFFFFFFFFFFF (possibly involving @mymacro)
+formatting.texi:45: argument for @U exceeds Unicode maximum 0x10FFFF: 110000 
(possibly involving @mymacro)
+formatting.texi:45: @TeX expected braces (possibly involving @mymacro)
+formatting.texi:45: unexpected @ (possibly involving @mymacro)
+formatting.texi:45: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:45: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:45: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:45: @sp missing argument (possibly involving @mymacro)
+formatting.texi:45: warning: missing name for @deffn (possibly involving 
@mymacro)
+formatting.texi:45: misplaced } (possibly involving @mymacro)
+formatting.texi:45: misplaced } (possibly involving @mymacro)
+formatting.texi:45: misplaced { (possibly involving @mymacro)
+formatting.texi:45: misplaced { (possibly involving @mymacro)
+formatting.texi:45: must be after `@deffn' to use `@deffnx' (possibly 
involving @mymacro)
+formatting.texi:45: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:45: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:45: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:45: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:49: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:49: warning: missing category for @deffnx (possibly involving 
@mymacro)
+formatting.texi:49: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:49: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:49: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:49: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:49: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:49: warning: missing name for @deffnx (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: command @bullet not accepting argument in brace should not 
be on @table line (possibly involving @mymacro)
+formatting.texi:49: command @minus not accepting argument in brace should not 
be on @ftable line (possibly involving @mymacro)
+formatting.texi:49: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:49: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:49: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:49: warning: @verb should not appear in @image (possibly 
involving @mymacro)
+formatting.texi:49: warning: accent command `@,' must not be followed by new 
line (possibly involving @mymacro)
+formatting.texi:49: use braces to give a command as an argument to @, 
(possibly involving @mymacro)
+formatting.texi:49: warning: accent command `@'' must not be followed by new 
line (possibly involving @mymacro)
+formatting.texi:49: use braces to give a command as an argument to @' 
(possibly involving @mymacro)
+formatting.texi:49: @dotless expects `i' or `j' as argument, not `truc' 
(possibly involving @mymacro)
+formatting.texi:49: @dotless expects `i' or `j' as argument, not `ij' 
(possibly involving @mymacro)
+formatting.texi:49: @dotless expects `i' or `j' as argument, not `--a' 
(possibly involving @mymacro)
+formatting.texi:49: @dotless expects `i' or `j' as argument, not `a' (possibly 
involving @mymacro)
+formatting.texi:49: @U expected braces (possibly involving @mymacro)
+formatting.texi:49: warning: no argument specified for @U (possibly involving 
@mymacro)
+formatting.texi:49: non-hex digits in argument for @U: z (possibly involving 
@mymacro)
+formatting.texi:49: warning: fewer than four hex digits in argument for @U: 
abc (possibly involving @mymacro)
+formatting.texi:49: argument for @U exceeds Unicode maximum 0x10FFFF: 
FFFFFFFFFFFFFF (possibly involving @mymacro)
+formatting.texi:49: argument for @U exceeds Unicode maximum 0x10FFFF: 110000 
(possibly involving @mymacro)
+formatting.texi:49: @TeX expected braces (possibly involving @mymacro)
+formatting.texi:49: unexpected @ (possibly involving @mymacro)
+formatting.texi:49: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:49: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:49: @image missing filename argument (possibly involving 
@mymacro)
+formatting.texi:49: @sp missing argument (possibly involving @mymacro)
+formatting.texi:49: warning: missing name for @deffn (possibly involving 
@mymacro)
+formatting.texi:49: misplaced } (possibly involving @mymacro)
+formatting.texi:49: misplaced } (possibly involving @mymacro)
+formatting.texi:49: misplaced { (possibly involving @mymacro)
+formatting.texi:49: misplaced { (possibly involving @mymacro)
+formatting.texi:49: must be after `@deffn' to use `@deffnx' (possibly 
involving @mymacro)
+formatting.texi:49: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:49: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:49: warning: command @ref missing a node or external manual 
argument (possibly involving @mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: @inforef is obsolete. (possibly involving 
@mymacro)
+formatting.texi:49: warning: command @inforef missing a node or external 
manual argument (possibly involving @mymacro)
+formatting.texi:90: warning: @menu in invalid context
+formatting.texi:130: warning: @centerchap is obsolete.
+formatting.texi:25: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:25: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:25: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:25: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:35: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:35: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:35: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:35: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:45: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:45: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:45: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:45: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:49: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:49: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:49: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
+formatting.texi:49: @ref reference to nonexistent node `node' (possibly 
involving @mymacro)
diff --git a/tp/tests/layout/res_parser/formatting_latex/formatting.tex 
b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
new file mode 100644
index 0000000..02337f4
--- /dev/null
+++ b/tp/tests/layout/res_parser/formatting_latex/formatting.tex
@@ -0,0 +1,3019 @@
+\documentclass{book}
+\usepackage{makeidx}\makeindex
+\usepackage{amsfonts}
+\usepackage{amsmath}
+\usepackage[gen]{eurosym}
+\usepackage[T1]{fontenc}
+\usepackage[utf8]{inputenc}
+\begin{document}
+\label{anchor:Top}Insertcopying in normal text
+
+
+In copying
+
+
+<
+>
+"
+\&
+'
+`
+
+
+``simple-double--three---four----''\leavevmode{}\\
+
+code: \texttt{``simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-''} 
\leavevmode{}\\
+
+asis: ``simple-double--three---four----'' \leavevmode{}\\
+
+strong: \textbf{``simple-double--three---four----''} \leavevmode{}\\
+
+kbd: {\ttfamily\textsl{``simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-''}} 
\leavevmode{}\\
+
+
+
+`\hbox{}`simple-double-\hbox{}-three---four----'\hbox{}'\leavevmode{}\\
+
+
+
+@"u \"{u} 
+@"\{U\} \"{U} 
+@\~{}n \~{n}
+@\^{}a \^{a}
+@'e \'{e}
+@=o \={o}
+@`i \`{i}
+@'\{e\} \'{e}
+@'\{@dotless\{i\}\} \'{\i{}} 
+@dotless\{i\} \i{}
+@dotless\{j\} \j{}
+@`\{@=E\} \`{\={E}} 
+@l\{\} \l{}
+@,\{@'C\} \c{\'{C}}
+@,c \c{c}
+@,c@"u \c{c}\"{u} \leavevmode{}\\
+
+
+
+@U\{0075\} U+0075
+
+
+@* \leavevmode{}\\
+
+@ followed by a space
+\ {}
+@ followed by a tab
+\ {}
+@ followed by a new line
+\ {}\texttt{@-} \-{}
+\texttt{@|} 
+\texttt{@:} \@
+\texttt{@!} \@!
+\texttt{@?} \@?
+\texttt{@.} \@.
+\texttt{@@} @
+\texttt{@\}} \}
+\texttt{@\{} \{
+\texttt{@/} 
+
+
+foo vs.\@ bar. 
+colon :\@And something else.
+semi colon ;\@.
+And ? ?\@.
+Now ! !\@@
+but , ,\@
+
+
+@TeX \TeX{}
+@LaTeX \LaTeX{}
+@bullet \textbullet{}
+@copyright \copyright{}
+@dots \dots{}\@
+@enddots \dots{}
+@equiv $\equiv{}$
+@error \fbox{error}
+@expansion $\mapsto{}$
+@minus -
+@point $\star{}$
+@print $\dashv{}$
+@result $\Rightarrow{}$
+@today a sunny day
+
+
+@aa \aa{}
+@AA \AA{}
+@ae \ae{}
+@oe \oe{}
+@AE \AE{}
+@OE \OE{}
+@o \o{}
+@O \O{}
+@ss \ss{}
+@l \l{}
+@L \L{}
+@DH \DH{}
+@TH \TH{}
+@dh \dh{}
+@th \th{}
+
+
+@exclamdown \textexclamdown{}
+@questiondown \textquestiondown{}
+@pounds \textsterling{}
+@registeredsymbol \circledR{}
+@ordf \textordfeminine{}
+@ordm \textordmasculine{}
+@comma ,
+@quotedblleft \textquotedblleft{}
+@quotedblright \textquotedblright{}
+@quoteleft \textquoteleft{}
+@quoteright \textquoteright{}
+@quotedblbase \quotedblbase{}
+@quotesinglbase \quotesinglbase{}
+@guillemetleft \guillemotleft{}
+@guillemetright \guillemotright{}
+@guillemotleft \guillemotleft{}
+@guillemotright \guillemotright{}
+@guilsinglleft \guilsinglleft{}
+@guilsinglright \guilsinglright{}
+@textdegree \textdegree{}
+@euro \euro{}
+@arrow $\rightarrow{}$
+@leq $\leq{}$
+@geq $\geq{}$
+
+
+\texttt{@acronym\{{-}{-}a,an accronym\}} --a (an accronym)
+\texttt{@acronym\{{-}{-}a\}} --a
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A., @'Etude Autonome \}} \'{E}--.\@ ,A.\@ 
(\'{E}tude Autonome)
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A.\}} \'{E}--.\@ ,A.\@
+\texttt{@asis\{{-}{-}a\}} --a
+\texttt{@b\{{-}{-}a\}} \textbf{--a}
+\texttt{@cite\{{-}{-}a\}} \textit{--a}
+\texttt{@code\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@command\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@dfn\{{-}{-}a\}} \emph{--a}
+\texttt{@dmn\{{-}{-}a\}} --a
+\texttt{@email\{{-}{-}a,{-}{-}b\}} --b \texttt{<{-}{-}a>}
+\texttt{@email\{,{-}{-}b\}} --b
+\texttt{@email\{{-}{-}a\}} \texttt{<{-}{-}a>}
+\texttt{@emph\{{-}{-}a\}} \emph{--a}
+\texttt{@env\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@file\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@i\{{-}{-}a\}} \textit{--a}
+\texttt{@kbd\{{-}{-}a\}} {\ttfamily\textsl{{-}{-}a}}
+\texttt{@key\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@math\{{-}{-}a \{\textbackslash{}frac\{1\}\{2\}\} @minus\{\}\}} $--a 
{\frac{1}{2}} -$
+\texttt{@option\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@r\{{-}{-}a\}} 
+\texttt{@samp\{{-}{-}a\}} `\texttt{{-}{-}a}'
+\texttt{@sc\{{-}{-}a\}} 
+\texttt{@strong\{{-}{-}a\}} \textbf{--a}
+\texttt{@t\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@sansserif\{{-}{-}a\}} 
+\texttt{@slanted\{{-}{-}a\}} 
+\texttt{@titlefont\{{-}{-}a\}} 
+
+{\Huge \bfseries --a
+
+}
+\texttt{@indicateurl\{{-}{-}a\}} `\texttt{{-}{-}a}'
+\texttt{@uref\{{-}{-}a,{-}{-}b\}} --b (--a)
+\texttt{@uref\{{-}{-}a\}} \texttt{<{-}{-}a>}
+\texttt{@uref\{,{-}{-}b\}} --b
+\texttt{@uref\{{-}{-}a,{-}{-}b,{-}{-}c\}} --c
+\texttt{@uref\{,{-}{-}b,{-}{-}c\}} --c
+\texttt{@uref\{{-}{-}a,,{-}{-}c\}} --c
+\texttt{@uref\{,,{-}{-}c\}} --c
+\texttt{@url\{{-}{-}a,{-}{-}b\}} --b (--a)
+\texttt{@url\{{-}{-}a,\}} \texttt{<{-}{-}a>}
+\texttt{@url\{,{-}{-}b\}} --b
+\texttt{@var\{{-}{-}a\}} \emph{--a}
+\texttt{@verb\{:{-}{-}a:\}} \verb:--a:
+\texttt{@verb\{:a  < \& @ \% " {-}{-}    b:\}} \verb:a  < & @ % " --    b:
+\texttt{@w\{a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 
a a\}} \hbox{a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 
a a}
+\texttt{@H\{a\}} \H{a}
+\texttt{@H\{{-}{-}a\}} \H{--a}
+\texttt{@dotaccent\{a\}} \.{a}
+\texttt{@dotaccent\{{-}{-}a\}} \.{--a}
+\texttt{@ringaccent\{a\}} \r{a}
+\texttt{@ringaccent\{{-}{-}a\}} \r{--a}
+\texttt{@tieaccent\{a\}} \t{a}
+\texttt{@tieaccent\{{-}{-}a\}} \t{--a}
+\texttt{@u\{a\}} \u{a}
+\texttt{@u\{{-}{-}a\}} \u{--a}
+\texttt{@ubaraccent\{a\}} \b{a}
+\texttt{@ubaraccent\{{-}{-}a\}} \b{--a}
+\texttt{@udotaccent\{a\}} \d{a}
+\texttt{@udotaccent\{{-}{-}a\}} \d{--a}
+\texttt{@v\{a\}} \v{a}
+\texttt{@v\{{-}{-}a\}} \v{--a}
+\texttt{@,\{c\}} \c{c}
+\texttt{@,\{{-}{-}c\}} \c{--c}
+\texttt{@ogonek\{a\}} \k{a}
+\texttt{@ogonek\{{-}{-}a\}} \k{--a}
+\texttt{a@sup\{h\}@sub\{l\}} a\textsuperscript{h}\textsubscript{l}
+\texttt{@footnote\{in footnote\}} \footnote{in footnote
+
+}
+\texttt{@footnote\{in footnote2\}} \footnote{in footnote2
+
+}
+
+
+\texttt{@image\{f{-}{-}ile\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,l{-}{-}i\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,,l{-}{-}e\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,,,alt\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,,,,.e-d-xt\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,aze,az,alt,.e{-}{-}xt\}} ggg
+aaa
+\texttt{@image\{f-ile,aze,,a{-}{-}lt\}} [a-lt]
+\texttt{@image\{@file\{f{-}{-}ile\}@@@.,aze,az,alt,@file\{.file ext\} 
e{-}{-}xt@\}} [alt]
+
+
+\texttt{@clicksequence\{click @click\{\} A\}} click -> A
+After clickstyle $\Rightarrow{}$
+\texttt{@clicksequence\{click @click\{\} A\}} click => A
+
+
+$$
+\mathbf{``simple-double--three---four----''} \hbox{aa}
+$$
+$$
+\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}}
+\breve{a} \textsl{\b{a}} \textsl{\d{a}} \check{a} \textsl{\k{a}} a^{h}_{l}
+\leavevmode{}\\
+ \ {}\ {} \ {}\-{}   ! ? . @ \} \{ 
+a sunny day
+$$
+$$
+->
+U+0075
+TeX LaTeX \bullet{} \copyright{} \dots{} \dots{} \equiv{}
+\fbox{error} \mapsto{} - \star{} \dashv{} \Rightarrow{}
+\mathord{\text{\aa{}}} \mathord{\text{\AA{}}} \mathord{\text{\ae{}}} 
\mathord{\text{\oe{}}} \mathord{\text{\AE{}}} \mathord{\text{\OE{}}} 
\mathord{\text{\o{}}} \mathord{\text{\O{}}} \mathord{\text{\ss{}}} 
\mathord{\text{\l{}}} \mathord{\text{\L{}}} \mathord{\text{\DH{}}}
+\mathord{\text{\TH{}}} \mathord{\text{\dh{}}} \mathord{\text{\th{}}} 
\mathord{\text{\textexclamdown{}}} \mathord{\text{\textquestiondown{}}} 
\mathsterling{}
+\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{}}}
+\mathord{\text{\guillemotright{}}} \mathord{\text{\guillemotleft{}}} 
\mathord{\text{\guillemotright{}}} \mathord{\text{\guilsinglleft{}}}
+\mathord{\text{\guilsinglright{}}} ^{\circ{}} \euro{} \rightarrow{} \leq{} 
\geq{}
+$$
+{\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
+
+
+\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{}\\
+:} 
+
+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
+
+
+ 
+
+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
+
+
+lone mu--ltitable item
+
+
+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 
+
+
+\hbox{}-- Command: log trap 
+
+
+\hbox{}-- Command: log trap1 
+
+
+\hbox{}-- Command: log trap2 
+
+
+\hbox{}-- cmde: \textbf{id ule} truc
+
+
+\hbox{}-- cmde2: \textbf{id `\texttt{i}' ule} truc
+
+
+\hbox{}-- \textbf{id `\texttt{i}' ule}: 
+
+
+
+\hbox{}-- aaa: 
+
+
+\hbox{}-- : 
+
+
+\hbox{}-- : 
+
+
+\hbox{}-- : machin
+
+
+\hbox{}-- : bidule machin
+
+
+\hbox{}-- truc: machin
+
+
+\hbox{}-- truc: 
+
+
+\hbox{}-- truc: followed by a comment
+
+
+\hbox{}-- truc: 
+
+
+\hbox{}-- : 
+
+
+\hbox{}-- truc: a b c d e \textbf{f g} h i
+
+
+\hbox{}-- truc: deffnx before end deffn
+
+
+\hbox{}-- empty: deffn
+
+
+\hbox{}-- empty: deffn with deffnx
+
+
+\hbox{}-- empty: deffnx
+
+
+\hbox{}-- fset: \emph{i} a g
+
+
+\hbox{}-- cmde: truc 
+
+
+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})
+\texttt{@inforef\{chapter, cross ref name, file name\}} cross ref name(file 
name) (page \pageref{anchor:chapter})
+
+
+\texttt{@ref\{chapter\}} page \pageref{anchor:chapter}
+\texttt{@xref\{chapter\}} See page \pageref{anchor:chapter}.
+\texttt{@pxref\{chapter\}} see page \pageref{anchor:chapter}
+\texttt{@ref\{s{-}{-}ect@comma\{\}ion\}} page 
\pageref{anchor:s_002d_002dect_002cion}
+
+
+\texttt{@ref\{s{-}{-}ect@comma\{\}ion, a @comma\{\} in cross
+ref, a comma@comma\{\} in title, a comma@comma\{\} in file, a @comma\{\} in 
manual name \}}
+a , in cross
+ref(a comma, in file) (page \pageref{anchor:s_002d_002dect_002cion})
+
+
+\texttt{@ref\{chapter,cross ref name\}} cross ref name (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title\}} title (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,,,file name\}} (file name) manual, page 
\pageref{anchor:chapter}
+\texttt{@ref\{chapter,,,,manual\}} () manual, page \pageref{anchor:chapter}
+\texttt{@ref\{chapter,cross ref name,title,\}} cross ref name (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,,file name\}} cross ref name(file name) 
(page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,title,file name\}} cross ref name(file 
name) (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,title,,manual\}} cross ref name() (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title,file name\}} title(file name) (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title,,manual\}} title() (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,,,file name,manual\}} (file name) manual, page 
\pageref{anchor:chapter}
+
+
+\texttt{@ref\{(pman)anode,cross ref name\}} cross ref name (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title\}} title (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,,file name\}} (file name) manual, page 
\pageref{anchor:_0028pman_0029anode}
+\texttt{@ref\{(pman)anode,,,,manual\}} () manual, page 
\pageref{anchor:_0028pman_0029anode}
+\texttt{@ref\{(pman)anode,cross ref name,title,\}} cross ref name (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,,file name\}} cross ref name(file 
name) (page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,title,file name\}} cross ref 
name(file name) (page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,title,,manual\}} cross ref name() 
(page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title,file name\}} title(file name) (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title,,manual\}} title() (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,,file name,manual\}} (file name) manual, page 
\pageref{anchor:_0028pman_0029anode}
+
+
+\texttt{@inforef\{chapter, cross ref name, file name\}} cross ref name(file 
name) (page \pageref{anchor:chapter})
+\texttt{@inforef\{chapter\}} page \pageref{anchor:chapter}
+\texttt{@inforef\{chapter, cross ref name\}} cross ref name (page 
\pageref{anchor:chapter})
+\texttt{@inforef\{chapter,,file name\}} (file name) manual, page 
\pageref{anchor:chapter}
+\texttt{@inforef\{node, cross ref name, file name\}} cross ref name(file name) 
(page \pageref{anchor:node})
+\texttt{@inforef\{node\}} page \pageref{anchor:node}
+\texttt{@inforef\{node, cross ref name\}} cross ref name (page 
\pageref{anchor:node})
+\texttt{@inforef\{node,,file name\}} (file name) manual, page 
\pageref{anchor:node}
+\texttt{@inforef\{chapter, cross ref name, file name, spurious arg\}} cross 
ref name(file name, spurious arg) (page \pageref{anchor:chapter})
+
+
+\texttt{@inforef\{s{-}{-}ect@comma\{\}ion, a @comma\{\} in cross
+ref, a comma@comma\{\} in file\}}
+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-*-
+
+@setfilename simplest.info
+
+@node Top
+
+This is a very simple texi manual @  <>.
+
+@bye
+\end{verbatim}
+
+\begin{verbatim}
+in verbatim ''
+\end{verbatim}
+
+\chapter*{chapheading}
+
+\section*{heading}
+
+\subsection*{subheading}
+
+\subsubsection*{subsubheading}
+
+\texttt{@acronym\{{-}{-}a,an accronym @comma\{\} @enddots\{\}\}} --a (an 
accronym , \dots{})
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A., @'Etude{-}{-}@comma\{\} @b\{Autonome\} 
\}} \'{E}--.\@ ,A.\@ (\'{E}tude--, \textbf{Autonome})
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A.\}} \'{E}--.\@ ,A.\@
+
+
+\texttt{@math\{{-}{-}a@minus\{\} \{\textbackslash{}frac\{1\}\{2\}\}\}} $--a- 
{\frac{1}{2}}$
+
+
+\texttt{@image\{f-ile,,,alt@verb\{:jk \_" \%\@\}\}} [altjk \_" \%@]
+\texttt{@image\{f{-}{-}ile,aze,az,@verb\{:jk \_" \%@:\} @b\{in b 
"\},e{-}{-}xt\}} ggg
+aaa
+\texttt{@image\{file@verb\{:jk \_" \%@:\},,,alt@verb\{:jk \_" \%@:\}\}} [altjk 
\_" \%@]
+
+
+Somehow invalid use of @,:\leavevmode{}\\
+
+@, \c{}
+\leavevmode{}\\
+
+@,@"u \c{}\"{u}
+
+
+Invalid use of @':\leavevmode{}\\
+
+@' \'{}
+\leavevmode{}\\
+
+@'@"u \'{}\"{u}
+
+
+@dotless\{truc\} truc
+@dotless\{ij\} ij
+\texttt{@dotless\{{-}{-}a\}} --a
+\texttt{@dotless\{a\}} a
+
+
+@U, without braces @U\{\}, with empty arg 
+@U\{z\}, with non-hex arg U+z
+@U\{abc\}, with <4 hex digits U+abc
+@U\{FFFFFFFFFFFFFF\}, value much too large U+FFFFFFFFFFFFFF
+@U\{110000\}, value just beyond Unicode U+110000
+
+
+@TeX, but without brace \TeX{}\texttt{@\#} \#
+
+
+\texttt{@w\{{-}{-}a\}} \hbox{--a}
+
+
+\texttt{@image\{,1{-}{-}xt\}} 
+\texttt{@image\{,,2{-}{-}xt\}} 
+\texttt{@image\{,,,3{-}{-}xt\}} 
+
+
+ after emph 
+
+e--mph item
+
+
+\textbullet{} a--n itemize line 
+
+i--tem 1
+
+
+\textbullet{} a--n itemize line 
+
+i--tem 2
+
+
+\hbox{}-- fun: 
+
+
+\hbox{}-- truc: machin bidule chose and
+
+
+\hbox{}-- truc: machin bidule chose and  after
+
+
+\hbox{}-- truc: machin bidule chose and 
+
+
+\hbox{}-- truc: machin bidule chose and and after
+
+
+\hbox{}-- truc: followed by a comment
+
+
+Various deff lines
+
+
+\hbox{}-- truc: after a deff item
+
+
+\texttt{@ref\{node\}} page \pageref{anchor:node}
+
+
+\texttt{@ref\{,cross ref name\}} cross ref name (page \pageref{anchor:})
+\texttt{@ref\{,,title\}} title (page \pageref{anchor:})
+\texttt{@ref\{,,,file name\}} (file name) manual, page \pageref{anchor:}
+\texttt{@ref\{,,,,manual\}} () manual, page \pageref{anchor:}
+\texttt{@ref\{node,cross ref name\}} cross ref name (page 
\pageref{anchor:node})
+\texttt{@ref\{node,,title\}} title (page \pageref{anchor:node})
+\texttt{@ref\{node,,,file name\}} (file name) manual, page 
\pageref{anchor:node}
+\texttt{@ref\{node,,,,manual\}} () manual, page \pageref{anchor:node}
+\texttt{@ref\{node,cross ref name,title,\}} cross ref name (page 
\pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,,file name\}} cross ref name(file name) 
(page \pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,title,file name\}} cross ref name(file name) 
(page \pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,title,,manual\}} cross ref name() (page 
\pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:node})
+\texttt{@ref\{node,,title,file name\}} title(file name) (page 
\pageref{anchor:node})
+\texttt{@ref\{node,,title,,manual\}} title() (page \pageref{anchor:node})
+\texttt{@ref\{chapter,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:chapter})
+\texttt{@ref\{node,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:node})
+\texttt{@ref\{node,,,file name,manual\}} (file name) manual, page 
\pageref{anchor:node}
+\texttt{@ref\{,cross ref name,title,\}} cross ref name (page \pageref{anchor:})
+\texttt{@ref\{,cross ref name,,file name\}} cross ref name(file name) (page 
\pageref{anchor:})
+\texttt{@ref\{,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:})
+\texttt{@ref\{,cross ref name,title,file name\}} cross ref name(file name) 
(page \pageref{anchor:})
+\texttt{@ref\{,cross ref name,title,,manual\}} cross ref name() (page 
\pageref{anchor:})
+\texttt{@ref\{,cross ref name,title, file name, manual\}} cross ref name(file 
name) (page \pageref{anchor:})
+\texttt{@ref\{,,title,file name\}} title(file name) (page \pageref{anchor:})
+\texttt{@ref\{,,title,,manual\}} title() (page \pageref{anchor:})
+\texttt{@ref\{,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:})
+\texttt{@ref\{,,,file name,manual\}} (file name) manual, page \pageref{anchor:}
+
+
+\texttt{@inforef\{,cross ref name \}} cross ref name (page \pageref{anchor:})
+\texttt{@inforef\{,,file name\}} (file name) manual, page \pageref{anchor:}
+\texttt{@inforef\{,cross ref name, file name\}} cross ref name(file name) 
(page \pageref{anchor:})
+\texttt{@inforef\{\}} page \pageref{anchor:}
+
+
+Normal text
+
+
+<
+>
+"
+\&
+'
+`
+
+
+``simple-double--three---four----''\leavevmode{}\\
+
+code: \texttt{``simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-''} 
\leavevmode{}\\
+
+asis: ``simple-double--three---four----'' \leavevmode{}\\
+
+strong: \textbf{``simple-double--three---four----''} \leavevmode{}\\
+
+kbd: {\ttfamily\textsl{``simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-''}} 
\leavevmode{}\\
+
+
+
+`\hbox{}`simple-double-\hbox{}-three---four----'\hbox{}'\leavevmode{}\\
+
+
+
+@"u \"{u} 
+@"\{U\} \"{U} 
+@\~{}n \~{n}
+@\^{}a \^{a}
+@'e \'{e}
+@=o \={o}
+@`i \`{i}
+@'\{e\} \'{e}
+@'\{@dotless\{i\}\} \'{\i{}} 
+@dotless\{i\} \i{}
+@dotless\{j\} \j{}
+@`\{@=E\} \`{\={E}} 
+@l\{\} \l{}
+@,\{@'C\} \c{\'{C}}
+@,c \c{c}
+@,c@"u \c{c}\"{u} \leavevmode{}\\
+
+
+
+@U\{0075\} U+0075
+
+
+@* \leavevmode{}\\
+
+@ followed by a space
+\ {}
+@ followed by a tab
+\ {}
+@ followed by a new line
+\ {}\texttt{@-} \-{}
+\texttt{@|} 
+\texttt{@:} \@
+\texttt{@!} \@!
+\texttt{@?} \@?
+\texttt{@.} \@.
+\texttt{@@} @
+\texttt{@\}} \}
+\texttt{@\{} \{
+\texttt{@/} 
+
+
+foo vs.\@ bar. 
+colon :\@And something else.
+semi colon ;\@.
+And ? ?\@.
+Now ! !\@@
+but , ,\@
+
+
+@TeX \TeX{}
+@LaTeX \LaTeX{}
+@bullet \textbullet{}
+@copyright \copyright{}
+@dots \dots{}\@
+@enddots \dots{}
+@equiv $\equiv{}$
+@error \fbox{error}
+@expansion $\mapsto{}$
+@minus -
+@point $\star{}$
+@print $\dashv{}$
+@result $\Rightarrow{}$
+@today a sunny day
+
+
+@aa \aa{}
+@AA \AA{}
+@ae \ae{}
+@oe \oe{}
+@AE \AE{}
+@OE \OE{}
+@o \o{}
+@O \O{}
+@ss \ss{}
+@l \l{}
+@L \L{}
+@DH \DH{}
+@TH \TH{}
+@dh \dh{}
+@th \th{}
+
+
+@exclamdown \textexclamdown{}
+@questiondown \textquestiondown{}
+@pounds \textsterling{}
+@registeredsymbol \circledR{}
+@ordf \textordfeminine{}
+@ordm \textordmasculine{}
+@comma ,
+@quotedblleft \textquotedblleft{}
+@quotedblright \textquotedblright{}
+@quoteleft \textquoteleft{}
+@quoteright \textquoteright{}
+@quotedblbase \quotedblbase{}
+@quotesinglbase \quotesinglbase{}
+@guillemetleft \guillemotleft{}
+@guillemetright \guillemotright{}
+@guillemotleft \guillemotleft{}
+@guillemotright \guillemotright{}
+@guilsinglleft \guilsinglleft{}
+@guilsinglright \guilsinglright{}
+@textdegree \textdegree{}
+@euro \euro{}
+@arrow $\rightarrow{}$
+@leq $\leq{}$
+@geq $\geq{}$
+
+
+\texttt{@acronym\{{-}{-}a,an accronym\}} --a (an accronym)
+\texttt{@acronym\{{-}{-}a\}} --a
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A., @'Etude Autonome \}} \'{E}--.\@ ,A.\@ 
(\'{E}tude Autonome)
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A.\}} \'{E}--.\@ ,A.\@
+\texttt{@asis\{{-}{-}a\}} --a
+\texttt{@b\{{-}{-}a\}} \textbf{--a}
+\texttt{@cite\{{-}{-}a\}} \textit{--a}
+\texttt{@code\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@command\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@dfn\{{-}{-}a\}} \emph{--a}
+\texttt{@dmn\{{-}{-}a\}} --a
+\texttt{@email\{{-}{-}a,{-}{-}b\}} --b \texttt{<{-}{-}a>}
+\texttt{@email\{,{-}{-}b\}} --b
+\texttt{@email\{{-}{-}a\}} \texttt{<{-}{-}a>}
+\texttt{@emph\{{-}{-}a\}} \emph{--a}
+\texttt{@env\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@file\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@i\{{-}{-}a\}} \textit{--a}
+\texttt{@kbd\{{-}{-}a\}} {\ttfamily\textsl{{-}{-}a}}
+\texttt{@key\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@math\{{-}{-}a \{\textbackslash{}frac\{1\}\{2\}\} @minus\{\}\}} $--a 
{\frac{1}{2}} -$
+\texttt{@option\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@r\{{-}{-}a\}} 
+\texttt{@samp\{{-}{-}a\}} `\texttt{{-}{-}a}'
+\texttt{@sc\{{-}{-}a\}} 
+\texttt{@strong\{{-}{-}a\}} \textbf{--a}
+\texttt{@t\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@sansserif\{{-}{-}a\}} 
+\texttt{@slanted\{{-}{-}a\}} 
+\texttt{@titlefont\{{-}{-}a\}} 
+
+{\Huge \bfseries --a
+
+}
+\texttt{@indicateurl\{{-}{-}a\}} `\texttt{{-}{-}a}'
+\texttt{@uref\{{-}{-}a,{-}{-}b\}} --b (--a)
+\texttt{@uref\{{-}{-}a\}} \texttt{<{-}{-}a>}
+\texttt{@uref\{,{-}{-}b\}} --b
+\texttt{@uref\{{-}{-}a,{-}{-}b,{-}{-}c\}} --c
+\texttt{@uref\{,{-}{-}b,{-}{-}c\}} --c
+\texttt{@uref\{{-}{-}a,,{-}{-}c\}} --c
+\texttt{@uref\{,,{-}{-}c\}} --c
+\texttt{@url\{{-}{-}a,{-}{-}b\}} --b (--a)
+\texttt{@url\{{-}{-}a,\}} \texttt{<{-}{-}a>}
+\texttt{@url\{,{-}{-}b\}} --b
+\texttt{@var\{{-}{-}a\}} \emph{--a}
+\texttt{@verb\{:{-}{-}a:\}} \verb:--a:
+\texttt{@verb\{:a  < \& @ \% " {-}{-}    b:\}} \verb:a  < & @ % " --    b:
+\texttt{@w\{a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 
a a\}} \hbox{a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 
a a}
+\texttt{@H\{a\}} \H{a}
+\texttt{@H\{{-}{-}a\}} \H{--a}
+\texttt{@dotaccent\{a\}} \.{a}
+\texttt{@dotaccent\{{-}{-}a\}} \.{--a}
+\texttt{@ringaccent\{a\}} \r{a}
+\texttt{@ringaccent\{{-}{-}a\}} \r{--a}
+\texttt{@tieaccent\{a\}} \t{a}
+\texttt{@tieaccent\{{-}{-}a\}} \t{--a}
+\texttt{@u\{a\}} \u{a}
+\texttt{@u\{{-}{-}a\}} \u{--a}
+\texttt{@ubaraccent\{a\}} \b{a}
+\texttt{@ubaraccent\{{-}{-}a\}} \b{--a}
+\texttt{@udotaccent\{a\}} \d{a}
+\texttt{@udotaccent\{{-}{-}a\}} \d{--a}
+\texttt{@v\{a\}} \v{a}
+\texttt{@v\{{-}{-}a\}} \v{--a}
+\texttt{@,\{c\}} \c{c}
+\texttt{@,\{{-}{-}c\}} \c{--c}
+\texttt{@ogonek\{a\}} \k{a}
+\texttt{@ogonek\{{-}{-}a\}} \k{--a}
+\texttt{a@sup\{h\}@sub\{l\}} a\textsuperscript{h}\textsubscript{l}
+\texttt{@footnote\{in footnote\}} \footnote{in footnote
+
+}
+\texttt{@footnote\{in footnote2\}} \footnote{in footnote2
+
+}
+
+
+\texttt{@image\{f{-}{-}ile\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,l{-}{-}i\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,,l{-}{-}e\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,,,alt\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,,,,.e-d-xt\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,aze,az,alt,.e{-}{-}xt\}} ggg
+aaa
+\texttt{@image\{f-ile,aze,,a{-}{-}lt\}} [a-lt]
+\texttt{@image\{@file\{f{-}{-}ile\}@@@.,aze,az,alt,@file\{.file ext\} 
e{-}{-}xt@\}} [alt]
+
+
+\texttt{@clicksequence\{click @click\{\} A\}} click -> A
+After clickstyle $\Rightarrow{}$
+\texttt{@clicksequence\{click @click\{\} A\}} click => A
+
+
+$$
+\mathbf{``simple-double--three---four----''} \hbox{aa}
+$$
+$$
+\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}}
+\breve{a} \textsl{\b{a}} \textsl{\d{a}} \check{a} \textsl{\k{a}} a^{h}_{l}
+\leavevmode{}\\
+ \ {}\ {} \ {}\-{}   ! ? . @ \} \{ 
+a sunny day
+$$
+$$
+->
+U+0075
+TeX LaTeX \bullet{} \copyright{} \dots{} \dots{} \equiv{}
+\fbox{error} \mapsto{} - \star{} \dashv{} \Rightarrow{}
+\mathord{\text{\aa{}}} \mathord{\text{\AA{}}} \mathord{\text{\ae{}}} 
\mathord{\text{\oe{}}} \mathord{\text{\AE{}}} \mathord{\text{\OE{}}} 
\mathord{\text{\o{}}} \mathord{\text{\O{}}} \mathord{\text{\ss{}}} 
\mathord{\text{\l{}}} \mathord{\text{\L{}}} \mathord{\text{\DH{}}}
+\mathord{\text{\TH{}}} \mathord{\text{\dh{}}} \mathord{\text{\th{}}} 
\mathord{\text{\textexclamdown{}}} \mathord{\text{\textquestiondown{}}} 
\mathsterling{}
+\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{}}}
+\mathord{\text{\guillemotright{}}} \mathord{\text{\guillemotleft{}}} 
\mathord{\text{\guillemotright{}}} \mathord{\text{\guilsinglleft{}}}
+\mathord{\text{\guilsinglright{}}} ^{\circ{}} \euro{} \rightarrow{} \leq{} 
\geq{}
+$$
+{\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
+
+
+\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{}\\
+:} 
+
+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
+
+
+ 
+
+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
+
+
+lone mu--ltitable item
+
+
+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 
+
+
+\hbox{}-- Command: log trap 
+
+
+\hbox{}-- Command: log trap1 
+
+
+\hbox{}-- Command: log trap2 
+
+
+\hbox{}-- cmde: \textbf{id ule} truc
+
+
+\hbox{}-- cmde2: \textbf{id `\texttt{i}' ule} truc
+
+
+\hbox{}-- \textbf{id `\texttt{i}' ule}: 
+
+
+
+\hbox{}-- aaa: 
+
+
+\hbox{}-- : 
+
+
+\hbox{}-- : 
+
+
+\hbox{}-- : machin
+
+
+\hbox{}-- : bidule machin
+
+
+\hbox{}-- truc: machin
+
+
+\hbox{}-- truc: 
+
+
+\hbox{}-- truc: followed by a comment
+
+
+\hbox{}-- truc: 
+
+
+\hbox{}-- : 
+
+
+\hbox{}-- truc: a b c d e \textbf{f g} h i
+
+
+\hbox{}-- truc: deffnx before end deffn
+
+
+\hbox{}-- empty: deffn
+
+
+\hbox{}-- empty: deffn with deffnx
+
+
+\hbox{}-- empty: deffnx
+
+
+\hbox{}-- fset: \emph{i} a g
+
+
+\hbox{}-- cmde: truc 
+
+
+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})
+\texttt{@inforef\{chapter, cross ref name, file name\}} cross ref name(file 
name) (page \pageref{anchor:chapter})
+
+
+\texttt{@ref\{chapter\}} page \pageref{anchor:chapter}
+\texttt{@xref\{chapter\}} See page \pageref{anchor:chapter}.
+\texttt{@pxref\{chapter\}} see page \pageref{anchor:chapter}
+\texttt{@ref\{s{-}{-}ect@comma\{\}ion\}} page 
\pageref{anchor:s_002d_002dect_002cion}
+
+
+\texttt{@ref\{s{-}{-}ect@comma\{\}ion, a @comma\{\} in cross
+ref, a comma@comma\{\} in title, a comma@comma\{\} in file, a @comma\{\} in 
manual name \}}
+a , in cross
+ref(a comma, in file) (page \pageref{anchor:s_002d_002dect_002cion})
+
+
+\texttt{@ref\{chapter,cross ref name\}} cross ref name (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title\}} title (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,,,file name\}} (file name) manual, page 
\pageref{anchor:chapter}
+\texttt{@ref\{chapter,,,,manual\}} () manual, page \pageref{anchor:chapter}
+\texttt{@ref\{chapter,cross ref name,title,\}} cross ref name (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,,file name\}} cross ref name(file name) 
(page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,title,file name\}} cross ref name(file 
name) (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,title,,manual\}} cross ref name() (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title,file name\}} title(file name) (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title,,manual\}} title() (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,,,file name,manual\}} (file name) manual, page 
\pageref{anchor:chapter}
+
+
+\texttt{@ref\{(pman)anode,cross ref name\}} cross ref name (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title\}} title (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,,file name\}} (file name) manual, page 
\pageref{anchor:_0028pman_0029anode}
+\texttt{@ref\{(pman)anode,,,,manual\}} () manual, page 
\pageref{anchor:_0028pman_0029anode}
+\texttt{@ref\{(pman)anode,cross ref name,title,\}} cross ref name (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,,file name\}} cross ref name(file 
name) (page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,title,file name\}} cross ref 
name(file name) (page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,title,,manual\}} cross ref name() 
(page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title,file name\}} title(file name) (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title,,manual\}} title() (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,,file name,manual\}} (file name) manual, page 
\pageref{anchor:_0028pman_0029anode}
+
+
+\texttt{@inforef\{chapter, cross ref name, file name\}} cross ref name(file 
name) (page \pageref{anchor:chapter})
+\texttt{@inforef\{chapter\}} page \pageref{anchor:chapter}
+\texttt{@inforef\{chapter, cross ref name\}} cross ref name (page 
\pageref{anchor:chapter})
+\texttt{@inforef\{chapter,,file name\}} (file name) manual, page 
\pageref{anchor:chapter}
+\texttt{@inforef\{node, cross ref name, file name\}} cross ref name(file name) 
(page \pageref{anchor:node})
+\texttt{@inforef\{node\}} page \pageref{anchor:node}
+\texttt{@inforef\{node, cross ref name\}} cross ref name (page 
\pageref{anchor:node})
+\texttt{@inforef\{node,,file name\}} (file name) manual, page 
\pageref{anchor:node}
+\texttt{@inforef\{chapter, cross ref name, file name, spurious arg\}} cross 
ref name(file name, spurious arg) (page \pageref{anchor:chapter})
+
+
+\texttt{@inforef\{s{-}{-}ect@comma\{\}ion, a @comma\{\} in cross
+ref, a comma@comma\{\} in file\}}
+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-*-
+
+@setfilename simplest.info
+
+@node Top
+
+This is a very simple texi manual @  <>.
+
+@bye
+\end{verbatim}
+
+\begin{verbatim}
+in verbatim ''
+\end{verbatim}
+
+\chapter*{chapheading}
+
+\section*{heading}
+
+\subsection*{subheading}
+
+\subsubsection*{subsubheading}
+
+\texttt{@acronym\{{-}{-}a,an accronym @comma\{\} @enddots\{\}\}} --a (an 
accronym , \dots{})
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A., @'Etude{-}{-}@comma\{\} @b\{Autonome\} 
\}} \'{E}--.\@ ,A.\@ (\'{E}tude--, \textbf{Autonome})
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A.\}} \'{E}--.\@ ,A.\@
+
+
+\texttt{@math\{{-}{-}a@minus\{\} \{\textbackslash{}frac\{1\}\{2\}\}\}} $--a- 
{\frac{1}{2}}$
+
+
+\texttt{@image\{f-ile,,,alt@verb\{:jk \_" \%\@\}\}} [altjk \_" \%@]
+\texttt{@image\{f{-}{-}ile,aze,az,@verb\{:jk \_" \%@:\} @b\{in b 
"\},e{-}{-}xt\}} ggg
+aaa
+\texttt{@image\{file@verb\{:jk \_" \%@:\},,,alt@verb\{:jk \_" \%@:\}\}} [altjk 
\_" \%@]
+
+
+Somehow invalid use of @,:\leavevmode{}\\
+
+@, \c{}
+\leavevmode{}\\
+
+@,@"u \c{}\"{u}
+
+
+Invalid use of @':\leavevmode{}\\
+
+@' \'{}
+\leavevmode{}\\
+
+@'@"u \'{}\"{u}
+
+
+@dotless\{truc\} truc
+@dotless\{ij\} ij
+\texttt{@dotless\{{-}{-}a\}} --a
+\texttt{@dotless\{a\}} a
+
+
+@U, without braces @U\{\}, with empty arg 
+@U\{z\}, with non-hex arg U+z
+@U\{abc\}, with <4 hex digits U+abc
+@U\{FFFFFFFFFFFFFF\}, value much too large U+FFFFFFFFFFFFFF
+@U\{110000\}, value just beyond Unicode U+110000
+
+
+@TeX, but without brace \TeX{}\texttt{@\#} \#
+
+
+\texttt{@w\{{-}{-}a\}} \hbox{--a}
+
+
+\texttt{@image\{,1{-}{-}xt\}} 
+\texttt{@image\{,,2{-}{-}xt\}} 
+\texttt{@image\{,,,3{-}{-}xt\}} 
+
+
+ after emph 
+
+e--mph item
+
+
+\textbullet{} a--n itemize line 
+
+i--tem 1
+
+
+\textbullet{} a--n itemize line 
+
+i--tem 2
+
+
+\hbox{}-- fun: 
+
+
+\hbox{}-- truc: machin bidule chose and
+
+
+\hbox{}-- truc: machin bidule chose and  after
+
+
+\hbox{}-- truc: machin bidule chose and 
+
+
+\hbox{}-- truc: machin bidule chose and and after
+
+
+\hbox{}-- truc: followed by a comment
+
+
+Various deff lines
+
+
+\hbox{}-- truc: after a deff item
+
+
+\texttt{@ref\{node\}} page \pageref{anchor:node}
+
+
+\texttt{@ref\{,cross ref name\}} cross ref name (page \pageref{anchor:})
+\texttt{@ref\{,,title\}} title (page \pageref{anchor:})
+\texttt{@ref\{,,,file name\}} (file name) manual, page \pageref{anchor:}
+\texttt{@ref\{,,,,manual\}} () manual, page \pageref{anchor:}
+\texttt{@ref\{node,cross ref name\}} cross ref name (page 
\pageref{anchor:node})
+\texttt{@ref\{node,,title\}} title (page \pageref{anchor:node})
+\texttt{@ref\{node,,,file name\}} (file name) manual, page 
\pageref{anchor:node}
+\texttt{@ref\{node,,,,manual\}} () manual, page \pageref{anchor:node}
+\texttt{@ref\{node,cross ref name,title,\}} cross ref name (page 
\pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,,file name\}} cross ref name(file name) 
(page \pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,title,file name\}} cross ref name(file name) 
(page \pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,title,,manual\}} cross ref name() (page 
\pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:node})
+\texttt{@ref\{node,,title,file name\}} title(file name) (page 
\pageref{anchor:node})
+\texttt{@ref\{node,,title,,manual\}} title() (page \pageref{anchor:node})
+\texttt{@ref\{chapter,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:chapter})
+\texttt{@ref\{node,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:node})
+\texttt{@ref\{node,,,file name,manual\}} (file name) manual, page 
\pageref{anchor:node}
+\texttt{@ref\{,cross ref name,title,\}} cross ref name (page \pageref{anchor:})
+\texttt{@ref\{,cross ref name,,file name\}} cross ref name(file name) (page 
\pageref{anchor:})
+\texttt{@ref\{,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:})
+\texttt{@ref\{,cross ref name,title,file name\}} cross ref name(file name) 
(page \pageref{anchor:})
+\texttt{@ref\{,cross ref name,title,,manual\}} cross ref name() (page 
\pageref{anchor:})
+\texttt{@ref\{,cross ref name,title, file name, manual\}} cross ref name(file 
name) (page \pageref{anchor:})
+\texttt{@ref\{,,title,file name\}} title(file name) (page \pageref{anchor:})
+\texttt{@ref\{,,title,,manual\}} title() (page \pageref{anchor:})
+\texttt{@ref\{,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:})
+\texttt{@ref\{,,,file name,manual\}} (file name) manual, page \pageref{anchor:}
+
+
+\texttt{@inforef\{,cross ref name \}} cross ref name (page \pageref{anchor:})
+\texttt{@inforef\{,,file name\}} (file name) manual, page \pageref{anchor:}
+\texttt{@inforef\{,cross ref name, file name\}} cross ref name(file name) 
(page \pageref{anchor:})
+\texttt{@inforef\{\}} page \pageref{anchor:}
+
+
+In example.
+
+
+<
+>
+"
+\&
+'
+`
+``simple-double--three---four----''\leavevmode{}\\
+
+code: \texttt{``simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-''} 
\leavevmode{}\\
+
+asis: ``simple-double--three---four----'' \leavevmode{}\\
+
+strong: \textbf{``simple-double--three---four----''} \leavevmode{}\\
+
+kbd: {\ttfamily\textsl{``simple-double{-}{-}three{-}{-}{-}four{-}{-}{-}-''}} 
\leavevmode{}\\
+
+`\hbox{}`simple-double-\hbox{}-three---four----'\hbox{}'\leavevmode{}\\
+
+@"u \"{u} 
+@"\{U\} \"{U} 
+@\~{}n \~{n}
+@\^{}a \^{a}
+@'e \'{e}
+@=o \={o}
+@`i \`{i}
+@'\{e\} \'{e}
+@'\{@dotless\{i\}\} \'{\i{}} 
+@dotless\{i\} \i{}
+@dotless\{j\} \j{}
+@`\{@=E\} \`{\={E}} 
+@l\{\} \l{}
+@,\{@'C\} \c{\'{C}}
+@,c \c{c}
+@,c@"u \c{c}\"{u} \leavevmode{}\\
+
+@U\{0075\} U+0075
+@* \leavevmode{}\\
+
+@ followed by a space
+\ {}
+@ followed by a tab
+\ {}
+@ followed by a new line
+\ {}\texttt{@-} \-{}
+\texttt{@|} 
+\texttt{@:} \@
+\texttt{@!} \@!
+\texttt{@?} \@?
+\texttt{@.} \@.
+\texttt{@@} @
+\texttt{@\}} \}
+\texttt{@\{} \{
+\texttt{@/} 
+foo vs.\@ bar. 
+colon :\@And something else.
+semi colon ;\@.
+And ? ?\@.
+Now ! !\@@
+but , ,\@
+@TeX \TeX{}
+@LaTeX \LaTeX{}
+@bullet \textbullet{}
+@copyright \copyright{}
+@dots \dots{}\@
+@enddots \dots{}
+@equiv $\equiv{}$
+@error \fbox{error}
+@expansion $\mapsto{}$
+@minus -
+@point $\star{}$
+@print $\dashv{}$
+@result $\Rightarrow{}$
+@today a sunny day
+@aa \aa{}
+@AA \AA{}
+@ae \ae{}
+@oe \oe{}
+@AE \AE{}
+@OE \OE{}
+@o \o{}
+@O \O{}
+@ss \ss{}
+@l \l{}
+@L \L{}
+@DH \DH{}
+@TH \TH{}
+@dh \dh{}
+@th \th{}
+@exclamdown \textexclamdown{}
+@questiondown \textquestiondown{}
+@pounds \textsterling{}
+@registeredsymbol \circledR{}
+@ordf \textordfeminine{}
+@ordm \textordmasculine{}
+@comma ,
+@quotedblleft \textquotedblleft{}
+@quotedblright \textquotedblright{}
+@quoteleft \textquoteleft{}
+@quoteright \textquoteright{}
+@quotedblbase \quotedblbase{}
+@quotesinglbase \quotesinglbase{}
+@guillemetleft \guillemotleft{}
+@guillemetright \guillemotright{}
+@guillemotleft \guillemotleft{}
+@guillemotright \guillemotright{}
+@guilsinglleft \guilsinglleft{}
+@guilsinglright \guilsinglright{}
+@textdegree \textdegree{}
+@euro \euro{}
+@arrow $\rightarrow{}$
+@leq $\leq{}$
+@geq $\geq{}$
+\texttt{@acronym\{{-}{-}a,an accronym\}} --a (an accronym)
+\texttt{@acronym\{{-}{-}a\}} --a
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A., @'Etude Autonome \}} \'{E}--.\@ ,A.\@ 
(\'{E}tude Autonome)
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A.\}} \'{E}--.\@ ,A.\@
+\texttt{@asis\{{-}{-}a\}} --a
+\texttt{@b\{{-}{-}a\}} \textbf{--a}
+\texttt{@cite\{{-}{-}a\}} \textit{--a}
+\texttt{@code\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@command\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@dfn\{{-}{-}a\}} \emph{--a}
+\texttt{@dmn\{{-}{-}a\}} --a
+\texttt{@email\{{-}{-}a,{-}{-}b\}} --b \texttt{<{-}{-}a>}
+\texttt{@email\{,{-}{-}b\}} --b
+\texttt{@email\{{-}{-}a\}} \texttt{<{-}{-}a>}
+\texttt{@emph\{{-}{-}a\}} \emph{--a}
+\texttt{@env\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@file\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@i\{{-}{-}a\}} \textit{--a}
+\texttt{@kbd\{{-}{-}a\}} {\ttfamily\textsl{{-}{-}a}}
+\texttt{@key\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@math\{{-}{-}a \{\textbackslash{}frac\{1\}\{2\}\} @minus\{\}\}} $--a 
{\frac{1}{2}} -$
+\texttt{@option\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@r\{{-}{-}a\}} 
+\texttt{@samp\{{-}{-}a\}} `\texttt{{-}{-}a}'
+\texttt{@sc\{{-}{-}a\}} 
+\texttt{@strong\{{-}{-}a\}} \textbf{--a}
+\texttt{@t\{{-}{-}a\}} \texttt{{-}{-}a}
+\texttt{@sansserif\{{-}{-}a\}} 
+\texttt{@slanted\{{-}{-}a\}} 
+\texttt{@titlefont\{{-}{-}a\}} 
+
+{\Huge \bfseries --a
+
+}
+\texttt{@indicateurl\{{-}{-}a\}} `\texttt{{-}{-}a}'
+\texttt{@uref\{{-}{-}a,{-}{-}b\}} --b (--a)
+\texttt{@uref\{{-}{-}a\}} \texttt{<{-}{-}a>}
+\texttt{@uref\{,{-}{-}b\}} --b
+\texttt{@uref\{{-}{-}a,{-}{-}b,{-}{-}c\}} --c
+\texttt{@uref\{,{-}{-}b,{-}{-}c\}} --c
+\texttt{@uref\{{-}{-}a,,{-}{-}c\}} --c
+\texttt{@uref\{,,{-}{-}c\}} --c
+\texttt{@url\{{-}{-}a,{-}{-}b\}} --b (--a)
+\texttt{@url\{{-}{-}a,\}} \texttt{<{-}{-}a>}
+\texttt{@url\{,{-}{-}b\}} --b
+\texttt{@var\{{-}{-}a\}} \emph{--a}
+\texttt{@verb\{:{-}{-}a:\}} \verb:--a:
+\texttt{@verb\{:a  < \& @ \% " {-}{-}    b:\}} \verb:a  < & @ % " --    b:
+\texttt{@w\{a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 
a a\}} \hbox{a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 
a a}
+\texttt{@H\{a\}} \H{a}
+\texttt{@H\{{-}{-}a\}} \H{--a}
+\texttt{@dotaccent\{a\}} \.{a}
+\texttt{@dotaccent\{{-}{-}a\}} \.{--a}
+\texttt{@ringaccent\{a\}} \r{a}
+\texttt{@ringaccent\{{-}{-}a\}} \r{--a}
+\texttt{@tieaccent\{a\}} \t{a}
+\texttt{@tieaccent\{{-}{-}a\}} \t{--a}
+\texttt{@u\{a\}} \u{a}
+\texttt{@u\{{-}{-}a\}} \u{--a}
+\texttt{@ubaraccent\{a\}} \b{a}
+\texttt{@ubaraccent\{{-}{-}a\}} \b{--a}
+\texttt{@udotaccent\{a\}} \d{a}
+\texttt{@udotaccent\{{-}{-}a\}} \d{--a}
+\texttt{@v\{a\}} \v{a}
+\texttt{@v\{{-}{-}a\}} \v{--a}
+\texttt{@,\{c\}} \c{c}
+\texttt{@,\{{-}{-}c\}} \c{--c}
+\texttt{@ogonek\{a\}} \k{a}
+\texttt{@ogonek\{{-}{-}a\}} \k{--a}
+\texttt{a@sup\{h\}@sub\{l\}} a\textsuperscript{h}\textsubscript{l}
+\texttt{@footnote\{in footnote\}} \footnote{in footnote
+
+}
+\texttt{@footnote\{in footnote2\}} \footnote{in footnote2
+
+}
+\texttt{@image\{f{-}{-}ile\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,l{-}{-}i\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,,l{-}{-}e\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,,,alt\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,,,,.e-d-xt\}} ggg
+aaa
+\texttt{@image\{f{-}{-}ile,aze,az,alt,.e{-}{-}xt\}} ggg
+aaa
+\texttt{@image\{f-ile,aze,,a{-}{-}lt\}} [a-lt]
+\texttt{@image\{@file\{f{-}{-}ile\}@@@.,aze,az,alt,@file\{.file ext\} 
e{-}{-}xt@\}} [alt]
+\texttt{@clicksequence\{click @click\{\} A\}} click -> A
+After clickstyle $\Rightarrow{}$
+\texttt{@clicksequence\{click @click\{\} A\}} click => A
+
+
+$$
+\mathbf{``simple-double--three---four----''} \hbox{aa}
+$$
+
+
+$$
+\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}}
+\breve{a} \textsl{\b{a}} \textsl{\d{a}} \check{a} \textsl{\k{a}} a^{h}_{l}
+\leavevmode{}\\
+ \ {}\ {} \ {}\-{}   ! ? . @ \} \{ 
+a sunny day
+$$
+
+
+$$
+->
+U+0075
+TeX LaTeX \bullet{} \copyright{} \dots{} \dots{} \equiv{}
+\fbox{error} \mapsto{} - \star{} \dashv{} \Rightarrow{}
+\mathord{\text{\aa{}}} \mathord{\text{\AA{}}} \mathord{\text{\ae{}}} 
\mathord{\text{\oe{}}} \mathord{\text{\AE{}}} \mathord{\text{\OE{}}} 
\mathord{\text{\o{}}} \mathord{\text{\O{}}} \mathord{\text{\ss{}}} 
\mathord{\text{\l{}}} \mathord{\text{\L{}}} \mathord{\text{\DH{}}}
+\mathord{\text{\TH{}}} \mathord{\text{\dh{}}} \mathord{\text{\th{}}} 
\mathord{\text{\textexclamdown{}}} \mathord{\text{\textquestiondown{}}} 
\mathsterling{}
+\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{}}}
+\mathord{\text{\guillemotright{}}} \mathord{\text{\guillemotleft{}}} 
\mathord{\text{\guillemotright{}}} \mathord{\text{\guilsinglleft{}}}
+\mathord{\text{\guilsinglright{}}} ^{\circ{}} \euro{} \rightarrow{} \leq{} 
\geq{}
+$$
+{\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{}\\
+:} 
+
+
+
+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
+
+
+
+
+ 
+
+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
+
+
+lone mu--ltitable item
+
+
+
+
+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 
+
+
+\hbox{}-- Command: log trap 
+
+
+\hbox{}-- Command: log trap1 
+
+
+\hbox{}-- Command: log trap2 
+
+
+\hbox{}-- cmde: \textbf{id ule} truc
+
+
+\hbox{}-- cmde2: \textbf{id `\texttt{i}' ule} truc
+
+
+\hbox{}-- \textbf{id `\texttt{i}' ule}: 
+
+
+
+\hbox{}-- aaa: 
+
+
+\hbox{}-- : 
+
+
+\hbox{}-- : 
+
+
+\hbox{}-- : machin
+
+
+\hbox{}-- : bidule machin
+
+
+\hbox{}-- truc: machin
+
+
+\hbox{}-- truc: 
+
+
+\hbox{}-- truc: followed by a comment
+
+
+
+
+\hbox{}-- truc: 
+
+
+\hbox{}-- : 
+
+
+\hbox{}-- truc: a b c d e \textbf{f g} h i
+
+
+\hbox{}-- truc: deffnx before end deffn
+
+
+
+
+\hbox{}-- empty: deffn
+
+
+
+
+\hbox{}-- empty: deffn with deffnx
+
+
+
+
+\hbox{}-- empty: deffnx
+
+
+
+
+\hbox{}-- fset: \emph{i} a g
+
+
+\hbox{}-- cmde: truc 
+
+
+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})
+\texttt{@inforef\{chapter, cross ref name, file name\}} cross ref name(file 
name) (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter\}} page \pageref{anchor:chapter}
+\texttt{@xref\{chapter\}} See page \pageref{anchor:chapter}.
+\texttt{@pxref\{chapter\}} see page \pageref{anchor:chapter}
+\texttt{@ref\{s{-}{-}ect@comma\{\}ion\}} page 
\pageref{anchor:s_002d_002dect_002cion}
+\texttt{@ref\{s{-}{-}ect@comma\{\}ion, a @comma\{\} in cross
+ref, a comma@comma\{\} in title, a comma@comma\{\} in file, a @comma\{\} in 
manual name \}}
+a , in cross
+ref(a comma, in file) (page \pageref{anchor:s_002d_002dect_002cion})
+\texttt{@ref\{chapter,cross ref name\}} cross ref name (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title\}} title (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,,,file name\}} (file name) manual, page 
\pageref{anchor:chapter}
+\texttt{@ref\{chapter,,,,manual\}} () manual, page \pageref{anchor:chapter}
+\texttt{@ref\{chapter,cross ref name,title,\}} cross ref name (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,,file name\}} cross ref name(file name) 
(page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,title,file name\}} cross ref name(file 
name) (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,title,,manual\}} cross ref name() (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,cross ref name,title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title,file name\}} title(file name) (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title,,manual\}} title() (page \pageref{anchor:chapter})
+\texttt{@ref\{chapter,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:chapter})
+\texttt{@ref\{chapter,,,file name,manual\}} (file name) manual, page 
\pageref{anchor:chapter}
+\texttt{@ref\{(pman)anode,cross ref name\}} cross ref name (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title\}} title (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,,file name\}} (file name) manual, page 
\pageref{anchor:_0028pman_0029anode}
+\texttt{@ref\{(pman)anode,,,,manual\}} () manual, page 
\pageref{anchor:_0028pman_0029anode}
+\texttt{@ref\{(pman)anode,cross ref name,title,\}} cross ref name (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,,file name\}} cross ref name(file 
name) (page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,title,file name\}} cross ref 
name(file name) (page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,title,,manual\}} cross ref name() 
(page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,cross ref name,title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title,file name\}} title(file name) (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title,,manual\}} title() (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:_0028pman_0029anode})
+\texttt{@ref\{(pman)anode,,,file name,manual\}} (file name) manual, page 
\pageref{anchor:_0028pman_0029anode}
+\texttt{@inforef\{chapter, cross ref name, file name\}} cross ref name(file 
name) (page \pageref{anchor:chapter})
+\texttt{@inforef\{chapter\}} page \pageref{anchor:chapter}
+\texttt{@inforef\{chapter, cross ref name\}} cross ref name (page 
\pageref{anchor:chapter})
+\texttt{@inforef\{chapter,,file name\}} (file name) manual, page 
\pageref{anchor:chapter}
+\texttt{@inforef\{node, cross ref name, file name\}} cross ref name(file name) 
(page \pageref{anchor:node})
+\texttt{@inforef\{node\}} page \pageref{anchor:node}
+\texttt{@inforef\{node, cross ref name\}} cross ref name (page 
\pageref{anchor:node})
+\texttt{@inforef\{node,,file name\}} (file name) manual, page 
\pageref{anchor:node}
+\texttt{@inforef\{chapter, cross ref name, file name, spurious arg\}} cross 
ref name(file name, spurious arg) (page \pageref{anchor:chapter})
+\texttt{@inforef\{s{-}{-}ect@comma\{\}ion, a @comma\{\} in cross
+ref, a comma@comma\{\} in file\}}
+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-*-
+
+@setfilename simplest.info
+
+@node Top
+
+This is a very simple texi manual @  <>.
+
+@bye
+\end{verbatim}
+
+
+
+\begin{verbatim}
+in verbatim ''
+\end{verbatim}
+
+
+
+
+
+\chapter*{chapheading}
+
+
+
+\section*{heading}
+
+
+
+\subsection*{subheading}
+
+
+
+\subsubsection*{subsubheading}
+
+\texttt{@acronym\{{-}{-}a,an accronym @comma\{\} @enddots\{\}\}} --a (an 
accronym , \dots{})
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A., @'Etude{-}{-}@comma\{\} @b\{Autonome\} 
\}} \'{E}--.\@ ,A.\@ (\'{E}tude--, \textbf{Autonome})
+\texttt{@abbr\{@'E{-}{-}. @comma\{\}A.\}} \'{E}--.\@ ,A.\@
+\texttt{@math\{{-}{-}a@minus\{\} \{\textbackslash{}frac\{1\}\{2\}\}\}} $--a- 
{\frac{1}{2}}$
+\texttt{@image\{f-ile,,,alt@verb\{:jk \_" \%\@\}\}} [altjk \_" \%@]
+\texttt{@image\{f{-}{-}ile,aze,az,@verb\{:jk \_" \%@:\} @b\{in b 
"\},e{-}{-}xt\}} ggg
+aaa
+\texttt{@image\{file@verb\{:jk \_" \%@:\},,,alt@verb\{:jk \_" \%@:\}\}} [altjk 
\_" \%@]
+Somehow invalid use of @,:\leavevmode{}\\
+
+@, \c{}
+\leavevmode{}\\
+
+@,@"u \c{}\"{u}
+Invalid use of @':\leavevmode{}\\
+
+@' \'{}
+\leavevmode{}\\
+
+@'@"u \'{}\"{u}
+@dotless\{truc\} truc
+@dotless\{ij\} ij
+\texttt{@dotless\{{-}{-}a\}} --a
+\texttt{@dotless\{a\}} a
+@U, without braces @U\{\}, with empty arg 
+@U\{z\}, with non-hex arg U+z
+@U\{abc\}, with <4 hex digits U+abc
+@U\{FFFFFFFFFFFFFF\}, value much too large U+FFFFFFFFFFFFFF
+@U\{110000\}, value just beyond Unicode U+110000
+@TeX, but without brace \TeX{}\texttt{@\#} \#
+\texttt{@w\{{-}{-}a\}} \hbox{--a}
+\texttt{@image\{,1{-}{-}xt\}} 
+\texttt{@image\{,,2{-}{-}xt\}} 
+\texttt{@image\{,,,3{-}{-}xt\}} 
+
+
+ after emph 
+
+e--mph item
+
+
+
+
+\textbullet{} a--n itemize line 
+
+i--tem 1
+
+
+\textbullet{} a--n itemize line 
+
+i--tem 2
+
+
+
+
+\hbox{}-- fun: 
+
+
+\hbox{}-- truc: machin bidule chose and
+
+
+\hbox{}-- truc: machin bidule chose and  after
+
+
+\hbox{}-- truc: machin bidule chose and 
+
+
+\hbox{}-- truc: machin bidule chose and and after
+
+
+\hbox{}-- truc: followed by a comment
+
+
+Various deff lines
+
+
+\hbox{}-- truc: after a deff item
+
+
+\texttt{@ref\{node\}} page \pageref{anchor:node}
+\texttt{@ref\{,cross ref name\}} cross ref name (page \pageref{anchor:})
+\texttt{@ref\{,,title\}} title (page \pageref{anchor:})
+\texttt{@ref\{,,,file name\}} (file name) manual, page \pageref{anchor:}
+\texttt{@ref\{,,,,manual\}} () manual, page \pageref{anchor:}
+\texttt{@ref\{node,cross ref name\}} cross ref name (page 
\pageref{anchor:node})
+\texttt{@ref\{node,,title\}} title (page \pageref{anchor:node})
+\texttt{@ref\{node,,,file name\}} (file name) manual, page 
\pageref{anchor:node}
+\texttt{@ref\{node,,,,manual\}} () manual, page \pageref{anchor:node}
+\texttt{@ref\{node,cross ref name,title,\}} cross ref name (page 
\pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,,file name\}} cross ref name(file name) 
(page \pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,title,file name\}} cross ref name(file name) 
(page \pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,title,,manual\}} cross ref name() (page 
\pageref{anchor:node})
+\texttt{@ref\{node,cross ref name,title, file name, manual\}} cross ref 
name(file name) (page \pageref{anchor:node})
+\texttt{@ref\{node,,title,file name\}} title(file name) (page 
\pageref{anchor:node})
+\texttt{@ref\{node,,title,,manual\}} title() (page \pageref{anchor:node})
+\texttt{@ref\{chapter,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:chapter})
+\texttt{@ref\{node,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:node})
+\texttt{@ref\{node,,,file name,manual\}} (file name) manual, page 
\pageref{anchor:node}
+\texttt{@ref\{,cross ref name,title,\}} cross ref name (page \pageref{anchor:})
+\texttt{@ref\{,cross ref name,,file name\}} cross ref name(file name) (page 
\pageref{anchor:})
+\texttt{@ref\{,cross ref name,,,manual\}} cross ref name() (page 
\pageref{anchor:})
+\texttt{@ref\{,cross ref name,title,file name\}} cross ref name(file name) 
(page \pageref{anchor:})
+\texttt{@ref\{,cross ref name,title,,manual\}} cross ref name() (page 
\pageref{anchor:})
+\texttt{@ref\{,cross ref name,title, file name, manual\}} cross ref name(file 
name) (page \pageref{anchor:})
+\texttt{@ref\{,,title,file name\}} title(file name) (page \pageref{anchor:})
+\texttt{@ref\{,,title,,manual\}} title() (page \pageref{anchor:})
+\texttt{@ref\{,,title, file name, manual\}} title(file name) (page 
\pageref{anchor:})
+\texttt{@ref\{,,,file name,manual\}} (file name) manual, page \pageref{anchor:}
+\texttt{@inforef\{,cross ref name \}} cross ref name (page \pageref{anchor:})
+\texttt{@inforef\{,,file name\}} (file name) manual, page \pageref{anchor:}
+\texttt{@inforef\{,cross ref name, file name\}} cross ref name(file name) 
(page \pageref{anchor:})
+\texttt{@inforef\{\}} page \pageref{anchor:}
+
+
+cp
+
+
+\printindex
+fn
+
+
+\printindex
+vr
+
+
+\printindex
+ky
+
+
+\printindex
+pg
+
+
+\printindex
+tp
+
+
+\printindex
+\label{anchor:chapter}\chapter{chapter}
+
+\footnote{in footnote
+
+}
+
+
+\label{anchor:s_002d_002dect_002cion}\section{A section}
+
+\label{anchor:subsection}\subsection{subsection}
+
+\label{anchor:anchor}\label{anchor:subsubsection-_0060_0060simple_002ddouble_002d_002d}\subsubsection{subsubsection
 ``simple-double--}
+
+\label{anchor:subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027}\subsubsection{three---four----''}
+
+\label{anchor:chapter2}\printindex
+\printindex
+\tableofcontents\newpage
+\end{document}
diff --git a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html 
b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
index 3ba3ab2..677093e 100644
--- a/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_mathjax/formatting.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -858,6 +893,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="#FOOT3"><sup>7</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="#FOOT4"><sup>8</sup></a>
 </p>
@@ -877,6 +913,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div class="displaymath"><em 
class="tex2jax_process">\[<strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&uuml; &Uuml; &ntilde; 
&acirc; &eacute; &#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+\]</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1616,6 +1694,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -1635,6 +1714,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div class="displaymath"><em 
class="tex2jax_process">\[<strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&uuml; &Uuml; &ntilde; 
&acirc; &eacute; &#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+\]</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2399,6 +2520,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>2</sup></a>
 </p>
@@ -2418,6 +2540,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div class="displaymath"><em 
class="tex2jax_process">\[<strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&uuml; &Uuml; &ntilde; 
&acirc; &eacute; &#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+\]</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3156,6 +3320,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>4</sup></a>
 </p>
@@ -3175,6 +3340,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div class="displaymath"><em 
class="tex2jax_process">\[<strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&uuml; &Uuml; &ntilde; 
&acirc; &eacute; &#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+\]</em></div>
+<div class="displaymath"><em class="tex2jax_process">\[&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+\]</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3920,6 +4127,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(6)</a>
 
@@ -3939,6 +4147,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div class="displaymath"><em 
class="tex2jax_process">\[<strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+\]</em></div><pre class="example">
+
+</pre><div class="displaymath"><em class="tex2jax_process">\[&uuml; &Uuml; 
&ntilde; &acirc; &eacute; &#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+\]</em></div><pre class="example">
+
+</pre><div class="displaymath"><em class="tex2jax_process">\[&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+\]</em></div><pre class="example">
+
+</pre><div class="displaymath"><em class="tex2jax_process">\[&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+\]</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
diff --git a/tp/tests/layout/res_parser/formatting_nodes/anchor.html 
b/tp/tests/layout/res_parser/formatting_nodes/anchor.html
index 83283d8..7bd90cd 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/anchor.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/anchor.html
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_nodes/chapter.html 
b/tp/tests/layout/res_parser/formatting_nodes/chapter.html
index 52440bf..d37c2cb 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/chapter.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/chapter.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_nodes/chapter2.html 
b/tp/tests/layout/res_parser/formatting_nodes/chapter2.html
index 9ab7d82..ef5d2f0 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/chapter2.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/chapter2.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 2497c79..5a519a8 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_abt.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 4f74486..ba624b4 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_fot.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 0cdbe56..c20ef54 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_ovr.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 839f685..7a14548 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/formatting_toc.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_nodes/index.html 
b/tp/tests/layout/res_parser/formatting_nodes/index.html
index 3845637..434146a 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/index.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/index.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -848,6 +883,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="formatting_fot.html#FOOT3"><sup>7</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="formatting_fot.html#FOOT4"><sup>8</sup></a>
 </p>
@@ -867,6 +903,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1606,6 +1684,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="formatting_fot.html#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="formatting_fot.html#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -1625,6 +1704,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2390,6 +2511,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="formatting_fot.html#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="formatting_fot.html#FOOT2"><sup>2</sup></a>
 </p>
@@ -2409,6 +2531,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3147,6 +3311,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="formatting_fot.html#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="formatting_fot.html#FOOT6"><sup>4</sup></a>
 </p>
@@ -3166,6 +3331,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3911,6 +4118,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" 
href="formatting_fot.html#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" 
href="formatting_fot.html#FOOT8">(6)</a>
 
@@ -3930,6 +4138,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
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 73148f6..eca7899 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_nodes/subsection.html 
b/tp/tests/layout/res_parser/formatting_nodes/subsection.html
index efbd6a0..73edccd 100644
--- a/tp/tests/layout/res_parser/formatting_nodes/subsection.html
+++ b/tp/tests/layout/res_parser/formatting_nodes/subsection.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 27b54d5..e044bb7 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
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 b8a1413..32585ae 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
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/layout/res_parser/formatting_plaintext/formatting.txt 
b/tp/tests/layout/res_parser/formatting_plaintext/formatting.txt
index edc1523..6312431 100644
--- a/tp/tests/layout/res_parser/formatting_plaintext/formatting.txt
+++ b/tp/tests/layout/res_parser/formatting_plaintext/formatting.txt
@@ -63,7 +63,8 @@ a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 
a a a a
 '@tieaccent{--a}' -a͡ '@u{a}' ă '@u{--a}' -ă '@ubaraccent{a}' a̲
 '@ubaraccent{--a}' -a̲ '@udotaccent{a}' ạ '@udotaccent{--a}' -ạ '@v{a}'
 ǎ '@v{--a}' -ǎ '@,{c}' ç '@,{--c}' -ç '@ogonek{a}' ą '@ogonek{--a}' -ą
-'@footnote{in footnote}' (1) '@footnote{in footnote2}' (2)
+'a@sup{h}@sub{l}' a^{h}_{l} '@footnote{in footnote}' (1) '@footnote{in
+footnote2}' (2)
 
    '@image{f--ile}' ggg
 aaa '@image{f--ile,l--i}' ggg
@@ -81,6 +82,40 @@ aaa '@image{f-ile,aze,,a--lt}' [a-lt]
    '@clicksequence{click @click{} A}' click -> A After clickstyle =>
 '@clicksequence{click @click{} A}' click => A
 
+*``simple-double--three---four----''* aa
+
+ü Ü ñ â é ō ì é ı j Ḕ
+ł Ḉ Ḉ ç a̋ ȧ å a͡
+ă a̲ ạ ǎ ą a^{h}_{l}
+
+        ! ? . @ } {
+a sunny day
+
+->
+u
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+å Å æ œ Æ Œ ø Ø ß ł Ł Ð
+Þ ð þ ¡ ¿ £
+(R) ª º ,
+
+“ ”
+‘ ’ „ ‚ «
+» « » ‹
+› ° € -> ≤ ≥
+
+   'default kbdinputstyle'
+     in example default kbdinputstyle
+
+   'code kbdinputstyle'
+     in example code kbdinputstyle
+
+   'example kbdinputstyle'
+     in example example kbdinputstyle
+
+   'distinct kbdinputstyle'
+     in example distinct kbdinputstyle
+
      A quot--ation
 
      Note: A Note
@@ -518,7 +553,8 @@ a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a 
a a a a a
 '@tieaccent{--a}' -a͡ '@u{a}' ă '@u{--a}' -ă '@ubaraccent{a}' a̲
 '@ubaraccent{--a}' -a̲ '@udotaccent{a}' ạ '@udotaccent{--a}' -ạ '@v{a}'
 ǎ '@v{--a}' -ǎ '@,{c}' ç '@,{--c}' -ç '@ogonek{a}' ą '@ogonek{--a}' -ą
-'@footnote{in footnote}' (3) '@footnote{in footnote2}' (4)
+'a@sup{h}@sub{l}' a^{h}_{l} '@footnote{in footnote}' (3) '@footnote{in
+footnote2}' (4)
 
    '@image{f--ile}' ggg
 aaa '@image{f--ile,l--i}' ggg
@@ -536,6 +572,40 @@ aaa '@image{f-ile,aze,,a--lt}' [a-lt]
    '@clicksequence{click @click{} A}' click -> A After clickstyle =>
 '@clicksequence{click @click{} A}' click => A
 
+*``simple-double--three---four----''* aa
+
+ü Ü ñ â é ō ì é ı j Ḕ
+ł Ḉ Ḉ ç a̋ ȧ å a͡
+ă a̲ ạ ǎ ą a^{h}_{l}
+
+        ! ? . @ } {
+a sunny day
+
+->
+u
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+å Å æ œ Æ Œ ø Ø ß ł Ł Ð
+Þ ð þ ¡ ¿ £
+(R) ª º ,
+
+“ ”
+‘ ’ „ ‚ «
+» « » ‹
+› ° € -> ≤ ≥
+
+   'default kbdinputstyle'
+     in example default kbdinputstyle
+
+   'code kbdinputstyle'
+     in example code kbdinputstyle
+
+   'example kbdinputstyle'
+     in example example kbdinputstyle
+
+   'distinct kbdinputstyle'
+     in example distinct kbdinputstyle
+
      A quot--ation
 
      Note: A Note
@@ -1104,6 +1174,7 @@ cross ref name: (file name). '@inforef{}' *note ::
      @,{--c} -ç
      @ogonek{a} ą
      @ogonek{--a} -ą
+     a@sup{h}@sub{l} a^{h}_{l}
      @footnote{in footnote} (5)
      @footnote{in footnote2} (6)
 
@@ -1129,6 +1200,40 @@ aaa
      After clickstyle =>
      @clicksequence{click @click{} A} click => A
 
+     *``simple-double--three---four----''* aa
+
+     ü Ü ñ â é ō ì é ı j Ḕ
+     ł Ḉ Ḉ ç a̋ ȧ å a͡
+     ă a̲ ạ ǎ ą a^{h}_{l}
+
+             ! ? . @ } {
+     a sunny day
+
+     ->
+     u
+     TeX LaTeX * (C) ... ... ==
+     error-> ==> - -!- -| =>
+     å Å æ œ Æ Œ ø Ø ß ł Ł Ð
+     Þ ð þ ¡ ¿ £
+     (R) ª º ,
+
+     “ ”
+     ‘ ’ „ ‚ «
+     » « » ‹
+     › ° € -> ≤ ≥
+
+     default kbdinputstyle
+          in example default kbdinputstyle
+
+     code kbdinputstyle
+          in example code kbdinputstyle
+
+     example kbdinputstyle
+          in example example kbdinputstyle
+
+     distinct kbdinputstyle
+          in example distinct kbdinputstyle
+
           A quot---ation
 
           Note: A Note
@@ -1543,190 +1648,190 @@ aaa
 * Menu:
 
 * ":                                     Top.                (line   16)
-* " <1>:                                 Top.                (line  471)
-* " <2>:                                 Top.                (line  937)
+* " <1>:                                 Top.                (line  506)
+* " <2>:                                 Top.                (line 1007)
 * -option:                               Top.                (line   16)
-* -option <1>:                           Top.                (line  471)
-* -option <2>:                           Top.                (line  937)
-* .:                                     Top.                (line 1540)
-* ?:                                     Top.                (line 1540)
-* a:                                     Top.                (line 1540)
-* index entry between item and itemx:    Top.                (line  340)
-* index entry between item and itemx <1>: Top.               (line  795)
-* index entry between item and itemx <2>: Top.               (line 1389)
-* index entry within deffn:              Top.                (line  186)
-* index entry within deffn <1>:          Top.                (line  641)
-* index entry within deffn <2>:          Top.                (line 1235)
-* index entry within itemize:            Top.                (line  127)
-* index entry within itemize <1>:        Top.                (line  582)
-* index entry within itemize <2>:        Top.                (line 1176)
-* index entry within multitable:         Top.                (line  135)
-* index entry within multitable <1>:     Top.                (line  590)
-* index entry within multitable <2>:     Top.                (line 1185)
-* t-ruc:                                 Top.                (line 1540)
-* T-ruc:                                 Top.                (line 1540)
+* -option <1>:                           Top.                (line  506)
+* -option <2>:                           Top.                (line 1007)
+* .:                                     Top.                (line 1645)
+* ?:                                     Top.                (line 1645)
+* a:                                     Top.                (line 1645)
+* index entry between item and itemx:    Top.                (line  375)
+* index entry between item and itemx <1>: Top.               (line  865)
+* index entry between item and itemx <2>: Top.               (line 1494)
+* index entry within deffn:              Top.                (line  221)
+* index entry within deffn <1>:          Top.                (line  711)
+* index entry within deffn <2>:          Top.                (line 1340)
+* index entry within itemize:            Top.                (line  162)
+* index entry within itemize <1>:        Top.                (line  652)
+* index entry within itemize <2>:        Top.                (line 1281)
+* index entry within multitable:         Top.                (line  170)
+* index entry within multitable <1>:     Top.                (line  660)
+* index entry within multitable <2>:     Top.                (line 1290)
+* t-ruc:                                 Top.                (line 1645)
+* T-ruc:                                 Top.                (line 1645)
 
    fn
 
 * Menu:
 
 * --foption:                             Top.                (line   16)
-* --foption <1>:                         Top.                (line  471)
-* --foption <2>:                         Top.                (line  937)
-* .:                                     Top.                (line 1540)
-* ?:                                     Top.                (line 1540)
+* --foption <1>:                         Top.                (line  506)
+* --foption <2>:                         Top.                (line 1007)
+* .:                                     Top.                (line 1645)
+* ?:                                     Top.                (line 1645)
 * ``:                                    Top.                (line   16)
-* `` <1>:                                Top.                (line  471)
-* `` <2>:                                Top.                (line  937)
-* a:                                     Top.                (line  203)
-* a <1>:                                 Top.                (line  339)
-* a <2>:                                 Top.                (line  658)
-* a <3>:                                 Top.                (line  794)
-* a <4>:                                 Top.                (line 1252)
-* a <5>:                                 Top.                (line 1388)
-* a <6>:                                 Top.                (line 1540)
-* after:                                 Top.                (line  424)
-* after <1>:                             Top.                (line  879)
-* after <2>:                             Top.                (line 1499)
-* b:                                     Top.                (line  340)
-* b <1>:                                 Top.                (line  795)
-* b <2>:                                 Top.                (line 1389)
-* bidule machin:                         Top.                (line  197)
-* bidule machin <1>:                     Top.                (line  652)
-* bidule machin <2>:                     Top.                (line 1246)
-* d--effn_name:                          Top.                (line  178)
-* d--effn_name <1>:                      Top.                (line  633)
-* d--effn_name <2>:                      Top.                (line 1227)
-* d--efmac_name:                         Top.                (line  239)
-* d--efmac_name <1>:                     Top.                (line  694)
-* d--efmac_name <2>:                     Top.                (line 1288)
-* d--efmethod_name on c--lass:           Top.                (line  263)
-* d--efmethod_name on c--lass <1>:       Top.                (line  718)
-* d--efmethod_name on c--lass <2>:       Top.                (line 1312)
-* d--efop_name on c--lass:               Top.                (line  230)
-* d--efop_name on c--lass <1>:           Top.                (line  685)
-* d--efop_name on c--lass <2>:           Top.                (line 1279)
-* d--efspec_name:                        Top.                (line  242)
-* d--efspec_name <1>:                    Top.                (line  697)
-* d--efspec_name <2>:                    Top.                (line 1291)
-* d--eftypefn_name:                      Top.                (line  218)
-* d--eftypefn_name <1>:                  Top.                (line  673)
-* d--eftypefn_name <2>:                  Top.                (line 1267)
-* d--eftypefun_name:                     Top.                (line  251)
-* d--eftypefun_name <1>:                 Top.                (line  706)
-* d--eftypefun_name <2>:                 Top.                (line 1300)
-* d--eftypemethod_name on c--lass:       Top.                (line  266)
-* d--eftypemethod_name on c--lass <1>:   Top.                (line  721)
-* d--eftypemethod_name on c--lass <2>:   Top.                (line 1315)
-* d--eftypeop_name on c--lass:           Top.                (line  221)
-* d--eftypeop_name on c--lass <1>:       Top.                (line  676)
-* d--eftypeop_name on c--lass <2>:       Top.                (line 1270)
-* d--efun_name:                          Top.                (line  236)
-* d--efun_name <1>:                      Top.                (line  691)
-* d--efun_name <2>:                      Top.                (line 1285)
-* de--ffn_name:                          Top.                (line  181)
-* de--ffn_name <1>:                      Top.                (line  636)
-* de--ffn_name <2>:                      Top.                (line 1230)
-* deffn:                                 Top.                (line  206)
-* deffn <1>:                             Top.                (line  208)
-* deffn <2>:                             Top.                (line  661)
-* deffn <3>:                             Top.                (line  663)
-* deffn <4>:                             Top.                (line 1255)
-* deffn <5>:                             Top.                (line 1257)
-* deffnx:                                Top.                (line  204)
-* deffnx <1>:                            Top.                (line  209)
-* deffnx <2>:                            Top.                (line  659)
-* deffnx <3>:                            Top.                (line  664)
-* deffnx <4>:                            Top.                (line 1253)
-* deffnx <5>:                            Top.                (line 1258)
-* followed:                              Top.                (line  200)
-* followed <1>:                          Top.                (line  422)
-* followed <2>:                          Top.                (line  655)
-* followed <3>:                          Top.                (line  877)
-* followed <4>:                          Top.                (line 1249)
-* followed <5>:                          Top.                (line 1497)
-* I:                                     Top.                (line  185)
-* I <1>:                                 Top.                (line  211)
-* I <2>:                                 Top.                (line  640)
-* I <3>:                                 Top.                (line  666)
-* I <4>:                                 Top.                (line 1234)
-* I <5>:                                 Top.                (line 1260)
-* id i ule:                              Top.                (line  191)
-* id i ule <1>:                          Top.                (line  646)
-* id i ule <2>:                          Top.                (line 1240)
-* id ule:                                Top.                (line  190)
-* id ule <1>:                            Top.                (line  645)
-* id ule <2>:                            Top.                (line 1239)
-* log trap:                              Top.                (line  187)
-* log trap <1>:                          Top.                (line  642)
-* log trap <2>:                          Top.                (line 1236)
-* log trap1:                             Top.                (line  188)
-* log trap1 <1>:                         Top.                (line  643)
-* log trap1 <2>:                         Top.                (line 1237)
-* log trap2:                             Top.                (line  189)
-* log trap2 <1>:                         Top.                (line  644)
-* log trap2 <2>:                         Top.                (line 1238)
-* machin:                                Top.                (line  196)
-* machin <1>:                            Top.                (line  198)
-* machin <2>:                            Top.                (line  418)
-* machin <3>:                            Top.                (line  419)
-* machin <4>:                            Top.                (line  420)
-* machin <5>:                            Top.                (line  421)
-* machin <6>:                            Top.                (line  651)
-* machin <7>:                            Top.                (line  653)
-* machin <8>:                            Top.                (line  873)
-* machin <9>:                            Top.                (line  874)
-* machin <10>:                           Top.                (line  875)
-* machin <11>:                           Top.                (line  876)
-* machin <12>:                           Top.                (line 1245)
-* machin <13>:                           Top.                (line 1247)
-* machin <14>:                           Top.                (line 1493)
-* machin <15>:                           Top.                (line 1494)
-* machin <16>:                           Top.                (line 1495)
-* machin <17>:                           Top.                (line 1496)
-* t--ruc:                                Top.                (line 1540)
-* T--ruc:                                Top.                (line 1540)
-* truc:                                  Top.                (line  186)
-* truc <1>:                              Top.                (line  212)
-* truc <2>:                              Top.                (line  641)
-* truc <3>:                              Top.                (line  667)
-* truc <4>:                              Top.                (line 1235)
-* truc <5>:                              Top.                (line 1261)
+* `` <1>:                                Top.                (line  506)
+* `` <2>:                                Top.                (line 1007)
+* a:                                     Top.                (line  238)
+* a <1>:                                 Top.                (line  374)
+* a <2>:                                 Top.                (line  728)
+* a <3>:                                 Top.                (line  864)
+* a <4>:                                 Top.                (line 1357)
+* a <5>:                                 Top.                (line 1493)
+* a <6>:                                 Top.                (line 1645)
+* after:                                 Top.                (line  459)
+* after <1>:                             Top.                (line  949)
+* after <2>:                             Top.                (line 1604)
+* b:                                     Top.                (line  375)
+* b <1>:                                 Top.                (line  865)
+* b <2>:                                 Top.                (line 1494)
+* bidule machin:                         Top.                (line  232)
+* bidule machin <1>:                     Top.                (line  722)
+* bidule machin <2>:                     Top.                (line 1351)
+* d--effn_name:                          Top.                (line  213)
+* d--effn_name <1>:                      Top.                (line  703)
+* d--effn_name <2>:                      Top.                (line 1332)
+* d--efmac_name:                         Top.                (line  274)
+* d--efmac_name <1>:                     Top.                (line  764)
+* d--efmac_name <2>:                     Top.                (line 1393)
+* d--efmethod_name on c--lass:           Top.                (line  298)
+* d--efmethod_name on c--lass <1>:       Top.                (line  788)
+* d--efmethod_name on c--lass <2>:       Top.                (line 1417)
+* d--efop_name on c--lass:               Top.                (line  265)
+* d--efop_name on c--lass <1>:           Top.                (line  755)
+* d--efop_name on c--lass <2>:           Top.                (line 1384)
+* d--efspec_name:                        Top.                (line  277)
+* d--efspec_name <1>:                    Top.                (line  767)
+* d--efspec_name <2>:                    Top.                (line 1396)
+* d--eftypefn_name:                      Top.                (line  253)
+* d--eftypefn_name <1>:                  Top.                (line  743)
+* d--eftypefn_name <2>:                  Top.                (line 1372)
+* d--eftypefun_name:                     Top.                (line  286)
+* d--eftypefun_name <1>:                 Top.                (line  776)
+* d--eftypefun_name <2>:                 Top.                (line 1405)
+* d--eftypemethod_name on c--lass:       Top.                (line  301)
+* d--eftypemethod_name on c--lass <1>:   Top.                (line  791)
+* d--eftypemethod_name on c--lass <2>:   Top.                (line 1420)
+* d--eftypeop_name on c--lass:           Top.                (line  256)
+* d--eftypeop_name on c--lass <1>:       Top.                (line  746)
+* d--eftypeop_name on c--lass <2>:       Top.                (line 1375)
+* d--efun_name:                          Top.                (line  271)
+* d--efun_name <1>:                      Top.                (line  761)
+* d--efun_name <2>:                      Top.                (line 1390)
+* de--ffn_name:                          Top.                (line  216)
+* de--ffn_name <1>:                      Top.                (line  706)
+* de--ffn_name <2>:                      Top.                (line 1335)
+* deffn:                                 Top.                (line  241)
+* deffn <1>:                             Top.                (line  243)
+* deffn <2>:                             Top.                (line  731)
+* deffn <3>:                             Top.                (line  733)
+* deffn <4>:                             Top.                (line 1360)
+* deffn <5>:                             Top.                (line 1362)
+* deffnx:                                Top.                (line  239)
+* deffnx <1>:                            Top.                (line  244)
+* deffnx <2>:                            Top.                (line  729)
+* deffnx <3>:                            Top.                (line  734)
+* deffnx <4>:                            Top.                (line 1358)
+* deffnx <5>:                            Top.                (line 1363)
+* followed:                              Top.                (line  235)
+* followed <1>:                          Top.                (line  457)
+* followed <2>:                          Top.                (line  725)
+* followed <3>:                          Top.                (line  947)
+* followed <4>:                          Top.                (line 1354)
+* followed <5>:                          Top.                (line 1602)
+* I:                                     Top.                (line  220)
+* I <1>:                                 Top.                (line  246)
+* I <2>:                                 Top.                (line  710)
+* I <3>:                                 Top.                (line  736)
+* I <4>:                                 Top.                (line 1339)
+* I <5>:                                 Top.                (line 1365)
+* id i ule:                              Top.                (line  226)
+* id i ule <1>:                          Top.                (line  716)
+* id i ule <2>:                          Top.                (line 1345)
+* id ule:                                Top.                (line  225)
+* id ule <1>:                            Top.                (line  715)
+* id ule <2>:                            Top.                (line 1344)
+* log trap:                              Top.                (line  222)
+* log trap <1>:                          Top.                (line  712)
+* log trap <2>:                          Top.                (line 1341)
+* log trap1:                             Top.                (line  223)
+* log trap1 <1>:                         Top.                (line  713)
+* log trap1 <2>:                         Top.                (line 1342)
+* log trap2:                             Top.                (line  224)
+* log trap2 <1>:                         Top.                (line  714)
+* log trap2 <2>:                         Top.                (line 1343)
+* machin:                                Top.                (line  231)
+* machin <1>:                            Top.                (line  233)
+* machin <2>:                            Top.                (line  453)
+* machin <3>:                            Top.                (line  454)
+* machin <4>:                            Top.                (line  455)
+* machin <5>:                            Top.                (line  456)
+* machin <6>:                            Top.                (line  721)
+* machin <7>:                            Top.                (line  723)
+* machin <8>:                            Top.                (line  943)
+* machin <9>:                            Top.                (line  944)
+* machin <10>:                           Top.                (line  945)
+* machin <11>:                           Top.                (line  946)
+* machin <12>:                           Top.                (line 1350)
+* machin <13>:                           Top.                (line 1352)
+* machin <14>:                           Top.                (line 1598)
+* machin <15>:                           Top.                (line 1599)
+* machin <16>:                           Top.                (line 1600)
+* machin <17>:                           Top.                (line 1601)
+* t--ruc:                                Top.                (line 1645)
+* T--ruc:                                Top.                (line 1645)
+* truc:                                  Top.                (line  221)
+* truc <1>:                              Top.                (line  247)
+* truc <2>:                              Top.                (line  711)
+* truc <3>:                              Top.                (line  737)
+* truc <4>:                              Top.                (line 1340)
+* truc <5>:                              Top.                (line 1366)
 
    vr
 
 * Menu:
 
-* a:                                     Top.                (line  335)
-* a <1>:                                 Top.                (line  790)
-* a <2>:                                 Top.                (line 1384)
-* b:                                     Top.                (line  336)
-* b <1>:                                 Top.                (line  791)
-* b <2>:                                 Top.                (line 1385)
-* d--efcv_name:                          Top.                (line  227)
-* d--efcv_name <1>:                      Top.                (line  682)
-* d--efcv_name <2>:                      Top.                (line 1276)
-* d--efivar_name of c--lass:             Top.                (line  257)
-* d--efivar_name of c--lass <1>:         Top.                (line  712)
-* d--efivar_name of c--lass <2>:         Top.                (line 1306)
-* d--efopt_name:                         Top.                (line  248)
-* d--efopt_name <1>:                     Top.                (line  703)
-* d--efopt_name <2>:                     Top.                (line 1297)
-* d--eftypeivar_name of c--lass:         Top.                (line  260)
-* d--eftypeivar_name of c--lass <1>:     Top.                (line  715)
-* d--eftypeivar_name of c--lass <2>:     Top.                (line 1309)
-* d--eftypevar_name:                     Top.                (line  254)
-* d--eftypevar_name <1>:                 Top.                (line  709)
-* d--eftypevar_name <2>:                 Top.                (line 1303)
-* d--eftypevr_name:                      Top.                (line  224)
-* d--eftypevr_name <1>:                  Top.                (line  679)
-* d--eftypevr_name <2>:                  Top.                (line 1273)
-* d--efvar_name:                         Top.                (line  245)
-* d--efvar_name <1>:                     Top.                (line  700)
-* d--efvar_name <2>:                     Top.                (line 1294)
-* d--efvr_name:                          Top.                (line  215)
-* d--efvr_name <1>:                      Top.                (line  670)
-* d--efvr_name <2>:                      Top.                (line 1264)
+* a:                                     Top.                (line  370)
+* a <1>:                                 Top.                (line  860)
+* a <2>:                                 Top.                (line 1489)
+* b:                                     Top.                (line  371)
+* b <1>:                                 Top.                (line  861)
+* b <2>:                                 Top.                (line 1490)
+* d--efcv_name:                          Top.                (line  262)
+* d--efcv_name <1>:                      Top.                (line  752)
+* d--efcv_name <2>:                      Top.                (line 1381)
+* d--efivar_name of c--lass:             Top.                (line  292)
+* d--efivar_name of c--lass <1>:         Top.                (line  782)
+* d--efivar_name of c--lass <2>:         Top.                (line 1411)
+* d--efopt_name:                         Top.                (line  283)
+* d--efopt_name <1>:                     Top.                (line  773)
+* d--efopt_name <2>:                     Top.                (line 1402)
+* d--eftypeivar_name of c--lass:         Top.                (line  295)
+* d--eftypeivar_name of c--lass <1>:     Top.                (line  785)
+* d--eftypeivar_name of c--lass <2>:     Top.                (line 1414)
+* d--eftypevar_name:                     Top.                (line  289)
+* d--eftypevar_name <1>:                 Top.                (line  779)
+* d--eftypevar_name <2>:                 Top.                (line 1408)
+* d--eftypevr_name:                      Top.                (line  259)
+* d--eftypevr_name <1>:                  Top.                (line  749)
+* d--eftypevr_name <2>:                  Top.                (line 1378)
+* d--efvar_name:                         Top.                (line  280)
+* d--efvar_name <1>:                     Top.                (line  770)
+* d--efvar_name <2>:                     Top.                (line 1399)
+* d--efvr_name:                          Top.                (line  250)
+* d--efvr_name <1>:                      Top.                (line  740)
+* d--efvr_name <2>:                      Top.                (line 1369)
 
    ky
 
@@ -1736,9 +1841,9 @@ aaa
 
 * Menu:
 
-* d--eftp_name:                          Top.                (line  233)
-* d--eftp_name <1>:                      Top.                (line  688)
-* d--eftp_name <2>:                      Top.                (line 1282)
+* d--eftp_name:                          Top.                (line  268)
+* d--eftp_name <1>:                      Top.                (line  758)
+* d--eftp_name <2>:                      Top.                (line 1387)
 
    ---------- Footnotes ----------
 
@@ -1782,153 +1887,153 @@ chapter 2
 * Menu:
 
 * ":                                     Top.                (line   16)
-* " <1>:                                 Top.                (line  471)
-* " <2>:                                 Top.                (line  937)
+* " <1>:                                 Top.                (line  506)
+* " <2>:                                 Top.                (line 1007)
 * -option:                               Top.                (line   16)
-* -option <1>:                           Top.                (line  471)
-* -option <2>:                           Top.                (line  937)
-* .:                                     Top.                (line 1540)
-* ?:                                     Top.                (line 1540)
-* a:                                     Top.                (line 1540)
-* index entry between item and itemx:    Top.                (line  340)
-* index entry between item and itemx <1>: Top.               (line  795)
-* index entry between item and itemx <2>: Top.               (line 1389)
-* index entry within deffn:              Top.                (line  186)
-* index entry within deffn <1>:          Top.                (line  641)
-* index entry within deffn <2>:          Top.                (line 1235)
-* index entry within itemize:            Top.                (line  127)
-* index entry within itemize <1>:        Top.                (line  582)
-* index entry within itemize <2>:        Top.                (line 1176)
-* index entry within multitable:         Top.                (line  135)
-* index entry within multitable <1>:     Top.                (line  590)
-* index entry within multitable <2>:     Top.                (line 1185)
-* t-ruc:                                 Top.                (line 1540)
-* T-ruc:                                 Top.                (line 1540)
+* -option <1>:                           Top.                (line  506)
+* -option <2>:                           Top.                (line 1007)
+* .:                                     Top.                (line 1645)
+* ?:                                     Top.                (line 1645)
+* a:                                     Top.                (line 1645)
+* index entry between item and itemx:    Top.                (line  375)
+* index entry between item and itemx <1>: Top.               (line  865)
+* index entry between item and itemx <2>: Top.               (line 1494)
+* index entry within deffn:              Top.                (line  221)
+* index entry within deffn <1>:          Top.                (line  711)
+* index entry within deffn <2>:          Top.                (line 1340)
+* index entry within itemize:            Top.                (line  162)
+* index entry within itemize <1>:        Top.                (line  652)
+* index entry within itemize <2>:        Top.                (line 1281)
+* index entry within multitable:         Top.                (line  170)
+* index entry within multitable <1>:     Top.                (line  660)
+* index entry within multitable <2>:     Top.                (line 1290)
+* t-ruc:                                 Top.                (line 1645)
+* T-ruc:                                 Top.                (line 1645)
 
 * Menu:
 
 * --foption:                             Top.                (line   16)
-* --foption <1>:                         Top.                (line  471)
-* --foption <2>:                         Top.                (line  937)
-* .:                                     Top.                (line 1540)
-* ?:                                     Top.                (line 1540)
+* --foption <1>:                         Top.                (line  506)
+* --foption <2>:                         Top.                (line 1007)
+* .:                                     Top.                (line 1645)
+* ?:                                     Top.                (line 1645)
 * ``:                                    Top.                (line   16)
-* `` <1>:                                Top.                (line  471)
-* `` <2>:                                Top.                (line  937)
-* a:                                     Top.                (line  203)
-* a <1>:                                 Top.                (line  339)
-* a <2>:                                 Top.                (line  658)
-* a <3>:                                 Top.                (line  794)
-* a <4>:                                 Top.                (line 1252)
-* a <5>:                                 Top.                (line 1388)
-* a <6>:                                 Top.                (line 1540)
-* after:                                 Top.                (line  424)
-* after <1>:                             Top.                (line  879)
-* after <2>:                             Top.                (line 1499)
-* b:                                     Top.                (line  340)
-* b <1>:                                 Top.                (line  795)
-* b <2>:                                 Top.                (line 1389)
-* bidule machin:                         Top.                (line  197)
-* bidule machin <1>:                     Top.                (line  652)
-* bidule machin <2>:                     Top.                (line 1246)
-* d--effn_name:                          Top.                (line  178)
-* d--effn_name <1>:                      Top.                (line  633)
-* d--effn_name <2>:                      Top.                (line 1227)
-* d--efmac_name:                         Top.                (line  239)
-* d--efmac_name <1>:                     Top.                (line  694)
-* d--efmac_name <2>:                     Top.                (line 1288)
-* d--efmethod_name on c--lass:           Top.                (line  263)
-* d--efmethod_name on c--lass <1>:       Top.                (line  718)
-* d--efmethod_name on c--lass <2>:       Top.                (line 1312)
-* d--efop_name on c--lass:               Top.                (line  230)
-* d--efop_name on c--lass <1>:           Top.                (line  685)
-* d--efop_name on c--lass <2>:           Top.                (line 1279)
-* d--efspec_name:                        Top.                (line  242)
-* d--efspec_name <1>:                    Top.                (line  697)
-* d--efspec_name <2>:                    Top.                (line 1291)
-* d--eftypefn_name:                      Top.                (line  218)
-* d--eftypefn_name <1>:                  Top.                (line  673)
-* d--eftypefn_name <2>:                  Top.                (line 1267)
-* d--eftypefun_name:                     Top.                (line  251)
-* d--eftypefun_name <1>:                 Top.                (line  706)
-* d--eftypefun_name <2>:                 Top.                (line 1300)
-* d--eftypemethod_name on c--lass:       Top.                (line  266)
-* d--eftypemethod_name on c--lass <1>:   Top.                (line  721)
-* d--eftypemethod_name on c--lass <2>:   Top.                (line 1315)
-* d--eftypeop_name on c--lass:           Top.                (line  221)
-* d--eftypeop_name on c--lass <1>:       Top.                (line  676)
-* d--eftypeop_name on c--lass <2>:       Top.                (line 1270)
-* d--efun_name:                          Top.                (line  236)
-* d--efun_name <1>:                      Top.                (line  691)
-* d--efun_name <2>:                      Top.                (line 1285)
-* de--ffn_name:                          Top.                (line  181)
-* de--ffn_name <1>:                      Top.                (line  636)
-* de--ffn_name <2>:                      Top.                (line 1230)
-* deffn:                                 Top.                (line  206)
-* deffn <1>:                             Top.                (line  208)
-* deffn <2>:                             Top.                (line  661)
-* deffn <3>:                             Top.                (line  663)
-* deffn <4>:                             Top.                (line 1255)
-* deffn <5>:                             Top.                (line 1257)
-* deffnx:                                Top.                (line  204)
-* deffnx <1>:                            Top.                (line  209)
-* deffnx <2>:                            Top.                (line  659)
-* deffnx <3>:                            Top.                (line  664)
-* deffnx <4>:                            Top.                (line 1253)
-* deffnx <5>:                            Top.                (line 1258)
-* followed:                              Top.                (line  200)
-* followed <1>:                          Top.                (line  422)
-* followed <2>:                          Top.                (line  655)
-* followed <3>:                          Top.                (line  877)
-* followed <4>:                          Top.                (line 1249)
-* followed <5>:                          Top.                (line 1497)
-* I:                                     Top.                (line  185)
-* I <1>:                                 Top.                (line  211)
-* I <2>:                                 Top.                (line  640)
-* I <3>:                                 Top.                (line  666)
-* I <4>:                                 Top.                (line 1234)
-* I <5>:                                 Top.                (line 1260)
-* id i ule:                              Top.                (line  191)
-* id i ule <1>:                          Top.                (line  646)
-* id i ule <2>:                          Top.                (line 1240)
-* id ule:                                Top.                (line  190)
-* id ule <1>:                            Top.                (line  645)
-* id ule <2>:                            Top.                (line 1239)
-* log trap:                              Top.                (line  187)
-* log trap <1>:                          Top.                (line  642)
-* log trap <2>:                          Top.                (line 1236)
-* log trap1:                             Top.                (line  188)
-* log trap1 <1>:                         Top.                (line  643)
-* log trap1 <2>:                         Top.                (line 1237)
-* log trap2:                             Top.                (line  189)
-* log trap2 <1>:                         Top.                (line  644)
-* log trap2 <2>:                         Top.                (line 1238)
-* machin:                                Top.                (line  196)
-* machin <1>:                            Top.                (line  198)
-* machin <2>:                            Top.                (line  418)
-* machin <3>:                            Top.                (line  419)
-* machin <4>:                            Top.                (line  420)
-* machin <5>:                            Top.                (line  421)
-* machin <6>:                            Top.                (line  651)
-* machin <7>:                            Top.                (line  653)
-* machin <8>:                            Top.                (line  873)
-* machin <9>:                            Top.                (line  874)
-* machin <10>:                           Top.                (line  875)
-* machin <11>:                           Top.                (line  876)
-* machin <12>:                           Top.                (line 1245)
-* machin <13>:                           Top.                (line 1247)
-* machin <14>:                           Top.                (line 1493)
-* machin <15>:                           Top.                (line 1494)
-* machin <16>:                           Top.                (line 1495)
-* machin <17>:                           Top.                (line 1496)
-* t--ruc:                                Top.                (line 1540)
-* T--ruc:                                Top.                (line 1540)
-* truc:                                  Top.                (line  186)
-* truc <1>:                              Top.                (line  212)
-* truc <2>:                              Top.                (line  641)
-* truc <3>:                              Top.                (line  667)
-* truc <4>:                              Top.                (line 1235)
-* truc <5>:                              Top.                (line 1261)
+* `` <1>:                                Top.                (line  506)
+* `` <2>:                                Top.                (line 1007)
+* a:                                     Top.                (line  238)
+* a <1>:                                 Top.                (line  374)
+* a <2>:                                 Top.                (line  728)
+* a <3>:                                 Top.                (line  864)
+* a <4>:                                 Top.                (line 1357)
+* a <5>:                                 Top.                (line 1493)
+* a <6>:                                 Top.                (line 1645)
+* after:                                 Top.                (line  459)
+* after <1>:                             Top.                (line  949)
+* after <2>:                             Top.                (line 1604)
+* b:                                     Top.                (line  375)
+* b <1>:                                 Top.                (line  865)
+* b <2>:                                 Top.                (line 1494)
+* bidule machin:                         Top.                (line  232)
+* bidule machin <1>:                     Top.                (line  722)
+* bidule machin <2>:                     Top.                (line 1351)
+* d--effn_name:                          Top.                (line  213)
+* d--effn_name <1>:                      Top.                (line  703)
+* d--effn_name <2>:                      Top.                (line 1332)
+* d--efmac_name:                         Top.                (line  274)
+* d--efmac_name <1>:                     Top.                (line  764)
+* d--efmac_name <2>:                     Top.                (line 1393)
+* d--efmethod_name on c--lass:           Top.                (line  298)
+* d--efmethod_name on c--lass <1>:       Top.                (line  788)
+* d--efmethod_name on c--lass <2>:       Top.                (line 1417)
+* d--efop_name on c--lass:               Top.                (line  265)
+* d--efop_name on c--lass <1>:           Top.                (line  755)
+* d--efop_name on c--lass <2>:           Top.                (line 1384)
+* d--efspec_name:                        Top.                (line  277)
+* d--efspec_name <1>:                    Top.                (line  767)
+* d--efspec_name <2>:                    Top.                (line 1396)
+* d--eftypefn_name:                      Top.                (line  253)
+* d--eftypefn_name <1>:                  Top.                (line  743)
+* d--eftypefn_name <2>:                  Top.                (line 1372)
+* d--eftypefun_name:                     Top.                (line  286)
+* d--eftypefun_name <1>:                 Top.                (line  776)
+* d--eftypefun_name <2>:                 Top.                (line 1405)
+* d--eftypemethod_name on c--lass:       Top.                (line  301)
+* d--eftypemethod_name on c--lass <1>:   Top.                (line  791)
+* d--eftypemethod_name on c--lass <2>:   Top.                (line 1420)
+* d--eftypeop_name on c--lass:           Top.                (line  256)
+* d--eftypeop_name on c--lass <1>:       Top.                (line  746)
+* d--eftypeop_name on c--lass <2>:       Top.                (line 1375)
+* d--efun_name:                          Top.                (line  271)
+* d--efun_name <1>:                      Top.                (line  761)
+* d--efun_name <2>:                      Top.                (line 1390)
+* de--ffn_name:                          Top.                (line  216)
+* de--ffn_name <1>:                      Top.                (line  706)
+* de--ffn_name <2>:                      Top.                (line 1335)
+* deffn:                                 Top.                (line  241)
+* deffn <1>:                             Top.                (line  243)
+* deffn <2>:                             Top.                (line  731)
+* deffn <3>:                             Top.                (line  733)
+* deffn <4>:                             Top.                (line 1360)
+* deffn <5>:                             Top.                (line 1362)
+* deffnx:                                Top.                (line  239)
+* deffnx <1>:                            Top.                (line  244)
+* deffnx <2>:                            Top.                (line  729)
+* deffnx <3>:                            Top.                (line  734)
+* deffnx <4>:                            Top.                (line 1358)
+* deffnx <5>:                            Top.                (line 1363)
+* followed:                              Top.                (line  235)
+* followed <1>:                          Top.                (line  457)
+* followed <2>:                          Top.                (line  725)
+* followed <3>:                          Top.                (line  947)
+* followed <4>:                          Top.                (line 1354)
+* followed <5>:                          Top.                (line 1602)
+* I:                                     Top.                (line  220)
+* I <1>:                                 Top.                (line  246)
+* I <2>:                                 Top.                (line  710)
+* I <3>:                                 Top.                (line  736)
+* I <4>:                                 Top.                (line 1339)
+* I <5>:                                 Top.                (line 1365)
+* id i ule:                              Top.                (line  226)
+* id i ule <1>:                          Top.                (line  716)
+* id i ule <2>:                          Top.                (line 1345)
+* id ule:                                Top.                (line  225)
+* id ule <1>:                            Top.                (line  715)
+* id ule <2>:                            Top.                (line 1344)
+* log trap:                              Top.                (line  222)
+* log trap <1>:                          Top.                (line  712)
+* log trap <2>:                          Top.                (line 1341)
+* log trap1:                             Top.                (line  223)
+* log trap1 <1>:                         Top.                (line  713)
+* log trap1 <2>:                         Top.                (line 1342)
+* log trap2:                             Top.                (line  224)
+* log trap2 <1>:                         Top.                (line  714)
+* log trap2 <2>:                         Top.                (line 1343)
+* machin:                                Top.                (line  231)
+* machin <1>:                            Top.                (line  233)
+* machin <2>:                            Top.                (line  453)
+* machin <3>:                            Top.                (line  454)
+* machin <4>:                            Top.                (line  455)
+* machin <5>:                            Top.                (line  456)
+* machin <6>:                            Top.                (line  721)
+* machin <7>:                            Top.                (line  723)
+* machin <8>:                            Top.                (line  943)
+* machin <9>:                            Top.                (line  944)
+* machin <10>:                           Top.                (line  945)
+* machin <11>:                           Top.                (line  946)
+* machin <12>:                           Top.                (line 1350)
+* machin <13>:                           Top.                (line 1352)
+* machin <14>:                           Top.                (line 1598)
+* machin <15>:                           Top.                (line 1599)
+* machin <16>:                           Top.                (line 1600)
+* machin <17>:                           Top.                (line 1601)
+* t--ruc:                                Top.                (line 1645)
+* T--ruc:                                Top.                (line 1645)
+* truc:                                  Top.                (line  221)
+* truc <1>:                              Top.                (line  247)
+* truc <2>:                              Top.                (line  711)
+* truc <3>:                              Top.                (line  737)
+* truc <4>:                              Top.                (line 1340)
+* truc <5>:                              Top.                (line 1366)
 
 Top section
 1 chapter
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 32a17cc..5cfc75d 100644
--- a/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
+++ b/tp/tests/layout/res_parser/formatting_regions/formatting_regions.html
@@ -192,6 +192,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -211,6 +212,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -848,6 +883,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="#FOOT3"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="#FOOT4"><sup>2</sup></a>
 </p>
@@ -867,6 +903,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1605,6 +1683,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>4</sup></a>
 </p>
@@ -1624,6 +1703,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2396,6 +2517,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>5</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>6</sup></a>
 </p>
@@ -2415,6 +2537,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3159,6 +3323,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(7)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(8)</a>
 
@@ -3178,6 +3343,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
@@ -4006,6 +4221,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -4025,6 +4241,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
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 88d31a8..68ffab7 100644
--- a/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_weird_quotes/formatting.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -848,6 +883,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF3" 
href="#FOOT3"><sup>7</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF4" 
href="#FOOT4"><sup>8</sup></a>
 </p>
@@ -867,6 +903,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1606,6 +1684,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1_9" 
href="#FOOT1_9"><sup>9</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2_10" 
href="#FOOT2_10"><sup>10</sup></a>
 </p>
@@ -1625,6 +1704,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -2389,6 +2510,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="#FOOT2"><sup>2</sup></a>
 </p>
@@ -2408,6 +2530,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3146,6 +3310,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="#FOOT6"><sup>4</sup></a>
 </p>
@@ -3165,6 +3330,48 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div>
+<div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; &#333; 
&igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div>
+<div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div>
+<div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div>
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -3910,6 +4117,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" href="#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" href="#FOOT8">(6)</a>
 
@@ -3929,6 +4137,56 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><div 
class="displaymath"><em><strong>``simple-double--three---four----''</strong> 
aa<!-- /@w -->
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&uuml; &Uuml; &ntilde; &acirc; &eacute; 
&#333; &igrave; &eacute; i j &#274;`
+&#322; &#262;, &#262;, &ccedil; a'' &#551; &aring; a[
+&#259; a_ &#7841; &#462; &#261; a<sup>h</sup><sub>l</sub>
+
+ &nbsp;&nbsp; &nbsp;   ! ? . @ } { 
+a sunny day
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&rarr;
+&#x0075;
+TeX LaTeX &bull; &copy; &hellip; ... &equiv;
+error&rarr; &rarr; - &lowast; -| &rArr;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&#322; &#321; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&reg; &ordf; &ordm; , 
+</em></div><pre class="example">
+
+</pre><div class="displaymath"><em>&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &laquo; &raquo; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</em></div><pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
diff --git a/tp/tests/layout/res_parser/formatting_xml/formatting.xml 
b/tp/tests/layout/res_parser/formatting_xml/formatting.xml
index cad61b3..450ef88 100644
--- a/tp/tests/layout/res_parser/formatting_xml/formatting.xml
+++ b/tp/tests/layout/res_parser/formatting_xml/formatting.xml
@@ -208,6 +208,7 @@ but , ,@:
 @code{@@,@{--c@}} @,{--c}
 @code{@@ogonek@{a@}} @ogonek{a}
 @code{@@ogonek@{--a@}} @ogonek{--a}
+@code{a@@sup@{h@}@@sub@{l@}} a@sup{h}@sub{l}
 @code{@@footnote@{in footnote@}} @footnote{in footnote}
 @code{@@footnote@{in footnote2@}} @footnote{in footnote2}
 
@@ -228,6 +229,60 @@ After clickstyle @result{}
 @code{@@clicksequence@{click @@click@{@} A@}} @clicksequence{click @click{} A}
 @clickstyle @arrow
 
+@c test most commands that could happen in math mode
+@displaymath
+@strong{``simple-double--three---four----''} @w{aa}
+@end displaymath
+
+@displaymath
+@&quot;u @&quot;{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} @dotless{j} @`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @| @: @! @? @. @@ @} @{ @/
+@today{}
+@end displaymath
+
+@displaymath
+@click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{} 
+@end displaymath
+
+@displaymath
+@quotedblleft{} @quotedblright{} 
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+@end displaymath
+
+@kbd{default kbdinputstyle}
+@example
+@kbd{in example default kbdinputstyle}
+@end example
+
+@kbdinputstyle code
+@kbd{code kbdinputstyle}
+@example
+@kbd{in example code kbdinputstyle}
+@end example
+
+@kbdinputstyle example
+@kbd{example kbdinputstyle}
+@example
+@kbd{in example example kbdinputstyle}
+@end example
+
+@kbdinputstyle distinct
+@kbd{distinct kbdinputstyle}
+@example
+@kbd{in example distinct kbdinputstyle}
+@end example
+
 @quotation 
 A quot---ation
 @end quotation
@@ -984,6 +1039,7 @@ but , ,&noeos;
 <code>&arobase;,&lbrace;--c&rbrace;</code> <accent 
type="cedil">&textndash;c</accent>
 <code>&arobase;ogonek&lbrace;a&rbrace;</code> <accent type="ogon">a</accent>
 <code>&arobase;ogonek&lbrace;--a&rbrace;</code> <accent 
type="ogon">&textndash;a</accent>
+<code>a&arobase;sup&lbrace;h&rbrace;&arobase;sub&lbrace;l&rbrace;</code> 
a<sup>h</sup><sub>l</sub>
 <code>&arobase;footnote&lbrace;in footnote&rbrace;</code> <footnote><para>in 
footnote</para></footnote>
 <code>&arobase;footnote&lbrace;in footnote2&rbrace;</code> <footnote><para>in 
footnote2</para></footnote>
 </para>
@@ -1004,6 +1060,59 @@ After clickstyle &result;
 <code>&arobase;clicksequence&lbrace;click &arobase;click&lbrace;&rbrace; 
A&rbrace;</code> <clicksequence>click <click command="result"/> 
A</clicksequence>
 <clickstyle command="arrow" line=" @arrow">@arrow</clickstyle>
 </para>
+<!-- c test most commands that could happen in math mode -->
+<displaymath endspaces=" ">
+<strong>``simple-double--three---four----''</strong> <w>aa</w>
+</displaymath>
+
+<displaymath endspaces=" ">
+<accent type="uml" bracketed="off">u</accent> <accent type="uml">U</accent> 
<accent type="tilde" bracketed="off">n</accent> <accent type="circ" 
bracketed="off">a</accent> <accent type="acute" bracketed="off">e</accent> 
<accent type="macr" bracketed="off">o</accent> <accent type="grave" 
bracketed="off">i</accent> <accent type="acute">e</accent> <dotless>i</dotless> 
<dotless>j</dotless> <accent type="grave"><accent type="macr" 
bracketed="off">E</accent></accent>
+&lslash; <accent type="cedil"><accent type="acute" 
bracketed="off">C</accent></accent> <accent type="cedil"><accent type="acute" 
bracketed="off">C</accent></accent> <accent type="cedil" 
bracketed="off">c</accent> <accent type="doubleacute">a</accent> <accent 
type="dotaccent">a</accent> <accent type="ring">a</accent> <accent 
type="tieaccent">a</accent>
+<accent type="breve">a</accent> <accent type="ubaraccent">a</accent> <accent 
type="udotaccent">a</accent> <accent type="caron">a</accent> <accent 
type="ogon">a</accent> a<sup>h</sup><sub>l</sub>
+&linebreak; <spacecmd type="spc"/><spacecmd type="spc"/> <spacecmd 
type="nl"/>&hyphenbreak;  &noeos; &eosexcl; &eosquest; &eosperiod; &arobase; 
&rbrace; &lbrace; &slashbreak;
+<today/>
+</displaymath>
+
+<displaymath endspaces=" ">
+<click command="arrow"/>
+<U>0075</U>
+&tex; &latex; &bullet; &copyright; &dots; &enddots; &equiv;
+&errorglyph; &expansion; &minus; &point; &printglyph; &result;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&lslash; &Lslash; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&registered; &ordf; &ordm; &comma; 
+</displaymath>
+
+<displaymath endspaces=" ">
+&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &guillemotleft; &guillemotright; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</displaymath>
+
+<para><kbd>default kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example default kbdinputstyle</kbd>
+</pre></example>
+
+<kbdinputstyle value="code" line="code"></kbdinputstyle>
+<para><kbd>code kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example code kbdinputstyle</kbd>
+</pre></example>
+
+<kbdinputstyle value="example" line="example"></kbdinputstyle>
+<para><kbd>example kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example example kbdinputstyle</kbd>
+</pre></example>
+
+<kbdinputstyle value="distinct" line="distinct"></kbdinputstyle>
+<para><kbd>distinct kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></example>
+
 <quotation endspaces=" "> 
 <para>A quot&textmdash;ation
 </para></quotation>
@@ -1750,6 +1859,7 @@ but , ,&noeos;
 <code>&arobase;,&lbrace;--c&rbrace;</code> <accent 
type="cedil">&textndash;c</accent>
 <code>&arobase;ogonek&lbrace;a&rbrace;</code> <accent type="ogon">a</accent>
 <code>&arobase;ogonek&lbrace;--a&rbrace;</code> <accent 
type="ogon">&textndash;a</accent>
+<code>a&arobase;sup&lbrace;h&rbrace;&arobase;sub&lbrace;l&rbrace;</code> 
a<sup>h</sup><sub>l</sub>
 <code>&arobase;footnote&lbrace;in footnote&rbrace;</code> <footnote><para>in 
footnote</para></footnote>
 <code>&arobase;footnote&lbrace;in footnote2&rbrace;</code> <footnote><para>in 
footnote2</para></footnote>
 </para>
@@ -1770,6 +1880,59 @@ After clickstyle &result;
 <code>&arobase;clicksequence&lbrace;click &arobase;click&lbrace;&rbrace; 
A&rbrace;</code> <clicksequence>click <click command="result"/> 
A</clicksequence>
 <clickstyle command="arrow" line=" @arrow">@arrow</clickstyle>
 </para>
+<!-- c test most commands that could happen in math mode -->
+<displaymath endspaces=" ">
+<strong>``simple-double--three---four----''</strong> <w>aa</w>
+</displaymath>
+
+<displaymath endspaces=" ">
+<accent type="uml" bracketed="off">u</accent> <accent type="uml">U</accent> 
<accent type="tilde" bracketed="off">n</accent> <accent type="circ" 
bracketed="off">a</accent> <accent type="acute" bracketed="off">e</accent> 
<accent type="macr" bracketed="off">o</accent> <accent type="grave" 
bracketed="off">i</accent> <accent type="acute">e</accent> <dotless>i</dotless> 
<dotless>j</dotless> <accent type="grave"><accent type="macr" 
bracketed="off">E</accent></accent>
+&lslash; <accent type="cedil"><accent type="acute" 
bracketed="off">C</accent></accent> <accent type="cedil"><accent type="acute" 
bracketed="off">C</accent></accent> <accent type="cedil" 
bracketed="off">c</accent> <accent type="doubleacute">a</accent> <accent 
type="dotaccent">a</accent> <accent type="ring">a</accent> <accent 
type="tieaccent">a</accent>
+<accent type="breve">a</accent> <accent type="ubaraccent">a</accent> <accent 
type="udotaccent">a</accent> <accent type="caron">a</accent> <accent 
type="ogon">a</accent> a<sup>h</sup><sub>l</sub>
+&linebreak; <spacecmd type="spc"/><spacecmd type="spc"/> <spacecmd 
type="nl"/>&hyphenbreak;  &noeos; &eosexcl; &eosquest; &eosperiod; &arobase; 
&rbrace; &lbrace; &slashbreak;
+<today/>
+</displaymath>
+
+<displaymath endspaces=" ">
+<click command="arrow"/>
+<U>0075</U>
+&tex; &latex; &bullet; &copyright; &dots; &enddots; &equiv;
+&errorglyph; &expansion; &minus; &point; &printglyph; &result;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&lslash; &Lslash; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&registered; &ordf; &ordm; &comma; 
+</displaymath>
+
+<displaymath endspaces=" ">
+&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &guillemotleft; &guillemotright; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</displaymath>
+
+<para><kbd>default kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example default kbdinputstyle</kbd>
+</pre></example>
+
+<kbdinputstyle value="code" line="code"></kbdinputstyle>
+<para><kbd>code kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example code kbdinputstyle</kbd>
+</pre></example>
+
+<kbdinputstyle value="example" line="example"></kbdinputstyle>
+<para><kbd>example kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example example kbdinputstyle</kbd>
+</pre></example>
+
+<kbdinputstyle value="distinct" line="distinct"></kbdinputstyle>
+<para><kbd>distinct kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></example>
+
 <quotation endspaces=" "> 
 <para>A quot&textmdash;ation
 </para></quotation>
@@ -2516,6 +2679,7 @@ but , ,&noeos;
 <code>&arobase;,&lbrace;--c&rbrace;</code> <accent 
type="cedil">&textndash;c</accent>
 <code>&arobase;ogonek&lbrace;a&rbrace;</code> <accent type="ogon">a</accent>
 <code>&arobase;ogonek&lbrace;--a&rbrace;</code> <accent 
type="ogon">&textndash;a</accent>
+<code>a&arobase;sup&lbrace;h&rbrace;&arobase;sub&lbrace;l&rbrace;</code> 
a<sup>h</sup><sub>l</sub>
 <code>&arobase;footnote&lbrace;in footnote&rbrace;</code> <footnote><para>in 
footnote</para></footnote>
 <code>&arobase;footnote&lbrace;in footnote2&rbrace;</code> <footnote><para>in 
footnote2</para></footnote>
 </para>
@@ -2536,6 +2700,59 @@ After clickstyle &result;
 <code>&arobase;clicksequence&lbrace;click &arobase;click&lbrace;&rbrace; 
A&rbrace;</code> <clicksequence>click <click command="result"/> 
A</clicksequence>
 <clickstyle command="arrow" line=" @arrow">@arrow</clickstyle>
 </para>
+<!-- c test most commands that could happen in math mode -->
+<displaymath endspaces=" ">
+<strong>``simple-double--three---four----''</strong> <w>aa</w>
+</displaymath>
+
+<displaymath endspaces=" ">
+<accent type="uml" bracketed="off">u</accent> <accent type="uml">U</accent> 
<accent type="tilde" bracketed="off">n</accent> <accent type="circ" 
bracketed="off">a</accent> <accent type="acute" bracketed="off">e</accent> 
<accent type="macr" bracketed="off">o</accent> <accent type="grave" 
bracketed="off">i</accent> <accent type="acute">e</accent> <dotless>i</dotless> 
<dotless>j</dotless> <accent type="grave"><accent type="macr" 
bracketed="off">E</accent></accent>
+&lslash; <accent type="cedil"><accent type="acute" 
bracketed="off">C</accent></accent> <accent type="cedil"><accent type="acute" 
bracketed="off">C</accent></accent> <accent type="cedil" 
bracketed="off">c</accent> <accent type="doubleacute">a</accent> <accent 
type="dotaccent">a</accent> <accent type="ring">a</accent> <accent 
type="tieaccent">a</accent>
+<accent type="breve">a</accent> <accent type="ubaraccent">a</accent> <accent 
type="udotaccent">a</accent> <accent type="caron">a</accent> <accent 
type="ogon">a</accent> a<sup>h</sup><sub>l</sub>
+&linebreak; <spacecmd type="spc"/><spacecmd type="spc"/> <spacecmd 
type="nl"/>&hyphenbreak;  &noeos; &eosexcl; &eosquest; &eosperiod; &arobase; 
&rbrace; &lbrace; &slashbreak;
+<today/>
+</displaymath>
+
+<displaymath endspaces=" ">
+<click command="arrow"/>
+<U>0075</U>
+&tex; &latex; &bullet; &copyright; &dots; &enddots; &equiv;
+&errorglyph; &expansion; &minus; &point; &printglyph; &result;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&lslash; &Lslash; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&registered; &ordf; &ordm; &comma; 
+</displaymath>
+
+<displaymath endspaces=" ">
+&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &guillemotleft; &guillemotright; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</displaymath>
+
+<para><kbd>default kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example default kbdinputstyle</kbd>
+</pre></example>
+
+<kbdinputstyle value="code" line="code"></kbdinputstyle>
+<para><kbd>code kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example code kbdinputstyle</kbd>
+</pre></example>
+
+<kbdinputstyle value="example" line="example"></kbdinputstyle>
+<para><kbd>example kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example example kbdinputstyle</kbd>
+</pre></example>
+
+<kbdinputstyle value="distinct" line="distinct"></kbdinputstyle>
+<para><kbd>distinct kbdinputstyle</kbd>
+</para><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></example>
+
 <quotation endspaces=" "> 
 <para>A quot&textmdash;ation
 </para></quotation>
@@ -3276,6 +3493,7 @@ but , ,&noeos;
 <code>&arobase;,&lbrace;--c&rbrace;</code> <accent type="cedil">--c</accent>
 <code>&arobase;ogonek&lbrace;a&rbrace;</code> <accent type="ogon">a</accent>
 <code>&arobase;ogonek&lbrace;--a&rbrace;</code> <accent 
type="ogon">--a</accent>
+<code>a&arobase;sup&lbrace;h&rbrace;&arobase;sub&lbrace;l&rbrace;</code> 
a<sup>h</sup><sub>l</sub>
 <code>&arobase;footnote&lbrace;in footnote&rbrace;</code> <footnote><para>in 
footnote</para></footnote>
 <code>&arobase;footnote&lbrace;in footnote2&rbrace;</code> <footnote><para>in 
footnote2</para></footnote>
 
@@ -3296,6 +3514,59 @@ After clickstyle &result;
 <code>&arobase;clicksequence&lbrace;click &arobase;click&lbrace;&rbrace; 
A&rbrace;</code> <clicksequence>click <click command="result"/> 
A</clicksequence>
 <clickstyle command="arrow" line=" @arrow">@arrow</clickstyle>
 
+<!-- c test most commands that could happen in math mode -->
+</pre><displaymath endspaces=" ">
+<strong>``simple-double--three---four----''</strong> <w>aa</w>
+</displaymath>
+<pre xml:space="preserve">
+</pre><displaymath endspaces=" ">
+<accent type="uml" bracketed="off">u</accent> <accent type="uml">U</accent> 
<accent type="tilde" bracketed="off">n</accent> <accent type="circ" 
bracketed="off">a</accent> <accent type="acute" bracketed="off">e</accent> 
<accent type="macr" bracketed="off">o</accent> <accent type="grave" 
bracketed="off">i</accent> <accent type="acute">e</accent> <dotless>i</dotless> 
<dotless>j</dotless> <accent type="grave"><accent type="macr" 
bracketed="off">E</accent></accent>
+&lslash; <accent type="cedil"><accent type="acute" 
bracketed="off">C</accent></accent> <accent type="cedil"><accent type="acute" 
bracketed="off">C</accent></accent> <accent type="cedil" 
bracketed="off">c</accent> <accent type="doubleacute">a</accent> <accent 
type="dotaccent">a</accent> <accent type="ring">a</accent> <accent 
type="tieaccent">a</accent>
+<accent type="breve">a</accent> <accent type="ubaraccent">a</accent> <accent 
type="udotaccent">a</accent> <accent type="caron">a</accent> <accent 
type="ogon">a</accent> a<sup>h</sup><sub>l</sub>
+&linebreak; <spacecmd type="spc"/><spacecmd type="spc"/> <spacecmd 
type="nl"/>&hyphenbreak;  &noeos; &eosexcl; &eosquest; &eosperiod; &arobase; 
&rbrace; &lbrace; &slashbreak;
+<today/>
+</displaymath>
+<pre xml:space="preserve">
+</pre><displaymath endspaces=" ">
+<click command="arrow"/>
+<U>0075</U>
+&tex; &latex; &bullet; &copyright; &dots; &enddots; &equiv;
+&errorglyph; &expansion; &minus; &point; &printglyph; &result;
+&aring; &Aring; &aelig; &oelig; &AElig; &OElig; &oslash; &Oslash; &szlig; 
&lslash; &Lslash; &ETH;
+&THORN; &eth; &thorn; &iexcl; &iquest; &pound;
+&registered; &ordf; &ordm; &comma; 
+</displaymath>
+<pre xml:space="preserve">
+</pre><displaymath endspaces=" ">
+&ldquo; &rdquo; 
+&lsquo; &rsquo; &bdquo; &sbquo; &laquo;
+&raquo; &guillemotleft; &guillemotright; &lsaquo;
+&rsaquo; &deg; &euro; &rarr; &le; &ge;
+</displaymath>
+<pre xml:space="preserve">
+<kbd>default kbdinputstyle</kbd>
+</pre><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example default kbdinputstyle</kbd>
+</pre></example>
+<pre xml:space="preserve">
+<kbdinputstyle value="code" line="code"></kbdinputstyle>
+<kbd>code kbdinputstyle</kbd>
+</pre><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example code kbdinputstyle</kbd>
+</pre></example>
+<pre xml:space="preserve">
+<kbdinputstyle value="example" line="example"></kbdinputstyle>
+<kbd>example kbdinputstyle</kbd>
+</pre><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example example kbdinputstyle</kbd>
+</pre></example>
+<pre xml:space="preserve">
+<kbdinputstyle value="distinct" line="distinct"></kbdinputstyle>
+<kbd>distinct kbdinputstyle</kbd>
+</pre><example endspaces=" ">
+<pre xml:space="preserve"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></example>
+<pre xml:space="preserve">
 </pre><quotation endspaces=" "> 
 <pre xml:space="preserve">A quot---ation
 </pre></quotation>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/anchor.html 
b/tp/tests/tex_html/res_parser/formatting_singular/anchor.html
index 22062be..750b686 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/anchor.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/anchor.html
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html 
b/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
index 22f2f40..0fd5e92 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html 
b/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
index 5607d8c..6ab4bc9 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/index.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/index.htm
index 0ced216..b421b80 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/index.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/index.htm
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
@@ -893,6 +928,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF1" 
href="sing_fot.htm#FOOT1"><sup>1</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF2" 
href="sing_fot.htm#FOOT2"><sup>2</sup></a>
 </p>
@@ -912,6 +948,103 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@strong{``simple-double- -three- - -four- - - -''} @w{aa}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
+ ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
+$">
+</DIV>
+
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@"u @"{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} @dotless{j} @`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @| @: @! @? @. @@ @{ @} @/
+@today{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_5.svg"
+ ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
+...@ogonek{a} a@sup{h}@sub{l}
+@* @ @ @
+@- @\vert @: @! @? @. @@ @{ @} @/
+@today{}
+$">
+</DIV>
+
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
+ ALT="$\displaystyle @click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
+...down{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+$">
+</DIV>
+
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_7.svg"
+ ALT="$\displaystyle @quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quo...
+...guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+$">
+</DIV>
+
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1104,7 +1237,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_4.svg"
+ STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_8.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
@@ -1684,6 +1817,7 @@ but , ,
 <code>@,{--c}</code> &ndash;c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> &ndash;a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF5" 
href="sing_fot.htm#FOOT5"><sup>3</sup></a>
 <code>@footnote{in footnote2}</code> <a id="DOCF6" 
href="sing_fot.htm#FOOT6"><sup>4</sup></a>
 </p>
@@ -1703,6 +1837,103 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 </p>
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@strong{``simple-double- -three- - -four- - - -''} @w{aa}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
+ ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
+$">
+</DIV>
+
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@"u @"{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} @dotless{j} @`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @| @: @! @? @. @@ @{ @} @/
+@today{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_5.svg"
+ ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
+...@ogonek{a} a@sup{h}@sub{l}
+@* @ @ @
+@- @\vert @: @! @? @. @@ @{ @} @/
+@today{}
+$">
+</DIV>
+
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
+ ALT="$\displaystyle @click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
+...down{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+$">
+</DIV>
+
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_7.svg"
+ ALT="$\displaystyle @quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quo...
+...guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+$">
+</DIV>
+
+<p><kbd>default kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+
+<p><code>code kbdinputstyle</code>
+</p><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>example kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+
+<p><kbd>distinct kbdinputstyle</kbd>
+</p><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+
 <blockquote>
 <p>A quot&mdash;ation
 </p></blockquote>
@@ -1895,7 +2126,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_4.svg"
+ STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_8.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
@@ -2482,6 +2713,7 @@ but , ,
 <code>@,{--c}</code> --c,
 <code>@ogonek{a}</code> &#261;
 <code>@ogonek{--a}</code> --a;
+<code>a@sup{h}@sub{l}</code> a<sup>h</sup><sub>l</sub>
 <code>@footnote{in footnote}</code> <a id="DOCF7" 
href="sing_fot.htm#FOOT7">(5)</a>
 <code>@footnote{in footnote2}</code> <a id="DOCF8" 
href="sing_fot.htm#FOOT8">(6)</a>
 
@@ -2501,6 +2733,111 @@ but , ,
 After clickstyle &rArr;
 <code>@clicksequence{click @click{} A}</code> click &rArr; A
 
+</pre><DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@strong{``simple-double- -three- - -four- - - -''} @w{aa}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
+ ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
+$">
+</DIV>
+<pre class="example">
+
+</pre><DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@"u @"{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} @dotless{j} @`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @| @: @! @? @. @@ @{ @} @/
+@today{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_5.svg"
+ ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
+...@ogonek{a} a@sup{h}@sub{l}
+@* @ @ @
+@- @\vert @: @! @? @. @@ @{ @} @/
+@today{}
+$">
+</DIV>
+<pre class="example">
+
+</pre><DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
+ ALT="$\displaystyle @click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
+...down{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+$">
+</DIV>
+<pre class="example">
+
+</pre><DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_7.svg"
+ ALT="$\displaystyle @quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quo...
+...guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+$">
+</DIV>
+<pre class="example">
+
+<kbd>default kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example default kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
+<code>code kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example code kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<code>example kbdinputstyle</code>
+</pre><div class="example">
+<pre class="example"><code>in example example kbdinputstyle</code>
+</pre></div>
+<pre class="example">
+
+<kbd>distinct kbdinputstyle</kbd>
+</pre><div class="example">
+<pre class="example"><kbd>in example distinct kbdinputstyle</kbd>
+</pre></div>
+<pre class="example">
+
 </pre><blockquote>
 <pre class="example">A quot---ation
 </pre></blockquote>
@@ -2737,7 +3074,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_4.svg"
+ STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_8.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/index.html 
b/tp/tests/tex_html/res_parser/formatting_singular/index.html
index ac38b5f..9f177e1 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/index.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/index.html
@@ -194,6 +194,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -213,6 +214,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html 
b/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
index fa5f922..7dcc744 100644
--- 
a/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing-l2h_cache.pm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing-l2h_cache.pm
index 82b83a9..2a1fffe 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing-l2h_cache.pm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing-l2h_cache.pm
@@ -1,4 +1,107 @@
 
+$l2h_cache_key = q/$$@"u @"{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} 
@dotless{j} @`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @| @: @! @? @. @@ @} @{ @\/
+@today{}
+$$/;
+$l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@"u @"{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} @dotless{j} @`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @\| @: @! @? @. @@ @{ @} @/
+@today{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_5.svg"
+ ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
+...@ogonek{a} a@sup{h}@sub{l}
+@* @ @ @
+@- @\vert @: @! @? @. @@ @{ @} @/
+@today{}
+$">
+</DIV>
+|;
+
+$l2h_cache_key = q/$$@click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{} 
+$$/;
+$l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
+ ALT="$\displaystyle @click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
+...down{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+$">
+</DIV>
+|;
+
+$l2h_cache_key = q/$$@quotedblleft{} @quotedblright{} 
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+$$/;
+$l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_7.svg"
+ ALT="$\displaystyle @quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quo...
+...guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+$">
+</DIV>
+|;
+
+$l2h_cache_key = q/$$@strong{``simple-double--three---four----''} @w{aa}
+$$/;
+$l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@strong{``simple-double- -three- - -four- - - -''} @w{aa}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
+ ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
+$">
+</DIV>
+|;
+
 $l2h_cache_key = q/$$\partial_t \eta (t) = g(\eta(t),\varphi(t))$$ ''/;
 $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
 <!-- MATH
@@ -25,7 +128,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_4.svg"
+ STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_8.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
index 1e9eab0..fb31978 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
index 10d4643..3956a72 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.html 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.html
index f3ed5ac..4f1cb09 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.html
@@ -59,20 +59,113 @@
 <DIV CLASS="displaymath">
 <!-- MATH
  \begin{displaymath}
+@strong{``simple-double- -three- - -four- - - -''} @w{aa}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_l2h_img4.svg"
+ ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
+$">
+</DIV>
+
+
+<!-- l2h_end sing_l2h 4 -->
+
+<!-- l2h_begin sing_l2h 5 -->
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@"u @"{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} @dotless{j} @`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @| @: @! @? @. @@ @{ @} @/
+@today{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_l2h_img5.svg"
+ ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
+...@ogonek{a} a@sup{h}@sub{l}
+@* @ @ @
+@- @\vert @: @! @? @. @@ @{ @} @/
+@today{}
+$">
+</DIV>
+
+
+<!-- l2h_end sing_l2h 5 -->
+
+<!-- l2h_begin sing_l2h 6 -->
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_l2h_img6.svg"
+ ALT="$\displaystyle @click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
+...down{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{}
+$">
+</DIV>
+
+
+<!-- l2h_end sing_l2h 6 -->
+
+<!-- l2h_begin sing_l2h 7 -->
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
+@quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+\end{displaymath}
+ -->
+
+<IMG
+ STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_l2h_img7.svg"
+ ALT="$\displaystyle @quotedblleft{} @quotedblright{}
+@quoteleft{} @quoteright{} @quo...
+...guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+$">
+</DIV>
+
+
+<!-- l2h_end sing_l2h 7 -->
+
+<!-- l2h_begin sing_l2h 8 -->
+<DIV CLASS="displaymath">
+<!-- MATH
+ \begin{displaymath}
 disp- -laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 \end{displaymath}
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_l2h_img4.svg"
+ STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_l2h_img8.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
 </DIV>
 
 
-<!-- l2h_end sing_l2h 4 -->
+<!-- l2h_end sing_l2h 8 -->
 <BR>
 <HR>
 </BODY>
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.tex 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.tex
index 470be61..8d38487 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.tex
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.tex
@@ -34,11 +34,65 @@ $--a@minus{} {\frac{1}{2}}$
 
 <!-- l2h_begin sing_l2h 4 -->
 \end{rawhtml}
+$$@strong{``simple-double--three---four----''} @w{aa}
+$$
+\begin{rawhtml}
+<!-- l2h_end sing_l2h 4 -->
+
+\end{rawhtml}
+\begin{rawhtml}
+
+<!-- l2h_begin sing_l2h 5 -->
+\end{rawhtml}
+$$@"u @"{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} @dotless{j} @`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @| @: @! @? @. @@ @} @{ @/
+@today{}
+$$
+\begin{rawhtml}
+<!-- l2h_end sing_l2h 5 -->
+
+\end{rawhtml}
+\begin{rawhtml}
+
+<!-- l2h_begin sing_l2h 6 -->
+\end{rawhtml}
+$$@click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{} 
+$$
+\begin{rawhtml}
+<!-- l2h_end sing_l2h 6 -->
+
+\end{rawhtml}
+\begin{rawhtml}
+
+<!-- l2h_begin sing_l2h 7 -->
+\end{rawhtml}
+$$@quotedblleft{} @quotedblright{} 
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+$$
+\begin{rawhtml}
+<!-- l2h_end sing_l2h 7 -->
+
+\end{rawhtml}
+\begin{rawhtml}
+
+<!-- l2h_begin sing_l2h 8 -->
+\end{rawhtml}
 $$disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $$
 \begin{rawhtml}
-<!-- l2h_end sing_l2h 4 -->
+<!-- l2h_end sing_l2h 8 -->
 
 \end{rawhtml}
 \end{document}
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
index 70e343c..53d4a42 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
@@ -118,25 +118,67 @@
 % !!! IMAGES START HERE !!!
 
 {\newpage\clearpage
-\lthtmlinlinemathA{tex2html_wrap_indisplay27}%
+\lthtmlinlinemathA{tex2html_wrap_indisplay112}%
 $\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$%
 \lthtmlindisplaymathZ
 \lthtmlcheckvsize\clearpage}
 
 {\newpage\clearpage
-\lthtmlinlinemathA{tex2html_wrap_inline20}%
+\lthtmlinlinemathA{tex2html_wrap_inline97}%
 $--a {\frac{1}{2}} @minus{}$%
 \lthtmlindisplaymathZ
 \lthtmlcheckvsize\clearpage}
 
 {\newpage\clearpage
-\lthtmlinlinemathA{tex2html_wrap_inline22}%
+\lthtmlinlinemathA{tex2html_wrap_inline99}%
 $--a@minus{} {\frac{1}{2}}$%
 \lthtmlindisplaymathZ
 \lthtmlcheckvsize\clearpage}
 
 {\newpage\clearpage
-\lthtmlinlinemathA{tex2html_wrap_indisplay31}%
+\lthtmlinlinemathA{tex2html_wrap_indisplay116}%
+$\displaystyle @strong{``simple-double--three---four----''} @w{aa}
+$%
+\lthtmlindisplaymathZ
+\lthtmlcheckvsize\clearpage}
+
+{\newpage\clearpage
+\lthtmlinlinemathA{tex2html_wrap_indisplay118}%
+$\displaystyle @"u @"{U} @~n @^a @'e @=o @`i @'{e} @dotless{i} @dotless{j} 
@`{@=E}
+@l{} @,{@'C} @,{@'C} @,c @H{a} @dotaccent{a} @ringaccent{a} @tieaccent{a}
+@u{a} @ubaraccent{a} @udotaccent{a} @v{a} @ogonek{a} a@sup{h}@sub{l}
+@* @ @  @
+@- @| @: @! @? @. @@ @{ @} @/
+@today{}
+$%
+\lthtmlindisplaymathZ
+\lthtmlcheckvsize\clearpage}
+
+{\newpage\clearpage
+\lthtmlinlinemathA{tex2html_wrap_indisplay120}%
+$\displaystyle @click{}
+@U{0075}
+@TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} @enddots{} @equiv{}
+@error{} @expansion{} @minus{} @point{} @print{} @result{}
+@aa{} @AA{} @ae{} @oe{} @AE{} @OE{} @o{} @O{} @ss{} @l{} @L{} @DH{}
+@TH{} @dh{} @th{} @exclamdown{} @questiondown{} @pounds{}
+@registeredsymbol{} @ordf{} @ordm{} @comma{} 
+$%
+\lthtmlindisplaymathZ
+\lthtmlcheckvsize\clearpage}
+
+{\newpage\clearpage
+\lthtmlinlinemathA{tex2html_wrap_indisplay122}%
+$\displaystyle @quotedblleft{} @quotedblright{} 
+@quoteleft{} @quoteright{} @quotedblbase{} @quotesinglbase{} @guillemetleft{}
+@guillemetright{} @guillemotleft{} @guillemotright{} @guilsinglleft{}
+@guilsinglright{} @textdegree{} @euro{} @arrow{} @leq{} @geq{}
+$%
+\lthtmlindisplaymathZ
+\lthtmlcheckvsize\clearpage}
+
+{\newpage\clearpage
+\lthtmlinlinemathA{tex2html_wrap_indisplay124}%
 $\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $%
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
index af6cf52..966d434 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
index e33e2af..156e5c2 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/subsection.html 
b/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
index 07f3b49..800b3e1 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index 24218a8..66a8c5b 100644
--- 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index f2955fd..d2e2f6e 100644
--- 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -193,6 +193,7 @@ but , ,
 @,{-c} -c,
 @ogonek{a} a;
 @ogonek{-a} -a;
+a@sup{h}@sub{l} ahl
 @footnote{in footnote} 
 @footnote{in footnote2} 
 
@@ -212,6 +213,40 @@ but , ,
 After clickstyle =>
 @clicksequence{click @click{} A} click => A
 
+``simple-double-three-four-'' aa
+
+u" U" n~ a^ e' o= i` e' i j E=`
+/l C', C', c, a'' a. a* a[
+a( a_ .a a< a; ahl
+
+        ! ? . @ } { 
+a sunny day
+
+->
+0075
+TeX LaTeX * (C) ... ... ==
+error-> ==> - -!- -| =>
+aa AA ae oe AE OE /o /O ss /l /L D
+TH d th ! ? #
+(R) a o , 
+
+`` '' 
+` ' ,, , <<
+>> << >> <
+> o Euro -> <= >=
+
+default kbdinputstyle
+in example default kbdinputstyle
+
+code kbdinputstyle
+in example code kbdinputstyle
+
+example kbdinputstyle
+in example example kbdinputstyle
+
+distinct kbdinputstyle
+in example distinct kbdinputstyle
+
 A quot-ation
 
 Note
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/anchor.html 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/anchor.html
similarity index 99%
copy from tp/tests/tex_html/res_parser/formatting_singular/anchor.html
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/anchor.html
index 22062be..d138403 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/anchor.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/anchor.html
@@ -635,6 +635,10 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/chapter.html
similarity index 99%
copy from tp/tests/tex_html/res_parser/formatting_singular/chapter.html
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/chapter.html
index 22f2f40..3d1b8b2 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/chapter.html
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/chapter2.html
similarity index 99%
copy from tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/chapter2.html
index 5607d8c..3496340 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/chapter2.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/chapter2.html
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/index.htm 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/index.htm
similarity index 98%
copy from tp/tests/tex_html/res_parser/formatting_singular/index.htm
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/index.htm
index 0ced216..22549d0 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/index.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/index.htm
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
@@ -843,12 +847,7 @@ but , ,
 <code>@i{--a}</code> <i>&ndash;a</i>
 <code>@kbd{--a}</code> <kbd>--a</kbd>
 <code>@key{--a}</code> <tt class="key">--a</tt>
-<code>@math{--a {\frac{1}{2}} @minus{}}</code> <!-- MATH
- $- -a {\frac{1}{2}} @minus{}$
- -->
-<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_2.svg"
- ALT="$--a {\frac{1}{2}} @minus{}$"></SPAN>
+<code>@math{--a {\frac{1}{2}} @minus{}}</code> 
 <code>@option{--a}</code> <samp>--a</samp>
 <code>@r{--a}</code> <span class="roman">&ndash;a</span>
 <code>@samp{--a}</code> &lsquo;<samp>--a</samp>&rsquo;
@@ -1095,20 +1094,15 @@ i&ndash;tem 1
 <pre class="format">s&ndash;mallformat
 </pre></div>
 
-<DIV CLASS="displaymath">
-<!-- MATH
- \begin{displaymath}
-disp- -laymath
-f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
-\end{displaymath}
- -->
 
-<IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_4.svg"
- ALT="$\displaystyle disp--laymath
-f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
-$">
-</DIV>
+<!--l. 5--><p class="indent" >
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_displaymath0x.png" alt="                                  (   
   )
+                     --1---      1  x-- &#x03BC; 2
+disp - - laymathf(x) = &#x03C3;&#x221A; 2&#x03C0;e@sup- 2   &#x03C3;
+" class="math-display" ></div>
+<!--l. 8--><p class="indent" >     
 
 <dl class="def">
 <dt id="index-copying-d_002d_002deffn_005fname"><span 
class="category">c--ategory: </span><span><strong>d--effn_name</strong> 
<em>a--rguments...</em><a href='#index-copying-d_002d_002deffn_005fname' 
class='copiable-anchor'> &para;</a></span></dt>
@@ -1361,18 +1355,12 @@ This is a very simple texi manual @  &lt;&gt;.
 
 html ''
 
-<DIV CLASS="displaymath">
-<!-- MATH
- \begin{displaymath}
-\partial_t \eta (t) = g(\eta(t),\varphi(t))
-\end{displaymath}
- -->
 
-<IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="sing_1.svg"
- ALT="$\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$">
-</DIV>
- &rdquo;
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_tex0x.png" alt="&#x2202;t&#x03B7;(t) = 
g(&#x03B7;(t),&#x03C6;(t))
+" class="math-display" ></div>
+<!--l. 4--><p class="indent" >    &#8221;  
 
 
 <span id="majorheading"></span><h1 class="majorheading">majorheading</h1>
@@ -1390,12 +1378,7 @@ html ''
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
 <code>@abbr{@'E--. @comma{}A.}</code> <abbr title="&Eacute;tude&ndash;, 
Autonome">&Eacute;&ndash;. ,A.</abbr>
 </p>
-<p><code>@math{--a@minus{} {\frac{1}{2}}}</code> <!-- MATH
- $- -a@minus{} {\frac{1}{2}}$
- -->
-<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_3.svg"
- ALT="$--a@minus{} {\frac{1}{2}}$"></SPAN>
+<p><code>@math{--a@minus{} {\frac{1}{2}}}</code> 
 </p>
 <p><code>@image{f-ile,,,alt@verb{:jk _&quot; %}}</code> <img src="f-ile.jpg" 
alt="altjk _&quot; %@">
 <code>@image{f--ile,aze,az,@verb{:jk _&quot; %@:} @b{in b 
&quot;},e--xt}</code> <img src="f--ile.e--xt" alt="jk _&quot; %@ in b &quot;">
@@ -1634,12 +1617,7 @@ but , ,
 <code>@i{--a}</code> <i>&ndash;a</i>
 <code>@kbd{--a}</code> <kbd>--a</kbd>
 <code>@key{--a}</code> <tt class="key">--a</tt>
-<code>@math{--a {\frac{1}{2}} @minus{}}</code> <!-- MATH
- $- -a {\frac{1}{2}} @minus{}$
- -->
-<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_2.svg"
- ALT="$--a {\frac{1}{2}} @minus{}$"></SPAN>
+<code>@math{--a {\frac{1}{2}} @minus{}}</code> 
 <code>@option{--a}</code> <samp>--a</samp>
 <code>@r{--a}</code> <span class="roman">&ndash;a</span>
 <code>@samp{--a}</code> &lsquo;<samp>--a</samp>&rsquo;
@@ -1886,20 +1864,15 @@ i&ndash;tem 1
 <pre class="format">s&ndash;mallformat
 </pre></div>
 
-<DIV CLASS="displaymath">
-<!-- MATH
- \begin{displaymath}
-disp- -laymath
-f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
-\end{displaymath}
- -->
 
-<IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_4.svg"
- ALT="$\displaystyle disp--laymath
-f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
-$">
-</DIV>
+<!--l. 17--><p class="indent" >
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_displaymath2x.png" alt="                       1         1( x 
- &#x03BC; )2
+disp - - laymathf(x) =-&#x221A;---e@sup- 2  --&#x03C3;--
+                     &#x03C3;  2&#x03C0;
+" class="math-display" ></div>
+<!--l. 20--><p class="indent" >     
 
 <dl class="def">
 <dt id="index-d_002d_002deffn_005fname"><span class="category">c--ategory: 
</span><span><strong>d--effn_name</strong> <em>a--rguments...</em><a 
href='#index-d_002d_002deffn_005fname' class='copiable-anchor'> 
&para;</a></span></dt>
@@ -2152,18 +2125,12 @@ This is a very simple texi manual @  &lt;&gt;.
 
 html ''
 
-<DIV CLASS="displaymath">
-<!-- MATH
- \begin{displaymath}
-\partial_t \eta (t) = g(\eta(t),\varphi(t))
-\end{displaymath}
- -->
 
-<IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="sing_1.svg"
- ALT="$\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$">
-</DIV>
- &rdquo;
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_tex2x.png" alt="&#x2202;t&#x03B7;(t) = 
g(&#x03B7;(t),&#x03C6;(t))
+" class="math-display" ></div>
+<!--l. 10--><p class="indent" >    &#8221;  
 
 
 <span id="majorheading-1"></span><h1 class="majorheading">majorheading</h1>
@@ -2181,12 +2148,7 @@ html ''
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;&ndash;. ,A.</abbr> 
(&Eacute;tude&ndash;, <b>Autonome</b>)
 <code>@abbr{@'E--. @comma{}A.}</code> <abbr title="&Eacute;tude&ndash;, 
Autonome">&Eacute;&ndash;. ,A.</abbr>
 </p>
-<p><code>@math{--a@minus{} {\frac{1}{2}}}</code> <!-- MATH
- $- -a@minus{} {\frac{1}{2}}$
- -->
-<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_3.svg"
- ALT="$--a@minus{} {\frac{1}{2}}$"></SPAN>
+<p><code>@math{--a@minus{} {\frac{1}{2}}}</code> 
 </p>
 <p><code>@image{f-ile,,,alt@verb{:jk _&quot; %}}</code> <img src="f-ile.jpg" 
alt="altjk _&quot; %@">
 <code>@image{f--ile,aze,az,@verb{:jk _&quot; %@:} @b{in b 
&quot;},e--xt}</code> <img src="f--ile.e--xt" alt="jk _&quot; %@ in b &quot;">
@@ -2431,12 +2393,7 @@ but , ,
 <code>@i{--a}</code> <i>&ndash;a</i>
 <code>@kbd{--a}</code> <kbd>--a</kbd>
 <code>@key{--a}</code> <span class="key">--a</span>
-<code>@math{--a {\frac{1}{2}} @minus{}}</code> <!-- MATH
- $- -a {\frac{1}{2}} @minus{}$
- -->
-<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_2.svg"
- ALT="$--a {\frac{1}{2}} @minus{}$"></SPAN>
+<code>@math{--a {\frac{1}{2}} @minus{}}</code> 
 <code>@option{--a}</code> <samp>--a</samp>
 <code>@r{--a}</code> <span class="roman">&ndash;a</span>
 <code>@samp{--a}</code> &lsquo;<samp>--a</samp>&rsquo;
@@ -2728,20 +2685,15 @@ After clickstyle &rArr;
 </pre></div>
 <pre class="example">
 
-</pre><DIV CLASS="displaymath">
-<!-- MATH
- \begin{displaymath}
-disp- -laymath
-f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
-\end{displaymath}
- -->
-
-<IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_4.svg"
- ALT="$\displaystyle disp--laymath
-f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
-$">
-</DIV>
+</pre>
+<!--l. 23--><p class="indent" >
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_displaymath3x.png" alt="                                  (   
   )2
+disp - - laymathf(x) =-&#x221A;1--e@sup- 1  x-- &#x03BC;
+                     &#x03C3;  2&#x03C0;       2    &#x03C3;
+" class="math-display" ></div>
+<!--l. 26--><p class="indent" >     
 <pre class="example">
 
 </pre><dl class="def">
@@ -3027,18 +2979,13 @@ This is a very simple texi manual @  &lt;&gt;.
 
 html ''
 
-<DIV CLASS="displaymath">
-<!-- MATH
- \begin{displaymath}
-\partial_t \eta (t) = g(\eta(t),\varphi(t))
-\end{displaymath}
- -->
 
-<IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="sing_1.svg"
- ALT="$\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$">
-</DIV>
- &rdquo;
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_tex3x.png" alt="&#x2202; &#x03B7;(t) = 
g(&#x03B7;(t),&#x03C6;(t))
+ t
+" class="math-display" ></div>
+<!--l. 13--><p class="indent" >    &#8221;  
 
 
 </pre><span id="majorheading-2"></span><strong>majorheading</strong>
@@ -3061,12 +3008,7 @@ html ''
 <code>@abbr{@'E--. @comma{}A., @'Etude--@comma{} @b{Autonome} }</code> <abbr 
title="&Eacute;tude&ndash;, Autonome">&Eacute;--. ,A.</abbr> (&Eacute;tude--, 
<b>Autonome</b>)
 <code>@abbr{@'E--. @comma{}A.}</code> <abbr title="&Eacute;tude&ndash;, 
Autonome">&Eacute;--. ,A.</abbr>
 
-<code>@math{--a@minus{} {\frac{1}{2}}}</code> <!-- MATH
- $- -a@minus{} {\frac{1}{2}}$
- -->
-<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_3.svg"
- ALT="$--a@minus{} {\frac{1}{2}}$"></SPAN>
+<code>@math{--a@minus{} {\frac{1}{2}}}</code> 
 
 <code>@image{f-ile,,,alt@verb{:jk _&quot; %}}</code> <img src="f-ile.jpg" 
alt="altjk _&quot; %@">
 <code>@image{f--ile,aze,az,@verb{:jk _&quot; %@:} @b{in b 
&quot;},e--xt}</code> <img src="f--ile.e--xt" alt="jk _&quot; %@ in b &quot;">
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/index.html 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/index.html
similarity index 99%
copy from tp/tests/tex_html/res_parser/formatting_singular/index.html
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/index.html
index ac38b5f..6f4bc38 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/index.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/index.html
@@ -635,6 +635,10 @@ truc: after a deff item
 <meta name="Generator" content="texi2any">
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/s_002d_002dect_002cion.html
similarity index 99%
copy from 
tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
copy to 
tp/tests/tex_html/res_parser/formatting_singular_tex4ht/s_002d_002dect_002cion.html
index fa5f922..7cf3db2 100644
--- 
a/tp/tests/tex_html/res_parser/formatting_singular/s_002d_002dect_002cion.html
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/s_002d_002dect_002cion.html
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_abt.htm
similarity index 99%
copy from tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_abt.htm
index 1e9eab0..14a0996 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_abt.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_abt.htm
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_fot.htm
similarity index 99%
copy from tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_fot.htm
index 10d4643..18ae46e 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_fot.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_fot.htm
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_ovr.htm
similarity index 99%
copy from tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_ovr.htm
index af6cf52..3a3045a 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_ovr.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_ovr.htm
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.4ct
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.4ct
new file mode 100644
index 0000000..9998f62
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.4ct
@@ -0,0 +1,2 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi 
+\par 
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.4tc
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.4tc
new file mode 100644
index 0000000..4021816
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.4tc
@@ -0,0 +1 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.css
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.css
new file mode 100644
index 0000000..faa0ef0
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.css
@@ -0,0 +1,42 @@
+ 
+/* start css.sty */
+.cmr-7{font-size:70%;}
+.cmmi-10{font-style: italic;}
+p{margin-top:0;margin-bottom:0}
+p.indent{text-indent:0;}
+p + p{margin-top:1em;}
+p + div, p + pre {margin-top:1em;}
+div + p, pre + p {margin-top:1em;}
+a { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; 
hyphens: auto; }
+@media print {div.crosslinks {visibility:hidden;}}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+div.par-math-display, div.math-display{text-align:center;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+div.proclaim { margin-top: 1em; margin-bottom: 1em; }
+p.item {text-indent:-2em; margin-left:2em;}
+p.itemitem {text-indent:-2em; margin-left:4em;}
+span.item, span.itemitem {width:2em; margin-right:0.4em;}
+td.eqalign3 { text-align:right; margin-left:10em;}
+.eqalign td { white-space: nowrap; }
+div.eqalign {text-align:center;}
+td.eqalignno3, td.leqalignno3 { text-align:right; margin-left:10em;}
+.leqalignno td, .eqalignno td { white-space: nowrap; }
+.leqalignno td.noalign, .eqalignno td.noalign { width:5%; white-space: normal; 
}
+table.leqalignno, table.eqalignno {width:100%;}
+img.cdots{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+/* end css.sty */
+
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.html
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.html
new file mode 100644
index 0000000..ca8449b
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.html
@@ -0,0 +1,76 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
+  "http://www.w3.org/TR/html4/loose.dtd";>  
+<html > 
+<head>
+
+    <title>sing_tex4ht_displaymath.html</title> 
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
+<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<!-- html --> 
+<meta name="src" content="sing_tex4ht_displaymath.tex"> 
+<link rel="stylesheet" type="text/css" href="sing_tex4ht_displaymath.css"> 
+</head><body 
+>
+<!--l. 3--><p class="indent" >     
+ 
+<!-- tex4ht_begin sing_tex4ht_displaymath displaymath 1 --> 
+
+<!--l. 5--><p class="indent" >
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_displaymath0x.png" alt="                                  (   
   )
+                     --1---      1  x-- &#x03BC; 2
+disp - - laymathf(x) = &#x03C3;&#x221A; 2&#x03C0;e@sup- 2   &#x03C3;
+" class="math-display" ></div>
+<!--l. 8--><p class="indent" >     
+<!-- tex4ht_end sing_tex4ht_displaymath displaymath 1 --> 
+ 
+  
+ 
+<!-- tex4ht_begin sing_tex4ht_displaymath displaymath 2 --> 
+
+<!--l. 11--><p class="indent" >
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_displaymath1x.png" alt="                     --1--       1( 
x-- &#x03BC;-)2
+disp - - laymathf(x) = &#x03C3;&#x221A;2-&#x03C0;e@sup- 2   &#x03C3;
+" class="math-display" ></div>
+<!--l. 14--><p class="indent" >     
+<!-- tex4ht_end sing_tex4ht_displaymath displaymath 2 --> 
+ 
+  
+ 
+<!-- tex4ht_begin sing_tex4ht_displaymath displaymath 3 --> 
+
+<!--l. 17--><p class="indent" >
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_displaymath2x.png" alt="                       1         1( x 
- &#x03BC; )2
+disp - - laymathf(x) =-&#x221A;---e@sup- 2  --&#x03C3;--
+                     &#x03C3;  2&#x03C0;
+" class="math-display" ></div>
+<!--l. 20--><p class="indent" >     
+<!-- tex4ht_end sing_tex4ht_displaymath displaymath 3 --> 
+ 
+  
+ 
+<!-- tex4ht_begin sing_tex4ht_displaymath displaymath 4 --> 
+
+<!--l. 23--><p class="indent" >
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_displaymath3x.png" alt="                                  (   
   )2
+disp - - laymathf(x) =-&#x221A;1--e@sup- 1  x-- &#x03BC;
+                     &#x03C3;  2&#x03C0;       2    &#x03C3;
+" class="math-display" ></div>
+<!--l. 26--><p class="indent" >     
+<!-- tex4ht_end sing_tex4ht_displaymath displaymath 4 --> 
+ 
+
+
+     
+</body></html> 
+
+
+
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.lg
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.lg
new file mode 100644
index 0000000..a2a0c50
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.lg
@@ -0,0 +1,57 @@
+htfcss: cmmi font-style: italic;
+htfcss: cmmib font-style: italic; font-weight: bold;
+File: sing_tex4ht_displaymath.html
+File: sing_tex4ht_displaymath.css
+File: sing_tex4ht_displaymath.tmp
+Css: p{margin-top:0;margin-bottom:0}
+Css: p.indent{text-indent:0;}
+Css: p + p{margin-top:1em;}
+Css: p + div, p + pre {margin-top:1em;}
+Css: div + p, pre + p {margin-top:1em;}
+Css: a { overflow-wrap: break-word; word-wrap: break-word; word-break: 
break-word; hyphens: auto; }
+Css: @media print {div.crosslinks {visibility:hidden;}}
+Css: a img { border-top: 0; border-left: 0; border-right: 0; }
+Font_Css("4"): .small-caps{font-variant: small-caps; }
+Font_Css("10"): .htf-cmbx {font-weight: bold; font-style:normal;}
+Font_Css("12"): .htf-calligraphy {font-family:cursive}
+Font_Css("14"): .htf-italic {font-style: italic;}
+Font_Css("16"): .htf-bold {font-weight: bold;}
+Font_Css("12"): .htf-calligraphy-bold {font-family:cursive ; font-weight: 
bold; }
+Css: center { margin-top:1em; margin-bottom:1em; }
+Css: td center { margin-top:0em; margin-bottom:0em; }
+Css: .Canvas { position:relative; }
+Css: img.math{vertical-align:middle;}
+Css: div.par-math-display, div.math-display{text-align:center;}
+Css: .obeylines-h,.obeylines-v {white-space: nowrap; }
+Css: div.obeylines-v p { margin-top:0; margin-bottom:0; }
+Css: .overline{ text-decoration:overline; }
+Css: .overline img{ border-top: 1px solid black; }
+Css: td.displaylines {text-align:center; white-space:nowrap;}
+Css: .centerline {text-align:center;}
+Css: .rightline {text-align:right;}
+Css: .underline{ text-decoration:underline; }
+Css: .underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+Css: div.proclaim { margin-top: 1em; margin-bottom: 1em; }
+Css: p.item {text-indent:-2em; margin-left:2em;}
+Css: p.itemitem {text-indent:-2em; margin-left:4em;}
+Css: span.item, span.itemitem {width:2em; margin-right:0.4em;}
+Css: td.eqalign3 { text-align:right; margin-left:10em;}
+Css: .eqalign td { white-space: nowrap; }
+Css: div.eqalign {text-align:center;}
+Css: td.eqalignno3, td.leqalignno3 { text-align:right; margin-left:10em;}
+Css: .leqalignno td, .eqalignno td { white-space: nowrap; }
+Css: .leqalignno td.noalign, .eqalignno td.noalign { width:5%; white-space: 
normal; }
+Css: table.leqalignno, table.eqalignno {width:100%;}
+Css: img.cdots{vertical-align:middle;}
+Css: div.pmatrix {text-align:center;}
+Css: table.pmatrix {width:100%;}
+--- needs --- sing_tex4ht_displaymath.idv[1] ==> sing_tex4ht_displaymath0x.png 
---
+--- needs --- sing_tex4ht_displaymath.idv[2] ==> sing_tex4ht_displaymath1x.png 
---
+--- needs --- sing_tex4ht_displaymath.idv[3] ==> sing_tex4ht_displaymath2x.png 
---
+--- needs --- sing_tex4ht_displaymath.idv[4] ==> sing_tex4ht_displaymath3x.png 
---
+--- characters ---
+Font("cmr","10","10","100")
+Font("cmr","7","7","100")
+Font("cmmi","10","10","100")
+Font("cmsy","10","10","100")
+Font("cmex","10","10","100")
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.tex
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.tex
new file mode 100644
index 0000000..3d72571
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.tex
@@ -0,0 +1,28 @@
+% Automatically generated
+\csname tex4ht\endcsname
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_displaymath 
displaymath 1 -->\Hnewline}
+
+$$disp--laymath
+f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
+$$
+\HCode{\Hnewline <!-- tex4ht_end sing_tex4ht_displaymath displaymath 1 
-->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_displaymath 
displaymath 2 -->\Hnewline}
+
+$$disp--laymath
+f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
+$$
+\HCode{\Hnewline <!-- tex4ht_end sing_tex4ht_displaymath displaymath 2 
-->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_displaymath 
displaymath 3 -->\Hnewline}
+
+$$disp--laymath
+f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
+$$
+\HCode{\Hnewline <!-- tex4ht_end sing_tex4ht_displaymath displaymath 3 
-->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_displaymath 
displaymath 4 -->\Hnewline}
+
+$$disp--laymath
+f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
+$$
+\HCode{\Hnewline <!-- tex4ht_end sing_tex4ht_displaymath displaymath 4 
-->\Hnewline \Hnewline}
+
+\bye
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.tmp
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.tmp
new file mode 100644
index 0000000..41b58e2
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.tmp
@@ -0,0 +1,2 @@
+ 
+/* css.sty */
\ No newline at end of file
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.xref
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.xref
new file mode 100644
index 0000000..55b2589
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_displaymath.xref
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{sing_tex4ht_displaymath.html}{1}%
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.4ct 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.4ct
new file mode 100644
index 0000000..9998f62
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.4ct
@@ -0,0 +1,2 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi 
+\par 
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.4tc 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.4tc
new file mode 100644
index 0000000..4021816
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.4tc
@@ -0,0 +1 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.css 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.css
new file mode 100644
index 0000000..e1151d9
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.css
@@ -0,0 +1,40 @@
+ 
+/* start css.sty */
+p{margin-top:0;margin-bottom:0}
+p.indent{text-indent:0;}
+p + p{margin-top:1em;}
+p + div, p + pre {margin-top:1em;}
+div + p, pre + p {margin-top:1em;}
+a { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; 
hyphens: auto; }
+@media print {div.crosslinks {visibility:hidden;}}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+div.par-math-display, div.math-display{text-align:center;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+div.proclaim { margin-top: 1em; margin-bottom: 1em; }
+p.item {text-indent:-2em; margin-left:2em;}
+p.itemitem {text-indent:-2em; margin-left:4em;}
+span.item, span.itemitem {width:2em; margin-right:0.4em;}
+td.eqalign3 { text-align:right; margin-left:10em;}
+.eqalign td { white-space: nowrap; }
+div.eqalign {text-align:center;}
+td.eqalignno3, td.leqalignno3 { text-align:right; margin-left:10em;}
+.leqalignno td, .eqalignno td { white-space: nowrap; }
+.leqalignno td.noalign, .eqalignno td.noalign { width:5%; white-space: normal; 
}
+table.leqalignno, table.eqalignno {width:100%;}
+img.cdots{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+/* end css.sty */
+
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.html 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.html
new file mode 100644
index 0000000..5241c2d
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
+  "http://www.w3.org/TR/html4/loose.dtd";>  
+<html > 
+<head>
+
+
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.lg 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.lg
new file mode 100644
index 0000000..869b7fa
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.lg
@@ -0,0 +1,47 @@
+File: sing_tex4ht_math.html
+File: sing_tex4ht_math.css
+File: sing_tex4ht_math.tmp
+Css: p{margin-top:0;margin-bottom:0}
+Css: p.indent{text-indent:0;}
+Css: p + p{margin-top:1em;}
+Css: p + div, p + pre {margin-top:1em;}
+Css: div + p, pre + p {margin-top:1em;}
+Css: a { overflow-wrap: break-word; word-wrap: break-word; word-break: 
break-word; hyphens: auto; }
+Css: @media print {div.crosslinks {visibility:hidden;}}
+Css: a img { border-top: 0; border-left: 0; border-right: 0; }
+Font_Css("4"): .small-caps{font-variant: small-caps; }
+Font_Css("10"): .htf-cmbx {font-weight: bold; font-style:normal;}
+Font_Css("12"): .htf-calligraphy {font-family:cursive}
+Font_Css("14"): .htf-italic {font-style: italic;}
+Font_Css("16"): .htf-bold {font-weight: bold;}
+Font_Css("12"): .htf-calligraphy-bold {font-family:cursive ; font-weight: 
bold; }
+Css: center { margin-top:1em; margin-bottom:1em; }
+Css: td center { margin-top:0em; margin-bottom:0em; }
+Css: .Canvas { position:relative; }
+Css: img.math{vertical-align:middle;}
+Css: div.par-math-display, div.math-display{text-align:center;}
+Css: .obeylines-h,.obeylines-v {white-space: nowrap; }
+Css: div.obeylines-v p { margin-top:0; margin-bottom:0; }
+Css: .overline{ text-decoration:overline; }
+Css: .overline img{ border-top: 1px solid black; }
+Css: td.displaylines {text-align:center; white-space:nowrap;}
+Css: .centerline {text-align:center;}
+Css: .rightline {text-align:right;}
+Css: .underline{ text-decoration:underline; }
+Css: .underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+Css: div.proclaim { margin-top: 1em; margin-bottom: 1em; }
+Css: p.item {text-indent:-2em; margin-left:2em;}
+Css: p.itemitem {text-indent:-2em; margin-left:4em;}
+Css: span.item, span.itemitem {width:2em; margin-right:0.4em;}
+Css: td.eqalign3 { text-align:right; margin-left:10em;}
+Css: .eqalign td { white-space: nowrap; }
+Css: div.eqalign {text-align:center;}
+Css: td.eqalignno3, td.leqalignno3 { text-align:right; margin-left:10em;}
+Css: .leqalignno td, .eqalignno td { white-space: nowrap; }
+Css: .leqalignno td.noalign, .eqalignno td.noalign { width:5%; white-space: 
normal; }
+Css: table.leqalignno, table.eqalignno {width:100%;}
+Css: img.cdots{vertical-align:middle;}
+Css: div.pmatrix {text-align:center;}
+Css: table.pmatrix {width:100%;}
+--- characters ---
+Font("cmr","10","10","100")
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.tex 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.tex
new file mode 100644
index 0000000..4385333
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.tex
@@ -0,0 +1,20 @@
+% Automatically generated
+\csname tex4ht\endcsname
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_math math 1 
-->\Hnewline}
+\IgnorePar $--a {\frac{1}{2}} @minus{}$\HCode{\Hnewline <!-- tex4ht_end 
sing_tex4ht_math math 1 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_math math 2 
-->\Hnewline}
+\IgnorePar $--a@minus{} {\frac{1}{2}}$\HCode{\Hnewline <!-- tex4ht_end 
sing_tex4ht_math math 2 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_math math 3 
-->\Hnewline}
+\IgnorePar $--a {\frac{1}{2}} @minus{}$\HCode{\Hnewline <!-- tex4ht_end 
sing_tex4ht_math math 3 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_math math 4 
-->\Hnewline}
+\IgnorePar $--a@minus{} {\frac{1}{2}}$\HCode{\Hnewline <!-- tex4ht_end 
sing_tex4ht_math math 4 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_math math 5 
-->\Hnewline}
+\IgnorePar $--a {\frac{1}{2}} @minus{}$\HCode{\Hnewline <!-- tex4ht_end 
sing_tex4ht_math math 5 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_math math 6 
-->\Hnewline}
+\IgnorePar $--a@minus{} {\frac{1}{2}}$\HCode{\Hnewline <!-- tex4ht_end 
sing_tex4ht_math math 6 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_math math 7 
-->\Hnewline}
+\IgnorePar $--a {\frac{1}{2}} @minus{}$\HCode{\Hnewline <!-- tex4ht_end 
sing_tex4ht_math math 7 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_math math 8 
-->\Hnewline}
+\IgnorePar $--a@minus{} {\frac{1}{2}}$\HCode{\Hnewline <!-- tex4ht_end 
sing_tex4ht_math math 8 -->\Hnewline \Hnewline}
+
+\bye
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.tmp 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.tmp
new file mode 100644
index 0000000..41b58e2
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.tmp
@@ -0,0 +1,2 @@
+ 
+/* css.sty */
\ No newline at end of file
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.xref 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.xref
new file mode 100644
index 0000000..5059f99
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_math.xref
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{sing_tex4ht_math.html}{1}%
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.4ct 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.4ct
new file mode 100644
index 0000000..9998f62
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.4ct
@@ -0,0 +1,2 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi 
+\par 
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.4tc 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.4tc
new file mode 100644
index 0000000..4021816
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.4tc
@@ -0,0 +1 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.css 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.css
new file mode 100644
index 0000000..9ed220d
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.css
@@ -0,0 +1,42 @@
+ 
+/* start css.sty */
+.cmmi-10{font-style: italic;}
+.cmmi-7{font-size:70%;font-style: italic;}
+p{margin-top:0;margin-bottom:0}
+p.indent{text-indent:0;}
+p + p{margin-top:1em;}
+p + div, p + pre {margin-top:1em;}
+div + p, pre + p {margin-top:1em;}
+a { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; 
hyphens: auto; }
+@media print {div.crosslinks {visibility:hidden;}}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+div.par-math-display, div.math-display{text-align:center;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+div.proclaim { margin-top: 1em; margin-bottom: 1em; }
+p.item {text-indent:-2em; margin-left:2em;}
+p.itemitem {text-indent:-2em; margin-left:4em;}
+span.item, span.itemitem {width:2em; margin-right:0.4em;}
+td.eqalign3 { text-align:right; margin-left:10em;}
+.eqalign td { white-space: nowrap; }
+div.eqalign {text-align:center;}
+td.eqalignno3, td.leqalignno3 { text-align:right; margin-left:10em;}
+.leqalignno td, .eqalignno td { white-space: nowrap; }
+.leqalignno td.noalign, .eqalignno td.noalign { width:5%; white-space: normal; 
}
+table.leqalignno, table.eqalignno {width:100%;}
+img.cdots{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+/* end css.sty */
+
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.html 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.html
new file mode 100644
index 0000000..2e4bcd3
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.html
@@ -0,0 +1,66 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
+  "http://www.w3.org/TR/html4/loose.dtd";>  
+<html > 
+<head>
+
+    <title>sing_tex4ht_tex.html</title> 
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
+<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<!-- html --> 
+<meta name="src" content="sing_tex4ht_tex.tex"> 
+<link rel="stylesheet" type="text/css" href="sing_tex4ht_tex.css"> 
+</head><body 
+>
+<!--l. 3--><p class="indent" >     
+ 
+<!-- tex4ht_begin sing_tex4ht_tex tex 1 --> 
+
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_tex0x.png" alt="&#x2202;t&#x03B7;(t) = 
g(&#x03B7;(t),&#x03C6;(t))
+" class="math-display" ></div>
+<!--l. 4--><p class="indent" >    &#8221;  
+<!-- tex4ht_end sing_tex4ht_tex tex 1 --> 
+ 
+  
+ 
+<!-- tex4ht_begin sing_tex4ht_tex tex 2 --> 
+
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_tex1x.png" alt="&#x2202;t&#x03B7;(t) = 
g(&#x03B7;(t),&#x03C6;(t))
+" class="math-display" ></div>
+<!--l. 7--><p class="indent" >    &#8221;  
+<!-- tex4ht_end sing_tex4ht_tex tex 2 --> 
+ 
+  
+ 
+<!-- tex4ht_begin sing_tex4ht_tex tex 3 --> 
+
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_tex2x.png" alt="&#x2202;t&#x03B7;(t) = 
g(&#x03B7;(t),&#x03C6;(t))
+" class="math-display" ></div>
+<!--l. 10--><p class="indent" >    &#8221;  
+<!-- tex4ht_end sing_tex4ht_tex tex 3 --> 
+ 
+  
+ 
+<!-- tex4ht_begin sing_tex4ht_tex tex 4 --> 
+
+    <div class="math-display" >
+<img 
+src="sing_tex4ht_tex3x.png" alt="&#x2202; &#x03B7;(t) = 
g(&#x03B7;(t),&#x03C6;(t))
+ t
+" class="math-display" ></div>
+<!--l. 13--><p class="indent" >    &#8221;  
+<!-- tex4ht_end sing_tex4ht_tex tex 4 --> 
+ 
+
+
+     
+</body></html> 
+
+
+
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.lg 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.lg
new file mode 100644
index 0000000..38f1b1c
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.lg
@@ -0,0 +1,55 @@
+htfcss: cmmi font-style: italic;
+htfcss: cmmib font-style: italic; font-weight: bold;
+File: sing_tex4ht_tex.html
+File: sing_tex4ht_tex.css
+File: sing_tex4ht_tex.tmp
+Css: p{margin-top:0;margin-bottom:0}
+Css: p.indent{text-indent:0;}
+Css: p + p{margin-top:1em;}
+Css: p + div, p + pre {margin-top:1em;}
+Css: div + p, pre + p {margin-top:1em;}
+Css: a { overflow-wrap: break-word; word-wrap: break-word; word-break: 
break-word; hyphens: auto; }
+Css: @media print {div.crosslinks {visibility:hidden;}}
+Css: a img { border-top: 0; border-left: 0; border-right: 0; }
+Font_Css("4"): .small-caps{font-variant: small-caps; }
+Font_Css("10"): .htf-cmbx {font-weight: bold; font-style:normal;}
+Font_Css("12"): .htf-calligraphy {font-family:cursive}
+Font_Css("14"): .htf-italic {font-style: italic;}
+Font_Css("16"): .htf-bold {font-weight: bold;}
+Font_Css("12"): .htf-calligraphy-bold {font-family:cursive ; font-weight: 
bold; }
+Css: center { margin-top:1em; margin-bottom:1em; }
+Css: td center { margin-top:0em; margin-bottom:0em; }
+Css: .Canvas { position:relative; }
+Css: img.math{vertical-align:middle;}
+Css: div.par-math-display, div.math-display{text-align:center;}
+Css: .obeylines-h,.obeylines-v {white-space: nowrap; }
+Css: div.obeylines-v p { margin-top:0; margin-bottom:0; }
+Css: .overline{ text-decoration:overline; }
+Css: .overline img{ border-top: 1px solid black; }
+Css: td.displaylines {text-align:center; white-space:nowrap;}
+Css: .centerline {text-align:center;}
+Css: .rightline {text-align:right;}
+Css: .underline{ text-decoration:underline; }
+Css: .underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+Css: div.proclaim { margin-top: 1em; margin-bottom: 1em; }
+Css: p.item {text-indent:-2em; margin-left:2em;}
+Css: p.itemitem {text-indent:-2em; margin-left:4em;}
+Css: span.item, span.itemitem {width:2em; margin-right:0.4em;}
+Css: td.eqalign3 { text-align:right; margin-left:10em;}
+Css: .eqalign td { white-space: nowrap; }
+Css: div.eqalign {text-align:center;}
+Css: td.eqalignno3, td.leqalignno3 { text-align:right; margin-left:10em;}
+Css: .leqalignno td, .eqalignno td { white-space: nowrap; }
+Css: .leqalignno td.noalign, .eqalignno td.noalign { width:5%; white-space: 
normal; }
+Css: table.leqalignno, table.eqalignno {width:100%;}
+Css: img.cdots{vertical-align:middle;}
+Css: div.pmatrix {text-align:center;}
+Css: table.pmatrix {width:100%;}
+--- needs --- sing_tex4ht_tex.idv[1] ==> sing_tex4ht_tex0x.png ---
+--- needs --- sing_tex4ht_tex.idv[2] ==> sing_tex4ht_tex1x.png ---
+--- needs --- sing_tex4ht_tex.idv[3] ==> sing_tex4ht_tex2x.png ---
+--- needs --- sing_tex4ht_tex.idv[4] ==> sing_tex4ht_tex3x.png ---
+--- characters ---
+Font("cmr","10","10","100")
+Font("cmmi","10","10","100")
+Font("cmmi","7","7","100")
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.tex 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.tex
new file mode 100644
index 0000000..889cf52
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.tex
@@ -0,0 +1,16 @@
+% Automatically generated
+\csname tex4ht\endcsname
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_tex tex 1 
-->\Hnewline}
+$$\partial_t \eta (t) = g(\eta(t),\varphi(t))$$ ''
+\HCode{\Hnewline <!-- tex4ht_end sing_tex4ht_tex tex 1 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_tex tex 2 
-->\Hnewline}
+$$\partial_t \eta (t) = g(\eta(t),\varphi(t))$$ ''
+\HCode{\Hnewline <!-- tex4ht_end sing_tex4ht_tex tex 2 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_tex tex 3 
-->\Hnewline}
+$$\partial_t \eta (t) = g(\eta(t),\varphi(t))$$ ''
+\HCode{\Hnewline <!-- tex4ht_end sing_tex4ht_tex tex 3 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin sing_tex4ht_tex tex 4 
-->\Hnewline}
+$$\partial_t \eta (t) = g(\eta(t),\varphi(t))$$ ''
+\HCode{\Hnewline <!-- tex4ht_end sing_tex4ht_tex tex 4 -->\Hnewline \Hnewline}
+
+\bye
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.tmp 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.tmp
new file mode 100644
index 0000000..41b58e2
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.tmp
@@ -0,0 +1,2 @@
+ 
+/* css.sty */
\ No newline at end of file
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.xref 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.xref
new file mode 100644
index 0000000..055c5d7
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_tex4ht_tex.xref
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{sing_tex4ht_tex.html}{1}%
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_toc.htm
similarity index 99%
copy from tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_toc.htm
index e33e2af..c9aad2c 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_toc.htm
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/sing_toc.htm
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/subsection.html 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/subsection.html
similarity index 99%
copy from tp/tests/tex_html/res_parser/formatting_singular/subsection.html
copy to tp/tests/tex_html/res_parser/formatting_singular_tex4ht/subsection.html
index 07f3b49..b875964 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/subsection.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/subsection.html
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
similarity index 99%
copy from 
tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
copy to 
tp/tests/tex_html/res_parser/formatting_singular_tex4ht/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
index 24218a8..89d2739 100644
--- 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/subsubsection-_0060_0060simple_002ddouble_002d_002d.html
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
similarity index 99%
copy from 
tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
copy to 
tp/tests/tex_html/res_parser/formatting_singular_tex4ht/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
index f2955fd..1022665 100644
--- 
a/tp/tests/tex_html/res_parser/formatting_singular/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
+++ 
b/tp/tests/tex_html/res_parser/formatting_singular_tex4ht/subsubsection-three_002d_002d_002dfour_002d_002d_002d_002d_0027_0027.html
@@ -636,6 +636,10 @@ truc: after a deff item
 
 <style type="text/css">
 <!--
+@import "sing_tex4ht_displaymath.css";
+@import "sing_tex4ht_math.css";
+@import "sing_tex4ht_tex.css";
+
 a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
 a.summary-letter {text-decoration: none}
 blockquote.indentedblock {margin-right: 0em}
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_mathjax/js_licenses.html 
b/tp/tests/tex_html/res_parser/tex_gdef_mathjax/js_licenses.html
new file mode 100644
index 0000000..4c13723
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_gdef_mathjax/js_licenses.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html><head><title>jslicense labels</title></head>
+<body>
+<table id="jslicense-labels1">
+<tr>
+<td><a 
href="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js";>https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js</a></td>
+<td><a href="https://www.apache.org/licenses/LICENSE-2.0";>Apache License, 
Version 2.0.</a></td>
+<td><a 
href="http://docs.mathjax.org/en/latest/web/hosting.html#getting-mathjax-via-git";>http://docs.mathjax.org/en/latest/web/hosting.html#getting-mathjax-via-git</a></td>
+</tr>
+</body></html>
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.1 
b/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.1
new file mode 100644
index 0000000..e69de29
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.2 
b/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.2
new file mode 100644
index 0000000..25eedc1
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.2
@@ -0,0 +1 @@
+tex_gdef.texi:6: warning: raw format tex is not converted
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.html 
b/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.html
new file mode 100644
index 0000000..00ef774
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_gdef_mathjax/tex_gdef.html
@@ -0,0 +1,65 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Tests</title>
+
+<meta name="description" content="Tests">
+<meta name="keywords" content="Tests">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2any">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<style type="text/css">
+<!--
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
+a.summary-letter {text-decoration: none}
+blockquote.indentedblock {margin-right: 0em}
+div.display {margin-left: 3.2em}
+div.example {margin-left: 3.2em}
+kbd {font-style: oblique}
+pre.display {font-family: inherit}
+pre.format {font-family: inherit}
+pre.menu-comment {font-family: serif}
+pre.menu-preformatted {font-family: serif}
+span.nolinebreak {white-space: nowrap}
+span.roman {font-family: initial; font-weight: normal}
+span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
+ul.no-bullet {list-style: none}
+-->
+</style>
+
+<script type='text/javascript'>
+MathJax = {
+  options: {
+    skipHtmlTags: {'[-]': ['pre']},
+    ignoreHtmlClass: 'tex2jax_ignore',
+    processHtmlClass: 'tex2jax_process'
+  },
+};
+</script><script type="text/javascript" id="MathJax-script" async
+  src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js";>
+</script>
+</head>
+
+<body lang="en" class="tex2jax_ignore">
+<div class="top" id="Top">
+<span id="Tests"></span><h1 class="top">Tests</h1>
+
+  \gdef\Desig{\buildrel \rm def \over \equiv}
+
+<p><em class='tex2jax_process'>\(\Desig\)</em>
+</p>
+<div class="displaymath"><em class="tex2jax_process">\[ \Desig
+\]</em></div>
+<hr></div>
+<p><font size="-1">
+  This document was generated on <em>a sunny day</em> using <a 
href="http://www.gnu.org/software/texinfo/";><em>texi2any</em></a>.
+</font></p>
+
+<a href='js_licenses.html' rel='jslicense'><small>JavaScript license 
information</small></a>
+</body>
+</html>



reply via email to

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