From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Asian Language Support
Date: Tue, 08 May 2012 00:07:32 +0200 [thread overview]
Message-ID: <4FA847A4.5080809@wxs.nl> (raw)
In-Reply-To: <4FA7CA3C.1030704@googlemail.com>
On 7-5-2012 15:12, S Barmeier wrote:
> I am writing documents in English/Japanese.
>
> If you want to include English text, you probably need to define your
> own typescript (or use simplefonts), because most Japanese fonts have
> terrible Latin fonts...
>
> I can probably help you, if you tell me what exactly you need.
>
> If you're just typesetting Japanese text, you will need
> \setscript[hanzi] to enable linebreaks...
>
> And the rest is done by Unicode magic: just type away between \starttext
> and \stoptext
I uploaded a beta with preliminary Japanese script support.
\enabletrackers[scripts.analyzing]
% \enabletrackers[scripts.injections]
\enabletrackers[scripts.details]
% \definefont[testfont][heiseikakugostd-w5][script=kana,language=jan]
\definefont[testfont][heiseiminstd-w3] [script=kana,language=jan]
\testfont
\starttext
\startscript[nihongo]
\startlines
国、『国』、『国』、『国』、『国』、『国』、
\hbox to 3em{国、『国』、『国』、『国』、『国』、『国』、}
国:国:国:国:国:国:国:国:国:国
\hbox to 3em{国:国:国:国:国:国:国:国:国:国}
\stoplines
\stopscript
\stoptext
A question for Yusuke: what script name should we use?
More (simple) examples are needed in order to get all relations between
categories done (so, currently we still use a copy of chinese but with
already a few japanese specific inter-character issues done).
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2012-05-07 22:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-07 10:43 hwitloc
2012-05-07 13:12 ` S Barmeier
2012-05-07 22:07 ` Hans Hagen [this message]
2012-05-07 22:33 ` KUROKI Yusuke
2012-05-08 15:03 ` KUROKI Yusuke
2012-05-08 15:41 ` Hans Hagen
2012-05-07 13:17 ` KUROKI Yusuke
2012-05-07 12:54 ` [***SPAM***] " d.henman
2012-05-07 14:17 ` KUROKI Yusuke
2012-05-08 8:41 ` ABE Noriyuki
2012-05-08 14:11 ` hwitloc
2012-05-08 9:09 ` [***SPAM***] " Hans Hagen
2012-05-07 13:56 ` S Barmeier
2012-05-07 15:54 ` Hans Hagen
2012-05-08 10:39 ` KUROKI Yusuke
2012-05-09 13:37 ` KUROKI Yusuke
[not found] <mailman.3.1336471202.23349.ntg-context@ntg.nl>
2012-05-08 13:48 ` dalyoung
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=4FA847A4.5080809@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).