Re: [NTG-context] function that purges 8 bit text?

2005-01-07 Thread Hans Hagen
Henning Hraban Ramm wrote: Will this also work with field names ( \definefield[Übelkübel]... )? no, what happens when you do that? (i can of course add such code in more places) Hans - Hans

Re: [NTG-context] function that purges 8 bit text?

2005-01-06 Thread Hans Hagen
Henning Hraban Ramm wrote: Is there a possibility to strip all invalid chars from a string, so that \SkillField{Erzählen}{0} can define a field named Erzaehlen or Erzhlen or Erzahlen? (Sorry, I can't program in TeX.) just make me s small test file there is lots of sanitizing code/trickery out

Re: [NTG-context] function that purges 8 bit text?

2005-01-06 Thread Henning Hraban Ramm
Am 06.01.2005 um 12:56 schrieb Hans Hagen: Is there a possibility to strip all invalid chars from a string, so that \SkillField{Erzählen}{0} can define a field named Erzaehlen or Erzhlen or Erzahlen? just make me s small test file there is lots of sanitizing code/trickery out there, but need a

Re: [NTG-context] function that purges 8 bit text?

2005-01-06 Thread Hans Hagen
Henning Hraban Ramm wrote: Am 06.01.2005 um 12:56 schrieb Hans Hagen: Is there a possibility to strip all invalid chars from a string, so that \SkillField{Erzählen}{0} can define a field named Erzaehlen or Erzhlen or Erzahlen? just make me s small test file there is lots of sanitizing

Re: [NTG-context] function that purges 8 bit text?

2005-01-06 Thread Henning Hraban Ramm
Am 06.01.2005 um 17:18 schrieb Hans Hagen: it's a three line macro to do this kind of things; however, i decided to install yet another expansion handler, \enableregime[windows] \setupregister[index][keyexpansion=strict] \starttext \index[Ätsch]{Ätsch} test \index{QÄtsch} test

[NTG-context] function that purges 8 bit text?

2005-01-05 Thread Henning Hraban Ramm
Hi there! I try to typeset a roleplaying character sheet as PDF form; it contains a table of skills, each line is a \SkillField after this def: \def\SkillField#1#2{\bTR\bTD #1\hfill (#2) \eTD \bTD \definefield[#1][line][SkillSetup][#2]\field[#3]\eTD\eTR} e.g. \SkillField{Climbing}{+8} becomes