ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Mojca Miklavec" <mojca.miklavec.lists@gmail.com>
Subject: Re: XeTeX "hangs"
Date: Sat, 27 May 2006 14:56:03 +0200	[thread overview]
Message-ID: <6faad9f00605270556r75a30122lb998c3c0c3f8b54a@mail.gmail.com> (raw)
In-Reply-To: <447847CA.9060501@wxs.nl>

On 5/27/06, Hans Hagen wrote:
> Otared Kavian wrote:
> >
> > As told above, ConTeXt is called from within TeXShop, but doing
> > texexec eth-hans-2.tex --pdf
> > in a Terminal window gives the same result (I apologize for not being
> > still up dto date with texmfstart... :-) )
> >
> > I wanted to let you know that I am gathering a number of issues or
> > ConTeXt things which do not work properly when ConTeXt is used
> > together with XeTeX. Should I send them directly to you and Taco or
> > post each problem separately on the list?
> >
> >
> >
> ok, what you see happen in 'non xetex context' is ok,
>
> \catcode`ð=\active \defð{^^F0}
>
> will fail because pdftex is *not* utf and only sees 8 bit characters, so
> you can only set the catcodes 0-255

That's true for pdftex, but XeTeX should handle them OK (assuming that
you're using the proper encoding in your file). If you change ^^f0 to
^^f1 or whatever other number, it works without any problems. It's
just ^^f0 that's causing problems for some weird reason. I don't know
if this is XeTeX or ConTeX bug (or the wrong usage perhaps, but it was
Jonathat who sent this example, only for other letters).

> \catcode `<number>=<number>
>
> and in your case `Ã will become a number ° but ° not
>
> \bgroup
> \let\unicodechar\unicodenumber
> \catcodeð=\active \defð{^^F0}
> \egroup
>
> could work (watch out: no `) but again, \catcode<16 bit number> is not
> accepted by regular 8 bit tex

Hans, in what encoding are you sending/using this? Seems like UTF-8
file opened as if it was "latin1" (might be the same).

You should use utf-8-encoded "eth" literally, not two different character
   \catcode`ð=\active \defð{^^f0}  ð

Mojca

      reply	other threads:[~2006-05-27 12:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-23  8:24 Mojca Miklavec
2006-05-23 21:03 ` Otared Kavian
2006-05-24  6:24 ` Otared Kavian
2006-05-24  8:07   ` Hans Hagen
2006-05-24 19:20     ` Otared Kavian
2006-05-24 21:55       ` making posters with ContexT batela
2006-05-25  5:51         ` David Antos
2006-05-25 18:58           ` batela
2006-05-26 10:10       ` XeTeX "hangs" Hans Hagen
2006-05-26 19:43         ` Otared Kavian
2006-05-26 20:09           ` Hans Hagen
     [not found]             ` <1030CD03-6EEC-451E-9D57-0C3FA6794C30@gmail.com>
2006-05-27 12:36               ` Hans Hagen
2006-05-27 12:56                 ` Mojca Miklavec [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=6faad9f00605270556r75a30122lb998c3c0c3f8b54a@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).