ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: juh+ntg-context--- via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: juh+ntg-context@mailbox.org
Subject: Using alegreya typescript
Date: Mon, 4 Jul 2022 17:34:50 +0200	[thread overview]
Message-ID: <646faf0d-1973-813b-4fc9-9f3c5c5a8601@mailbox.org> (raw)


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
___________________________________________________________________________________

             reply	other threads:[~2022-07-04 15:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-04 15:34 juh+ntg-context--- via ntg-context [this message]
2022-07-06 18:22 ` Hans Hagen via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=646faf0d-1973-813b-4fc9-9f3c5c5a8601@mailbox.org \
    --to=ntg-context@ntg.nl \
    --cc=juh+ntg-context@mailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).