Your message dated Thu, 28 Aug 2003 11:15:29 +0200 (CEST)
with message-id <[EMAIL PROTECTED]>
and subject line Escaping characters and collapsing of white space
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Sep 2001 23:31:51 +0000
>From [EMAIL PROTECTED] Mon Sep 10 18:31:51 2001
Return-path: <[EMAIL PROTECTED]>
Received: from b586e.pppool.de (atterer.net) [213.7.88.110] 
        by master.debian.org with esmtp (Exim 3.12 1 (Debian))
        id 15gaWt-0006VO-00; Mon, 10 Sep 2001 18:31:51 -0500
Received: from richard by atterer.net with local (Exim 3.31 #1 (Debian))
        id 15gaGq-0004Kt-00; Tue, 11 Sep 2001 01:15:16 +0200
From: Richard Atterer <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: Within markup, multiple spaces not always treated like one space
X-Reportbug-Version: 1.23
X-Mailer: reportbug 1.23
Date: Tue, 11 Sep 2001 01:15:16 +0200
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]

Package: docbook-to-man
Version: 1:2.0.0-9
Severity: normal

For text between some tags, additional whitespace appears in the
output manpage even though any number of spaces should be treated like
one space by the parser

Example SGML:

<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN">
<refentry>
  <refnamediv>
    <refname>foo</refname>
    <refpurpose>bar</refpurpose>
  </refnamediv>
  <refsect1>
    <title>foo</title>
    <para>Multiple
                                        <emphasis>spaces
                                        in</emphasis>
                                        input
                                        aren't
                                        collapsed
                                        into
                                        one</para>
  </refsect1>
</refentry>

Generated output:

()                                                             ()



NAME
       foo - bar

foo
       Multiple                     spaces                     in
       input aren't collapsed into one



                                                               ()

-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux elessar 2.2.19 #1 Mon May 21 19:42:05 CEST 2001 i686
Locale: LANG=C, LC_CTYPE=de_DE

Versions of packages docbook-to-man depends on:
ii  docbook                   4.1-4          SGML DTD for software documentatio
ii  docbook-dsssl [docbook-st 1.71-1         Modular DocBook DSSSL stylesheets,
ii  libc6                     2.2.4-1        GNU C Library: Shared libraries an
ii  sp                        1.3.4-1.2.1-18 James Clark's SGML parsing tools

Also:

ii  man-db              2.3.19-5            Display the on-line manual.


---------------------------------------
Received: (at 111920-done) by bugs.debian.org; 28 Aug 2003 09:15:46 +0000
>From [EMAIL PROTECTED] Thu Aug 28 04:15:44 2003
Return-path: <[EMAIL PROTECTED]>
Received: from mserv.ugent.be [157.193.40.40] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 19sIsX-00013L-00; Thu, 28 Aug 2003 04:15:41 -0500
Received: from tarzan.ugent.be (tarzan.ugent.be [157.193.40.45])
        by mserv.UGent.be (8.12.9/8.12.9) with ESMTP id h7S9FZGZ028082;
        Thu, 28 Aug 2003 11:15:35 +0200 (MEST)
Received: from localhost (localhost [127.0.0.1])
        by tarzan.ugent.be (Postfix) with ESMTP
        id 2811C69FC8; Thu, 28 Aug 2003 11:16:31 +0200 (CEST)
Received: from tarzan.ugent.be ([127.0.0.1])
 by localhost (tarzan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 13340-09; Thu, 28 Aug 2003 11:16:30 +0200 (CEST)
Received: from zeus (zeus.ugent.be [157.193.55.235])
        by tarzan.ugent.be (Postfix) with ESMTP
        id 8390D69FB5; Thu, 28 Aug 2003 11:16:30 +0200 (CEST)
Received: from luk (helo=localhost)
        by zeus with local-esmtp (Exim 3.35 #1 (Debian))
        id 19sIsQ-0000Cg-00; Thu, 28 Aug 2003 11:15:34 +0200
Date: Thu, 28 Aug 2003 11:15:29 +0200 (CEST)
From: Luk Claes <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], <[EMAIL PROTECTED]>,
   <[EMAIL PROTECTED]>
Subject: Escaping characters and collapsing of white space
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Luk <[EMAIL PROTECTED]>
X-Virus-Scanned: by UGent DICT
Delivered-To: [EMAIL PROTECTED]
X-Spam-Status: No, hits=-6.1 required=4.0
        tests=PGP_SIGNATURE,UPPERCASE_25_50,USER_AGENT_PINE
        version=2.53-bugs.debian.org_2003_8_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_8_27 
(1.174.2.15-2003-03-30-exp)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You should invoke docbook-to-man with INSTANT_OPT set to a space if you
want to use some special characters literally in your SGML file. This also
takes care of collapsing white space into one space.

INSTANT_OPT=" " docbook-to-man src.sgml > dst.1

Kind regards

Luk

PS: Maybe I should emphasize it more in the manpage?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE/Tcg1At+ECxtXDnwRAo2yAJ0UxC200n9m4iWpQPXJcU9obgeYgACfZGWh
zsQuLwq7gKxzJyPukPpQjHE=
=O9H8
-----END PGP SIGNATURE-----

Reply via email to