At 11:06 AM 2/24/2003 +0000, you wrote:
Hi all,

Prompted by this weekend's discussion of input regimes, I took a look at
the one for the Mac's Western encoding (initiated by Michel Bovani), and
hopefully revised it to be nearly complete for characters (missing four
in the range 128-255). Mac users might like to take a look at this file,
and verify that it does what I suggest.

Usage: put the attached regi-mac.tex in your path, and either rebuild
your format files (i.e., texexec --make ...), or explicitly \input this
file in your source. Add the line "\enableregime[mac]" to your source.
Type s�me t�xt with �a��ents� �nd �ther odd characters.

I replaced the old regi-max by this one (minus the table)


Does it work?

dunno since i didn't put it on the mac yet (working on a pc now) -)


concerning the rgime table:

\starttext

\def\showregime
  {\dosingleempty\doshowregime}

\def\doshowregime[#1]%
  {\bgroup
   \iffirstargument\enableregime[#1]\fi
   \starttabulate[|l|l|l|]
   \dostepwiserecurse{128}{255}{1}
     {\expanded
        {\scantokens
           {\NC \recurselevel
            \NC \rawcharacter\recurselevel
            \NC \noexpand\tttf
                \noexpand\meaning
                \rawcharacter\recurselevel \NC \NR}}}%
   \stoptabulate
   \unskip
   \egroup}

\showregime[mac]

\stoptext

I've added this macro to context (enco-run, i.e. a runtime macro)
Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      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
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to