* Mac input encodings
@ 2003-02-24 11:06 Adam Lindsay
2003-02-25 13:30 ` Victor Figurnov
2003-03-11 21:59 ` Hans Hagen
0 siblings, 2 replies; 5+ messages in thread
From: Adam Lindsay @ 2003-02-24 11:06 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 953 bytes --]
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.
Does it work?
Adam
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay atl@comp.lancs.ac.uk
Computing Dept, Lancaster University +44(0)1524/594.537
Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[-- Attachment #2: regi-mac.zip --]
[-- Type: application/zip, Size: 2906 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Mac input encodings
2003-02-24 11:06 Mac input encodings Adam Lindsay
@ 2003-02-25 13:30 ` Victor Figurnov
2003-03-11 22:35 ` Hans Hagen
2003-03-11 21:59 ` Hans Hagen
1 sibling, 1 reply; 5+ messages in thread
From: Victor Figurnov @ 2003-02-25 13:30 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 1605 bytes --]
Adam T. Lindsay wrote on Mon, 24 Feb 2003:
AL> Prompted by this weekend's discussion of input regimes, I took a
AL> look at the one for the Mac's Western encoding (initiated by Michel
AL> Bovani), and hopefully revised it to be nearly complete for
AL> characters (missing four in the range 128-255). Mac users might like
AL> to take a look at this file, and verify that it does what I suggest.
Some symbols still can be added to this input regime definition:
character 187 (ordfeminine) can be defined as \ordfeminine
character 188 (ordmasculine) can be defined as \ordmasculine
character 202 (no-break space) can be defined as \nonbreakablespace
And some definitions can be changed:
character 163 can be defined as \textsterling instead of \sterling
character 192 can be defined as \questiondown instead of ?`
(ligature ?` doesn't always work).
character 193 can be defined as \exclamdown instead of !`
(ligature !` doesn't always work).
character 214 can be defined as \textdiv instead of \mathematics\div
character 182 can be defined as \mathematics\partial instead of
\mathematics\delta (this character is described as:
0xB6 partialdiff 0x2202 PARTIAL DIFFERENTIAL
in the Apple Computer's definition of Mac OS Roman character set,
see the file ROMAN.TXT in the Public/MAPPINGS/VENDORS/APPLE
directory of ftp.unicode.org . Symbol 'delta' can be found in Mac Symbol
and Mac Greek encodings).
I corrected Adam T. Lindsay's regi-mac.tex file (see the attachment).
Also I changed input characters to their codes -- it seems to be more
reliable.
Victor Figurnov
[-- Attachment #2: regi-mac.zip --]
[-- Type: application/octet-stream, Size: 2827 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Mac input encodings
2003-02-25 13:30 ` Victor Figurnov
@ 2003-03-11 22:35 ` Hans Hagen
2003-03-12 10:58 ` Adam Lindsay
0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2003-03-11 22:35 UTC (permalink / raw)
At 04:30 PM 2/25/2003 +0300, Victor Figurnov wrote:
>I corrected Adam T. Lindsay's regi-mac.tex file (see the attachment).
>Also I changed input characters to their codes -- it seems to be more
>reliable.
ok, patched, \showregime[mac] now looks pretty complete
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Mac input encodings
2003-03-11 22:35 ` Hans Hagen
@ 2003-03-12 10:58 ` Adam Lindsay
0 siblings, 0 replies; 5+ messages in thread
From: Adam Lindsay @ 2003-03-12 10:58 UTC (permalink / raw)
Thanks Victor, Hans...
I was conservative (and lazy) with the changes on the regi-mac. Thank
you, Victor, for filling in the gaps.
Cheers,
adam
Hans Hagen said this at Tue, 11 Mar 2003 23:35:17 +0100:
>At 04:30 PM 2/25/2003 +0300, Victor Figurnov wrote:
>
>>I corrected Adam T. Lindsay's regi-mac.tex file (see the attachment).
>>Also I changed input characters to their codes -- it seems to be more
>>reliable.
>
>ok, patched, \showregime[mac] now looks pretty complete
>
>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
>-------------------------------------------------------------------------
>
>_______________________________________________
>ntg-context mailing list
>ntg-context@ntg.nl
>http://www.ntg.nl/mailman/listinfo/ntg-context
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Adam T. Lindsay atl@comp.lancs.ac.uk
Computing Dept, Lancaster University +44(0)1524/594.537
Lancaster, LA1 4YR, UK Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Mac input encodings
2003-02-24 11:06 Mac input encodings Adam Lindsay
2003-02-25 13:30 ` Victor Figurnov
@ 2003-03-11 21:59 ` Hans Hagen
1 sibling, 0 replies; 5+ messages in thread
From: Hans Hagen @ 2003-03-11 21:59 UTC (permalink / raw)
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
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2003-03-12 10:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-24 11:06 Mac input encodings 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 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).