On 5-10-2010 11:55, Philipp Gesang wrote:
I assume by “shapes” you mean the base symbol (all diacritics
stripped).
indeed (and we might need to add/patch a few more shcodes to
char-def.lua if needed)
Hans
-
On 2010-10-03 17:43:21, Thomas A. Schmitz wrote:
OK, I'll write something for German and English, but the thing
is that we need more input what users expect. For mixtures with
foreign languages, there might not be generally accepted rules at
all, so people will define something on an ad-hoc
On 5-10-2010 2:15, Philipp Gesang wrote:
[1]
http://standards.iso.org/ittf/PubliclyAvailableStandards/c044872_ISO_IEC_14651_2007(E).zip
[2] http://www.iso.org/ittf/ISO14651_2006_TABLE1_En.txt
I'll have a look at it when I've time for it (I didn't know that doc;
it's more fun figuring it out
On Oct 5, 2010, at 2:15 PM, Philipp Gesang wrote:
Hi Thomas and others,
technically speaking the problem is solved by ISO 14651.[1]
In praxi multilingual sorting depends on local rules, of
which “One index per script|language.” seems to be the most
common.
Yes, that's what I was
On 2010-10-05 15:29:38, Thomas A. Schmitz wrote:
And someone (me) might
say that they want three Greek terms in their German index at
logical places.
Try the definitions in the attachment. For three words only they
will be fine. But if the count
On 5-10-2010 11:17, Philipp Gesang wrote:
I guess there is some testing going on in order to determine
whether to proceed with the current entry or switch to the next
one. The position is the same, however the comparison with the
last item fails and a new one is created instead. (Only
Hi all, Hans,
On Feb 11, 2010, at 6:17 PM, Hans Hagen wrote:
1. index sorts uppercase letters after lowercase letters. Minimal example:
\starttext
\index{Aardvark}Aardvark
\index{azygous}azygous
\page
\setupregister[index][n=1]
\placeregister[index]
\stoptext
I would
On 3-10-2010 10:24, Thomas A. Schmitz wrote:
Hi all, Hans,
On Feb 11, 2010, at 6:17 PM, Hans Hagen wrote:
1. index sorts uppercase letters after lowercase letters. Minimal example:
\starttext
\index{Aardvark}Aardvark
\index{azygous}azygous
\page
\setupregister[index][n=1]
On Oct 3, 2010, at 12:29 PM, Hans Hagen wrote:
indeed, and in a nice obscure way ...
\setuplayout[topspace=1cm,height=middle]
\setupbodyfont[11pt]
\starttext
\def\Test#1%
{\vbox{{\bf#1}\blank\placeregister[index][language=cz,n=1,method={#1}]}\blank}
wanted result: oá öb Oč Öď Oo
On 3-10-2010 12:58, Thomas A. Schmitz wrote:
On Oct 3, 2010, at 12:29 PM, Hans Hagen wrote:
indeed, and in a nice obscure way ...
\setuplayout[topspace=1cm,height=middle]
\setupbodyfont[11pt]
\starttext
\def\Test#1%
On Oct 3, 2010, at 5:10 PM, Hans Hagen wrote:
mm zm pm : use mapping order, add -1,0, +1 to different case and use shape
info for missing entries (similar shapes)
mc zc pc : use mapping order, add -1,0, +1 to different case
uc: unicode order
so, you define a sequence of comparisons
Hi all,
working on a book project with index and bibliography, I discovered two small
bugs (at least I think they are bugs):
1. index sorts uppercase letters after lowercase letters. Minimal example:
\starttext
\index{Aardvark}Aardvark
\index{azygous}azygous
\page
On 11-2-2010 16:52, Thomas A. Schmitz wrote:
Hi all,
working on a book project with index and bibliography, I discovered two small
bugs (at least I think they are bugs):
1. index sorts uppercase letters after lowercase letters. Minimal example:
\starttext
\index{Aardvark}Aardvark
On 11-2-2010 16:52, Thomas A. Schmitz wrote:
2. (Maybe not a bug, but a somewhat unfriendly behavior): When a \cite command
refers to a non-existent key and sort=bbl, ConTeXt bombs out with a lua error:
so what do you expect? to drop that entry? or else, what default key to
use?
Hans
On Feb 11, 2010, at 6:17 PM, Hans Hagen wrote:
are you sure that that's the convention for english? it's easy to change it
...
\startluacode
sorters.mappings['en'] = {
[a] = 2, [b] = 4, [c] = 6, [d] = 8, [e] = 10,
[f] = 12, [g] = 14, [h] = 16, [i] = 18, [j] = 20,
[k] = 22,
* Hans Hagen pra...@wxs.nl [2010-02-11 18:17]:
are you sure that that's the convention for english? it's easy to
change it ...
I've never seen an ordinary English index that was sorted by case.
English indexes should definitely default to case-insensitive.
(Has anyone here ever been asked
On 11-2-2010 18:35, Thomas A. Schmitz wrote:
On Feb 11, 2010, at 6:17 PM, Hans Hagen wrote:
are you sure that that's the convention for english? it's easy to change it ...
\startluacode
sorters.mappings['en'] = {
[a] = 2, [b] = 4, [c] = 6, [d] = 8, [e] = 10,
[f] = 12, [g] = 14,
On Feb 11, 2010, at 8:29 PM, Hans Hagen wrote:
just give them the same code, so A=1, a=1
(we could make that an option: upper first, lower first, mixed)
Hans
Thank you, Hans, that works nicely! It would be good to have this as an option.
And I would vote for having the mixed setting as
18 matches
Mail list logo