bugGNU roff - Bugs: bug #66432, [troff] want `device` request to...

 
 

bug #66432: [troff] want `device` request to support composite special character escape sequences

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Mon 11 Nov 2024 09:59:47 PM 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

Add a New Comment Rich Markup
   

Thu 14 Nov 2024 05:20:38 PM UTC, comment #1: 

Kicking out beyond groff 1.24.

G. Branden Robinson <gbranden>
Group administrator
Mon 11 Nov 2024 09:59:47 PM UTC, original submission:  

This doesn't work as desired.


$ printf ".device ps:exec 7:device [/Dest /pdf:bm1 /Title (Eat at Joe's Caf\\[e aa].) /Level 1 /OUT pdfmark\n" | ./build/test-groff -T pdf -Z | grep '^x X'
troff:<standard input>:1: error: composite special character escape sequences not yet supported in device extension command arguments
x X ps:exec 7:device [/Dest /pdf:bm1 /Title (Eat at Joe's Caf\[e aa].) /Level 1 /OUT pdfmark


What I want is the same result as if I use the `\X` escape sequence.


$ printf "\X@ps:exec 7:device [/Dest /pdf:bm1 /Title (Eat at Joe's Caf\\[e aa].) /Level 1 /OUT pdfmark@\n" | ./build/test-groff -T pdf -Z | grep '^x X'
x X ps:exec 7:device [/Dest /pdf:bm1 /Title (Eat at Joe's Caf\[u00E9].) /Level 1 /OUT pdfmark


Observe how `\[e aa]` gets translated to `\[u00E9]`.


G. Branden Robinson <gbranden>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    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.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-11-14 gbranden StatusNone Postponed

    Back to the top

    Powered by Savane 3.14-3b9d.
    Corresponding source code