tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Nested list spacing issue
@ 2014-11-10 17:40 Steffen Nurpmeso
  2014-11-10 19:03 ` Steffen Nurpmeso
  0 siblings, 1 reply; 4+ messages in thread
From: Steffen Nurpmeso @ 2014-11-10 17:40 UTC (permalink / raw)
  To: tech

Hello,

I'm sure it's known but i can't find a TODO entry in cvs(1) HEAD:
suppose this

  .Sh TABLE OF CONTENTS
  .Bl -inset
  .It Sx "DESCRIPTION"
  .Bl -tag -offset indent
  .It Sx "Creating a table of contents"
  ...
  .El
  ...
  .El

In groff v1.22.3 you will see

  TABLE OF CONTENTS
       DESCRIPTION

             Creating a table of contents

but in mandoc v1.13.1 you get

  TABLE OF CONTENTS
       DESCRIPTION
             Creating a table of contents

which i think lacks an initial vertical space when the .Bl is
opened?  A different approach could be found below, but i don't
know if it's always like that (and am too lazy to evaluate).

--steffen

diff --git a/mandoc.1 b/mandoc.1
index 19c90f6..838ea51 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1572,6 +1572,7 @@ macro in
 .Fl T Ns Cm ascii
 does not assert a prior vertical break, just as it doesn't with
 .Sq \&Sh .
+Likewise the first item of a nested list won't assert a vertical break.
 .It
 The
 .Sq \&na
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

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

end of thread, other threads:[~2014-11-11 10:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-10 17:40 Nested list spacing issue Steffen Nurpmeso
2014-11-10 19:03 ` Steffen Nurpmeso
2014-11-10 22:06   ` Ingo Schwarze
2014-11-11 10:49     ` Steffen Nurpmeso

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).