URL:
<http://savannah.gnu.org/bugs/?54213>
Summary: grodvi: broken ^ and ~
Project: GNU troff
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
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
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.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?54213>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff