URL:
<http://savannah.gnu.org/bugs/?51376>
Summary: Bug in the request "itc"; makes request "it" behave
the same way
Project: GNU troff
Submitted by: bjarniig
Submitted on: Mon 03 Jul 2017 09:30:50 PM UTC
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
_______________________________________________________
Details:
The request "itc" lets the request "it" behave like itself
Discovered in "groff_hdtbl(7)" while using "itc" in some macros in
"an-old.tmac".
Constructed file for a test case is:
.de R
.ft R
..
.
.pl 5
.ft B
Something
is
.\" also change .itc into .it
.itc 1 R
in\c
the
air.
.ft B
.it 1 R
In\c
the
air
.br
.ft B
Something
is
.it 1 R
in\c
the
air.
.ft B
.it 1 R
In\c
the
air
Run with "nroff <test-file>" (both versions)
To me, it looks like that the variable "curenv->continued_input_trap " in
the file "groff/src/roff/troff/env.cpp" is never reset.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51376>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
_______________________________________________
bug-groff mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-groff