[From nobody Tue May 26 18:53:08 2026
Received: (at submit) by bugs.debian.org; 30 Jul 2006 21:04:36 +0000
Return-path: &lt;rlpowell@digitalkingdom.org&gt;
Received: from chain.digitalkingdom.org ([64.81.49.134])
 by spohr.debian.org with esmtp (Exim 4.50) id 1G7ISi-0004GL-Km
 for submit@bugs.debian.org; Sun, 30 Jul 2006 14:04:36 -0700
Received: from rlpowell by chain.digitalkingdom.org with local (Exim 4.62)
 (envelope-from &lt;rlpowell@digitalkingdom.org&gt;)
 id 1G7ISZ-0003F7-CJ; Sun, 30 Jul 2006 14:04:28 -0700
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Robin Lee Powell &lt;rlpowell@digitalkingdom.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: rdtool: Does not allow other sections to be defined.
Message-ID: &lt;20060730210427.11040.23681.reportbug@chain.digitalkingdom.org&gt;
X-Mailer: reportbug 3.21.2
Date: Sun, 30 Jul 2006 14:04:27 -0700
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
 (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
 autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: rdtool
Version: 0.6.20-1
Severity: important


rd/rd2man-lib.rb gives no means of generating a man page for a
seciton other than 1.

The source includes the line:

.TH #{title} 1 &quot;#{Time.now.strftime '%B %Y'}&quot;

That &quot;1&quot; is hard-coded, and means that all man pages, even those put
in other sections, will say (1) in them.

Farther up it has:

OUTPUT_SUFFIX = &quot;1&quot;

I suspect (not knowing an Ruby at all) that putting something in the
man page saying how to set OUTPUT_SUFFIX *and* changing the .TH line
to use it would solve the problem.

-Robin

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-vserver
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages rdtool depends on:
ii  librd-ruby1.8                 0.6.20-1   RDTool library for Ruby 1.8
ii  ruby1.8                       1.8.4-5    Interpreter of object-oriented scr

rdtool recommends no packages.

-- no debconf information

]