Am 11.03.2013 um 14:22 schrieb hwit...@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 via email to