[xml/sgml-pkgs] Bug#510094: /usr/bin/docbook2x-man: generated manual page contain incorrect encoding header

Arthur de Jong adejong at debian.org
Mon Dec 29 08:41:06 UTC 2008


Subject: /usr/bin/docbook2x-man: generated manual page contain incorrect encoding header
Package: docbook2x
Version: 0.8.8-8
Severity: normal

The generated manual pages contain as a first line:
  '\" -*- coding: us-ascii -*-
(or whatever encoding is specified) which I've been told indicates that
preprocessors should be used for a given page (see the DEFAULTS section
of the man(1) manual page).

This causes problems when viewing the manual page with the version of
man from etch (the version of lenny seems to work around this).

It has been suggested that changing the line to:
  .\" -*- coding: us-ascii -*-
should fix the problem. The roff(7) manual page however suggests putting
Emacs commands at the end of the file instead.

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages docbook2x depends on:
ii  libc6                     2.7-16         GNU C Library: Shared libraries
ii  libtext-wrapi18n-perl     0.06-6         internationalized substitute of Te
ii  libxml-sax-expat-perl     0.40-1         Perl module for a SAX2 driver for 
ii  perl                      5.10.0-18      Larry Wall's Practical Extraction 
ii  sp                        1.3.4-1.2.1-47 James Clark's SGML parsing tools
ii  texinfo                   4.11.dfsg.1-4  Documentation system for on-line i
ii  xml-core                  0.12           XML infrastructure and XML catalog
ii  xsltproc                  1.1.24-2       XSLT command line processor

Versions of packages docbook2x recommends:
ii  docbook-xml              4.5-6           standard XML documentation system,
ii  docbook-xsl              1.73.2.dfsg.1-5 stylesheets for processing DocBook

-- 
-- arthur - adejong at debian.org - http://people.debian.org/~adejong --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/debian-xml-sgml-pkgs/attachments/20081229/be8f908a/attachment.pgp 


More information about the debian-xml-sgml-pkgs mailing list