On Tue, 21 Apr 2020 15:32:24 +0200
Wolfgang Schuster
You have to set a font which has the required glyphs but you can also use different fonts for both scripts and combine them.
I understand that the font was not set... tried with your example...
\definefallbackfamily [mainface] [ss] [Noto Sans Devanagari] [range={devanagari,devanagariextended}, features=devanagari-two]
\definefontfamily [mainface] [ss] [Noto Sans]
\setupbodyfont[mainface]
\starttext
ध्यायतो विषयान्पुंसः सङ्गस्तेषूपजायते । सङ्गात्सञ्जायते कामः कामात्क्रोधोऽभिजायते ॥ ६२ ॥
dhyāyato viṣayān puṁsaḥ saṅgas teṣūpajāyate saṅgāt sañjāyate kāmaḥ kāmāt krodho ’bhijāyate
\stoptext
...but although I've installed all the google-noto-serif-devanagari-fonts available for Fedora, it still does not work: $ context t.tex resolvers | formats | executing runner 'run luametatex format': /home/gour/opt/lmtx/tex/texmf-linux-64/bin/luametatex --jobname="t" --fmt=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=/home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./t.tex" --c:input="./t.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:texmfbinpath="/home/gour/opt/lmtx/tex/texmf-linux-64/bin" This is LuaMetaTeX, Version 2.05.02 open source > level 1, order 1, name 'cont-yes.mkiv' system > system > ConTeXt ver: 2020.04.19 19:43 MKIV beta fmt: 2020.4.21 int: english/english system > system > 'cont-new.mkiv' loaded open source > level 2, order 2, name '/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > beware: some patches loaded from cont-new.mkiv close source > level 2, order 2, name '/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv' system > files > jobname 't', input './t', result 't' fonts > latin modern fonts are not preloaded languages > language 'en' is active open source > level 2, order 3, name './t.tex' selectfont > the requested fallback font 'Noto Sans Devanagari' for typeface 'mainface' style 'ss' was ignored because no files where found. selectfont > the requested font 'Noto Sans' has no files for the 'tf' alternative, Latin Modern is used instead. fonts > preloading modern-designsize (math) fonts > typescripts > unknown library 'modern-designsize' fonts > 'fallback modern-designsize mm 12pt' is loaded fonts > preloading modern-designsize (mono) fonts > 'fallback modern-designsize tt 12pt' is loaded fonts > checking > char ध (U+00927) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ् (U+0094D) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char य (U+0092F) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ा (U+0093E) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char त (U+00924) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ो (U+0094B) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char व (U+00935) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ि (U+0093F) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ष (U+00937) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char न (U+00928) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char प (U+0092A) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ु (U+00941) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ं (U+00902) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char स (U+00938) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ः (U+00903) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ङ (U+00919) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ग (U+00917) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char े (U+00947) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ू (U+00942) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ज (U+0091C) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char । (U+00964) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ञ (U+0091E) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char क (U+00915) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char म (U+0092E) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char र (U+00930) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ऽ (U+0093D) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char भ (U+0092D) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ॥ (U+00965) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ६ (U+0096C) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char २ (U+00968) in font 'LMSans10-Regular' with id 1: missing fonts > checking > char ṁ (U+01E41) in font 'LMSans10-Regular' with id 1: missing backend > xmp > using file '/home/gour/opt/lmtx/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml' pages > flushing realpage 1, userpage 1, subpage 1 close source > level 2, order 3, name './t.tex' close source > level 1, order 3, name 'cont-yes.mkiv' mkiv lua stats > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua mkiv lua stats > used cache path: /home/gour/opt/lmtx/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e mkiv lua stats > resource resolver: loadtime 0.004 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 10 found files, scanned paths: <none> mkiv lua stats > stored bytecode data: 468 modules (0.268 sec), 93 tables (0.016 sec), 561 chunks (0.284 sec) mkiv lua stats > traced context: maxstack: 1416, freed: 0, unreachable: 1416 mkiv lua stats > cleaned up reserved nodes: 57 nodes, 9 lists of 442 mkiv lua stats > node memory usage: 6 attribute, 3 attribute_list, 1 glue, 51 glue_spec, 3 kern, 2 penalty, 2 temp, 2 whatsit mkiv lua stats > node list callback tasks: 8 unique task lists, 7 instances (re)created, 43 calls mkiv lua stats > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output) mkiv lua stats > jobdata time: 0.001 seconds saving, 0.000 seconds loading mkiv lua stats > callbacks: internal: 114, file: 155, direct: 2, late: 0, function 1045, total: 1316 mkiv lua stats > randomizer: resumed with value 0.82539481794329 mkiv lua stats > result saved in file: t.pdf, compresslevel 3, objectcompresslevel 1 mkiv lua stats > loaded patterns: en::1, load time: 0.000 mkiv lua stats > loaded fonts: 1 files: lmsans10-regular.otf mkiv lua stats > font engine: otf 3.111, afm 1.513, tfm 1.000, 4 instances, 3 shared in backend, 1 common vectors, 2 common hashes, load time 0.040 seconds mkiv lua stats > font embedding time: 0.003 seconds, 1 fonts mkiv lua stats > used platform: linux-64, type: unix, binary subtree: texmf-linux-64 mkiv lua stats > used engine: luametatex version: 2.0502, functionality level: 20200413, format id: 493, compiler: gcc mkiv lua stats > control sequences: 45484 of 65536 + 100000 mkiv lua stats > lua properties: engine: lua 5.4, used memory: 33 MB, ctx: 31 MB, max: 46 MB, hash chars: min(64,40), symbol mask: utf (τεχ) mkiv lua stats > runtime: 0.473 seconds, 1 processed pages, 1 shipped pages, 2.114 pages/second system | total runtime: 0.483 seconds of 0.540 seconds Btw, is this http://www.h2o-boeken.nl/product/fonts-in-context/ still relevant in regard to fonts-stuff or I should contact some other docs to learn?
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 ___________________________________________________________________________________
-- Bewildered by the modes of material nature, the ignorant fully engage themselves in material activities and become attached. But the wise should not unsettle them, although these duties are inferior due to the performers' lack of knowledge.