From: Hans Hagen <pragma@wxs.nl>
Subject: Re: utf 8 / test file
Date: Tue, 10 Dec 2002 10:54:13 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20021210105339.02a710e0@server-1> (raw)
In-Reply-To: <20021209204412.GD1164@scaprea>
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
> >
> > http://www.pragma-ade.com/temp/titus.pdf
>
>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
-------------------------------------------------------------------------
prev parent reply other threads:[~2002-12-10 9:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-07 11:38 Hans Hagen
2002-12-08 20:38 ` Simon Pepping
2002-12-08 23:26 ` Hans Hagen
2002-12-09 9:40 ` Taco Hoekwater
2002-12-09 10:40 ` Re[2]: " Giuseppe Bilotta
2002-12-09 11:30 ` Hans Hagen
2002-12-09 20:32 ` Simon Pepping
2002-12-09 20:44 ` Simon Pepping
2002-12-10 9:54 ` Hans Hagen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5.1.0.14.1.20021210105339.02a710e0@server-1 \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).