discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Bullets everywhere
@ 2011-01-10 22:11 Ulrich Spörlein
  2011-01-23 14:40 ` Ingo Schwarze
  0 siblings, 1 reply; 5+ messages in thread
From: Ulrich Spörlein @ 2011-01-10 22:11 UTC (permalink / raw)
  To: discuss

Hello,

prompted by some gratuitous differences in groff vs mandoc output, I
wanted to ask for the rationale here (if any).

.Bl -bullet
.It 
one
.El

will print the following raw output:

mandoc:            o^Ho   one
groff[1] -Tascii:  +^H+^Ho^Ho   one
groff[1] -Tutf8:   ·^H·   one
groff[2] -Tascii:  ^[[1m+^Ho   ^[[22mone

[1] is groff 1.19.2 (the last GPLv2 release)
[2] is groff 1.20.1

HTML output of groff is kinda ridiculous:

<p style="margin-left:14%;">one</p>
<p style="margin-top: 1em" valign="top"><b>&bull;</b></p>

It's not even using <h1> for the document title ...

HTML for mandoc 1.10.9:

<ul style="margin-top: 0.00em;margin-bottom: 0.00em;" class="list list-bul">
<li class="list-bul" style="margin-top: 1.00em;">
one</li>

Not that bad, except that I think one shouldn't use multiple <h1> in one
document, but that's not the point of this email.

Postscript!

groff's output is nice (the old one, newer groff has an mdoc error
trying to produce postscript, might be my port is broken ...). The
bullets are Postscript bullets and `--' dashes also use the correct font
symbol.

Mandoc however is producing bold `o's as bullets for Postscript ...
yuck.

So what I'm mostly interested about is the +/o overprinting that groff
is trying to do. This won't work on my xterm, obviously. Was this
something that older printers could be coaxed into? Or teletypes, of
course?

Regards,
Uli
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

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

end of thread, other threads:[~2011-01-25 14:35 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-01-10 22:11 Bullets everywhere Ulrich Spörlein
2011-01-23 14:40 ` Ingo Schwarze
2011-01-23 17:22   ` Ulrich Spoerlein
2011-01-24 15:07     ` Kristaps Dzonsons
2011-01-25 14:35       ` Ulrich Spörlein

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