Dear Dalyoung, Thank you very much for your insight. I downloaded the Noto Serif JP fonts and set up a fontfamily as you indicated, by adding \setscript[nihongo] which solves a problem I had with line breakings. And everything works smoothly! So, for the mail archive, here is what I have and what works fine: %%% Noto Fonts \definefontfamily[JapaneseFont][rm][Noto Serif JP] [ it={style:regular,features:{*,slanted}}, sl={style:regular,features:{*,slanted}}, bi={style:bold,features:{*,slanted}},force=yes] \definefontfamily[JapaneseFont][ss][Noto Serif JP] [ it={style:regular,features:{*,slanted}}, sl={style:regular,features:{*,slanted}}, bi={style:bold,features:{*,slanted}},force=yes] \definefontfamily[JapaneseFont][tt][Noto Serif JP] [ it={style:regular,features:{*,slanted}}, sl={style:regular,features:{*,slanted}}, bi={style:bold,features:{*,slanted}},force=yes] \definefontfamily[JapaneseFont][math][Tex Gyre Termes Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Pagella Math] %\definefontfamily[JapaneseFont][math][Tex Gyre Aventor] %%%% \setupbodyfont[JapaneseFont,12pt] \setupruby[location=top,voffset=-2ex] \setupwhitespace[big] \setscript[nihongo] \starttext \ruby{早}{はや}く。 いきましょう。 \stoptext Best regards: Otared > On 27 Feb 2024, at 13:55, Jeong Dal via ntg-context wrote: > > Dear Otared, > > I am using Korean as main language. > I used use typescript file, but recently I use \definefontfamily. > Since using Japanese font is similar to use Korean font, I show my example of using Noto fonts. It was made by the help of expert of this list long time ago. > > You may change "Noto Serif CJK KR” to Japanese font. > > I also use "\setscript[hangul]” when I use Korean as mainlanaguage. > > I hope that you may enhance the following code. > > Best regards, > > Dalyoung > > > %%% Noto Fonts > > \definefontfamily[notoFont][rm][Noto Serif CJK KR] > [ it={style:regular,features:{*,slanted}}, > sl={style:regular,features:{*,slanted}}, > bi={style:bold,features:{*,slanted}},force=yes] > > \definefontfamily[notoFont][ss][Noto Sans CJK KR] > [ it={style:regular,features:{*,slanted}}, > sl={style:regular,features:{*,slanted}}, > bi={style:bold,features:{*,slanted}},force=yes] > > \definefontfamily[notoFont][tt][Noto Sans Mono CJK KR] > [ it={style:regular,features:{*,slanted}}, > sl={style:regular,features:{*,slanted}}, > bi={style:bold,features:{*,slanted}},force=yes] > > \definefontfamily[notoFont][math][Tex Gyre Termes Math] > %\definefontfamily[notoFonts][math][Tex Gyre Pagella Math] > %\definefontfamily[notoCJK][math][Tex Gyre Aventor] > > >> 2024. 2. 27. 오전 6:49, Otared Kavian > 작성: >> >> Hi Hraban, >> >> Your are right indeed ! I didn’t imagine that it was so easy to set up a document to write in Japanese… >> Actually I followed the example by Emanuel Han which is essentially what you suggest (although he gave me also the hint to add the furagana). >> >> Best regards: Otared >> >>> On 26 Feb 2024, at 21:16, Henning Hraban Ramm > wrote: >>> >>> Am 26.02.24 um 21:08 schrieb Otared Kavian: >>>> Does anyone have a simple setup of fonts to write a small Japanese document (possibly with furagana) ? I am using MacOS and I have several Japanese fonts on the system. >>>> I have some old examples which do not typeset correctly now, maybe because they use the old module simplefonts and commands such as \setcjkmainfont and friends. >>> >>> Try to replace the simplefonts calls with something like >>> >>> \definefontfamily[myfonts][rm][SomeFont] >>> \definefontfamily[myfonts][ss][SomeOtherFont] >>> >>> \setupbodyfont[myfonts,rm,12pt] >>> >>> With Latin fonts, it usually works. >>> >>> Hraban >>> ___________________________________________________________________________________ >>> If your question is of interest to others as well, please add an entry to the Wiki! >>> >>> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl >>> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) >>> archive : https://github.com/contextgarden/context >>> wiki : https://wiki.contextgarden.net >>> ___________________________________________________________________________________ >> >> Otared Kavian >> e-mail: otared@gmail.com >> Phone: +33 6 88 26 70 95 >> >> >> >> >> ___________________________________________________________________________________ >> If your question is of interest to others as well, please add an entry to the Wiki! >> >> maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl >> webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) >> archive : https://github.com/contextgarden/context >> wiki : https://wiki.contextgarden.net >> ___________________________________________________________________________________ > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an entry to the Wiki! > > maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl > webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) > archive : https://github.com/contextgarden/context > wiki : https://wiki.contextgarden.net > ___________________________________________________________________________________ Otared Kavian e-mail: otared@gmail.com Phone: +33 6 88 26 70 95