bugGNU troff - Bugs: bug #51468, [PATCH] Reverse the change '.it'...

 
 

bug #51468: [PATCH] Reverse the change '.it' to '.itc' for the simple macros

Submitted by:  Bjarni Ingi Gislason <bjarniig>
Submitted on:  Fri 14 Jul 2017 06:10:50 PM UTC  
 
Category: Macro - manSeverity: 1 - Wish
Item Group: WishlistStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: ClosedPlanned Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 19 Nov 2017 05:06:56 AM UTC, comment #2:

I'm attaching my alternative fix.

groff_hdtbl(7) uses a bunch of private font-family switching macros, so the workaround is kind of gross. man(7)'s failure to follow in ms(7)'s footsteps and provide a simple .R macro is another wart that makes this worse than it should be.

On the other hand, the fix to groff_out(5) is clean and, dare I say, idiomatic.

(file #42437)

G. Branden Robinson <gbranden>
Project Member
Sun 19 Nov 2017 04:22:21 AM UTC, comment #1:

I'm closing this as a "won't fix", which is something I normally don't like to do.

See the discussion at https://lists.gnu.org/archive/html/groff/2017-04/msg00065.html and vicinity for why.

However, it is true that the groff_out(5) and groff_hdtbl(7) pages need to render correctly, so I am committing patch shortly to fix them.

G. Branden Robinson <gbranden>
Project Member
Fri 14 Jul 2017 06:10:50 PM UTC, original submission:

The simple font (one letter) and size changing (SM, SB) macros don't need
a request '.itc' to do their job.
That request can extend its influence too far.

An example from "groff_out.5.man" shows that:

.B D\c
\~commands are assumed to be device-specific.

A transparent line indicator (\!) should work for those macros if more
than one line is asked for.

Macros that operate on the whole next input line do benefit from an '.itc'.
The next line can then be split into several source lines (for example all
beginning with a macro-call).

An alternative could be to use a transparent line indicator (\!).

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gbranden (Posted a comment)
  • -unavailable- added by bjarniig (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Nov 2017 05:06:56 AM UTCgbrandenAttached File-=>Added 51468-alternative-fix.diff, #42437
    Sun 19 Nov 2017 04:22:21 AM UTCgbrandenCategoryNone=>Macro - man
      Severity3 - Normal=>1 - Wish
      Item GroupNone=>Wishlist
      StatusNone=>Wont Fix
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1