ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Re: Math font not embedded
@ 2020-03-18 10:20 Jan Willem Flamma
  2020-03-18 10:38 ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Willem Flamma @ 2020-03-18 10:20 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/html, Size: 5408 bytes --]

[-- Attachment #2: pablo-mac.log --]
[-- Type: application/octet-stream, Size: 8563 bytes --]

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.01.13 15:09 MKIV beta  fmt: 2020.1.15  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/Users/JW/context/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 '/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system          > files > jobname 'pablo-mac', input './pablo-mac', result 'pablo-mac'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
system          > synctex functionality is enabled, expect 5-10 pct runtime overhead!
open source     > level 2, order 3, name './pablo-mac.tex'
fonts           > preloading modern-designsize (mono)
fonts           > typescripts > unknown library 'modern-designsize'
fonts           > 'fallback modern-designsize tt 12pt' is loaded
open source     > level 3, order 4, name '/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 3, order 4, name '/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
backend         > xmp > using file '/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 4, name './pablo-mac.tex'
close source    > level 1, order 4, name 'cont-yes.mkiv'

system          > start used files

system          > text: pablo-mac

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=lua foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=lua foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=lua foundname=/Users/JW/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/JW/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=/Users/JW/OneDrive - ModuResources/ConTeXt Development/Test/pablo-mac.tex format=tex foundname=/Users/JW/OneDrive - ModuResources/ConTeXt Development/Test/pablo-mac.tex fullname=/Users/JW/OneDrive - ModuResources/ConTeXt Development/Test/pablo-mac.tex usedmethod=direct
system          >    8: filename=texgyre.lfg filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/texgyre.lfg fullname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/texgyre.lfg usedmethod=database
system          >    9: filename=DejaVuSerif.ttf filetype=ttf format=ttf foundname=/Users/JW/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf fullname=/Users/JW/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf usedmethod=database
system          >   10: filename=texgyrepagella-math.otf filetype=otf format=otf foundname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf fullname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf usedmethod=database
system          >   11: filename=type-imp-texgyre.mkiv filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv fullname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv usedmethod=database
system          >   12: filename=lm.lfg filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >   13: filename=texgyrepagella-regular filetype=otf format=otf foundname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf fullname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf usedmethod=database
system          >   14: filename=pagella-math.lfg filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg fullname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg usedmethod=database
system          >   15: filename=lpdf-pdx.xml filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > autogenerate="true"
system          > currentrun="3"
system          > fulljobname="./pablo-mac.tex"
system          > input="./pablo-mac.tex"
system          > kindofrun="2"
system          > maxnofruns="9"
system          > nonstopmode="true"
system          > synctex="0"
system          > texmfbinpath="/Users/JW/context/tex/texmf-osx-64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./pablo-mac.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/JW/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.006 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 15 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 467 modules (0.277 sec), 93 tables (0.014 sec), 560 chunks (0.292 sec)
mkiv lua stats  > traced context: maxstack: 1409, freed: 1, unreachable: 1408
mkiv lua stats  > cleaned up reserved nodes: 57 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 2 whatsit, 1 glue, 3 kern, 2 penalty, 3 attribute_list, 6 attribute, 51 glue_spec, 2 temp
mkiv lua stats  > node list callback tasks: 8 unique task lists, 8 instances (re)created, 44 calls
mkiv lua stats  > synctex tracing: 2 referenced files, 5 files ignored, 25 objects flushed, logfile: pablo-mac.synctex
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.007 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: internal: 117, file: 457, direct: 2, late: 23, function 1816, total: 2415
mkiv lua stats  > randomizer: resumed with value 0.60087113572346
mkiv lua stats  > result saved in file: pablo-mac.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 3 files: texgyrepagella-math.otf, texgyrepagella-regular.otf, dejavuserif.ttf
mkiv lua stats  > font engine: otf 3.110, afm 1.513, tfm 1.000, 11 instances, 6 shared in backend, 6 common vectors, 0 common hashes, load time 0.313 seconds 
mkiv lua stats  > font embedding time: 0.027 seconds, 2 fonts
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version 2.039, functionality level 20200113, format id 995
mkiv lua stats  > control sequences: 47381 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 60 MB, ctx: 58 MB, max: 62 MB), hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.779 seconds, 1 processed pages, 1 shipped pages, 1.283 pages/second


[-- Attachment #3: pablo-mac.pdf --]
[-- Type: application/pdf, Size: 6760 bytes --]

[-- Attachment #4: pablo-win.log --]
[-- Type: application/octet-stream, Size: 8353 bytes --]

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.03.10 14:52 MKIV beta  fmt: 2020.3.18  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name 'C:/data/context/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 'C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'pablo-win', input './pablo-win', result 'pablo-win'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name './pablo-win.tex'
fonts           > preloading modern-designsize (mono)
fonts           > typescripts > unknown library 'modern-designsize'
fonts           > 'fallback modern-designsize tt 12pt' is loaded
fonts           > math: unset for global bodyfont mainface at 12pt
open source     > level 3, order 4, name 'C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 3, order 4, name 'C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
backend         > xmp > using file 'C:/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 4, name './pablo-win.tex'
close source    > level 1, order 4, name 'cont-yes.mkiv'

system          > start used files

system          > text: pablo-win

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=scripts foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=scripts foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=scripts foundname=C:/data/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=C:/data/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=C:\Users\JanWillemFlamma\OneDrive - ModuResources\ConTeXt Development\Test/pablo-win.tex format=tex foundname=C:/Users/JanWillemFlamma/OneDrive - ModuResources/ConTeXt Development/Test/pablo-win.tex fullname=C:/Users/JanWillemFlamma/OneDrive - ModuResources/ConTeXt Development/Test/pablo-win.tex usedmethod=direct
system          >    8: filename=texgyre.lfg filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/texgyre.lfg fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/texgyre.lfg usedmethod=database
system          >    9: filename=DejaVuSerif.ttf filetype=ttf format=ttf foundname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf fullname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf usedmethod=database
system          >   10: filename=texgyrepagella-math.otf filetype=otf format=otf foundname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf fullname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf usedmethod=database
system          >   11: filename=type-imp-texgyre.mkiv filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv usedmethod=database
system          >   12: filename=lm.lfg filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >   13: filename=texgyrepagella-regular filetype=otf format=otf foundname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf fullname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf usedmethod=database
system          >   14: filename=pagella-math.lfg filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg usedmethod=database
system          >   15: filename=lpdf-pdx.xml filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > autopdf="true"
system          > currentrun="3"
system          > fulljobname="./pablo-win.tex"
system          > input="./pablo-win.tex"
system          > kindofrun="2"
system          > maxnofruns="9"
system          > texmfbinpath="C:/data/context/tex/texmf-win64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./pablo-win.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: C:/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.005 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 15 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 468 modules (0.254 sec), 93 tables (0.017 sec), 561 chunks (0.271 sec)
mkiv lua stats  > traced context: maxstack: 1414, freed: 1, unreachable: 1413
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, 8 instances (re)created, 44 calls
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 117, file: 457, direct: 2, late: 0, function 1819, total: 2395
mkiv lua stats  > randomizer: resumed with value 0.41483871707176
mkiv lua stats  > result saved in file: pablo-win.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 3 files: texgyrepagella-math.otf, texgyrepagella-regular.otf, dejavuserif.ttf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 11 instances, 6 shared in backend, 6 common vectors, 0 common hashes, load time 0.233 seconds 
mkiv lua stats  > font embedding time: 0.037 seconds, 3 fonts
mkiv lua stats  > used platform: win64, type: windows, binary subtree: texmf-win64
mkiv lua stats  > used engine: luametatex version: 2.05, functionality level: 20200229, format id: 490, compiler: gcc
mkiv lua stats  > control sequences: 47390 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 57 MB, ctx: 55 MB, max: 56 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.665 seconds, 1 processed pages, 1 shipped pages, 1.504 pages/second

[-- Attachment #5: pablo-win.pdf --]
[-- Type: application/pdf, Size: 10466 bytes --]

[-- Attachment #6: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

* Re: Math font not embedded
  2020-03-18 10:20 Math font not embedded Jan Willem Flamma
@ 2020-03-18 10:38 ` Hans Hagen
  0 siblings, 0 replies; 9+ messages in thread
From: Hans Hagen @ 2020-03-18 10:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Jan Willem Flamma

On 3/18/2020 11:20 AM, Jan Willem Flamma wrote:
> Wiping the cache directory 
> (C:\data\context\tex\texmf-cache\luatex-cache\context\5fe67e0bfe781ce0dde776fb1556f32e\fonts)
> 
> and mtxrun --script fonts --reload --force
> 
> has not solved my issue.
> 
> Running Pablo’s example on a Mac and Windows machine gives the attached 
> logs and output.
can you test this:

\setupbodyfont[dejavu]

\starttext

   \m{\sin^2(t)^2 + \cos^2(t) = 1}

   \switchtobodyfont[pagella]

   \m{\sin^2(t)^2 + \cos^2(t) = 1}

\stoptext

is there a dejavu-math.otf file on your system?


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Math font not embedded
  2020-03-18 17:16       ` Hans Hagen
@ 2020-03-18 19:07         ` Wolfgang Schuster
  0 siblings, 0 replies; 9+ messages in thread
From: Wolfgang Schuster @ 2020-03-18 19:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Hans Hagen

Hans Hagen schrieb am 18.03.2020 um 18:16:
> On 3/18/2020 2:35 PM, Pablo Rodriguez wrote:
>> On 3/18/20 10:51 AM, Hans Hagen wrote:
>>> On 3/18/2020 10:44 AM, Pablo Rodriguez wrote:
>>>> [...]
>>
>> fonts           > math: unset for global bodyfont mainface at 12pt
> that is weird .. question for Wolfgang: is selectfont sensitive for the 
> order of looping over a hash?

I looked at the problem and the math font fails because I use too many 
\definefontsynonym entries for each file which is needed for fallback 
fonts but math needs a simpler lookup chain.

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
___________________________________________________________________________________

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

* Re: Math font not embedded
  2020-03-18 13:35     ` Pablo Rodriguez
@ 2020-03-18 17:16       ` Hans Hagen
  2020-03-18 19:07         ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2020-03-18 17:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Wolfgang Schuster

On 3/18/2020 2:35 PM, Pablo Rodriguez wrote:
> On 3/18/20 10:51 AM, Hans Hagen wrote:
>> On 3/18/2020 10:44 AM, Pablo Rodriguez wrote:
>>> \definefontfamily [mainface] [rm] [DejaVu Serif]
>>>     \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
>>>     \setupbodyfont[mainface]
>>>     \starttext
>>>     \m{\sin^2(t)^2 + \cos^2(t) = 1}
>>>     \setupbodyfont[pagella]
>>>     \m{\sin^2(t)^2 + \cos^2(t) = 1}
>>>     \stoptext
>>
>> what if you wipe the cache?
> 
> Hans,
> 
> using this sample:
> 
>    \definefontfamily [mainface] [rm] [DejaVu Serif]
>    \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
>    \setupbodyfont[mainface]
>    \starttext
>    \m{\sin^2(t)^2 + \cos^2(t) = 1}
>    \stoptext
> 
> Although I get this message in line 38 from the log file:
> 
> mkiv lua stats  > loaded fonts: 2 files: texgyrepagella-math.otf,
> dejavuserif.ttf
> 
> There is a previous message in lines 19 and 20 from the log file (same
> message repeated twice):
> 
> fonts           > math: unset for global bodyfont mainface at 12pt
that is weird .. question for Wolfgang: is selectfont sensitive for the 
order of looping over a hash?

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Math font not embedded
  2020-03-18  9:51   ` Hans Hagen
@ 2020-03-18 13:35     ` Pablo Rodriguez
  2020-03-18 17:16       ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2020-03-18 13:35 UTC (permalink / raw)
  To: ntg-context

On 3/18/20 10:51 AM, Hans Hagen wrote:
> On 3/18/2020 10:44 AM, Pablo Rodriguez wrote:
>> \definefontfamily [mainface] [rm] [DejaVu Serif]
>>    \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
>>    \setupbodyfont[mainface]
>>    \starttext
>>    \m{\sin^2(t)^2 + \cos^2(t) = 1}
>>    \setupbodyfont[pagella]
>>    \m{\sin^2(t)^2 + \cos^2(t) = 1}
>>    \stoptext
>
> what if you wipe the cache?

Hans,

using this sample:

  \definefontfamily [mainface] [rm] [DejaVu Serif]
  \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
  \setupbodyfont[mainface]
  \starttext
  \m{\sin^2(t)^2 + \cos^2(t) = 1}
  \stoptext

Although I get this message in line 38 from the log file:

mkiv lua stats  > loaded fonts: 2 files: texgyrepagella-math.otf,
dejavuserif.ttf

There is a previous message in lines 19 and 20 from the log file (same
message repeated twice):

fonts           > math: unset for global bodyfont mainface at 12pt

I have just checked and noticed that MkIV (LuaTeX 1.11 7226 + ConTeXt
MkIV 2020.01.30 14:13) embeds the font fine.

I hope this helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Math font not embedded
@ 2020-03-18 11:52 Jan Willem Flamma
  0 siblings, 0 replies; 9+ messages in thread
From: Jan Willem Flamma @ 2020-03-18 11:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/html, Size: 4176 bytes --]

[-- Attachment #2: hans-mac.log --]
[-- Type: application/octet-stream, Size: 9199 bytes --]

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.01.13 15:09 MKIV beta  fmt: 2020.1.15  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name '/Users/JW/context/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 '/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'

system          > files > jobname 'hans-mac', input './hans-mac', result 'hans-mac'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
system          > synctex functionality is enabled, expect 5-10 pct runtime overhead!
open source     > level 2, order 3, name './hans-mac.tex'
open source     > level 3, order 4, name '/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 3, order 4, name '/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
open source     > level 3, order 5, name '/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 3, order 5, name '/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
backend         > xmp > using file '/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 5, name './hans-mac.tex'
close source    > level 1, order 5, name 'cont-yes.mkiv'

system          > start used files

system          > text: hans-mac

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=lua foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=lua foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=lua foundname=/Users/JW/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=/Users/JW/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=/Users/JW/OneDrive - ModuResources/ConTeXt Development/Test/hans-mac.tex format=tex foundname=/Users/JW/OneDrive - ModuResources/ConTeXt Development/Test/hans-mac.tex fullname=/Users/JW/OneDrive - ModuResources/ConTeXt Development/Test/hans-mac.tex usedmethod=direct
system          >    8: filename=type-imp-dejavu.mkiv filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv fullname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv usedmethod=database
system          >    9: filename=dejavu-math.lfg filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/dejavu-math.lfg fullname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/dejavu-math.lfg usedmethod=database
system          >   10: filename=DejaVuSerif.ttf filetype=ttf format=ttf foundname=/Users/JW/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf fullname=/Users/JW/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf usedmethod=database
system          >   11: filename=texgyredejavu-math filetype=otf format=otf foundname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyredejavu-math.otf fullname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyredejavu-math.otf usedmethod=database
system          >   12: filename=type-imp-texgyre.mkiv filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv fullname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv usedmethod=database
system          >   13: filename=lm.lfg filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >   14: filename=texgyrepagella-regular filetype=otf format=otf foundname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf fullname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf usedmethod=database
system          >   15: filename=texgyrepagella-math.otf filetype=otf format=otf foundname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf fullname=/Users/JW/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf usedmethod=database
system          >   16: filename=pagella-math.lfg filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg fullname=/Users/JW/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg usedmethod=database
system          >   17: filename=lpdf-pdx.xml filetype=tex foundname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=/Users/JW/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > autogenerate="true"
system          > currentrun="3"
system          > fulljobname="./hans-mac.tex"
system          > input="./hans-mac.tex"
system          > kindofrun="2"
system          > maxnofruns="9"
system          > nonstopmode="true"
system          > synctex="0"
system          > texmfbinpath="/Users/JW/context/tex/texmf-osx-64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./hans-mac.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: /Users/JW/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.006 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 17 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 467 modules (0.329 sec), 93 tables (0.018 sec), 560 chunks (0.347 sec)
mkiv lua stats  > traced context: maxstack: 1408, freed: 0, unreachable: 1408
mkiv lua stats  > cleaned up reserved nodes: 57 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 2 whatsit, 1 glue, 3 kern, 2 penalty, 3 attribute_list, 6 attribute, 51 glue_spec, 2 temp
mkiv lua stats  > node list callback tasks: 8 unique task lists, 8 instances (re)created, 44 calls
mkiv lua stats  > synctex tracing: 2 referenced files, 6 files ignored, 23 objects flushed, logfile: hans-mac.synctex
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 121, file: 565, direct: 2, late: 21, function 2035, total: 2744
mkiv lua stats  > randomizer: resumed with value 0.20916485540119
mkiv lua stats  > result saved in file: hans-mac.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 4 files: texgyredejavu-math.otf, texgyrepagella-math.otf, texgyrepagella-regular.otf, dejavuserif.ttf
mkiv lua stats  > font engine: otf 3.110, afm 1.513, tfm 1.000, 14 instances, 6 shared in backend, 6 common vectors, 0 common hashes, load time 0.437 seconds 
mkiv lua stats  > font embedding time: 0.087 seconds, 3 fonts
mkiv lua stats  > used platform: osx-64, type: unix, binary subtree: texmf-osx-64
mkiv lua stats  > used engine: luametatex version 2.039, functionality level 20200113, format id 995
mkiv lua stats  > control sequences: 47820 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 70 MB, ctx: 68 MB, max: 70 MB), hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 1.090 seconds, 1 processed pages, 1 shipped pages, 0.917 pages/second


[-- Attachment #3: hans-mac.pdf --]
[-- Type: application/pdf, Size: 10675 bytes --]

[-- Attachment #4: hans-win.log --]
[-- Type: application/octet-stream, Size: 8911 bytes --]

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.03.10 14:52 MKIV beta  fmt: 2020.3.18  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name 'C:/data/context/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 'C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'hans-win', input './hans-win', result 'hans-win'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name './hans-win.tex'
open source     > level 3, order 4, name 'C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
close source    > level 3, order 4, name 'C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv'
open source     > level 3, order 5, name 'C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
close source    > level 3, order 5, name 'C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv'
backend         > xmp > using file 'C:/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 5, name './hans-win.tex'
close source    > level 1, order 5, name 'cont-yes.mkiv'

system          > start used files

system          > text: hans-win

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=scripts foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=scripts foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=scripts foundname=C:/data/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=C:/data/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=C:\Users\JanWillemFlamma\OneDrive - ModuResources\ConTeXt Development\Test/hans-win.tex format=tex foundname=C:/Users/JanWillemFlamma/OneDrive - ModuResources/ConTeXt Development/Test/hans-win.tex fullname=C:/Users/JanWillemFlamma/OneDrive - ModuResources/ConTeXt Development/Test/hans-win.tex usedmethod=direct
system          >    8: filename=type-imp-dejavu.mkiv filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-dejavu.mkiv usedmethod=database
system          >    9: filename=dejavu-math.lfg filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/dejavu-math.lfg fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/dejavu-math.lfg usedmethod=database
system          >   10: filename=DejaVuSerif.ttf filetype=ttf format=ttf foundname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf fullname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf usedmethod=database
system          >   11: filename=texgyredejavu-math filetype=otf format=otf foundname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyredejavu-math.otf fullname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyredejavu-math.otf usedmethod=database
system          >   12: filename=type-imp-texgyre.mkiv filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/type-imp-texgyre.mkiv usedmethod=database
system          >   13: filename=lm.lfg filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/lm.lfg usedmethod=database
system          >   14: filename=texgyrepagella-regular filetype=otf format=otf foundname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf fullname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre/texgyrepagella-regular.otf usedmethod=database
system          >   15: filename=texgyrepagella-math.otf filetype=otf format=otf foundname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf fullname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyrepagella-math.otf usedmethod=database
system          >   16: filename=pagella-math.lfg filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/pagella-math.lfg usedmethod=database
system          >   17: filename=lpdf-pdx.xml filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > autopdf="true"
system          > currentrun="3"
system          > fulljobname="./hans-win.tex"
system          > input="./hans-win.tex"
system          > kindofrun="2"
system          > maxnofruns="9"
system          > texmfbinpath="C:/data/context/tex/texmf-win64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./hans-win.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: C:/data/context/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e
mkiv lua stats  > resource resolver: loadtime 0.007 seconds, 0 scans with scantime 0.000 seconds, 0 shared scans, 17 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 468 modules (0.236 sec), 93 tables (0.016 sec), 561 chunks (0.252 sec)
mkiv lua stats  > traced context: maxstack: 1413, freed: 0, unreachable: 1413
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, 8 instances (re)created, 44 calls
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.001 seconds loading
mkiv lua stats  > callbacks: internal: 121, file: 565, direct: 2, late: 0, function 2037, total: 2725
mkiv lua stats  > randomizer: resumed with value 0.85833678421458
mkiv lua stats  > result saved in file: hans-win.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 4 files: texgyredejavu-math.otf, texgyrepagella-math.otf, texgyrepagella-regular.otf, dejavuserif.ttf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 14 instances, 6 shared in backend, 6 common vectors, 0 common hashes, load time 0.307 seconds 
mkiv lua stats  > font embedding time: 0.029 seconds, 3 fonts
mkiv lua stats  > used platform: win64, type: windows, binary subtree: texmf-win64
mkiv lua stats  > used engine: luametatex version: 2.05, functionality level: 20200229, format id: 490, compiler: gcc
mkiv lua stats  > control sequences: 47829 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 66 MB, ctx: 64 MB, max: 64 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.684 seconds, 1 processed pages, 1 shipped pages, 1.461 pages/second

[-- Attachment #5: hans-win.pdf --]
[-- Type: application/pdf, Size: 10678 bytes --]

[-- Attachment #6: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

* Re: Math font not embedded
  2020-03-18  9:44 ` Pablo Rodriguez
@ 2020-03-18  9:51   ` Hans Hagen
  2020-03-18 13:35     ` Pablo Rodriguez
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2020-03-18  9:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Pablo Rodriguez

On 3/18/2020 10:44 AM, Pablo Rodriguez wrote:
> \definefontfamily [mainface] [rm] [DejaVu Serif]
>    \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
>    \setupbodyfont[mainface]
>    \starttext
>    \m{\sin^2(t)^2 + \cos^2(t) = 1}
>    \setupbodyfont[pagella]
>    \m{\sin^2(t)^2 + \cos^2(t) = 1}
>    \stoptext

what if you wipe the cache?

-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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] 9+ messages in thread

* Re: Math font not embedded
  2020-03-18  8:59 Jan Willem Flamma
@ 2020-03-18  9:44 ` Pablo Rodriguez
  2020-03-18  9:51   ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Pablo Rodriguez @ 2020-03-18  9:44 UTC (permalink / raw)
  To: ntg-context

On 3/18/20 9:59 AM, Jan Willem Flamma wrote:
> Dear list members,
>
> I have been running ConTeXt on a Mac for a number of years.
>
> I just installed ConTeXt LMTX on a new Windows machine following
> instructions from the Pragma-ADE website.
>
> When I process the below MWE on the Windows machine the formulas are not
> displayed in the correct font.

Hi Jan,

this sample shows the issue:

  \definefontfamily [mainface] [rm] [DejaVu Serif]
  \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math]
  \setupbodyfont[mainface]
  \starttext
  \m{\sin^2(t)^2 + \cos^2(t) = 1}
  \setupbodyfont[pagella]
  \m{\sin^2(t)^2 + \cos^2(t) = 1}
  \stoptext

For some strange reason, ConTeXt latest (LuaTeX 2.05 20200229 + ConTeXt
MkIV 2020.03.10 14:52) doesn’t embed the font.

I’m using Linux 64bit (I wonder whether ConTeXt latest on macOS won’t
give the same output).

I think this may be a bug in ConTeXt latest.

Just in case it helps,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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] 9+ messages in thread

* Math font not embedded
@ 2020-03-18  8:59 Jan Willem Flamma
  2020-03-18  9:44 ` Pablo Rodriguez
  0 siblings, 1 reply; 9+ messages in thread
From: Jan Willem Flamma @ 2020-03-18  8:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/html, Size: 6023 bytes --]

[-- Attachment #2: test-win.log --]
[-- Type: application/octet-stream, Size: 10065 bytes --]

open source     > level 1, order 1, name 'cont-yes.mkiv'
system          > 
system          > ConTeXt  ver: 2020.03.10 14:52 MKIV beta  fmt: 2020.3.18  int: english/english
system          > 
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name 'C:/data/context/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 'C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'test-win', input './test-win', result 'test-win'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > level 2, order 3, name './test-win.tex'
fonts           > math: unset for global bodyfont mainface at 9pt
open source     > level 3, order 4, name 'ward.tex'
close source    > level 3, order 4, name 'ward.tex'
open source     > level 3, order 5, name 'ward.tex'
close source    > level 3, order 5, name 'ward.tex'
fonts           > defining > font 'DejaVuSansMono', feature 'locl', script 'cyrl', no language 'dflt'
fonts           > defining > font 'DejaVuSansMono', feature 'locl', script 'latn', no language 'dflt'
open source     > level 3, order 6, name 'ward.tex'
close source    > level 3, order 6, name 'ward.tex'

Overfull \hbox (1.27068pt too wide) in paragraph at lines 1--26
[]<6: DejaVuSansMono @ 9.0pt> The Earth, as a habi-tat for an-i-mal life, is in old age and has a fa-tal ill-ness.

\hbox[normal][16=1,17=1], width 426.78743, height 6.88623, depth 1.9336, direction l2r
.\localpar[newgraf][16=1,17=1]
.\hbox[indent][16=1,17=1], direction l2r
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> T
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> h
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> e
.etc.


Overfull \hbox (1.27068pt too wide) in paragraph at lines 1--26
<6: DejaVuSansMono @ 9.0pt> Sev-eral, in fact. It would be hap-pen-ing whether hu-mans had ever evolved or not.

\hbox[normal][16=1,17=1], width 426.78743, height 6.88623, depth 1.9336, direction l2r
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> S
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> e
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> v
.\discretionary[syllable][16=1,17=1], penalty 50
..\prebreaklist
...\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> -
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> e
.etc.


Overfull \hbox (1.27068pt too wide) in paragraph at lines 1--26
<6: DejaVuSansMono @ 9.0pt> But our pres-ence is like the ef-fect of an old[][]age pa-tient who smokes many packs

\hbox[normal][16=1,17=1], width 426.78743, height 6.88623, depth 1.9336, direction l2r
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> B
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> u
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> t
.\glue[space][16=1,17=1] 5.41846
.\glyph[256][16=1,17=1], language (1,2,3,1) <6: DejaVuSansMono @ 9.0pt> o
.etc.

fonts           > math: unset for global bodyfont mainface at 9pt
backend         > xmp > using file 'C:/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages           > flushing realpage 1, userpage 1, subpage 1
close source    > level 2, order 6, name './test-win.tex'
close source    > level 1, order 6, name 'cont-yes.mkiv'

system          > start used files

system          > text: test-win

system          > stop used files


system          > start used files

system          >    1: filename=char-prv.lua filetype=tex format=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/char-prv.lua usedmethod=database
system          >    2: filename=cont-yes.mkiv filetype=tex format=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-yes.mkiv usedmethod=database
system          >    3: filename=publ-imp-default.lua filetype=scripts foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/publ-imp-default.lua usedmethod=database
system          >    4: filename=cont-new.mkiv filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv usedmethod=database
system          >    5: filename=lang-exc.lua filetype=scripts foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lang-exc.lua usedmethod=database
system          >    6: filename=lang-us.lua filetype=scripts foundname=C:/data/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua fullname=C:/data/context/tex/texmf-context/tex/context/patterns/mkiv/lang-us.lua usedmethod=database
system          >    7: filename=C:\Users\JanWillemFlamma\OneDrive - ModuResources\ConTeXt Development\Test/test-win.tex format=tex foundname=C:/Users/JanWillemFlamma/OneDrive - ModuResources/ConTeXt Development/Test/test-win.tex fullname=C:/Users/JanWillemFlamma/OneDrive - ModuResources/ConTeXt Development/Test/test-win.tex usedmethod=direct
system          >    8: filename=texgyre.lfg filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/texgyre.lfg fullname=C:/data/context/tex/texmf-context/tex/context/fonts/mkiv/texgyre.lfg usedmethod=database
system          >    9: filename=DejaVuSans.ttf filetype=ttf format=ttf foundname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSans.ttf fullname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSans.ttf usedmethod=database
system          >   10: filename=texgyretermes-math.otf filetype=otf format=otf foundname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyretermes-math.otf fullname=C:/data/context/tex/texmf/fonts/opentype/public/tex-gyre-math/texgyretermes-math.otf usedmethod=database
system          >   11: filename=DejaVuSerif.ttf filetype=ttf format=ttf foundname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf fullname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSerif.ttf usedmethod=database
system          >   12: filename=ward.tex filetype=tex format=tex foundname=C:/data/context/tex/texmf-context/tex/context/sample/common/ward.tex fullname=C:/data/context/tex/texmf-context/tex/context/sample/common/ward.tex usedmethod=database
system          >   13: filename=DejaVuSansMono.ttf filetype=ttf format=ttf foundname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSansMono.ttf fullname=C:/data/context/tex/texmf/fonts/truetype/public/dejavu/DejaVuSansMono.ttf usedmethod=database
system          >   14: filename=lpdf-pdx.xml filetype=tex foundname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml fullname=C:/data/context/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml usedmethod=database

system          > stop used files


system          > start commandline options

system          > autopdf="true"
system          > currentrun="1"
system          > fulljobname="./test-win.tex"
system          > input="./test-win.tex"
system          > kindofrun="1"
system          > maxnofruns="9"
system          > texmfbinpath="C:/data/context/tex/texmf-win64/bin"

system          > stop commandline options


system          > start commandline files

system          >    1: ./test-win.tex

system          > stop commandline files


modules         > start used modules


modules         > stop used modules


mkiv lua stats  > used config file: selfautoparent:/texmf/web2c/texmfcnf.lua
mkiv lua stats  > used cache path: C:/data/context/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, 14 found files, scanned paths: <none>
mkiv lua stats  > stored bytecode data: 468 modules (0.228 sec), 93 tables (0.015 sec), 561 chunks (0.243 sec)
mkiv lua stats  > traced context: maxstack: 1414, freed: 1, unreachable: 1413
mkiv lua stats  > cleaned up reserved nodes: 57 nodes, 9 lists of 442
mkiv lua stats  > node memory usage: 12 attribute, 5 attribute_list, 1 glue, 51 glue_spec, 11 glyph, 3 kern, 2 penalty, 2 temp, 2 whatsit
mkiv lua stats  > node list callback tasks: 8 unique task lists, 9 instances (re)created, 100 calls
mkiv lua stats  > used backend: lmtx version 0.10, pdf (backend for directly generating pdf output)
mkiv lua stats  > jobdata time: 0.002 seconds saving, 0.000 seconds loading
mkiv lua stats  > callbacks: internal: 217, file: 193, direct: 2, late: 0, function 1262, total: 1674
mkiv lua stats  > randomizer: resumed with value 0.85352180691085
mkiv lua stats  > result saved in file: test-win.pdf, compresslevel 3, objectcompresslevel 1
mkiv lua stats  > loaded patterns: en::1, load time: 0.000
mkiv lua stats  > loaded fonts: 4 files: texgyretermes-math.otf, dejavusans.ttf, dejavusansmono.ttf, dejavuserif.ttf
mkiv lua stats  > font engine: otf 3.111, afm 1.513, tfm 1.000, 6 instances, load time 0.157 seconds 
mkiv lua stats  > font embedding time: 0.025 seconds, 3 fonts
mkiv lua stats  > used platform: win64, type: windows, binary subtree: texmf-win64
mkiv lua stats  > used engine: luametatex version: 2.05, functionality level: 20200229, format id: 490, compiler: gcc
mkiv lua stats  > control sequences: 46179 of 65536 + 100000
mkiv lua stats  > lua properties: engine: lua 5.4, used memory: 51 MB, ctx: 49 MB, max: 49 MB, hash chars: min(64,40), symbol mask: utf (τεχ)
mkiv lua stats  > runtime: 0.539 seconds, 1 processed pages, 1 shipped pages, 1.856 pages/second

[-- Attachment #3: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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] 9+ messages in thread

end of thread, other threads:[~2020-03-18 19:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-18 10:20 Math font not embedded Jan Willem Flamma
2020-03-18 10:38 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2020-03-18 11:52 Jan Willem Flamma
2020-03-18  8:59 Jan Willem Flamma
2020-03-18  9:44 ` Pablo Rodriguez
2020-03-18  9:51   ` Hans Hagen
2020-03-18 13:35     ` Pablo Rodriguez
2020-03-18 17:16       ` Hans Hagen
2020-03-18 19:07         ` Wolfgang Schuster

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).