bugGNU roff - Bugs: bug #65829, [troff] want way to translate a...

 
 

bug #65829: [troff] want way to translate a character to \~

Submitter:  Dave <barx>
Submitted:  Mon 03 Jun 2024 05:06:58 AM UTC
   
 
Category:  Core Severity:  1 - Wish
Item Group:  Feature change Status:  Postponed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Thu 14 Nov 2024 07:12:25 PM UTC, comment #1: 

Post-1.24.

G. Branden Robinson <gbranden>
Group administrator
Mon 03 Jun 2024 05:06:58 AM UTC, original submission:  

Comments 10 and 11 of bug #55154 point out that due to the way .tr and .char and their ilk handle translations, there is no way to translate an input character to a stretchable unbreakable space.

The use case presented there (of working around the now-fixed bug #62300 in older preconvs) would not be helped by a fix to this bug, since this fix would not be available in older groffs.  But there are other reasons one might want to translate an input character to \~.

As Bjarni points out in bug #65654, many common Unix text-display tools make U+0020 and U+00A0 visually indistinguishable, so the user might choose to have a different character represent U+00A0 and let groff translate it appropriately.  While this is a simple translation to preprocess before groff sees the input, it's such a simple translation that groff ought to be able to handle it itself.

Dave <barx>
Group Member

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by gbranden (Updated the item)
  • -email is unavailable- added by barx (Submitted the item)
  •  

    Votes

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

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

    History

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-11-14 gbranden StatusNone Postponed
    2024-06-05 gbranden SummaryWant way to translate a character to \~ [troff] want way to translate a character to \~

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code