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
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 ___________________________________________________________________________________