Your message dated Mon, 29 Jun 2009 12:02:06 +0000
with message-id <[email protected]>
and subject line Bug#528849: fixed in dblatex 0.2.11-1
has caused the Debian Bug report #528849,
regarding refentry.xsl: on the n-dash use and the @refclass handling
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
528849: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=528849
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dblatex
Version: 0.2.9-3
Severity: minor
There're a couple of minor flaws in the formatting as being done
by refentry.xsl. Namely, the code reads:
$ nl -ba /usr/share/xml/docbook/stylesheet/dblatex/xsl/refentry.xsl
...
183 <xsl:template match="refpurpose">
184 <xsl:text> -- </xsl:text>
185 <xsl:apply-templates/>
186 </xsl:template>
In the template above, ``--'', which is LaTeX for n-dash, is
used to separate the reference name from it's ``purpose'', while
I'd expect an m-dash to be used here (either ``---'', or,
perhaps preferrably if possible, ``—'' or ``—''.)
187
188 <xsl:template match="refdescriptor">
189 <xsl:apply-templates/>
190 </xsl:template>
191
192 <xsl:template match="refclass">
193 <xsl:if test="@role">
194 <xsl:value-of select="@role"/>
195 <xsl:text>: </xsl:text>
196 </xsl:if>
197 <xsl:apply-templates/>
Here, the value of the ``refclass'' attribute is put (along with
a role, if one's used) is output on the very same line as is the
``refname'', without any separating whitespace or other
formatting.
198 </xsl:template>
...
$
Please consider the following example:
<?xml version="1.0" encoding="us-ascii" standalone="no"?>
<!DOCTYPE article
PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<article xml:lang="en" lang="en">
<refentry>
<refmeta>
<refentrytitle>foo</refentrytitle>
<manvolnum>1</manvolnum>
</refmeta>
<refnamediv>
<refname>foo</refname>
<refpurpose>tweak bar</refpurpose>
<refclass><application>Qux</application></refclass>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>foo</command>
</cmdsynopsis>
</refsynopsisdiv>
</refentry>
</article>
Which is converted to the following LaTeX code:
...
% Refentry
% ---------
\section{foo}
\subsection*{Name}
foo -- tweak barQux
\subsection*{Synopsis}
\texttt{f\-o\-o}
...
While I'd expect something like:
foo --- tweak bar\\
Qux
instead.
Please note that the docbook-xsl (as of 1.73.2.dfsg.1-5)
apparently formats this fragment just fine, e. g.:
...
<div class="refentry" lang="en" xml:lang="en">
<a id="id376529" shape="rect"/>
<div class="titlepage"/>
<div class="refnamediv">
<h2>Name</h2>
<p>foo — tweak bar<p><b><span class="application"
>Qux</span></b></p></p>
</div>
...
(Where — is an m-dash.)
--
FSF associate member #7257
--- End Message ---
--- Begin Message ---
Source: dblatex
Source-Version: 0.2.11-1
We believe that the bug you reported is fixed in the latest version of
dblatex, which is due to be installed in the Debian FTP archive:
dblatex_0.2.11-1.diff.gz
to pool/main/d/dblatex/dblatex_0.2.11-1.diff.gz
dblatex_0.2.11-1.dsc
to pool/main/d/dblatex/dblatex_0.2.11-1.dsc
dblatex_0.2.11-1_all.deb
to pool/main/d/dblatex/dblatex_0.2.11-1_all.deb
dblatex_0.2.11.orig.tar.gz
to pool/main/d/dblatex/dblatex_0.2.11.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Hoenen <[email protected]> (supplier of updated dblatex
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Sat, 27 Jun 2009 10:01:26 +0200
Source: dblatex
Binary: dblatex
Architecture: source all
Version: 0.2.11-1
Distribution: unstable
Urgency: low
Maintainer: Andreas Hoenen <[email protected]>
Changed-By: Andreas Hoenen <[email protected]>
Description:
dblatex - Produces DVI, PostScript, PDF documents from DocBook sources
Closes: 528849 528964
Changes:
dblatex (0.2.11-1) unstable; urgency=low
.
* New upstream release
* New upstream release improves <refnamediv> rendering. Thanks to Ivan
Shmakov for reporting. Closes: #528849
* 20_preserve_linebreaks_in_screen_userinput.dpatch:
Preserve the verbatim nature of <userinput> elements even as children of
a <screen> element, that is preserve linebreaks. Thanks to Ivan Shmakov
for reporting. Closes: #528964
* Debian specific files are now kept in upstream repository and included in
upstream package:
+ Post failure analysis code (errorhandler.py)
+ Wrapper script (/usr/bin/dblatex)
Adaptions:
+ 10_analyze_failure.dpatch: drop
+ 10_dblatex_wrapper_script.dpatch: adapt wrapper included in upstream
release to Debian file locations
+ debian/rules: install both files
* 10_TEXINPUTS_env_precedence.dpatch: remove as integrated upstream.
* 10_xetex_fontspec_encoder.dpatch: remove as integrated upstream.
* debian/rules: Remove cleanup of superfluous file test1.py as applied
upstream.
* Standards-Version: 3.8.2 (no changes needed)
Checksums-Sha1:
ff3bd03b60fbb35382d219ddb264488e10491411 1061 dblatex_0.2.11-1.dsc
606bb239b2cf7034ac6797764dc137f2efded899 1388239 dblatex_0.2.11.orig.tar.gz
1b33cce154fd5e04e466f4e5ca85bfb884f7ab93 15441 dblatex_0.2.11-1.diff.gz
03c859627a54f9ef1fd7f4f1a5432d1dda78fab3 1279354 dblatex_0.2.11-1_all.deb
Checksums-Sha256:
b7dc5b0f746bb9922bd3b469ec21f18007e760f537f9d7842316ac48a0c32110 1061
dblatex_0.2.11-1.dsc
edd7e36798cc22259dca21d80a98c853f34c5d7a4fb6a6c0b2dce7921e8edb0d 1388239
dblatex_0.2.11.orig.tar.gz
6b7432d2521b65a50418f2a931f4994bb182ddbb7f708344dcc7503b95cc7a02 15441
dblatex_0.2.11-1.diff.gz
37c94a4d8f22701d2382f055ef95fd39cc38a0ffa1654f6576d43af3e8a2547f 1279354
dblatex_0.2.11-1_all.deb
Files:
508472222ae9284de167033449ec3017 1061 text optional dblatex_0.2.11-1.dsc
d54573bf07dd79c30b290439a8233327 1388239 text optional
dblatex_0.2.11.orig.tar.gz
1d5112a9f8c55a807ffeddd41e483f49 15441 text optional dblatex_0.2.11-1.diff.gz
3e52f8f78e2931956bdf6e552fd536a4 1279354 text optional dblatex_0.2.11-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkpIqj8ACgkQ3DVS6DbnVgT37wCfcYGXenU3Nf3DEwOJ32t/V1yj
qx0AoKFyzzzp60+PfhJxgJ16OffVEXEy
=28PM
-----END PGP SIGNATURE-----
--- End Message ---