OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Subject: RE: DOCBOOK-APPS: Sorting and non-en_US indexes

Thanks Jirka. Just to make sure I understand how to use this: Once I
compile one class for each target language following the naming
convention Compare_<replaceable>language code</replaceable> (Compare_ja,
etc), I run saxon with the appropriate langague code?

> java -Duser.language=<replaceable>language-code</replaceable>

...and it should use the Compare class for the user.language?

In the case of Japanese, where there's no notion of upper/lowercase, I
shouldn't have to edit the declarations for &uppercase; and &lowercase;,


> -----Original Message-----
> From: Jirka Kosek [mailto:jirka@kosek.cz]
> Sent: Thursday, September 19, 2002 5:12 AM
> To: David Cramer
> Cc: docbook-apps@lists.oasis-open.org
> Subject: Re: DOCBOOK-APPS: Sorting and non-en_US indexes
> David Cramer wrote:
> > Poking my head in autoidx.xsl (which, unsurpisingly, 
> mystifies me), I
> > notice the xsl:sorts don't have lang attributes. On the 
> other hand, the
> > DocBook community is pretty international, so I should think that if
> > there were serious problems, there'd be more posts about it. Could
> > somebody give me an indication of the status of generating 
> indexes using
> > the DocBook xsls and various languages?
> At least, you must edit entities which defines grouping characters and
> their lowercase/uppercase variants.
> > A related question regards xsl processors and sorting. I 
> checked Saxon's
> > mailing list, but couldn't tell whether I could expect it to sort
> > correctly out-of-the-box or if we'd have to do a little work:
> > http://sourceforge.net/mailarchive/message.php?msg_id=77605
> > http://sourceforge.net/mailarchive/message.php?msg_id=1048531
> I use following code to left locale dependand comparsion to standard
> Java class. If you put it on classpath, Saxon will use this class for
> comparsion when lang is set to "cs". You can modify it to cope with
> Japanese quite easily.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]

Powered by eList eXpress LLC