bug-groff
[Top][All Lists]
Advanced

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

[bug #63046] [mdoc] handle rendering option strings and registers as man


From: G. Branden Robinson
Subject: [bug #63046] [mdoc] handle rendering option strings and registers as man(7) does
Date: Tue, 27 Dec 2022 04:27:29 -0500 (EST)

Update of bug #63046 (project groff):

                  Status:             In Progress => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #8:

I'm punting MF and U to a subsequent release since there are thorny issues
with PDF hotspots to work out for generalized hyperlink support.

Reconceptualizing this as bringing mdoc(7) into parity with man(7) as of groff
1.22.4, this is complete.


commit 78922cf9f39f6ebcd3a80aaab9c3a2931b8b0ad4
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date:   Tue Dec 27 02:46:19 2022 -0600

    [mdoc]: Support `HF` string.
    
    * tmac/doc.tmac (initialization): Add logic supporting `HF` string just
      as our man(7) implementation does.  If the font name ends with `B` (as
      the default does), set `doc-remap-I-style-in-headings` register and
      extract font family, which can be empty (as is the default).
    * tmac/mdoc/doc-common (Sh, Ss): If `doc-remap-I-style-in-headings`
      register set, perform (and unwind) font remapping of italic to
      bold-italic face.
    * tmac/mdoc/doc-ditroff:
    * tmac/mdoc/doc-nroff: Define `doc-Sh-font` in terms of `HF`.
    
    * tmac/tests/doc_heading-font-remapping-works.sh: Test it.
    * tmac/tmac.am (tmac_TESTS): Run test.
    
    * tmac/groff_mdoc.7.man (Options): Document it.
    * NEWS: Update item.
    
    Fixes last part of <https://savannah.gnu.org/bugs/?63046>.



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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