URL:
<https://savannah.gnu.org/bugs/?55579>
Summary: Subject: env.cpp: Restoring ".ad l" after ".na" does
not work with ".ad"
Project: GNU troff
Submitted by: bjarniig
Submitted on: Sat 26 Jan 2019 01:25:58 AM UTC
Category: Core
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
Subject: env.cpp: Restoring ".ad l" after ".na" does not work with ".ad"
An example:
.pl 20v
.ll 32n
.ad l
Adjustment type is \n(.j.
Line to test line adjustment.
.br
.na
Adjustment type is \n(.j.
Line to test adjustment
.br
.ad
Adjustment type is \n(.j.
Line to test adjustment
.br
Output with "test-nroff ...":
Adjustment type is 0. Line to
test line adjustment.
Adjustment type is 0. Line to
test adjustment
Adjustment type is 1. Line to
test adjustment
The ".na" request does not change the value '0', but ".ad" increases
it by 1 like any other value that ".na" created (0, 2, 4) from
(1, 3, 5).
The code for the line adjustment is in the file
"src/roff/troff/env.cpp".
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55579>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff