discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* .br vertical spacing in html output
@ 2018-12-01 21:31 Mark Harris
  2018-12-02 17:21 ` Ingo Schwarze
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Mark Harris @ 2018-12-01 21:31 UTC (permalink / raw)
  To: discuss

With -Thtml, with or without -Ostyle=mandoc.css, a roff .br (line break)
directive is producing a large vertical space between lines.  This is
unexpected and does not occur with -Tascii/utf8.  Here is an example:

--- foo.1 ---
.TH foo 1
.SH OPTIONS
.IP -a
Enable a
.IP -b
Enable b
.IP -c
The following lines are expected to be single-spaced:

  Alpha
.br
  Beta
.br
  Gamma
.br
  Delta

The lines are single-spaced as expected with -Tascii, but with -Thtml
there is a large amount of space between the lines.
.IP -d
Enable d
------

The missing vertical space between .IP paragraphs can be ameliorated by
removing the dl styling from the stylesheet, but I don't see an easy way
to address the extra .br spacing with the stylesheet.  Is this something
that can be addressed in mandoc?

 - Mark
--
 To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv

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

end of thread, other threads:[~2018-12-04  3:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-01 21:31 .br vertical spacing in html output Mark Harris
2018-12-02 17:21 ` Ingo Schwarze
2018-12-03 16:30 ` Ingo Schwarze
2018-12-04  3:38 ` 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).