texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: Use <tt> for @t in html32.init


From: Patrice Dumas
Subject: branch master updated: Use <tt> for @t in html32.init
Date: Sun, 07 Aug 2022 09:26:08 -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 17db1721fa Use <tt> for @t in html32.init
17db1721fa is described below

commit 17db1721fab4ae1ef248ae349bde8a9f33b38159
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Aug 7 15:25:37 2022 +0200

    Use <tt> for @t in html32.init
---
 tp/init/html32.pm                                    |  2 ++
 .../res_parser/formatting_html32/formatting.html     | 20 ++++++++++----------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/tp/init/html32.pm b/tp/init/html32.pm
index 4d3cc05d96..58a571b6fc 100644
--- a/tp/init/html32.pm
+++ b/tp/init/html32.pm
@@ -92,8 +92,10 @@ foreach my $context ('preformatted', 'normal') {
   foreach my $command('sansserif', 'r') {
     texinfo_register_style_command_formatting($command, undef, undef, 
$context);
   }
+  texinfo_register_style_command_formatting('t', 'tt', undef, $context);
 }
 
+
 # reset BIG_RULE to HTML3.2 compatible rule if in TEXI2HTML mode
 texinfo_register_handler('setup', \&html32_setup);
 
diff --git a/tp/tests/layout/res_parser/formatting_html32/formatting.html 
b/tp/tests/layout/res_parser/formatting_html32/formatting.html
index 7722d8b701..739c9ab6f4 100644
--- a/tp/tests/layout/res_parser/formatting_html32/formatting.html
+++ b/tp/tests/layout/res_parser/formatting_html32/formatting.html
@@ -1002,7 +1002,7 @@ but , ,
 <code>@samp{--a}</code> `<samp>--a</samp>'
 <code>@sc{--a}</code> <small>-A</small>
 <code>@strong{--a}</code> <strong>-a</strong>
-<code>@t{--a}</code> <code>--a</code>
+<code>@t{--a}</code> <tt>--a</tt>
 <code>@sansserif{--a}</code> -a
 <code>@slanted{--a}</code> <i>-a</i>
 <code>@titlefont{--a}</code> </p><h1>-a</h1>
@@ -1803,7 +1803,7 @@ html ''
 </em></div>
 <div><em>TeX LaTeX -!- &aring; &reg; &deg; 
 </em></div>
-<div><em><code>t</code> 
+<div><em><tt>t</tt> 
 </em></div>
 <ul>
 <li> e-mph item
@@ -2054,7 +2054,7 @@ but , ,
 <code>@samp{--a}</code> `<samp>--a</samp>'
 <code>@sc{--a}</code> <small>-A</small>
 <code>@strong{--a}</code> <strong>-a</strong>
-<code>@t{--a}</code> <code>--a</code>
+<code>@t{--a}</code> <tt>--a</tt>
 <code>@sansserif{--a}</code> -a
 <code>@slanted{--a}</code> <i>-a</i>
 <code>@titlefont{--a}</code> </p><h1>-a</h1>
@@ -2854,7 +2854,7 @@ html ''
 </em></div>
 <div><em>TeX LaTeX -!- &aring; &reg; &deg; 
 </em></div>
-<div><em><code>t</code> 
+<div><em><tt>t</tt> 
 </em></div>
 <ul>
 <li> e-mph item
@@ -3162,7 +3162,7 @@ but , ,
 <code>@samp{--a}</code> `<samp>--a</samp>'
 <code>@sc{--a}</code> <small>-A</small>
 <code>@strong{--a}</code> <strong>-a</strong>
-<code>@t{--a}</code> <code>--a</code>
+<code>@t{--a}</code> <tt>--a</tt>
 <code>@sansserif{--a}</code> -a
 <code>@slanted{--a}</code> <i>-a</i>
 <code>@titlefont{--a}</code> </p><h1>-a</h1>
@@ -3962,7 +3962,7 @@ html ''
 </em></div>
 <div><em>TeX LaTeX -!- &aring; &reg; &deg; 
 </em></div>
-<div><em><code>t</code> 
+<div><em><tt>t</tt> 
 </em></div>
 <ul>
 <li> e-mph item
@@ -4212,7 +4212,7 @@ but , ,
 <code>@samp{--a}</code> `<samp>--a</samp>'
 <code>@sc{--a}</code> <small>-A</small>
 <code>@strong{--a}</code> <strong>-a</strong>
-<code>@t{--a}</code> <code>--a</code>
+<code>@t{--a}</code> <tt>--a</tt>
 <code>@sansserif{--a}</code> -a
 <code>@slanted{--a}</code> <i>-a</i>
 <code>@titlefont{--a}</code> </p><h1>-a</h1>
@@ -5012,7 +5012,7 @@ html ''
 </em></div>
 <div><em>TeX LaTeX -!- &aring; &reg; &deg; 
 </em></div>
-<div><em><code>t</code> 
+<div><em><tt>t</tt> 
 </em></div>
 <ul>
 <li> e-mph item
@@ -5267,7 +5267,7 @@ but , ,
 <code>@samp{--a}</code> `<samp>--a</samp>'
 <code>@sc{--a}</code> --A
 <code>@strong{--a}</code> <strong>--a</strong>
-<code>@t{--a}</code> <code>--a</code>
+<code>@t{--a}</code> <tt>--a</tt>
 <code>@sansserif{--a}</code> -a
 <code>@slanted{--a}</code> <i>-a</i>
 <code>@titlefont{--a}</code> </pre><h1>--a</h1><pre>
@@ -6205,7 +6205,7 @@ Invalid use of @':
 </pre><div><em>TeX LaTeX -!- &aring; &reg; &deg; 
 </em></div><pre>
 
-</pre><div><em><code>t</code> 
+</pre><div><em><tt>t</tt> 
 </em></div><pre>
 
 </pre><ul>



reply via email to

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