bug-groff
[Top][All Lists]
Advanced

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

[bug #64478] want mechanism to clear hyphenation patterns defined with .


From: anonymous
Subject: [bug #64478] want mechanism to clear hyphenation patterns defined with .hw
Date: Thu, 27 Jul 2023 00:29:06 -0400 (EDT)

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

                 Summary: want mechanism to clear hyphenation patterns defined
with .hw
                   Group: GNU roff
               Submitter: None
               Submitted: Thu 27 Jul 2023 04:29:04 AM UTC
                Category: Core
                Severity: 3 - Normal
              Item Group: Feature change
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 27 Jul 2023 04:29:04 AM UTC By: Anonymous
[Quoting Branden in http://lists.gnu.org/r/groff/2023-03/msg00108.html]

One of the themes of my suggested revisions to GNU troff has been to provide
ways to unwind or reset things that historically haven't been available.  One
of those is environment removal (bug #60954).

Another that has occurred to me is hyphenation override removal.

Today, invoking the `hw` request without arguments does nothing.  We could
change it to clear any existing hyphenation overrides.

Or, perhaps better, we could add an 'hwrm' or 'rhw' request; if given
arguments, it reads each word (ignoring hyphens), matches it against the
existing list of overrides, and removes the word if found.  If given no
arguments, it removes all overrides.  Then, an.tmac (and doc.tmac) could call
it when hitting `TH` (and `Dd`) macros, tidying up the state of the formatter
for the next document.







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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