ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: Re: metafun example & utf8 input problem
Date: Sat, 25 Dec 2004 10:20:28 +0000	[thread overview]
Message-ID: <20041225102028.12585@news.comp.lancs.ac.uk> (raw)
In-Reply-To: <e5d3f2650412241535721677f8@mail.gmail.com>

VnPenguin said this at Sat, 25 Dec 2004 00:35:36 +0100:

>I'm trying the example at page 236 Graphics and macros (metafun-s.pdf).
>I use vietnamese utf-8 input with T5.:
>--------------------------- code ---------------
>\enableregime[utf]
>\setupencoding[default=t5]
>\loadmapfile[urwvn]
>\usetypescript[all][computer-modern][t5]
>\setupbodyfont[reset]
>
>\usetypescript[berry][t5]
>\usetypescript[postscript][t5]
>\setupbodyfont[postscript,12pt]

Hello again,

Replace all this preamble stuff with something that gets sent to both
ConTeXt and MetaFun:

\startMPenvironment[global]
  \enableregime[utf]
  \setupencoding[default=t5]
  \loadmapfile[urwvn]
  \usetypescript[berry][t5]
  \usetypescript[postscript][t5]
  \setupbodyfont[postscript,12pt]
\stopMPenvironment

(BTW, the example text you sent got mangled in mailing--try checking your
mailer's encoding.)

Also, this was discussed in the archives as recently as July/August.
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl@comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

  reply	other threads:[~2004-12-25 10:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-24 23:35 VnPenguin
2004-12-25 10:20 ` Adam Lindsay [this message]
2004-12-25 19:01   ` VnPenguin

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=20041225102028.12585@news.comp.lancs.ac.uk \
    --to=atl@comp.lancs.ac.uk \
    --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).