[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Chinese Index
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 dictionaries Eric Le 30/05/2018 à 11:13, Maxime Bégnis a écrit : > 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* > maxime@neodoc.fr > Tél: +33 (0)4.42.52.24.20 > 789 Rue de La Gare > 13770 Venelles > France > http://www.neodoc.fr/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]