tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Christian Neukirchen <chneukirchen@gmail.com>
To: tech@mdocml.bsd.lv
Subject: mdocml fix for .PD
Date: Fri, 20 Mar 2015 11:29:40 +0100	[thread overview]
Message-ID: <87zj786jxn.fsf@gmail.com> (raw)

Hi,

I'm not exactly sure about the semantics of .PD, but applying the
following affects 29 of 12419 manpages on my system, and in each case
the new version looks as it's meant to be.  It now renders like
Groff 1.22.3 and Plan9 nroff.

In particular this fixes:

  cscope.1 gawk.1 ksh.1 qrencode.1 tcsh.1 xargs.1 zip.1 zipcloak.1 zsh.1
  zshall.1 zshbuiltins.1 zshcalsys.1 zshcompctl.1 zshcompsys.1
  zshcompwid.1 zshcontrib.1 zshexpn.1 zshmisc.1 zshmodules.1
  zshoptions.1 zshparam.1 zshroadmap.1 zshtcpsys.1 zshzftpsys.1 zshzle.1
  elf.5 nsswitch.conf.5 nmh.7 chcpu.8

--- man_macro.c	2015-03-13 13:38:38.000000000 +0100
+++ man_macro.c	2015-03-19 23:20:11.786601197 +0100
@@ -79,7 +79,7 @@
 	{ blk_exp, MAN_BSCOPE | MAN_EXPLICIT }, /* RS */
 	{ in_line_eoln, 0 }, /* DT */
 	{ in_line_eoln, 0 }, /* UC */
-	{ in_line_eoln, 0 }, /* PD */
+	{ in_line_eoln, MAN_BSCOPE }, /* PD */
 	{ in_line_eoln, 0 }, /* AT */
 	{ in_line_eoln, 0 }, /* in */
 	{ in_line_eoln, 0 }, /* ft */

hth,
-- 
Christian Neukirchen  <chneukirchen@gmail.com>  http://chneukirchen.org
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

             reply	other threads:[~2015-03-20 10:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-20 10:29 Christian Neukirchen [this message]
2015-03-20 16:35 ` Ingo Schwarze
2015-03-20 16:45   ` Christian Neukirchen
  -- strict thread matches above, loose matches on Subject: below --
2015-03-20 10:29 Christian Neukirchen

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=87zj786jxn.fsf@gmail.com \
    --to=chneukirchen@gmail.com \
    --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).