[NTG-context] Re: extended ascii characters

Adam Lindsay ntg-context@ntg.nl
Sat, 3 Jan 2004 17:32:13 +0000


Gon=E7alo, 

"Extended ASCII" is relatively uninformative without some information on
which encoding you're actually using (ASCII is normative from 0-127).
I'll guess you mean '=A7' (Section mark), which, judging from regi-win and
regi-il1, is my guess for the character you mean. (On the mac, it's '=DF'
or the eszett, which is less likely judging from your email address.)

ConTeXt makes this easy: just use the macro \sectionmark .

If the original document uses an "extended ascii" encoding for characters
like this, you might find it easier to use this at the beginning of your
document:
\enableregime[il1]  %    ...or...
\enableregime[windows] % as appropriate.

Patrick is very right, and alludes to a (potentially) confusing topic,
with font encodings and input regimes. They're actually a very nice,
powerful aspect of ConTeXt, where you enter text using your most familiar
method, and don't have to worry where each glyph is located on a day-to-
day basis.

Hope that's some help...
adam
 
Gon=E7alo Morais said this at Sat, 3 Jan 2004 11:59:21 +0000:

>Thanks for your help... 
>
>I am aware of \char167 isntruction but in the next example nothing seems =
to 
>happen!! 
>
>Gon=E7alo 
>
>
>Pawel Jackowski na Onet writes: 
>
>> Hi all! 
>> 
>> 
>>> I would like to know how I may use extended ascii characters in context,
>> for
>>> example character number 167.
>> 
>> I'm sure Hans has made a lot of extensions for ,,strange'' character
>> support. But also plain TeX offers \char167 instruction, which returns
>> character 167 according to given font encoding. Is that what You looking
>> for=3F 
>> 
>> Regards, Pawe/l 
>> 
>> 
>> =
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
>> ntg-context mailing list
>> ntg-context@ntg.nl
>> http://www.ntg.nl/mailman/listinfo/ntg-context
> 
>
> --------------------------------------------
>IPLNet WebMail http://www.mail.ipl.pt
> --------------------------------------------
>   "Campus Virtual" do IPL - J=E1 Aceite !
> http://www.net.ipl.pt/index.html#WIRELESS
> --------------------------------------------

-- 
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D=
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D
 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
-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-