From: Marco Patzer <lists@homerow.info>
To: ntg-context@ntg.nl
Subject: Re: The requested font has no files for the 'tf' alternative
Date: Tue, 14 Mar 2017 23:44:29 +0100 [thread overview]
Message-ID: <20170314234429.1f0a395e@homerow> (raw)
In-Reply-To: <58C85506.2090906@gmail.com>
On Tue, 14 Mar 2017 21:39:34 +0100
Wolfgang Schuster <schuster.wolfgang@gmail.com> wrote:
> [...]
Thanks for the explanation, Wolfgang.
> Each font of your collection has its individual name, e.g. the
> regular style has the name “Caecilia LT Std Roman” but all styles use
> the same name for the family (i.e. “Caecilia LT Std”) which is used
> by \definefontfamily.
That makes sense.
> When you now used a individual name instead of the family name for
> \definefontfamily you should get a message in log for the correct
> name, e.g. the following example
>
> \definefontfamily[mainface][rm][TeX Gyre Pagella Regular]
>
> \setupbodyfont[mainface]
>
> \starttext
> Font test!
> \stoptext
>
> shows this in the log
>
> selectfont > The name 'texgyrepagellaregular' is not a proper
> family name, use 'texgyrepagella' instead.
> selectfont > The requested font 'TeX Gyre Pagella Regular' has
> no files for the 'tf' alternative, Latin Modern is used instead.
>
> which tells you to use “texgyrepagella” for the \definefontfamily
> command.
Your example works for me. But it's still unclear what I'm doing
wrong. According to your explanation this should work:
\definefontfamily
[mainface]
[rm]
[Caecilia LT Std]
[tf=Caecilia LT Std Roman]
However, it shows:
selectfont > The requested font 'Caecilia LT Std' has no files for the 'tf' alternative, Latin Modern is used instead.
It appears that ConTeXt somehow can't find the font.
Marco
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2017-03-14 22:44 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-09 9:33 Marco Patzer
2017-03-10 0:13 ` Vladimir Lomov
2017-03-10 8:57 ` Marco Patzer
2017-03-10 16:12 ` Pablo Rodriguez
2017-03-13 20:55 ` Marco Patzer
2017-03-13 21:10 ` Pablo Rodriguez
2017-03-14 8:26 ` Marco Patzer
2017-03-14 20:39 ` Wolfgang Schuster
2017-03-14 22:44 ` Marco Patzer [this message]
2017-03-15 7:17 ` Henning Hraban Ramm
2017-03-15 7:27 ` Fonts not found Henning Hraban Ramm
2017-03-16 21:28 ` Henning Hraban Ramm
2017-03-15 11:56 ` The requested font has no files for the 'tf' alternative Marco Patzer
2017-03-15 18:10 ` Pablo Rodriguez
2017-03-15 18:26 ` Wolfgang Schuster
2017-03-15 20:37 ` Marco Patzer
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=20170314234429.1f0a395e@homerow \
--to=lists@homerow.info \
--cc=ntg-context@ntg.nl \
/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).