discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* -column issue
@ 2010-08-06  7:06 Jason McIntyre
  2010-08-06 17:08 ` Kristaps Dzonsons
  0 siblings, 1 reply; 10+ messages in thread
From: Jason McIntyre @ 2010-08-06  7:06 UTC (permalink / raw)
  To: discuss

hi. there's a formatting issue for -column lists. the best example i can
find is in openbsd's sysctl.3 (it's riddled with these):

	.Bl -column "Second level nameXXXXXX" integerXXX -offset indent
	.It Sy Second level name	Type	Changeable
	.It Dv FS_POSIX_SETUID No "	integer	yes"
	.El

(the items are tab-separated)

groff formats it thusly:

	Second level name          Type          Changeable
	FS_POSIX_SETUID            integer       yes

all 3 column headers are displayed in Sy font.

but mandoc gets the spacing wrong:

	Second level name          Type          Changeable
	FS_POSIX_SETUID           integer       yes

additionally, only "Second level name" is rendered in Sy font. "Type"
and "Changeable" are unaffected.

these -column lists are icky!
jmc
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

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

end of thread, other threads:[~2010-08-07 18:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-06  7:06 -column issue Jason McIntyre
2010-08-06 17:08 ` Kristaps Dzonsons
2010-08-06 17:52   ` Jason McIntyre
2010-08-06 18:13     ` Kristaps Dzonsons
2010-08-06 18:23       ` Jason McIntyre
2010-08-06 18:35         ` Kristaps Dzonsons
2010-08-07 16:15         ` Ingo Schwarze
2010-08-07 15:59     ` Ingo Schwarze
2010-08-07 17:32       ` Kristaps Dzonsons
2010-08-07 18:03         ` 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).