groff-commit
[Top][All Lists]
Advanced

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

[groff] 13/21: grohtml(1): Fix erroneous claim.


From: G. Branden Robinson
Subject: [groff] 13/21: grohtml(1): Fix erroneous claim.
Date: Tue, 23 Aug 2022 14:18:42 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 6b6620c26101c003440d9637ec57c406e3c96ecc
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Aug 22 07:18:22 2022 -0500

    grohtml(1): Fix erroneous claim.
    
    * src/devices/grohtml/grohtml.1.man: Fix erroneous claim.  Images are
      not generated when "baseline rules" or "box rules" are encountered in
      the input.  These are troff special characters; the former is
      converted to an underscore and the latter to U+2502, "box drawings
      light vertical".  This remains true even if a series of them is drawn
      with the `\l` escape sequence.  (I also checked vertical line drawing
      with `\L`.  grohtml's handling of that provoked a rather wet
      eructation from my lower esophageal sphincter--the output is assuredly
      not correct.  But it's still not an image.)
    
    Play along at home!
    
    $ printf "foo\\l'1i\\[ru]'bar\\[ru]baz\\[br]qux\n" | groff -Thtml
---
 ChangeLog                         | 13 +++++++++++++
 src/devices/grohtml/grohtml.1.man |  6 ++----
 2 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ebb72f7bd..88ac8bdc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2022-08-22  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * src/devices/grohtml/grohtml.1.man: Fix erroneous claim.
+       Images are not generated when "baseline rules" or "box rules"
+       are encountered in the input.  These are troff special
+       characters; the former is converted to an underscore and the
+       latter to U+2502, "box drawings light vertical".  This remains
+       true even if a series of them is drawn with the `\l` escape
+       sequence.  (I also checked vertical line drawing with `\L`.
+       grohtml's handling of that provoked a rather wet eructation from
+       my lower esophageal sphincter--the output is assuredly not
+       correct.  But it's still not an image.)
+
 2022-08-22  Deri James  <deri@chuzzlewit.myzen.co.uk>
 
        Bug #62934 - after glyph remapped mark it as used
diff --git a/src/devices/grohtml/grohtml.1.man 
b/src/devices/grohtml/grohtml.1.man
index 389b8f5fc..9a5c84a57 100644
--- a/src/devices/grohtml/grohtml.1.man
+++ b/src/devices/grohtml/grohtml.1.man
@@ -277,11 +277,9 @@ generates an image whenever an
 equation,
 .I @g@tbl
 table,
+or
 .I @g@pic
-picture,
-or line
-(such as a baseline rule or box rule)
-is encountered in the input.
+picture is encountered in the input.
 .
 .I \%grohtml
 therefore may run several commands as part of its operation.



reply via email to

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