[GRASS5] [bug #3345] (grass) Bug#313307: v.in.ascii.1: IP/br/RS table gone

this bug's URL: http://intevation.de/rt/webrt?serial_num=3345
-------------------------------------------------------------------------

Package: grass-doc
Version: 6.0.0-1
Severity: normal
File: /usr/lib/grass/man/man1/v.in.ascii.1

On Debian, this part of v.in.ascii.1 disappears upon processing:

  The primitive codes are as follows:
  .RS
  .IP
  'A': area (boundary)...

Proof:
$ g.manual -m v.in.ascii|sed '/are as follows:/,$!d'|od -c|sed 's/[0-9]\+//g;5q'|tr -d \\n;echo
Theprimitivecodesareasfollows:\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThecoordinates

It just becomes newlines.
Same if using g.manual or just man(1).

/usr/share/doc/grass-doc/html/v.in.ascii.html is OK.

Also,
   .IP "\fBcolumns\fR=\fIstring\fR
   Columns definition for points mode in SQL style, for example:
   .br
   'x double precision, y double precision, cat int, name varchar(10)'
   .IP "\fBx\fR=\fIinteger\fR

has the example line deleted. Proof:
$ man v.in.ascii|sed '/Columns definition/,$!d'|od -c|sed 's/[0-9]\+//g;6q'|tr -d \\n;echo
Reformatting v.in.ascii(1), please wait...
ColumnsdefinitionforpointsmodeinSQLstyle,forexample:\n\nx\bx=_\bi_\bn_\b

So there is some .IP .br problem.

--- Headers Follow ---

From debbugs@bugs.debian.org Mon Jun 13 01:39:30 2005

Return-Path: <debbugs@bugs.debian.org>
Delivered-To: grass-bugs@lists.intevation.de
Received: from mail.intevation.de (aktaia [212.95.126.10])
  by lists.intevation.de (Postfix) with ESMTP id 013BB1005D6
  for <grass-bugs@lists.intevation.de>; Mon, 13 Jun 2005 01:39:30 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
  by mail.intevation.de (Postfix) with ESMTP id 5E48A36F0E
  for <grass-bugs@lists.intevation.de>; Mon, 13 Jun 2005 01:39:29 +0200 (CEST)
Received: from spohr.debian.org (spohr.debian.org [140.211.166.43])
  by mail.intevation.de (Postfix) with ESMTP id A5BE436EDF
  for <grass-bugs@intevation.de>; Mon, 13 Jun 2005 01:39:26 +0200 (CEST)
Received: from debbugs by spohr.debian.org with local (Exim 3.35 1 (Debian))
  id 1Dhbww-0008JB-00; Sun, 12 Jun 2005 16:33:06 -0700
X-Loop: owner@bugs.debian.org
Subject: Bug#313307: v.in.ascii.1: IP/br/RS table gone
Reply-To: Dan Jacobson <jidanni@jidanni.org>, 313307@bugs.debian.org
Resent-From: Dan Jacobson <jidanni@jidanni.org>
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: grass-bugs@intevation.de, man-db@packages.debian,
  org@spohr.debian.org,
  Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Resent-Date: Sun, 12 Jun 2005 23:33:05 UTC
Resent-Message-ID: <handler.313307.B.111861888828503@bugs.debian.org>
X-Debian-PR-Message: report 313307
X-Debian-PR-Package: grass-doc
X-Debian-PR-Keywords:
Received: via spool by submit@bugs.debian.org id=B.111861888828503
          (code B ref -1); Sun, 12 Jun 2005 23:33:05 UTC
Received: (at submit) by bugs.debian.org; 12 Jun 2005 23:28:08 +0000
Received: from frodo.hserus.net [204.74.68.40]
  by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
  id 1Dhbs8-0007PY-00; Sun, 12 Jun 2005 16:28:08 -0700
Received: from [218.187.81.23] (port=34382 helo=jidanni1)
  by frodo.hserus.net with esmtpsa
  (Cipher TLSv1:AES256-SHA:256) (Exim 4.51 #0)
  id 1Dhbrs-0002aM-Vo by authid <jidanni> with plain
  for <submit@bugs.debian.org>; Mon, 13 Jun 2005 04:58:07 +0530
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dan Jacobson <jidanni@jidanni.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailer: reportbug 3.12
Date: Mon, 13 Jun 2005 04:43:14 +0800
Message-Id: <E1DhZIY-0001Xu-Rf@jidanni1>
Delivered-To: submit@bugs.debian.org
Resent-Sender: Debian BTS <debbugs@bugs.debian.org>
X-Spam-Status: No, hits=-4.9 tagged_above=-999.0 required=3.0 tests=BAYES_00
X-Spam-Level:

-------------------------------------------- Managed by Request Tracker

On Mon, Jun 13, 2005 at 01:39:30AM +0200, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=3345
-------------------------------------------------------------------------

Package: grass-doc
Version: 6.0.0-1
Severity: normal
File: /usr/lib/grass/man/man1/v.in.ascii.1

On Debian, this part of v.in.ascii.1 disappears upon processing:

  The primitive codes are as follows:
  .RS
  .IP
  'A': area (boundary)...

Proof:
$ g.manual -m v.in.ascii|sed '/are as follows:/,$!d'|od -c|sed 's/[0-9]\+//g;5q'|tr -d \\n;echo
Theprimitivecodesareasfollows:\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nThecoordinates

It just becomes newlines.
Same if using g.manual or just man(1).

Right. The primitive codes are eaten away.
This is a problem of

tools/g.html2man/g.html2man

which seems to damage the bullet list.

/usr/share/doc/grass-doc/html/v.in.ascii.html is OK.

Also,
   .IP "\fBcolumns\fR=\fIstring\fR
   Columns definition for points mode in SQL style, for example:
   .br
   'x double precision, y double precision, cat int, name varchar(10)'
   .IP "\fBx\fR=\fIinteger\fR

has the example line deleted. Proof:
$ man v.in.ascii|sed '/Columns definition/,$!d'|od -c|sed 's/[0-9]\+//g;6q'|tr -d \\n;echo
Reformatting v.in.ascii(1), please wait...
ColumnsdefinitionforpointsmodeinSQLstyle,forexample:\n\nx\bx=_\bi_\bn_\b

Right. Unfortunately another problem of g.html2man.

So there is some .IP .br problem.

Markus

On Mon, Jun 13, 2005 at 01:39:30AM +0200, Request Tracker wrote:
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3345
> -------------------------------------------------------------------------
>
> Package: grass-doc
> Version: 6.0.0-1
> Severity: normal
> File: /usr/lib/grass/man/man1/v.in.ascii.1
>
> On Debian, this part of v.in.ascii.1 disappears upon processing:
>
> The primitive codes are as follows:
> .RS
> .IP
> 'A': area (boundary)...

Right. The primitive codes are eaten away.
This is a problem of

tools/g.html2man/g.html2man

which seems to damage the bullet list.

Because of the apostrophes. Get rid of them in descrption.html. That bullet
list should be a description list anyway.

Notice also that the string '\t' (intended to be a backslash followed by the
letter t) comes out as nothing visible when run through nroff.

> /usr/share/doc/grass-doc/html/v.in.ascii.html is OK.
>
> Also,
> .IP "\fBcolumns\fR=\fIstring\fR
> Columns definition for points mode in SQL style, for example:
> .br
> 'x double precision, y double precision, cat int, name varchar(10)'
> .IP "\fBx\fR=\fIinteger\fR

Idem. Take those apostrophes out. roff is weird... I wonder what TECO was like...

Daniel.