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

Bug#185295: marked as done (RFP: docbook2x -- converts DocBook documents into man pages and Texinfo documents)



Your message dated Thu, 29 Apr 2004 08:06:48 +0200
with message-id <20040429060648.GC4006@laboiss0>
and subject line docbook2x is available in unstable
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; 18 Mar 2003 13:43:05 +0000
>From dparsons@emerall.com Tue Mar 18 07:43:03 2003
Return-path: <dparsons@emerall.com>
Received: from (kgsmail.knox.nsw.edu.au) [202.7.161.172] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18vHMs-0004Gr-00; Tue, 18 Mar 2003 07:43:02 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Drew Parsons <dparsons@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: RFP: docbook2x -- converts DocBook documents into man pages and
	Texinfo documents
Date: Wed, 19 Mar 2003 00:43:00 +1100
Message-Id: <E18vHMw-0004T3-00@strider>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-0.2 required=4.0
	tests=HAS_PACKAGE,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Package: wnpp
Version: unavailable; reported 2003-03-19
Severity: wishlist

* Package name    : docbook2x
  Version         : 0.7.0
  Upstream Author : Steve Cheng <stevecheng@users.sourceforge.net>
* URL             : http://sourceforge.net/projects/docbook2x/
* License         : GPL
  Description     : converts DocBook documents into man pages and Texinfo

  docbook2X converts DocBook documents into man pages and
  Texinfo documents.
  . 
  It aims to support DocBook version 4.1, excepting the features that
  cannot be supported or are unlikely to be useful for a man-page or
  Texinfo rendering.


=====================================================
Motivation for this package:

In Debian we are encouraged to use DocBook to create man pages for our
binaries, since this provides the greatest flexibility for converting the
documentation to any number of various formats: HTML, info, PDF, TeX, as
well as man page format.

However, while there are a number of different stylesheets and packages
available for converting to most of these formats, there is currently in
Debian only one which converts DocBook to a man page, docbook-to-man.
(xmltoman has also recently arrived in the archive, but it is based on an
unpublished proprietry XML DTD, rather than using DocBook).

There are problems with docbook-to-man.  It is not maintained upstream (has
not been touched since June 14, 1996), and is buggy in a number of ways. Not
all DocBook information is adequately converted to the man page, there are
errors closing scope of nroff fields in the man page.  Conversion is
performed using some opaque table system called transpec that seems to make
maintenance difficult in principle.  Newer versions of DocBook (in
particular, the new XML based edition) are not supported.

docbook2X seems to deal with all of these inadequacies in docbook-to-man.
Although not actively maintained, it is more recent (2001-08-05).  It
handles both XML and SGML versions of DocBook (the tools assume XML, and
provide a command line option to choose SGML).  The formatting problem and
data loss problems of docbook-to-man are not present.  The system is written
in perl and therefore accessible to moderately competent programmers.

Currently the system requires a minor degree of perl tweaking to fit in with
Debian's perl setup.  I can provide my own hacks if you require them.
docbook2X also has two parts for "historical reasons", one (docbook2manxml)
to convert DocBook to an intermediate XML manpage format, and the other
(db2x_manxml) to convert from that XML format to the final man page (nroff
output).  I would recommend providing a glue script to run both these
commands transparently to provide one command for users to run.  This might
also require a small degree of perl hacking to get the two docbook2X
commands writing pipewise to stdout by default rather than writing to file
by default (I can provide my preliminary changes).

Note that the SourceForge project page for docbook2X refers to two projects,
docbook2X and docbook2man-sgmlspl.  The latter appears to be an experimental
attempt to provide another DocBook-to-man convertor, but it seems unfinished
and has problems distinguishing XML from SGML.  docbook2X is the project we
want to use.  In fact the docbook2man-sgmlspl docs say "New projects are
recommended to use docbook2manxml from docbook2X (a separate package)
instead, which is superior to this tool."

I don't feel I have enough time right now to finish this package up myself,
but I think it would be extremely beneficial to us.  Maybe I'll get time for
it later if no one steps in before then.

I hope others agree this package is worthwhile.

Drew Parsons

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux strider 2.4.20 #1 Sun Feb 16 17:54:41 EST 2003 i686
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8


---------------------------------------
Received: (at 185295-done) by bugs.debian.org; 29 Apr 2004 06:07:45 +0000
>From rafael@mpipf-muenchen.mpg.de Wed Apr 28 23:07:45 2004
Return-path: <rafael@mpipf-muenchen.mpg.de>
Received: from kom.psy.mpg.de (kom.mpipf-muenchen.mpg.de) [192.129.1.23] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1BJ4i0-00065i-00; Wed, 28 Apr 2004 23:07:45 -0700
Received: from 10.1.1.2 by kom.mpipf-muenchen.mpg.de (InterScan E-Mail VirusWall NT); Thu, 29 Apr 2004 08:11:24 +0100 (GMT Daylight Time)
Received: from [10.80.1.158] (helo=laboiss0)
	by amalie.intra.mpipf-muenchen.mpg.de with esmtp (Exim 4.05)
	id 1BJ4i4-0001PN-00; Thu, 29 Apr 2004 08:07:48 +0200
Received: from rafael by laboiss0 with local (Exim 3.36 #1 (Debian))
	id 1BJ4hG-0001Jc-00; Thu, 29 Apr 2004 08:06:58 +0200
Date: Thu, 29 Apr 2004 08:06:48 +0200
From: Rafael Laboissiere <rafael@debian.org>
To: 185295-done@bugs.debian.org
Cc: Debian XML/SGML Group <debian-xml-sgml-pkgs@lists.alioth.debian.org>
Subject: docbook2x is available in unstable
Message-ID: <20040429060648.GC4006@laboiss0>
Reply-To: Rafael Laboissiere <rafael@debian.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Organization: Debian GNU/Linux
User-Agent: Mutt/1.5.5.1+cvs20040105i
Sender: Rafael Laboissiere <rafael@mpipf-muenchen.mpg.de>
Delivered-To: 185295-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-2.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

I am closing this RFP, because docbook2x is already in unstable.

-- 
Rafael



Reply to: