Mojca Miklavec wrote:
On Thu, Nov 13, 2008 at 9:12 AM, Hans Hagen wrote:
Thomas A. Schmitz wrote:
On Nov 13, 2008, at 8:43 AM, Hans Hagen wrote:
well, i was not aware of users using \definecharacter
(i can make it a chardef if needed)
Hey, you should know that your users use ConTeXt for all kinds of weird and deviant purposes :-)
I have it in some of my private modules/environments, e.g. for creating symbols and a metrical font. What would you suggest using instead? \definecharacter etc were closely related to font encoding, so unless you defined them in 'default' encoding you had to replicate the definitions in each fotn encoding
Even in XeTeX or LuaTeX one had to define a character only once. \definecharacter worked just fine in both of them some time ago and I find it a pitty to remove it (if there is no serious reason to do so).
\def\definecharacter#1 #2 % {\doifnumberelse{\string#2} {\setevalue{\string#1}{\utfchar{#2}}} {\unexpanded\setvalue {\string#1}{#2}}} \def\definecommand#1 #2 % {\unexpanded\setvalue{\string#1}{#2}} ----------------------------------------------------------------- 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 -----------------------------------------------------------------