Hi Bob,
I could not make it work:
in autoidx-kimber.xsl there is a reference to the Java class
com.isogen.saxoni18n.Saxoni18nService:
xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService"
but that class is missing from the archive given in the page from the
DocBook wiki. i18n_support.jar does not contain it. I found some
references to it in the sources but it's not there.
So the stylesheet terminates with with the xsl:message on line 69
(docbook-xsl-ns-1.75.2)
Le 31/05/2018 à 23:03, Bob Stayton a écrit :
I'm pleased to announce the availability on the DocBook Wiki of Eliot
Kimber's open-source Java toolkit for internationalized back-of-book
indexes. It can handle sorting and collation of all languages,
including Asian languages like Chinese (both alphabets), Japanese, and
Korean. You can download it from this page:
https://github.com/docbook/wiki/wiki/InternationalizedIndexingTools
He includes complete documentation in the zip file, and my XSL book
has a quick start guide for using it with DocBook (the links in my
book are out of date, but the Wiki page is up to date):
http://www.sagehill.net/docbookxsl/IndexIntl.html
I have used this toolkit in the past and it works. You may need to do
some configuring to get it to work, but the results are worth it if
you are doing Asian language indexes.
Bob Stayton
Sagehill Enterprises
b...@sagehill.net
On 5/30/2018 2:13 AM, Maxime Bégnis wrote:
Hello,
I'm using in my customization layer (docbook-xsl-ns-1.75.2):
<xsl:import
href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/profile-docbook.xsl"
/>
<xsl:import
href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/autoidx-kosek.xsl"
/>
<xsl:param name="index.method">kosek</xsl:param>
For a Russian language document, the index sorting by letter works
very well. For Chinese there is no sorting.
If I modify my custom l10n for Chinese to put in the letters list a
few random Chinese symbols, it works fine for those:
<l:l10n language="zh" english-language-name="Chinese">
<l:letters>
<l:l i="-1"/>
<l:l i="0">符号</l:l>
<l:l i="1">不</l:l>
<l:l i="1">不</l:l>
<l:l i="2">危</l:l>
<l:l i="2">危</l:l>
<l:l i="3">C</l:l>
<l:l i="3">c</l:l>
<l:l i="4">D</l:l>
<l:l i="4">d</l:l>
...
Does someone have a pointer to a list of the Chinese symbols that
should be used in an index?
Thank you very much for any help,
--
--
*NeoDoc*
*Maxime Bégnis*
max...@neodoc.fr
Tél: +33 (0)4.42.52.24.20
789 Rue de La Gare
13770 Venelles
France
http://www.neodoc.fr/