ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hongyi Zhao <hongyi.zhao@gmail.com>
Subject: Re: How should I config the ConTeXt in order to use utf-8 encoding chinese characters?
Date: Tue, 16 Jan 2007 15:31:01 +0800	[thread overview]
Message-ID: <20070116073101.GA4152@debian-testing-hy.localdomain> (raw)
In-Reply-To: <alpine.WNT.0.81.0701152346240.2784@nqvgln>

On Mon, Jan 15, 2007 at 11:47:04PM -0500, Aditya Mahajan wrote:
> On Tue, 16 Jan 2007, Hongyi Zhao wrote:
> 
> > Dear all
> > 
> > Now I can use the GBK encoding chinese characters in my ConTeXt, but
> > if I want to use the utf-8 encoding chinese characters in my tex
> > files, this is, I want the tex source file encoded by UTF-8, how
> > should I config the ConTeXt.  BYW, all the chinese fonts needed have
> > been installed correctly by me, including the TTFs and the
> > corresponding Type1 fonts.
> 
> Maybe \enableregime[utf]?

Thanks, can you give me a minimal sample file, in my case, the chinese
font is song.

Furthmore, I use Werner's CJK, that is, if I want to invoke the song
font with UTF-8 encoding in the normal tex file, I should use the
argument like this:

[...]
\begin{CJK}{UTF8}{song}
[...]

But, what should I do if I want to use the argument \enableregime[utf]
with ConTeXt?

---
Hongyi Zhao (赵弘毅)
GnuPG DSA: 0xD108493B

老子道德经:第四十九章
圣人常无心,以百姓心为心。
善者吾善之,不善者吾亦善之,德善。
信者吾信之,不信者吾亦信之,德信。
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2007-01-16  7:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-16  3:23 Hongyi Zhao
2007-01-16  4:47 ` Aditya Mahajan
2007-01-16  7:31   ` Hongyi Zhao [this message]
2007-01-16  7:43     ` Zhichu Chen

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=20070116073101.GA4152@debian-testing-hy.localdomain \
    --to=hongyi.zhao@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).