Package: docbook-xsl
Version: 1.68.1-0.1
If I nest a replaceable tag inside a filename tag in a manpage, it appears
that the XSL stylesheets generate a start italic tag for each of the two
start tags, and an end italic for each of the two end tags. Since troff
doesn't have a stack of styles, this results in the italic text being
terminated too soon, like this:
[start italics]/non/replaceable/stufffoo[end italics]/more/non/replaceable
More concretely, the last section of aptitude's manpage (in SVN) is:
refsect1
titleSee Also/title
para
citerefentryrefentrytitleapt-get/refentrytitlemanvolnum8/manvolnum/citerefentry,
citerefentryrefentrytitleapt/refentrytitlemanvolnum8/manvolnum/citerefentry,
filename/usr/share/doc/aptitude/replaceablelang/replaceable/html/index.html/filename
from the package aptitude-doc-replaceablelang/replaceable
/para
/refsect1
In the generated manpage, this renders as follows:
.SH SEE ALSO
.PP
\fBapt\-get\fR(8), \fBapt\fR(8),
\fI/usr/share/doc/aptitude/\fIlang\fR/html/index\.html\fR from the package
aptitude\-doc\-\fIlang\fR
Here \fIlang\fR should be just lang, since the surrounding text is
already italic.
Daniel
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
--
/--- Daniel Burrows [EMAIL PROTECTED] --\
| Hi, I'm a .signature virus! |
| Copy me into your .signature to help me spread! |
\ The Turtle Moves! -- http://www.lspace.org ---/
pgp0rJdQWqWmJ.pgp
Description: PGP signature