From: SourceForge.net <no...@so...> - 2006-07-18 02:20:27
|
Bugs item #1509786, was opened at 06/21/06 01:27 Message generated for change (Comment added) made by sf-robot You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1509786&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: manpages >Status: Closed Resolution: Works For Me Priority: 5 Submitted By: Sebastian Dröge (slomosnail) Assigned to: Michael(tm) Smith (xmldoc) Summary: "can't find numbered character" warning for non-ascii chars Initial Comment: Hi, when generating a manpage from the attached docbook xml file with /usr/bin/xsltproc --nonet -o fatsort.1 /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl fatsort.1.xml man reports some warnings: fatsort.1:94: warning: can't find numbered character 246 fatsort.1:100: warning: can't find numbered character 246 (run LANG=C man -l fatsort.1 1> /dev/null to see this) Bye ---------------------------------------------------------------------- >Comment By: SourceForge Robot (sf-robot) Date: 07/17/06 19:20 Message: Logged In: YES user_id=1312539 This Tracker item was closed automatically by the system. It was previously set to a Pending status, and the original submitter did not respond within 14 days (the time period specified by the administrator of this Tracker). ---------------------------------------------------------------------- Comment By: Michael(tm) Smith (xmldoc) Date: 07/03/06 00:47 Message: Logged In: YES user_id=118135 Hi Sebastian, As I guess you probably know, that roff warning about "character 246" is caused by the character ö (Unicode name: LATIN SMALL LETTER O WITH DIAERESIS) in your name. The Unicode and ISO-8859-1 decimal value for that character is 246 (hex F6). The 1.68.1 stylesheets are not capable of processing that character. Since the time of the 1.68.1 release, I have added support for correctly handling the full set of ISO- 8859-1 characters, plus many more. But you will need to upgrade to either the 1.70.1 or 1.69.1 stylesheets to get that support. You can download those releases from either of the following locations: https://sourceforge.net/project/ showfiles.php?group_id=21935&package_id=16608 http://docbook.sourceforge.net/release/xsl/ Also, you will need to feed the stylesheet param/value "man.charmap.use.subset 0" to xsltproc in order to have it process that character correctly; like this: xsltproc --stringparam man.charmap.use.subset 0 \ /path/to/1.69.1/manpages/docbook.xsl fatsort.1.xml That causes the "full" version of the manpages "character map" to be enabled, which in turn will cause the "LATIN SMALL LETTER O WITH DIAERESIS" character to be converted to the string "\(:o", which is the roff escape that it corresponds to. Please give it a try and let me know if it works for you. --Mike ---------------------------------------------------------------------- Comment By: Sebastian Dröge (slomosnail) Date: 06/21/06 01:29 Message: Logged In: YES user_id=1429433 This is with the docbook XSL stylesheets version 1.68.1 btw ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1509786&group_id=21935 |