bugGNU troff - Bugs: bug #53161, mdoc.tmac: ".Bl...

 
 

bug #53161: mdoc.tmac: ".Bl -columns" splits a long last column wrongly

Submitted by:  Bjarni Ingi Gislason <bjarniig>
Submitted on:  Wed 14 Feb 2018 11:57:07 PM UTC  
 
Category:  Macro - mdoc Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 14 Feb 2018 11:57:07 PM UTC, original submission:  

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

Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by schwarze (Updated the item)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-02-16 schwarze StatusNone => Confirmed

    Back to the top


    Powered by Savane 3.5