tags 316638 patch
thanks

Hello,

I read #391699 concerning japanese manpages in apt, and adapted it to
french manpages.

This patch force the encoding of manpages to ISO-8859-15 instead of
default UTF-8.

Regards,

-- 
Simon Paillard
diff -Nur apt-0.6.46.1/doc/fr/makefile apt-0.6.46.1-fr/doc/fr/makefile
--- apt-0.6.46.1/doc/fr/makefile        2006-03-02 15:12:34.000000000 +0100
+++ apt-0.6.46.1-fr/doc/fr/makefile     2006-10-08 12:55:06.000000000 +0200
@@ -7,7 +7,7 @@
 
 # Do not use XMLTO, build the manpages directly with XSLTPROC
 XSLTPROC=/usr/bin/xsltproc
-STYLESHEET=/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl
+STYLESHEET=./style.fr.xsl
 
 
 # Man pages
diff -Nur apt-0.6.46.1/doc/fr/style.fr.xsl apt-0.6.46.1-fr/doc/fr/style.fr.xsl
--- apt-0.6.46.1/doc/fr/style.fr.xsl    1970-01-01 01:00:00.000000000 +0100
+++ apt-0.6.46.1-fr/doc/fr/style.fr.xsl 2006-10-08 12:51:32.000000000 +0200
@@ -0,0 +1,9 @@
+<xsl:stylesheet
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
+ version="1.0">
+
+<xsl:import 
href="/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl" />
+
+<xsl:param name="man.output.encoding" select="'ISO-8859-15'" />
+
+</xsl:stylesheet>

Reply via email to