Yesterday I installed a new LMTX instance *ex nihilo*. Unfortunately, the
new instance will not load my typescripts. My several commercial fonts and
the typescripts I wrote for them reside in the texmf-project tree, along
with a style file that loads them. I load the style file in my source files
with the \environment command.
The files in texmf-project are properly indexed. I know this, because the
style file's name appears in the log, because I can list the fonts with mtxrun
--script fonts --list --files --all --pattern=Dolly*, and because he style
file evokes \showframe and \showgrid; the result of which I see in the
typeset results.
Regardless of whether a typescript files, e.g. type-DollyPro.tex, is in the
texmf-tree or in the same directory as the ConTeXt source file, evoking
\usetypescriptfile[type-DollyPro] fails. The log says:
fonts > typescripts > unknown library 'DollyPro'
fonts > typescripts > unknown library 'DollyPro'
However, including the typescripts in the ConTeXt source file succeeds;
which would seem to imply that my typescript definitions are correct.
Using an old instance: LMTX LuaTeX 2.03 20191227 + ConTeXt MkIV 2019.12.27
19:26, loading the typescript via the style file works as expected.
I regret that my mwe remains academic, since you need the Dolly font to run
it.
Any encouragement in how to resolve this would be much appreciated.
Cheers,
Michael
% \starttypescript [serif] [DollyPro]
% \definefontsynonym [Regular] [file:DollyPro-Regular.otf]
% \definefontsynonym [Bold] [file:DollyPro-Bold.otf]
% \definefontsynonym [Italic][file:DollyPro-RegularItalic.otf]
% \definefontsynonym [SmallCaps] [file:DollyPro-RegularSmallCaps.otf]
% \stoptypescript
% \starttypescript [serif] [DollyPro]
% \setups[font:fallback:serif]
% \definefontsynonym [Serif] [Regular] [features=default]
% \definefontsynonym [SerifBold] [Bold] [features=default]
% \definefontsynonym [SerifItalic] [Italic][features=default]
% \definefontsynonym [SerifCaps] [SmallCaps] [features=default]
% \stoptypescript
% \definefontfeature
% [hz] [default]
% [protrusion=quality, expansion=quality, mode=node, script=latn]
% \starttypescript[DollyPro]
% \definetypeface [DollyPro] [rm] [serif] [DollyPro] [default] [features=hz]
% \stoptypescript
\usetypescriptfile[type-DollyPro]
\setupbodyfont[DollyPro]
\starttext
\input tufte
\stoptext% Regular
\starttypescript [serif] [DollyPro]
\definefontsynonym [Regular] [file:DollyPro-Regular.otf]
\definefontsynonym [Bold] [file:DollyPro-Bold.otf]
\definefontsynonym [Italic][file:DollyPro-RegularItalic.otf]
\definefontsynonym [SmallCaps] [file:DollyPro-RegularSmallCaps.otf]
\stoptypescript
\starttypescript [serif] [DollyPro]
\setups[font:fallback:serif]
\definefontsynonym [Serif] [Regular] [features=default]
\definefontsynonym [SerifBold] [Bold] [features=default]
\definefontsynonym [SerifItalic] [Italic][features=default]
\definefontsynonym [SerifCaps] [SmallCaps] [features=default]
\stoptypescript
\definefontfeature
[hz] [default]
[protrusion=quality, expansion=quality, mode=node, script=latn]
\starttypescript[DollyPro]
\definetypeface [DollyPro] [rm] [serif] [DollyPro] [default] [features=hz]
\stoptypescript
% finis
fonts > beware: no fonts are loaded yet, using 'lm mono' in box
system >
system > ConTeXt ver: 2021.05.27 14:15 LMTX fmt: 2021.5.28 int: english/english
system >
system > 'cont-new.mkxl' loaded
open source > level 1, order 1, name '/opt/_lmtx_/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > beware: some patches loaded from cont-new.mkiv
close source> level 1, order 1, name '/opt/_lmtx_/tex/texmf-context/tex/context/base/mkxl/cont-new.mkxl'
system > files > jobname 'mwe', input './mwe', result 'mwe'
fonts > latin modern fonts are not preloaded
languages > language 'en' is active
open source > level 1, order 2, name './mwe.tex'
fonts > typescripts > unknown library 'DollyPro'
fonts > typescripts > unknown library 'DollyPro'
fonts > preloading latin modern fonts (third stage)
fonts > 'fallback modern-designsize rm 12pt' is loaded
open source > level 2, order 3, name 'tufte.tex'
close source> level 2, order 3, name 'tufte.tex'
backend > xmp > using file '/opt/_lmtx_/tex/texmf-context/tex/context/base/mkiv/lpdf-pdx.xml'
pages > flushing realpage 1, userpage 1, subpage 1
close source> level 1, order 3, name './mwe.tex'
system > start used files
system > text: mwe
system > stop used files
system > start used files
system >1: filename=char-prv.lua filetype=tex format=tex foundname=/opt/_lmtx_/tex/texmf-context/tex/context/base/mkiv/char-prv.lua fullname=/opt/_lmtx_/tex/texmf-context/tex/context/base/mkiv/char-prv