[xml/sgml-pkgs] Bug#696333: refdbnd add extra '-e'

Mathieu Malaterre malat at debian.org
Wed Dec 19 18:00:43 UTC 2012

Package: refdb-clients
Version: 0.9.9-2
Severity: normal

For some reason refdbnd always add extra -e at the begining of the document:

$ refdbnd
I'll be happy to assist you in setting up a new document along with
a Makefile. First we'll collect a few answers, and only if you
accept your settings any files will be created. Press Ctrl-C anytime
to exit.

Each question will present a default value which you can accept by
pressing ENTER

Please enter the basename of your document. This is the name without
any suffix. For example, if your printed output file is supposed to
be called refdbtest.pdf, the basename will be 'refdbtest'
Alternatively, enter the full name of an existing document in this
directory. I'll try and guess the proper values for this document.

Please enter the type of the document. Available types are 'db31',
'db40', and 'db41' for DocBook SGML versions 3.1, 4.0, and 4.1,
respectively, 'db41x', 'db42x', 'db43x', and 'db50x' for DocBook XML
versions 4.1.2, 4.2, 4.3, and 5.0, respectively, as well as
'teix' and 'tei5x' for TEI XML P4 and TEI XML P5, respectively

Please enter the element root which determines the type of the
publication. Common are 'set', 'book', and 'article' for DocBook
documents and 'TEI.2' for TEI documents

Please enter the name of the RefDB database where you take your
references from

Please enter the bibliography style that your document should use
Enter 'raw' to use the default formatting of the stock stylesheets

Please enter the character encoding that your document should use

Please enter the path or the URL of a custom CSS file for the
(x)html output. Hit ENTER if you do not use a custom CSS file

You've selected the following values:
Basename:           demo
Document type:      db50x
Publication type:   book
Database:           refdbtest
Bibliography style: J.Biol.Chem.
Encoding:           utf-8
CSS file:           J.Biol.Chem.css

Is this ok?

Fine, so then ...

Makefile created.

Documents demo.short.xml and demo.xml created.

After editing this file you can use the following commands to create
formatted output:
make pdf to create a Portable Document Format (PDF) file (demo.pdf)
make html to create HTML output (demo.html)
make xhtml to create XHTML output (demo.xhtml)
make all to create all available output formats

$ cat demo.xml
-e <?xml version="1.0" encoding="utf-8"?>
<book xmlns="http://docbook.org/ns/docbook">
<!-- xinclude the bibliography file demo.bib.xml at the chapter level -->
<!-- <xi:include href="demo.bib.xml" xmlns:xi="http://www.w3.org/2001/XInclude">
<xi:fallback>demo.bib.xml appears to be missing</xi:fallback>
</xi:include> -->

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages refdb-clients depends on:
ii  libbtparse0               0.34-2         A C library to parse BibTeX files
ii  libc6                     2.11.3-4       Embedded GNU C Library: Shared lib
ii  libmarc-charset-perl      1.2-1          Perl module for bidirectional MARC
ii  libmarc-record-perl       2.0.2-1        Perl extension for handling MARC r
ii  libncurses5               5.7+20100313-5 shared libraries for terminal hand
ii  libreadline6              6.1-3          GNU readline and history libraries
ii  librefdb-sru-perl         0.7-1          RefDB-SRU module for perl
ii  libterm-clui-perl         1.66-1         Perl module offering a Command-Lin
ii  whiptail                  0.52.11-1      Displays user-friendly dialog boxe

refdb-clients recommends no packages.

refdb-clients suggests no packages.

-- debconf-show failed

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