[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#111921: marked as done (Does not quote backslash in source SGML)



Your message dated Thu, 28 Aug 2003 11:15:29 +0200 (CEST)
with message-id <Pine.LNX.4.44.0308281103350.652-100000@zeus.UGent.be>
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:54 +0000
>From richard@atterer.net Mon Sep 10 18:31:54 2001
Return-path: <richard@atterer.net>
Received: from b586e.pppool.de (atterer.net) [213.7.88.110] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15gaWu-0006VO-00; Mon, 10 Sep 2001 18:31:52 -0500
Received: from richard by atterer.net with local (Exim 3.31 #1 (Debian))
	id 15gaD6-0004K7-00; Tue, 11 Sep 2001 01:11:24 +0200
From: Richard Atterer <atterer@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Does not quote backslash in source SGML
X-Reportbug-Version: 1.23
X-Mailer: reportbug 1.23
Date: Tue, 11 Sep 2001 01:11:24 +0200
Message-Id: <E15gaD6-0004K7-00@atterer.net>
Delivered-To: submit@bugs.debian.org

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

Backslashes do not display correctly in the generated manpage because
they aren't quoted. Easily fixed by substituting \\ for \ in the
docbook-to-man output.

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>Single backslash \ isn't treated correctly</para>
  </refsect1>
</refentry>

Generated output:

()                                                             ()



NAME
       foo - bar

foo
       Single backslash  isn't treated correctly



                                                               ()

-- 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 111921-done) by bugs.debian.org; 28 Aug 2003 09:15:54 +0000
>From luk@zeus.rug.ac.be Thu Aug 28 04:15:46 2003
Return-path: <luk@zeus.rug.ac.be>
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 <luk@zeus.UGent.be>
To: 111919-done@bugs.debian.org, <111920-done@bugs.debian.org>,
   <111921-done@bugs.debian.org>
Subject: Escaping characters and collapsing of white space
Message-ID: <Pine.LNX.4.44.0308281103350.652-100000@zeus.UGent.be>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: Luk <luk@zeus.rug.ac.be>
X-Virus-Scanned: by UGent DICT
Delivered-To: 111921-done@bugs.debian.org
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 to: