bugGNU troff - Bugs: bug #54213, grodvi: broken ^ and ~


bug #54213: grodvi: broken ^ and ~

Submitted by:  None
Submitted on:  Sat 30 Jun 2018 03:33:14 PM UTC  
Category:  Device - others Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None

Add a New Comment (Rich Markup)

You are not logged in

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


Sat 30 Jun 2018 03:33:14 PM UTC, original submission:  

grodvi replaces ascii ^ (U+005E) by ˆ (U+02C6) and ~ (U+007E) by ˜ (U+02DC).

Test case:

$ cat test.man
.TH test 1
.BI "perl example: " "$str =~ m/^[a-z]$/;"

$ man -Tdvi ./test.man | dvipdfmx > test.pdf

$ pdftotext test.pdf -

And check that there is correct output: $str =~ m/^[a-z]$/;
Currently there is ˆ and ˜.

Werner LEMBERG wrote on mailing list that there are already macros for textual representation form: \(ha and \(ti. So they should be used for ^ and ~ by default.



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


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

Only logged-in users can vote.




No changes have been made to this item

Back to the top

Powered by Savane 3.5