Finish register sorting (was LuaTeX problems)
On Thu, Jul 3, 2008 at 12:08 AM, Hans Hagen
Tomi Lindberg wrote:
2008/6/30, Wolfgang Schuster
: What language do you use for your document, indices work in MkIV currently only for english, dutch, czech and german.
My document is in Finnish so that certainly explains it. As I'm not on a computer with ConTeXt Minimals at the moment, I must ask if this also means that MkIV doesn't hyphenate other languages correctly (I didn't inspect my result that closely and I've been busy with other stuff the last few days)?
it should work ok; patterns are loaded on demand in mkiv
(btw index sorting, when not defined for a language, uses the english sort order)
By quick Googling it seems that none of them sort in "Finnish" way. Is adding a language support big effort or more on the quick 'n' easy side of things? Being quite new to this I wouldn't really like to bother you with guiding me through any major task.
we just need an order (see sort-lan.lua)
I wrote a sorter for finish but we should test it before it can be included. Wolfgang
2008/7/3, Wolfgang Schuster
I wrote a sorter for finish but we should test it before it can be included.
I'll give it a try later. And just by glancing there's an ordering error - 'å' should be before 'ä'. I assume I just add the luacode section to my environment, switch locations of 'å' and 'ä' and that's it? Thanks, Tomi Lindberg
On Thu, Jul 3, 2008 at 8:21 PM, Tomi Lindberg
2008/7/3, Wolfgang Schuster
: I wrote a sorter for finish but we should test it before it can be included.
I'll give it a try later. And just by glancing there's an ordering error - 'å' should be before 'ä'. I assume I just add the luacode section to my environment, switch locations of 'å' and 'ä' and that's it?
Yes, yes and yes. You have to switch "ä" and "å" but I corrected my version. Wolfgang
Wolfgang Schuster wrote:
On Thu, Jul 3, 2008 at 8:21 PM, Tomi Lindberg
wrote: 2008/7/3, Wolfgang Schuster
: I wrote a sorter for finish but we should test it before it can be included. I'll give it a try later. And just by glancing there's an ordering error - 'å' should be before 'ä'. I assume I just add the luacode section to my environment, switch locations of 'å' and 'ä' and that's it?
Yes, yes and yes.
You have to switch "ä" and "å" but I corrected my version.
i added the vector to sort-lan.lua ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Fri, Jul 4, 2008 at 9:37 AM, Hans Hagen
Wolfgang Schuster wrote:
On Thu, Jul 3, 2008 at 8:21 PM, Tomi Lindberg
wrote: 2008/7/3, Wolfgang Schuster
: I wrote a sorter for finish but we should test it before it can be included. I'll give it a try later. And just by glancing there's an ordering error - 'å' should be before 'ä'. I assume I just add the luacode section to my environment, switch locations of 'å' and 'ä' and that's it?
Yes, yes and yes.
You have to switch "ä" and "å" but I corrected my version.
i added the vector to sort-lan.lua
There is something wrong in the encoding for the finish sorting. [51] = "z", [53] = "å", [55] = "ä", [57] = "ö", Wolfgang
participants (4)
-
Arthur Reutenauer
-
Hans Hagen
-
Tomi Lindberg
-
Wolfgang Schuster