bug-groff
[Top][All Lists]
Advanced

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

[bug #61425] [man] aggressive breaking before typeset URIs broke .UR wit


From: G. Branden Robinson
Subject: [bug #61425] [man] aggressive breaking before typeset URIs broke .UR within .TP
Date: Sat, 6 Nov 2021 01:43:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Update of bug #61425 (project groff):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 
         Planned Release:                    None => 1.23.0                 

    _______________________________________________________

Follow-up Comment #1:


commit 6aaef43904552889911e8a3e8d7006eb9f7adb64
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat Nov 6 07:00:11 2021 +1100

    [man]: Fix paragraph tag regressions.
    
    * tmac/an-ext.mac (UR, MR): Only create an environment and diversion if
      we're not already in one of the latter.  If we are (in groff man, this
      occurs only when collecting a `TP` paragraph tag), then typeset the
      URI as part of the indented paragraph.
    
      (UE, ME): Pop the diversion and environment stacks only if we pushed
      them in the first place.  Eliminate spurious space in post-URI
      arguments by only typesetting excess macro parameters if there were
      any.
    
    Fixes <https://savannah.gnu.org/bugs/?61425>.

commit b5461ca30b0f91a3efdead93aa7d5c2dca112d27
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Sat Nov 6 02:53:36 2021 +1100

    Revert "[man]: Modify typeset URI breaking strategy."
    
    This reverts commit c7efb5fd40aae5293d9de87092b7a4b2be89df91.
    
    Unfortunately this was not fully baked with respect to .UR/.UE or
    .MT/.ME embedding within a .TP paragraph tag.  Resolving that means
    coping with nested diversions.
    
    Better luck next time, I tell myself.
    
    tmac/tests/an-ext_link-macros-work-in-paragraph-tags.sh still fails.
    Will fix in next commit.

commit b11731541772c8fa46cf34d32db7dd60f6ed428a
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Fri Nov 5 05:35:08 2021 +1100

    [man]: Regression-test Savannah #61425.
    
    * tmac/tests/an-ext_link-macros-work-in-paragraph-tags.sh: Do it.
    * tmac/tmac.am (tmac_TESTS): Run test.
    
    Also fix ordering of `tmac_TESTS`.
    
    Test fails at this commit.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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