ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lmtx & lohit-devanagari fonts
@ 2020-04-21 13:06 Saša Janiška
  2020-04-21 13:32 ` Wolfgang Schuster
  0 siblings, 1 reply; 18+ messages in thread
From: Saša Janiška @ 2020-04-21 13:06 UTC (permalink / raw)
  To: ntg-context

Hello!

I'm working on a small presentation for an upcoming video meeting and started
writing some points in Markdown. After using Pandoc to convert I noticed that
*.pptx file does contain everything, but if I try with ConTexT, then Devanagi
and some diacritics are missing.

By inspecting *.pdf file produced by: Pandoc --> PPTX --> LibreOffice --> PDF

I can see that Lohit-Devanagari font is used for Sanskrit and I have it
installed on my Fedora (fc32) desktop machine.

Here is the test file:

\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

Translation: ``While contemplating the objects of the senses, a person
develops attachment for them, and from such attachment lust develops,
and from lust anger arises.''

\stoptext

which I would like to quote - I am somewhat familiar with latin transliteration
via diacritics, but completely ignorant in regard to Devanagari - but wonder
what is required to make ConText (lmtx) typeset it?

Here is the log file:

$ 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'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded
fonts           > checking > char ध (U+00927) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ् (U+0094D) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char य (U+0092F) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ा (U+0093E) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char त (U+00924) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ो (U+0094B) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char व (U+00935) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ि (U+0093F) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ष (U+00937) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char न (U+00928) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char प (U+0092A) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ु (U+00941) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ं (U+00902) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char स (U+00938) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ः (U+00903) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ङ (U+00919) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ग (U+00917) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char े (U+00947) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ू (U+00942) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ज (U+0091C) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char । (U+00964) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ञ (U+0091E) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char क (U+00915) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char म (U+0092E) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char र (U+00930) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ऽ (U+0093D) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char भ (U+0092D) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ॥ (U+00965) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ६ (U+0096C) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char २ (U+00968) in font 'LMRoman12-Regular' with id 1: missing
fonts           > checking > char ṁ (U+01E41) in font 'LMRoman12-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, 11 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 468 modules (0.244 sec), 93 tables (0.015 sec), 561 chunks (0.259 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, 51 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: 122, file: 150, direct: 2, late: 0, function 1062, total: 1336
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: 2 files: latinmodern-math.otf, lmroman12-regular.otf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 7 instances, 3 shared in backend, 3 common vectors, 0 common hashes, load time 0.208 seconds 
mkiv lua stats  > font embedding time: 0.014 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: 46009 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 49 MB, ctx: 47 MB, max: 48 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.604 seconds, 1 processed pages, 1 shipped pages, 1.656 pages/second
system          | total runtime: 0.613 seconds of 0.667 seconds

Strangely enough, in both Vim (used for writing this email) as well as in Emacs I can properly see both Devanagari and diacritics. :-)


Sincerely,
Gour

-- 
From wherever the mind wanders due to its flickering and unsteady
nature, one must certainly withdraw it and bring it back under
the control of the self.


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

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-04-23  9:49 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 13:06 lmtx & lohit-devanagari fonts Saša Janiška
2020-04-21 13:32 ` Wolfgang Schuster
2020-04-21 15:35   ` Saša Janiška
2020-04-21 15:58     ` Pablo Rodriguez
2020-04-21 16:21       ` Saša Janiška
2020-04-21 16:27     ` Wolfgang Schuster
2020-04-21 19:32       ` Saša Janiška
2020-04-21 21:07         ` Pablo Rodriguez
2020-04-22  5:43           ` Saša Janiška
2020-04-22  6:10             ` Henning Hraban Ramm
2020-04-22  9:03               ` Saša Janiška
2020-04-22  8:01             ` [OBORONA-SPAM] " Vladimir Lomov
2020-04-22  9:15               ` Saša Janiška
2020-04-22  6:16   ` Henning Hraban Ramm
2020-04-22  9:49     ` Arthur Reutenauer
2020-04-23  9:49       ` Indic scripts/languages (was: lmtx & lohit-devanagari fonts) Henning Hraban Ramm
2020-04-22 13:19     ` lmtx & lohit-devanagari fonts Hans Hagen
2020-04-22 22:12       ` Henning Hraban Ramm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).