ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Using alegreya typescript
@ 2022-07-04 15:34 juh+ntg-context--- via ntg-context
  2022-07-06 18:22 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: juh+ntg-context--- via ntg-context @ 2022-07-04 15:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: juh+ntg-context


Dear all,

for a long time I never had to used a custom typescript, but now I want 
to use the Alegreya font and found the typescript on contextgarden.

https://wiki.contextgarden.net/Alegreya_Typescript

The script seems to cover a lot of variations.

https://wiki.contextgarden.net/Alegreya_Typescript

I include the typescript in an environment.


With this I get the Alegreya Regular font:

\environment alegreya
\setupbodyfont [alegreya, 11pt]
\starttext
\input lorem
\stoptext


With this I get the Alegreya Sans Regular font:

\environment juh.env-alegreya
\setupbodyfont [alegreya, sans, 10pt]
\starttext
\input lorem
\stoptext

I am unable to get the light variant.

\environment juh.env-alegreya
\setupbodyfont [alegreya-light, sans, 10pt]
\starttext
\input lorem
\stoptext

I guess that I miss a lot of things in the typescript. Is there some 
boilerplate code to test a typescript, so that I can see how it all works?

TIA
juh
___________________________________________________________________________________
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:[~2022-07-06 18:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 15:34 Using alegreya typescript juh+ntg-context--- via ntg-context
2022-07-06 18:22 ` Hans Hagen via ntg-context

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