Bug#330129: manpage stylesheet doesn't handle nesting replaceable inside filename very well

2006-05-17 Thread Daniel Leidert
tags 330129 + fixed-upstream
thanks

Hello,

The old stylesheets also have problems with nesting bold and italic
elements because of the same reason. This issue was already solved with
release 1.69.x. Therefor I tag this bug 'fixed-upstream'.

Regards, Daniel



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#330129: manpage stylesheet doesn't handle nesting replaceable inside filename very well

2005-09-26 Thread Daniel Burrows
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