bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #51376] Bug in the request "itc"; makes request "it" behave the sam


From: Bjarni Ingi Gislason
Subject: [bug #51376] Bug in the request "itc"; makes request "it" behave the same way
Date: Mon, 3 Jul 2017 17:30:51 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

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/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]