Am 2009-12-23 um 13:53 schrieb Jelle Huisman:
I made a marking from each entry in the dictionary and its works, but there is a problem because the entry printed is the second, not the first.
See the example at http://texshow.contextgarden.net/cmd/en/ getmarking and use the correct option: [first] [last] [previous] [both] [all] [current] (I usually get it right after a couple of experiments ;-)
I tried something similar for my addressbook, but it doesn't work: \definemarking[MNam] \setupheadertexts[][{\getmarking[MNam][first]--\getmarking[MNam][last]}] \def\Name#1{\bf #1\marking[MNam]{\FirstNCharacters{4}{#1}}} (following lots of lines with \Name{Somebody}) There's no output besides "–" in the header. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)