ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Mac input encodings
Date: Tue, 11 Mar 2003 22:59:01 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20030311225714.0331ea10@server-1> (raw)
In-Reply-To: <20030224110604.11039@news.comp.lancs.ac.uk>

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

      parent reply	other threads:[~2003-03-11 21:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-24 11:06 Adam Lindsay
2003-02-25 13:30 ` Victor Figurnov
2003-03-11 22:35   ` Hans Hagen
2003-03-12 10:58     ` Adam Lindsay
2003-03-11 21:59 ` 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.20030311225714.0331ea10@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).