bug-groff
[Top][All Lists]
Advanced

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

[bug #53796] [PATCH] man pages: Add italic correction before '\c'


From: G. Branden Robinson
Subject: [bug #53796] [PATCH] man pages: Add italic correction before '\c'
Date: Sat, 5 Mar 2022 17:31:34 -0500 (EST)

Update of bug #53796 (project groff):

                Category:                    None => General                
              Item Group:          Feature change => Lint                   

    _______________________________________________________

Follow-up Comment #3:


commit 7823c1ca9e095f0e9bb1b6e07d979aae7695514c
Author: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Date:   Mon Apr 30 21:30:32 2018 +0000

    man pages: Add italic correction before '\c'.
    
    The italic correction '\/' in the macros 'I', '[BR]I', and 'I[BR]' is
    ignored if it is applied after a '\c' escape in an argument.
    
    Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
    
    "\c works on the output level. Anything after this escape on the same
    line is ignored except \R, which works as usual." (_The GNU Troff
    Manual_, section 5.14, "Line Control")
    
    Manually restore the italic correction where applicable.
    
    And even where it's not; the next thing output after the italic
    correction in the chem.1 and groff_man.1 cases is a space, which does
    not receive an italic correction.  But it's harmless, seems better to
    have it for pedagogical (or cargo-cult) reasons, and is more robust
    against future changes that may put a glyph where the space had been.
    
    Signed-off-by: G. Branden Robinson <g.branden.robinson@gmail.com>


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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