tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Ingo Schwarze <schwarze@usta.de>
To: tech@mdocml.bsd.lv
Subject: Re: Bk -words badness
Date: Wed, 7 Jul 2010 00:30:38 +0200	[thread overview]
Message-ID: <20100706223038.GE19714@iris.usta.de> (raw)
In-Reply-To: <4C32FA10.70003@bsd.lv>

Hi Kristaps,

> Do you know whether a `Pp' ends the SYNPRETTY flag?

It does not, see the example file below, which mandoc, old and new
groff all render like this:

  SYNOPSIS
     #include <math.h>

     double
     sin(double x);

     double
     cos(double x);

Of course, we should not recommend using .Pp in the SYNOPSIS,
but that is a separate question.

> I remember some talk about `Pp' having this effect but can't
> remember.

Well, Joerg suggested that it might make sense, but apparently,
it is not how it worked in the past, so i don't think we should
change the rules here.  Even more so given that .Pp is neither
very common nor that useful in the SYNOPSIS.

Yours,
  Ingo


.Dd July 7, 2010
.Dt FN-WITH-PP 3
.Os
.Sh NAME
.Nm Fn-with-Pp
.Nd special handling of .Fn together with .Pp
.Sh SYNOPSIS
.In math.h
.Ft double
.Fn sin "double x"
.Pp
.Ft double
.Fn cos "double x"
.Sh CUSTOM
.nr nS 1
.In math.h
.Ft double
.Fn sinh "double x"
.Pp
.Ft double
.Fn cosh "double x"
.nr nS 0
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

  reply	other threads:[~2010-07-06 22:30 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-05  9:18 Kristaps Dzonsons
2010-07-05 10:35 ` Kristaps Dzonsons
2010-07-05 11:03   ` Kristaps Dzonsons
2010-07-05 22:09   ` Ingo Schwarze
2010-07-06  9:40     ` Kristaps Dzonsons
2010-07-06 22:30       ` Ingo Schwarze [this message]
2010-07-05 22:27 ` Ingo Schwarze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100706223038.GE19714@iris.usta.de \
    --to=schwarze@usta.de \
    --cc=tech@mdocml.bsd.lv \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).