ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* lmtx-20201218 | \usetypescriptfile | typescripts > unknown library
@ 2020-12-20  2:42 Richard Mahoney
  2020-12-20 12:10 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Mahoney @ 2020-12-20  2:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1013 bytes --]

In the recent versions of LMTX I've been having trouble with finding
my own typescriptfile -- type-sourceserifpro.tex (attached)

This file lives in the working directory of all of the other project
files,
and is also here:

~/lmtx-20201218/tex/texmf-fonts/tex/context/user/type-
sourceserifpro.tex

This file is found and executes correctly with:

lmtx-20200920

but fails with:

lmtx-20201218:

fonts           > typescripts > unknown library 'sourceserifpro'

(Latin Modern is substituted for Adobe's Source Serif Pro.)


My setups haven't changed and are:

\usetypescriptfile[sourceserifpro]

\setupbodyfont[sourceserifpro,11pt]

following what's found here:

https://wiki.contextgarden.net/Use_the_fonts_you_want


Does anyone have any thoughts on this?



Best, Richard




-- 
T +6433121699  M +64210640216  E rmahoney@indica-et-buddhica.org
IM https://t.me/rmahoney  W https://indica-et-buddhica.org/


Indica et Buddhica  Littledene  Bay Road  Oxford  NZ

[-- Attachment #1.2: Type: text/html, Size: 2240 bytes --]

[-- Attachment #2: type-sourceserifpro.tex --]
[-- Type: text/x-tex, Size: 3052 bytes --]

\starttypescript[serif][sourceserifpro]
\definefontsynonym[SourceSerifPro-Regular][file:SourceSerifPro-Regular]
\definefontsynonym[SourceSerifPro-It][file:SourceSerifPro-It]
\definefontsynonym[SourceSerifPro-Semibold][file:SourceSerifPro-Semibold]
\definefontsynonym[SourceSerifPro-SemiboldIt][file:SourceSerifPro-SemiboldIt]
\stoptypescript

\starttypescript[serif][sourceserifpro]
\setups[font:fallback:serif]
\definefontsynonym[Serif][file:SourceSerifPro-Regular][features=default]
\definefontsynonym[SerifItalic][file:SourceSerifPro-It][features=default]
\definefontsynonym[SerifBold][file:SourceSerifPro-Semibold][features=default]
\definefontsynonym[SerifBoldItalic][file:SourceSerifPro-SemiboldIt][features=default]
\stoptypescript

\starttypescript[sans][sourceserifpro]
\definefontsynonym[SourceSansPro-Regular][file:SourceSansPro-Regular]
\definefontsynonym[SourceSansPro-It][file:SourceSansPro-It]
\definefontsynonym[SourceSansPro-Semibold][file:SourceSansPro-Semibold]
\definefontsynonym[SourceSansPro-SemiboldIt][file:SourceSansPro-SemiboldIt]
\stoptypescript

\starttypescript[sans][sourceserifpro]
\setups[font:fallback:sans]
\definefontsynonym[Sans][file:SourceSansPro-Regular][features=default]
\definefontsynonym[SansItalic][file:SourceSansPro-It][features=default]
\definefontsynonym[SansBold][file:SourceSansPro-Semibold][features=default]
\definefontsynonym[SansBoldItalic][file:SourceSansPro-SemiboldIt][features=default]
\stoptypescript

\starttypescript[mono][sourceserifpro]
\definefontsynonym[SourceCodePro-Regular][file:SourceCodePro-Regular]
\definefontsynonym[SourceCodePro-It][file:SourceCodePro-It]
\definefontsynonym[SourceCodePro-Semibold][file:SourceCodePro-Semibold]
\definefontsynonym[SourceCodePro-SemiboldIt][file:SourceCodePro-SemiboldIt]
\stoptypescript

\starttypescript[mono][sourceserifpro]
\setups[font:fallback:mono]
\definefontsynonym[Mono][file:SourceCodePro-Regular][features=default]
\definefontsynonym[MonoItalic][file:SourceCodePro-It][features=default]
\definefontsynonym[MonoBold][file:SourceCodePro-Semibold][features=default]
\definefontsynonym[MonoBoldItalic][file:SourceCodePro-SemiboldIt][features=default]
\stoptypescript

\starttypescript[math][sourceserifpro]
\definefontsynonym[texgyrepagellamathregular][file:texgyrepagella-math]
\stoptypescript

\starttypescript[math][sourceserifpro]
\setups[font:fallback:math]
\definefontsynonym[MathRoman][file:texgyrepagella-math][features=default]
\stoptypescript

% \starttypescript[math][sourceserifpro]
% \definefontsynonym[stixtwomath][file:STIX2Math]
% \stoptypescript

% \starttypescript[math][sourceserifpro]
% \setups[font:fallback:math]
% \definefontsynonym[MathRoman][file:STIX2Math][features=default]
% \stoptypescript

\starttypescript[sourceserifpro]
\definetypeface[sourceserifpro][rm][serif][sourceserifpro][default]
\definetypeface[sourceserifpro][ss][sans][sourceserifpro][default]
\definetypeface[sourceserifpro][tt][mono][sourceserifpro][default]
\definetypeface[sourceserifpro][mm][math][sourceserifpro][default]
\stoptypescript

[-- 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] 2+ messages in thread

* Re: lmtx-20201218 | \usetypescriptfile | typescripts > unknown library
  2020-12-20  2:42 lmtx-20201218 | \usetypescriptfile | typescripts > unknown library Richard Mahoney
@ 2020-12-20 12:10 ` Wolfgang Schuster
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Schuster @ 2020-12-20 12:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1176 bytes --]

Richard Mahoney schrieb am 20.12.2020 um 03:42:
> In the recent versions of LMTX I've been having trouble with finding
> my own typescriptfile -- type-sourceserifpro.tex (attached)
>
> This file lives in the working directory of all of the other project 
> files,
> and is also here:
>
> ~/lmtx-20201218/tex/texmf-fonts/tex/context/user/type-sourceserifpro.tex
>
> This file is found and executes correctly with:
>
> lmtx-20200920
>
> but fails with:
>
> lmtx-20201218:
>
> fonts           > typescripts > unknown library 'sourceserifpro'
>
> (Latin Modern is substituted for Adobe's Source Serif Pro.)
>
>
> My setups haven't changed and are:
>
> \usetypescriptfile[sourceserifpro]
>
> \setupbodyfont[sourceserifpro,11pt]
>
> following what's found here:
>
> https://wiki.contextgarden.net/Use_the_fonts_you_want
>
>
> Does anyone have any thoughts on this?

There has been a change in the naming of typescript file, a simple 
"type-" prefix isn't anough anymore,
you have to change it to "type-imp-" (e.g. type-imp-sourceserif.tex) to 
be found by ConTeXt.

Valid file extensions for a typescript file in LMTX (and MkIV) are 
"tex", "mkiv" and "mkxl".

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 2244 bytes --]

[-- Attachment #2: 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] 2+ messages in thread

end of thread, other threads:[~2020-12-20 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-20  2:42 lmtx-20201218 | \usetypescriptfile | typescripts > unknown library Richard Mahoney
2020-12-20 12:10 ` 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).