ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Chinese in current ConTeXt
Date: Tue, 20 Dec 2005 17:46:32 +0100	[thread overview]
Message-ID: <43A83568.6020504@wxs.nl> (raw)
In-Reply-To: <43A81EB0.6060900@gmx.de>

Tobias Burnus wrote:

> Hello,
>
> some remarks/errors of the current UTF-8 Chinese support in ConTeXt 
> 2005.12.19:
> (For (a) to (c) see also attached file.)
>
> a) unic-chi.tex: This contains the unicode vectors for which a Chinese 
> font will be used; currently it only covers
> \dostepwiserecurse{40}{159}{1}{\defineunicodecommand #1 {\uchar}}
> but this it misses the U+FFxx characters (fullwidth latin characters, 
> e.g. '?' which is as wide as a Chinese character)
> => solution: Add
> \defineunicodecommand 255 {\uchar}
>
> b) Labels: lang-chi.tex contains:
> \setuplabeltext [\s!cn] [\v!figure={\cnencoding\cnencodedfigure}]
> \startencoding[uni-c]
> \definecommand cnencodedfigure {\uchar{86}{254}}
> but if I use (with UTF-8) \placefigure{}{} the figure character is not 
> shown; however if I setup this directly, i.e.
> \setuplabeltext[cn][figure={\uchar{86}{254}}]
> , the character is shown just fine.


was this du eto the uni-c c-uni mixup?

>
> c) Doing font switching using \SimKaiTi seems to convert back to GBK, 
> can we have Unicode by default (at least when UTF-8 encoding is used)?

we need to come up with a better setup for this, just make me the 
definitions and i'll see how they will fit in ...

>
> Examples for (a) to (c) see attachment (UTF-8 encoded).
>
>
> Wish for the native speakers: Please translate
> - Graphics/Illustration and Intermezzo(s)
>
> Question to native speakers:
> - \c!date={\v!month,\ ,\v!day,{,\ },\v!year},
> Is this really the default? Or should this be
> year年month月day日?
>
> * * *
>
> Another questions:
> a) How to typset from top-to-bottom right-to-left using column(sets)?

hm, columnsets ... just make them small enough; should work ok 
(including graphic spans)

> b) How to change the numberformat used?

eh ... wang lei should know ... i have to look into it (chinese supports 
multiple number formats)

Hans

  parent reply	other threads:[~2005-12-20 16:46 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-20 15:09 Tobias Burnus
2005-12-20 15:55 ` Richard Gabriel
2005-12-20 16:46 ` Hans Hagen [this message]
2005-12-20 18:25   ` Tobias Burnus
2005-12-20 21:00     ` Hans Hagen
2005-12-20 21:18   ` Tobias Burnus
2005-12-20 22:34     ` Hans Hagen
2005-12-21  1:16 ` Xiao Jianfeng
2005-12-21  1:45   ` Tobias Burnus
2005-12-22 11:27     ` Richard Gabriel
2005-12-22 11:54       ` Hans Hagen
2005-12-22 13:30         ` Richard Gabriel
2005-12-22 14:57           ` Hans Hagen
2005-12-23  8:31             ` Richard Gabriel
2005-12-21  1:21 ` Xiao Jianfeng

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=43A83568.6020504@wxs.nl \
    --to=pragma@wxs.nl \
    --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).