bug-groff
[Top][All Lists]
Advanced

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

[bug #63332] recent fallbacks.tmac change degrades ASCII output


From: Dave
Subject: [bug #63332] recent fallbacks.tmac change degrades ASCII output
Date: Mon, 7 Nov 2022 10:53:10 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63332>

                 Summary: recent fallbacks.tmac change degrades ASCII output
                 Project: GNU troff
               Submitter: barx
               Submitted: Mon 07 Nov 2022 09:53:09 AM CST
                Category: Macro - others/general
                Severity: 2 - Minor
              Item Group: Rendering/Cosmetics
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 07 Nov 2022 09:53:09 AM CST By: Dave <barx>
The changes that commit 132182bd
<http://git.savannah.gnu.org/cgit/groff.git/commit/?id=132182bd> made to
tmac/fallbacks.tmac
<http://git.savannah.gnu.org/cgit/groff.git/tree/tmac/fallbacks.tmac> degrade
ASCII output in a way I can't explain.

First I run a version of groff _without_ this commit:

$ echo 'I \[dg] you' | groff -Tascii -mtty-char | cat -s
I <*> you


This is the expected output: tmac/tty-char.tmac
<http://git.savannah.gnu.org/cgit/groff.git/tree/tmac/tty-char.tmac> defines
\[dg] as output above.

But applying the commit 132182bd7 changes to fallbacks.tmac makes this go
awry:

$ echo 'I \[dg] you' | groff -Tascii -mtty-char | cat -s
troff:<standard input>:1: warning: special character 'dg' not defined
I  you


I don't understand this, because while the updated fallbacks.tmac defines a
new character _as_ \[dg], it does (or should do) nothing to change the
definition of \[dg] itself, or to prevent \[dg] from being subsequently
defined.  The same is true of \[dd], which shows the same effect.

(This ticket reproduces comment 27 of the closed bug #58930.)







    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63332>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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