From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/96668 Path: news.gmane.org!.POSTED!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: mathsf / mathversions in context Date: Wed, 26 Oct 2016 20:22:11 +0200 Message-ID: <5810F453.8000405@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2226102255996009220==" X-Trace: blaine.gmane.org 1477506203 13857 195.159.176.226 (26 Oct 2016 18:23:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2016 18:23:23 +0000 (UTC) User-Agent: Postbox 5.0.5 (Macintosh/20161020) Cc: mailing list for ConTeXt users To: Csikos Bela Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 26 20:23:18 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzSqe-0008CF-QW for gctc-ntg-context-518@m.gmane.org; Wed, 26 Oct 2016 20:22:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 394791BB69; Wed, 26 Oct 2016 20:22:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dACFtt5RW2Mx; Wed, 26 Oct 2016 20:22:27 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 7AA961BE21; Wed, 26 Oct 2016 20:22:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 83A911BCB4 for ; Wed, 26 Oct 2016 20:22:26 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kiAzWDH0hGD9 for ; Wed, 26 Oct 2016 20:22:25 +0200 (CEST) Original-Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 76A451BB69 for ; Wed, 26 Oct 2016 20:22:15 +0200 (CEST) Original-Received: by mail-wm0-f52.google.com with SMTP id d128so98901399wmf.1 for ; Wed, 26 Oct 2016 11:22:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to; bh=zC31HodDUo9rPqzpLjXThqZQEI0FbrhSZTpmZ2Qk240=; b=M0fPaH/I6rpvxliMpHPEi2Z6PCQDCEV+NgvrPEI+9l+SAzR2CoBlgQMkElitImunu7 zBlfizQyEsVRPguq35CpwtzY4ifTeoNuXPvDI4OFmnRxFYZtjkIil5N5+RLWobmaLtwA dHFAEa9DcU1eGZfVw1+gvbQGty3C2ji/SXAwAuB4875C7LNY0fs4mT1SXtFmq4+COOQm D2FcQ0mZESQgBKM+atXbza6SrTeoLgZ0xElogN+X26Y5DWMlAIaXkXTd2b4WHIRsGBHH G166uj8W4pacI+N2df9t1TucQwDZXozLm1T8CKOyRoq2pKS8q5vxvqRo7+j2vDiIdXa4 ijCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to; bh=zC31HodDUo9rPqzpLjXThqZQEI0FbrhSZTpmZ2Qk240=; b=D08L84sAinpA6cNhZEi0vSerguuBMeJXEFYgZctauNurJsveW6GEJrgFEuu5quWIZX zSCDZVwr216iUmWSogHCljRZywnxuwVMWzSDB9LgD3nkbhSduFap8MZQg5npv9rZ8K5p Ge9yb4ZpZ62iSH5/QxN8AavgsaaBJHRepe1qX+ddNsP2RWDnmkAevB4jjjlZOjbfXjlt MH+YGNnA8ZdPgqOslLO0kdkcOSyrtTUvT75nDfARqaUnYPe6BiYG6xsEQTnrYdd8nSWC nSkLL5JifVUQ2vlELRrBkXkVq//EWvIR2VHY9sV3Da2myf6G6KsnUxIsA9TWMH8lzFkL t9iA== X-Gm-Message-State: ABUngvfnFEb/5tBUyRFwJnk+SSFsnnC9YCayJtz+wwXH3si36MzLYQfk2HG2nBXRJqV5IQ== X-Received: by 10.28.46.15 with SMTP id u15mr9936480wmu.61.1477506134831; Wed, 26 Oct 2016 11:22:14 -0700 (PDT) Original-Received: from keima.localdomain (x2f275b8.dyn.telefonica.de. [2.242.117.184]) by smtp.gmail.com with ESMTPSA id l19sm4469562wmg.5.2016.10.26.11.22.13 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 26 Oct 2016 11:22:13 -0700 (PDT) In-Reply-To: X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:96668 Archived-At: This is a multi-part message in MIME format. --===============2226102255996009220== Content-Type: multipart/alternative; boundary="------------000109080806060705060509" This is a multi-part message in MIME format. --------------000109080806060705060509 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit > Csikos Bela > 20. Oktober 2016 um 16:59 > Wolfgang Schuster í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 --------------000109080806060705060509 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
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
--------------000109080806060705060509-- --===============2226102255996009220== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============2226102255996009220==--