discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* text wrapping in Bl -column
@ 2017-06-28 22:01 Yuri Pankov
  2017-06-29 15:40 ` Ingo Schwarze
  0 siblings, 1 reply; 2+ messages in thread
From: Yuri Pankov @ 2017-06-28 22:01 UTC (permalink / raw)
  To: mdocml-discuss

Hi,

I'm trying to replace a table with "Bl -column", and have a problem with 
text not being wrapped at the column length (example below).  Am I 
missing something here, or is that just how the "Bl -column" works?

BTW, the following sentence in mdoc(7) doesn't seem to be correct, at 
least I'm seeing that it works in example below:

"Ta is only recognised as a macro when called by other macros, not as 
the first macro on a line."


------------------------------------------------------------------------------
.Dd June 29, 2017
.Dt TEST 1
.Os
.Sh NAME
.Nm test
.Nd test
.Sh DESCRIPTION
.Bl -column "widthforthecolumn" "widthforthecolumn" "widthforthecolumn"
.It MESSAGE Ta DESCRIPTION Ta NOTES
.It
Some text for the first column that should be wrapped
.Ta
Some text for the second column that should be wrapped
.Ta
Some text for the third column that should be wrapped
.El
------------------------------------------------------------------------------

renders as (mandoc 1.14.1 with -Owidth=72):

------------------------------------------------------------------------------
TEST(1)                       User Commands                      TEST(1)

NAME
      test – test

DESCRIPTION
      MESSAGE              DESCRIPTION          NOTES
      Some text for the first column that should be wrapped
                           Some text for the second column that should be
                           wrapped              Some text for the third
                                                column that should be
                                                wrapped

illumos                       June 29, 2017                      illumos
------------------------------------------------------------------------------
--
 To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-29 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-28 22:01 text wrapping in Bl -column Yuri Pankov
2017-06-29 15:40 ` Ingo Schwarze

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).