ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
	nyssus <rocksolidbrassballs@gmail.com>
Subject: Re: EB Garamond works in TL2016 ConTeXt but not in latest ConTeXt
Date: Sun, 19 May 2019 11:46:09 +0200	[thread overview]
Message-ID: <bfc1a357-3a53-9763-9008-337c9d53cf81@gmail.com> (raw)
In-Reply-To: <ca79be3d-6cd3-71ee-4b98-5ed25961746a@gmail.com>

nyssus schrieb am 19.05.2019 um 11:31:
> In my source ConTeXt file I have the lines:
>
> \usetypescriptfile[type-ebgaramond]
> \setupbodyfont[ebgaramond,10pt]
>
>
> ConTeXt from TL 2016 correctly formats the text in EB Garamond, as can
> be shown by the prescence of
>
> mkiv lua stats  > loaded fonts: 2 files: ebgaramond12-regular.otf,
> texgyrebonum-math.otf
>
> whereas the latest ConTeXt gives:
>
> fonts           > defining > font with asked name 'EBGaramond12-Regular'
> is not found using lookup 'file'
> fonts           > defining > unknown font 'EBGaramond12-Regular',
> loading aborted
> fonts           > defining > unable to define 'EBGaramond12-Regular' as
> 'ebgaramond-10pt-rm-tf-0--0'
>
> and typesets the text with TeX Gyre Bonum Math. I have the EBGaramond
> fonts installed, set the OSFONTDIR path in setuptex, etc. What exactly
> is wrong here?
There is a newer version of the fonts (from October 2017) which uses 
different files names than the older version (from 2014) but the 
predefined typescripts work only with the older names.

Instead of using the existing typescripts you can use the 
\definefontfamily command to access the font.

\definefontfamily [ebgaramond] [serif] [EB Garamond]
\definefontfamily [ebgaramond] [math]  [TeX Gyre Bonum Math]

\setupbodyfont [ebgaramond,10pt]

\starttext
...
\stoptext

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
___________________________________________________________________________________

  reply	other threads:[~2019-05-19  9:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-19  9:31 nyssus
2019-05-19  9:46 ` Wolfgang Schuster [this message]
2019-05-19 10:22   ` Hans Hagen
2019-05-19 10:28     ` Wolfgang Schuster

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=bfc1a357-3a53-9763-9008-337c9d53cf81@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=rocksolidbrassballs@gmail.com \
    /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).