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

Henning Hraban Ramm hraban at fiee.net
Wed Jan 5 22:57:01 CET 2005

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\SkillField#1#2{\bTR\bTD #1\hfill (#2) \eTD \bTD 

becomes a table line like:

Climbing   (+8)  [+8]

Now there are a lot of skills that contain e.g. umlauts, so that 
\definefield[#1] fails.
I don't like to introduce a third parameter.

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.)

If this is not possible, I'll try an optional parameter.

Grüßlis vom Hraban!

More information about the ntg-context mailing list