At 09:44 PM 12/9/2002 +0100, you wrote:
On Sat, Dec 07, 2002 at 12:38:46PM +0100, Hans Hagen wrote:
Hi,
I posted
U+0E5B = \char14:91 \startunicodevector 34
Can these numbers also be given in hexadecimal, e.g., \char "E:"5B? Unicode data sheets and font layout tables are usually given in hexadecimal. I find myself converting from hex to decimal and back; it would be easier to remain in hex.
in unic-ini (at the end) change: \chardef\utfunicommandmode=0 % 1 = hex \def\unicodecommandchar#1#2% {\string\char \ifcase\utfunicommandmode #1:#2\else\lchexnumbers#1:\lchexnumbers#2% \fi} \def\utfunifontcommand#1% {\xdef\unidiv{\number\utfdiv{#1}}% \xdef\unimod{\number\utfmod{#1}}% \ifnum#1<\utf@i \unicodecommandchar\unidiv\unimod \else\ifcsname\@@univector\unidiv\endcsname \@EA\string\csname\doutfunihash{\unidiv}{#1}\endcsname \else \unicodecommandchar\unidiv\unimod \fi\fi} ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------