Le Wed, Jul 13, 2011 at 10:29:07PM +0200, Jakub Wilk a écrit :
> 
> The section sign (§) is incorrectly encoded, both in HTML and text
> version of copyright-format:
> 
> $ zgrep 'The Debian Policy (' copyright-format.{html,txt.gz}
> copyright-format.html:      <p>The Debian Policy (&Acirc;&sect;<a href=
> copyright-format.txt.gz:   The Debian Policy (AS:12.5) demands that each 
> package is accompanied by a

Hello Jakub,

I think that this is a bug in the conversion to HTML, as copyright-format.xml
is correctly encoded in UTF-8, and copyright-format.txt is derived from
copyright-format.html.

Unfortunately, I am not so familiar with jade and DSSSL stylesheets.  I note
that using XSL stylesheets with xsltproc, xsl/current/html/docbook.xsl gives
the same problem while xsl/current/xhtml/docbook.xsl encodes the section sign
correctly.

Through the whole document, there is no consistency in the way to refer to the
Policy, so in case there is no easy technical solution, we could simply
harmonise on a way that does not use the section sign, as a workaround.

I chose jade for the conversion of DocBook XML because it was already used for
the other documents in this package, but I would not mind switching to XSL
stylesheets and xsltproc.  Results are similar; the most visible difference is
the absence of horizontal rulers in the XHTML pages produced by the XSL
stylesheets.

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to