tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: Ingo Schwarze <schwarze@usta.de>
To: tech@mdocml.bsd.lv
Subject: Re: sync results
Date: Wed, 6 Jul 2011 08:03:32 +0200	[thread overview]
Message-ID: <20110706060332.GB29041@iris.usta.de> (raw)
In-Reply-To: <4E1306FA.3070801@bsd.lv>

Hi Kristaps,

Kristaps Dzonsons wrote on Tue, Jul 05, 2011 at 02:43:38PM +0200:
> Ingo Schwarze wrote:

> I'm not able to reproduce some of these.

>>i'm currently syncing from bsd.lv to openbsd.org.
>>The code looks good, and in the output, i see many improvements,
>>so i will now commit the sync.
>>
>>
>>However, there are also a three tiny regressions:
>>
>>cvs(1) contains this code:
>>
>>.TP 1i
>>\fB?\fP \fIfile\fP
>>\fIfile\fP is in your working directory, but does not correspond to
>>anything in the source repository, and is not in the list of files
>>for \fBcvs\fP to ignore (see the description of the \fB\-I\fP option).
>>.PP
>>.RS .5i
>>.sp
>>Use the
>>.B \-A
>>option to reset any sticky tags, dates, or
>>.B \-k
>>options.  (If you get a working copy of a file by using one of the
>>
>>Now doubtless, .PP .RS .sp in a row is horrible.
>>However, with groff and old mandoc, that gave one blank line.
>>Now there are two.

> This is not the case with my machine (groff 1.19.2).
> 
> The following:
> 
> .TH FOO 1
> .SH NAME
> foo - bar
> .SH DESCRIPTION
> hi.
> .PP
> .RS .5i
> .sp
> Use the
> 
> Has two spaces between the "hi" and "Use the" with both groff and
> mandoc (using nroff -mandoc and groff -Tascii -mandoc).

That looks like a bug in groff-1.19 that has been fixed in 1.21.
With groff-1.21 and your test code, i get one blank line between
"hi" and "Use the", which makes more sense given the general
tendency of roff to compress multiple blank lines to one.

>> lynx(1) contains this code:
>>
>> .TP
>> .B \-cookie_file\fR=\fIFILENAME
>> specifies a file to use to read cookies.
>>
>> In groff and old mandoc, the indent of "specifies" relative to "-cookie"
>> was 7, now it is 5.

> Are you sure?  I just ran this code and had both mandoc and groff
> align "specifies" under the underscore, i.e., 7 spaces.

Yes, with both OpenBSD and bsd.lv mandoc, i get the "specifies"
aligned under the "i" in "-cookie_file".  I'm just noticing
that the change in alignment happens about two dozen lines above,
below "-cmd_script".  The "comment beginning with..." is still
aligned at 7 (below the 'r'), the "exit" is aligned at 5 (below
the 's').

Yours,
  Ingo
--
 To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv

  parent reply	other threads:[~2011-07-06  6:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-04 22:45 Ingo Schwarze
2011-07-05 12:43 ` Kristaps Dzonsons
2011-07-05 14:06   ` Kristaps Dzonsons
2011-07-07  4:13     ` Ingo Schwarze
2011-07-06  6:03   ` Ingo Schwarze [this message]
2011-07-07 10:27     ` Kristaps Dzonsons
2011-07-07 21:11       ` 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=20110706060332.GB29041@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).