@Wolfgang, Ran your example (unsure about all these \definefontfamily commands), but does not work, a lot of errors ====== mtx-context | warning: no (local) file './context_cjk', proceeding mtx-context | run 1: luatex --fmt="/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="context_cjk" --lua="/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./context_cjk" --c:input="./context_cjk" --c:kindofrun=1 --c:maxnofruns=9 "cont-yes.mkiv" This is LuaTeX, Version beta-0.89.4 (TeX Live 2016/dev) system commands enabled. open source > 1 > 1 > /opt/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv ConTeXt ver: 2016.03.13 23:40 MKIV beta fmt: 2016.3.23 int: english/english system > 'cont-new.mkiv' loaded open source > 2 > 2 > /opt/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv close source > 2 > 2 > /opt/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv system > files > jobname 'context_cjk', input './context_cjk', result 'context_cjk' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > 2 > 3 > /home/icubic/download/wim/context_cjk.tex fonts > otf loading > loading '/opt/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf', hash 'dejavuserif' otf reader > found cmaps: otf reader > platform 0: unicode otf reader > encoding 3: unicode 2.0 bmp otf reader > formats: 4 otf reader > encoding 4: unicode 2.0 full (unsupported) otf reader > formats: 12 (unsupported) otf reader > platform 1: macintosh (unsupported) otf reader > encoding 0: roman (unsupported) otf reader > formats: 6 (unsupported) otf reader > platform 3: windows otf reader > encoding 1: unicode bmp otf reader > formats: 4 otf reader > encoding 10: unicode ucs-4 otf reader > formats: 12 otf reader > cmap checked: platform 3 (windows), encoding 1 (unicode bmp), format 4, new unicodes 3329 otf reader > cmap checked: platform 3 (windows), encoding 10 (unicode ucs-4), format 12, new unicodes 55 otf reader > cmap checked: platform 0 (unicode), encoding 3 (unicode 2.0 bmp), format 4, new unicodes 0 otf reader > ignoring global kern table using gpos kern feature otf reader > not unicoded: brailledot dlLtcaron otf reader > 2809 bogus names removed (verbose unicode) otf reader > 3357 base class tags removed (default is base) fonts > otf loading > loading done fonts > otf loading > saving '/opt/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf' in cache system > lua > compiling '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/dejavuserif.tma' into '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/dejavuserif.tmc' system > lua > dumping '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/dejavuserif.tma' into '/opt/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/fonts/otl/dejavuserif.tmc' stripped fonts > otf loading > loading, optimizing, packing and caching time 0.134 fonts > defining > font with asked name 'mainface-rm--fallback-1' is not found using lookup 'file' fonts > defining > unknown font 'mainface-rm--fallback-1', loading aborted fonts > defining > unable to define 'mainface-rm--fallback-1' as 'dummy--0' fonts > defining > font with asked name 'mainface-rm--fallback-1' is not found using lookup 'file' fonts > defining > unknown font 'mainface-rm--fallback-1', loading aborted fonts > defining > unable to define 'mainface-rm--fallback-1' as 'dummy--0' ==== On Wed, Dec 6, 2017 at 12:00 PM, Wolfgang Schuster < schuster.wolfgang@gmail.com> wrote:
Wim Neimeijer
6. Dezember 2017 um 00:32 The thing here is, I am not an ConText expert just an user. I am working on a manual (200+ pages) where including code snippets is just a small part of the document and not something isolated. Not sure what to do next as the wiki explains a lot but not this. You need fonts [1-3] which contains hangul characters (don’t forget to set a math font because it is used for the symbols in enumerations) and you have to enable linebreaking for korean with the \setscript command.
%%%% begin example \definefallbackfamily [mainface] [rm] [Nanum Myeongjo] [preset=range:korean] \definefontfamily [mainface] [rm] [DejaVu Serif]
\definefallbackfamily [mainface] [ss] [Nanum Gothic] [preset=range:korean] \definefontfamily [mainface] [ss] [DejaVu Sans]
\definefallbackfamily [mainface] [tt] [Nanum Gothic Coding] [features=none,preset=range:korean] \definefontfamily [mainface] [tt] [DejaVu Sans Mono] [features=none]
\definefontfamily [mainface] [mm] [DejaVu Math]
\setupbodyfont[mainface]
\setscript[hangul]
\starttext
이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로 모아 엮어졌습니다.
{\ss 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로 모아 엮어졌습니다.}
\starttyping 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로 모아 엮어졌습니다. \stoptyping
\stoptext %%%% end example
[1] https://www.freekoreanfont.com/nanum-myeongjo-free-download/ [2] https://www.freekoreanfont.com/nanum-gothic-free-download/ [3] https://www.freekoreanfont.com/nanum-gothic-coding-free-download/
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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ____________________________________________________________ _______________________