ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: hwitloc@gmail.com
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: [***SPAM***] Some guidance please to get Asian	 Character
Date: Thu, 14 Mar 2013 18:38:36 +1000	[thread overview]
Message-ID: <20130314183836.3864@binki> (raw)
In-Reply-To: Your message of Mon, 11 Mar 2013 15:46:49 +0100 <50234E65-4C8C-443F-B78F-6BE39AB97A1C@gmail.com>


Wolfgang,
   thanks so much for your resonse.  It's content led to me to a solution, both the demonstration code and importantly the note about using MKIV.   Since texexec is the only thing mentioned in the "ConTEXt the manual", and in other places I've read that MKIV is the latest, I wrongly assumed that texexec was running MKIV.   When trying to compile the source I keep seeing mkii comments in the output and then read up and found out that texexec is for mkii and context is for mkiv.  I was also under the impression that texexec was a supserset  of context and was a script that ran context, since it mentioned "two ways to run contxt" and that texexec script handled mutliple passes etc..    After learning I retried the example code and it now works, which is very good.

Thank You.



Wolfgang Schuster <wolfgang.schuster@gmail.com> wrote:
> Am 11.03.2013 um 14:22 schrieb hwitloc@gmail.com:
> 
> > 
> > I am trying to get Japanese character text in a document, but I'm having problems.
> > I am invoking context like this:
> > 
> > 	texexec --xtx --pdf test-jp.tex
> > 
> > Below is the context macro source file and below that the compilation output from ConTeXt
> > %
> > % Simple test file.
> > %
> > \enableregime[utf-8]
> > \mainlanguage[ja]
> > \usemodule[japanese]
> > \usemodule[simplefonts]
> > 
> > \starttext
> > Hello, World! 
> > 世界、今日は!
> > \stoptext
> 
> I suggest to use MkIV instead of MkII because it makes it easier to select a font.
> 
> \mainlanguage[ja]
> 
> \usemodule[simplefonts]
> 
> \setmainfont[Meiryo] % replace "Meiryo" with a font available on your system
> 
> \setscript[nihongo]
> 
> \starttext
> Hello, World! 
> 世界、今日は!
> \stoptext
> 
> Wolfgang
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

      reply	other threads:[~2013-03-14  8:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-11 13:22 hwitloc
2013-03-11 14:46 ` Wolfgang Schuster
2013-03-14  8:38   ` hwitloc [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=20130314183836.3864@binki \
    --to=hwitloc@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).