URL:
  <http://savannah.gnu.org/bugs/?53161>

                 Summary: mdoc.tmac: ".Bl -columns" splits a long last column
wrongly
                 Project: GNU troff
            Submitted by: bjarniig
            Submitted on: Wed 14 Feb 2018 11:57:07 PM UTC
                Category: Macro - mdoc
                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: mdoc.tmac: ".Bl -columns" splits a long last column wrongly

  The original bug was seen in "file(1)").

  Example (name of file is "prof.mdoc"):

.Dd $Mdocdate: February 6 2016 $
.Dt mantest 1
.Os
.Sh NAME
.Nm mantest
.Nd Small script to test mdoc macros
.sp
.Bl -column "First sentence" "Second sentence" "Third sentence" "Fourth \
sentence is longer than"
.It First sentence Ta "Second sentence" Ta "Third sentence" Ta "Fourth \
sentence is longer than"
.El


  test-groff -mandoc -Tascii prof.mdoc

  Output is:

prof.mdoc:10: backtrace: string 'doc-str-dpr'
groff/build/tmac/doc.tmac:252: backtrace: macro 'doc-do-2'
groff/build/tmac/doc.tmac:2294: backtrace: macro 'Ta'
groff/build/tmac/doc.tmac:247: backtrace: macro 'doc-print-recursive'
groff/build/tmac/doc.tmac:264: backtrace: macro 'doc-do-2'
groff/build/tmac/doc.tmac:2294: backtrace: macro 'Ta'
groff/build/tmac/doc.tmac:247: backtrace: macro 'doc-print-recursive'
groff/build/tmac/doc.tmac:264: backtrace: macro 'doc-do-2'
groff/build/tmac/doc.tmac:2294: backtrace: macro 'Ta'
groff/build/tmac/doc.tmac:247: backtrace: macro 'doc-print-recursive'
groff/build/tmac/doc.tmac:264: backtrace: macro 'doc-print-recursive'
groff/build/tmac/doc.tmac:264: backtrace: macro 'doc-do-2'
groff/build/tmac/doc.tmac:2287: backtrace: macro 'doc-column-list'
groff/build/tmac/doc.tmac:2017: backtrace: macro 'It'
troff: prof.mdoc:11: warning [p 1, 1.2i]: can't break line
groff/build/tmac/doc.tmac:148: backtrace: macro 'doc-print-and-reset'
groff/build/tmac/doc.tmac:260: backtrace: macro 'doc-do-2'
groff/build/tmac/doc.tmac:2294: backtrace: macro 'Ta'
groff/build/tmac/doc.tmac:247: backtrace: macro 'doc-print-recursive'
groff/build/tmac/doc.tmac:264: backtrace: macro 'doc-do-2'
groff/build/tmac/doc.tmac:2294: backtrace: macro 'Ta'
groff/build/tmac/doc.tmac:247: backtrace: macro 'doc-print-recursive'
groff/build/tmac/doc.tmac:264: backtrace: macro 'doc-do-2'
groff/build/tmac/doc.tmac:2294: backtrace: macro 'Ta'
groff/build/tmac/doc.tmac:247: backtrace: macro 'doc-print-recursive'
groff/build/tmac/doc.tmac:264: backtrace: macro 'doc-print-recursive'
groff/build/tmac/doc.tmac:264: backtrace: macro 'doc-do-2'
groff/build/tmac/doc.tmac:2287: backtrace: macro 'doc-column-list'
groff/build/tmac/doc.tmac:2017: backtrace: macro 'It'
troff: prof.mdoc:11: warning [p 1, 1.3i]: can't break line

mantest(1)                BSD General Commands Manual              
mantest(1)

NAME
     mantest -- Small script to test mdoc macros


     First sentence    Second sentence    Third sentence    Fourth sentence
is
                                                                              
               longer
                                                                              
               than

BSD                            February 6, 2016                           
BSD







    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53161>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
bug-groff mailing list
bug-groff@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-groff

Reply via email to