From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: Csikos Bela <bcsikos425@freemail.hu>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mathsf / mathversions in context
Date: Wed, 26 Oct 2016 20:22:11 +0200 [thread overview]
Message-ID: <5810F453.8000405@gmail.com> (raw)
In-Reply-To: <freemail.20161020165931.91611.1@fmxmldata05.freemail.hu>
[-- Attachment #1.1: Type: text/plain, Size: 1673 bytes --]
> Csikos Bela <mailto:bcsikos425@freemail.hu>
> 20. Oktober 2016 um 16:59
> Wolfgang Schuster<schuster.wolfgang@gmail.com> írta:
>
> Thank you again. Now I am even more confused.
>
>>> 3. I found that if I write \definefontfamily [docuf] [mm] [TeX Gyre Pagella Math]
>>> before \definefallbackfamily lines, the latter have no effect. Is this normal?
>>> Shouldn't the order of definition lines be indifferent?
>> The fallbackfamily settings are applied to a typeface and the
>> \definefontfamily commands creates the typeface, without \definefontfamily the
>> fallbacks are never used because there is no font which can use the settings.
>
> Sorry, but I don't understand the answer. If I have the code:
>
> \definefallbackfamily [documentfont] [mm] [Tex Gyre Adventor] [preset=math:lowercaseitalic]
> \definefontfamily [documentfont] [mm] [TeX Gyre Pagella Math]
>
> then Tex Gyre Adventor font is used for math (\definefallbackfamily has effect).
>
> If I have this code:
>
> \definefontfamily [documentfont] [mm] [TeX Gyre Pagella Math]
> \definefallbackfamily [documentfont] [mm] [Tex Gyre Adventor] [preset=math:lowercaseitalic]
>
> then Tex Gyre Pagella is used for math (\definefallbackfamily has no effect).
>
> According to your answer the opposite should happen, shouldn't?
> I am confused.
>
The \definefontfamily command creates a typeface which is used to load a
font but after this point
you can’t make changes to it. The \definefallbackfamily command let you
assign additional
characters for a font but this has to happen before the font is loaded,
therefore \definefallbackfamily
needs before \definefontfamily in the document.
Wolfgang
[-- Attachment #1.2: Type: text/html, Size: 2849 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 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
___________________________________________________________________________________
next prev parent reply other threads:[~2016-10-26 18:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-11 19:52 Csikos Bela
2016-10-11 21:02 ` Wolfgang Schuster
2016-10-14 14:56 ` Csikos Bela
2016-10-16 18:23 ` Wolfgang Schuster
2016-10-20 14:59 ` Csikos Bela
2016-10-26 18:22 ` Wolfgang Schuster [this message]
2016-10-27 16:42 ` Csikos Bela
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=5810F453.8000405@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=bcsikos425@freemail.hu \
--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).