Re: [docbook-apps] Chinese Index

2018-06-04 Thread Bob Stayton
Hi Maxime, Regarding the xml:lang, in its current form, the java code requires that it must match the value of the element in the botb_index_rules.xml file under i18n_support, as I documented in http://www.sagehill.net/docbookxsl/IndexIntl.html#KimberIndexMethod .  I never figured out how

Re: [docbook-apps] Chinese Index

2018-06-04 Thread Maxime Bégnis
Hello Bob, I made it work with your latest post of i18n_support.zip. I noticed that the xml:lang of the document must be declared uppercase. "ZH_TW" will work, "zh_tw" will not. I had the same issue about the classpath order as I also use xercesImpl.jar. That's because i18n_support.jar

Re: [docbook-apps] Chinese Index

2018-06-04 Thread Maxime Bégnis
Hello Jirka, The issue is the same with docbook-xsl-ns-1.79.1. Thanks for the thread, that's instructive. Le 01/06/2018 à 17:57, Jirka Kosek a écrit : On 1.6.2018 14:28, Maxime Bégnis wrote: but that class is missing from the archive given in the page from the DocBook wiki. i18n_support.jar

Re: [docbook-apps] Chinese Index

2018-06-02 Thread Bob Stayton
OK, I managed to test the version of i18n_support.zip that I posted yesterday to the wiki, and it works. I did discover one quirk, though.  I usually use the Xerces parser with Saxon, but if I put xercesImpl.jar ahead of the i18n_support.jar, it does not work.  Putting it after does work. 

Re: [docbook-apps] Chinese Index

2018-06-01 Thread Bob Stayton
Hi, Indeed, the .jar file in the zip file I originally posted appears to be incomplete.  I just posted to that link an older version of i18n_support whose jar file has that class.  Download and give that a try.  Again, I haven't had time to set this version up and test it, but I'm pretty sure

Re: [docbook-apps] Chinese Index

2018-06-01 Thread Bob Stayton
Sorry, I didn't test this version before posting it.  I assumed it would work like the earlier versions.  I'll check it out and report back. Bob Stayton Sagehill Enterprises b...@sagehill.net On 6/1/2018 5:28 AM, Maxime Bégnis wrote: Hi Bob, I could not make it work: in autoidx-kimber.xsl

Re: [docbook-apps] Chinese Index

2018-06-01 Thread Jirka Kosek
On 1.6.2018 14:28, Maxime Bégnis wrote: > 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

Re: [docbook-apps] Chinese Index

2018-06-01 Thread Maxime Bégnis
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

Re: [docbook-apps] Chinese Index

2018-06-01 Thread Maxime Bégnis
Thank you very much for your answer. I was initially thinking that the topic was as simple as it is for western languages. For the specific document I am currently working on, I simply asked the author an ordered list of symbols to be used in the index. I'll provide the list and the Chinese

Re: [docbook-apps] Chinese Index

2018-05-31 Thread Bob Stayton
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

AW: [docbook-apps] Chinese Index

2018-05-31 Thread Frank Ralf
6514471.do Hope that helps. Best regards, Frank -Ursprüngliche Nachricht- Von: Eric Streit [mailto:e...@yojik.eu] Gesendet: Donnerstag, 31. Mai 2018 15:10 An: docbook-apps@lists.oasis-open.org Betreff: Re: [docbook-apps] Chinese Index hi, I found these two references about sorti

Re: [docbook-apps] Chinese Index

2018-05-31 Thread Eric Streit
hi, I found these two references about sorting: https://msdn.microsoft.com/en-us/library/cc194863.aspx and https://www.plecoforums.com/threads/how-can-you-sort-chinese-characters-single-and-multiple.4987/ So sorting is based on the numbers of strokes, radicals, pinyin, categories ... like

[docbook-apps] Chinese Index

2018-05-30 Thread Maxime Bégnis
Hello, I'm using in my customization layer (docbook-xsl-ns-1.75.2): href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/profile-docbook.xsl; /> href="http://docbook.sourceforge.net/release/xsl-ns/current/fo/autoidx-kosek.xsl; /> kosek For a Russian language document, the index