From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/98025 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Bowen Newsgroups: gmane.comp.tex.context Subject: Re: problem with mathmode in footnotes Date: Wed, 17 May 2017 12:21:35 -0400 Message-ID: References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4961478855364746073==" X-Trace: blaine.gmane.org 1495038139 20287 195.159.176.226 (17 May 2017 16:22:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 May 2017 16:22:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 17 18:22:08 2017 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 1dB1i5-0004rm-Tx for gctc-ntg-context-518@m.gmane.org; Wed, 17 May 2017 18:22:02 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 318E5103462; Wed, 17 May 2017 18:21:50 +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 xIHq3k4gq-FH; Wed, 17 May 2017 18:21:49 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5FD55103464; Wed, 17 May 2017 18:21:49 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 04664103463 for ; Wed, 17 May 2017 18:21:48 +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 tQeWHH-D9zw9 for ; Wed, 17 May 2017 18:21:47 +0200 (CEST) Original-Received: from mail-ua0-f182.google.com (mail-ua0-f182.google.com [209.85.217.182]) (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 22179103462 for ; Wed, 17 May 2017 18:21:37 +0200 (CEST) Original-Received: by mail-ua0-f182.google.com with SMTP id u10so8752149uaf.1 for ; Wed, 17 May 2017 09:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=TzhNo5ANgurMANfDEyV/2zlMe2CoxzHjj+M765W25RY=; b=k8RfReslQHMTbJLf+Qp6F7vDfTiSKGKExVldDBRQvfEzDpzEb/RIQorUaPXRqMPzrW ashoKT744u2DAG3itYEXmGq6RlUzOtb3M94ZrbaiCPqUXWHslB3kluITbIUG9R1lMPO0 tONxCMBRQeBK7QwkZ4oKB3y9ZkWcDOJMPukslBUCQX4TptaB5BAbCTby1RuSVV8YVpZ8 yTtFlY6ZvSplQPsVmqPCzXaN71reIE3Qpbo4zIlrJR3CPv/W71kg+7e1R6YKxf5rOMLW d4anuqe1mjhvWRisr806mSSVhkyMQwHTKdl/RO8K9FMA4LDBhelc7kpdzZrX8gq/ULO1 CGLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=TzhNo5ANgurMANfDEyV/2zlMe2CoxzHjj+M765W25RY=; b=IxCPPIM0x0UWLcnNCUX9XVtVR3jz/7e3tXGNFb4g5cS1ryIZmiP9wrY6HYfAwZQolG krqNI0uUWNiwxYRI3r3SIxITMFVSosunSPireWA272H0glziXl9nuMx4fzmI6cCxIrXp U3n7IHHpLg8B1BjvRwEpMYD2JXlwGx8TAIR9ke38ta5mQfUgAQZgx+09qsVmX5xtBrYv ZI1Y5d77Au90ZMPt1v7lL0UmKSwjJTcjZBspZI1b/huZ4HjkrP1PPJQMVagU2CXi19qk FykLpdELBtaCvUVPHLMYKLedCKGFjKQD56r1A61YQCYOg+8gliq7UCx3hLlXXQz4/Rnz u3yA== X-Gm-Message-State: AODbwcAJ6Vxtb5aHf3rCrTczrTQ2W9Vp7HFJL7xtUiv4hE76vVi951gP +0cjxbnQ8WZdBKwuWkpeRRXmFTaKIA== X-Received: by 10.159.37.184 with SMTP id 53mr1968200uaf.109.1495038095508; Wed, 17 May 2017 09:21:35 -0700 (PDT) Original-Received: by 10.31.163.209 with HTTP; Wed, 17 May 2017 09:21:35 -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:98025 Archived-At: --===============4961478855364746073== Content-Type: multipart/alternative; boundary="001a113dffb49bcb50054fbaaebe" --001a113dffb49bcb50054fbaaebe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To recap: the aim is to get oldstyle numerals in mathmode using TeX Gyre Termes otherwise; \definefontfamily[mainface][serif][TeXGyre Termes][features=3Df:oldstyle] \definefallbackfamily[mainface][mm][TeX Gyre Pagella] [preset=3Dmath:digitsnormal, features=3Df:oldstyle, scale=3D0.93] \definefontfamily[mainface][mm][TeXGyre Termes Math] \setupbodyfont[mainface,10pt] 123456789 Euclid \emph{Elem}.\ 3.20 states that if $BC$ is joined to the center $O$ of the circle, then $\angle BOC =3D 2\cdot\angle A$, and $\angle BOC$ is equal to arc $BC$, that is, $BC\kern-1em\raise1.8ex\hbox{\frown}$.% \footnote{\m{123456789} Euclid \emph{Elem}.\ 3.20 states that if $BC$ is joined to the center $O$ of the circle, then $\angle BOC =3D 2\cdot\angle A$, and $\angle BOC$ is equal to arc $BC$, that is, $BC\kern-1em\raise1.8ex\hbox{\frown}$.} \stoptext in mathmode in the footnote, ones gets: (a) oldstyle numerals (from Pagella) but no math symbols etc (b) if the line preset=3Dmath:digitsnormal is commented out, math symbols etc but but regular numerals. I am using the latest beta of the standalone (05.15.2017). Alan On Sun, May 14, 2017 at 12:01 PM, Alan Bowen wrote: > Just for the record: The problem with mathmode in footnotes persists with > the latest standalone ConTeXt ver: 2017.05.12 (even with Termes instead > of the Brill font). > > Alan > > On Tue, May 9, 2017 at 1:22 PM, Hans Hagen wrote: > >> Hi, >> >> % doesn't work, no cdot >> >> % \definefallbackfamily >> % [mainface] >> % [mm] >> % [Brill] >> % [range=3D{digitsnormal}, >> % features=3Df:oldstyle, >> % force=3Dyes] >> % \definefontfamily[mainface][rm][Brill] >> % [protrusion=3Dquality,expansion=3Dquality] >> % \definefontfamily[mainface][mm][TeX Gyre Pagella Math] >> % [scale=3D0.80,force=3Dyes] >> % \definefontfamily[mainface][tt][Dejavu Sans Mono] >> % \setupbodyfont[mainface,10pt] >> >> works ok: >> >> \setupbodyfont[pagella,10pt] >> >> \setuppapersize[S3] >> >> \starttext >> >> Euclid \emph {Elem}.\ 3.20 states that if \m {BC} is joined to the cente= r >> \m {O} >> of the circle, then \m {\angle BOC =3D 2 \cdot \angle A}, and \m {\angle >> BOC} is >> equal to \m {BC\kern-1em\raise1.8ex\hbox to 1em {\frown}}. \footnote >> {Euclid \emph >> {Elem}.\ 3.20 states that if \m {BC} is joined to the center \m{O} of th= e >> circle, >> then \m {\angle BOC =3D 2 \cdot \angle A}, and \m {\angle BOC} is equal = to >> \m >> {BC\kern-1em\raise1.8ex\hbox to 1em {\frown}}.} >> >> \stoptext >> >> I have no clue why selectfont fails in footnotes. Maybe Wolfgang hasa >> clue. >> >> Hans >> >> >> >> >> >> -------- Forwarded Message -------- >> Subject: [NTG-context] problem with mathmode in footnotes >> Date: Mon, 8 May 2017 19:01:05 -0400 >> From: Alan Bowen >> Reply-To: mailing list for ConTeXt users >> To: mailing list for ConTeXt users >> >> >> >> The code >> >> \definefontfamily[mainface][serif][Brill] >> [protrusion=3Dquality, >> expansion=3Dquality, >> mode=3Dnode, >> force=3Dyes, >> ] >> >> \definefallbackfamily[mainface][mm][TeX Gyre Pagella] >> [preset=3Dmath:digitsnormal,features=3Df:oldstyle,scale=3D0.93] >> >> \definefallbackfamily [mainface] [mm] [Brill] >> [preset=3Dmath:lowercasegreeknormal] >> \definefallbackfamily [mainface] [mm] [Brill] >> [preset=3Dmath:lowercasegreekitalic] >> \definefallbackfamily [mainface] [mm] [Brill] >> [preset=3Dmath:uppercasegreeknormal] >> \definefallbackfamily [mainface] [mm] [Brill] >> [preset=3Dmath:uppercasegreekitalic] >> >> \definefontfamily[mainface][mm][TeXGyre Termes Math][scale=3D0.94] >> \setupmathematics[ucgreek=3Dnormal,lcgreek=3Ditalic] >> >> \setupbodyfont[mainface,10pt] >> >> \starttext >> >> Euclid \emph{Elem}.\ 3.20 states that if \m{BC} is joined to the center >> \m{O} of the circle, then \m{\angle BOC =3D 2\cdot\angle A}, and \m{\an= gle >> BOC} is equal to \m{BC\kern-1em\raise1.8ex\hbox{\frown}}.% >> % >> \footnote{Euclid \emph{Elem}.\ 3.20 states that if \m{BC} is joined to >> the center \m{O} of the circle, then \m{\angle BOC =3D 2\cdot\angle A}, = and >> \m{\angle BOC} is equal to \m{BC\kern-1em\raise1.8ex\hbox{\frown}}.} >> \stoptext >> >> processes as it should using earlier versions (e.g., ConTeXt ver: >> 2017.03.26) but goes awry using ConTeXt ver: 2017.05.06. >> >> So far as I can tell, the problem comes with the specification of the >> fonts. If one omits the stuff before =E2=80=9C\starttext=E2=80=9D, the f= ootnote looks as it >> should and everyone but the publisher would be happy. >> >> Alan >> > > --001a113dffb49bcb50054fbaaebe Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To recap: the aim i= s to get oldstyle numerals in mathmode using TeX Gyre Termes otherwise;

\definefontfamily[mainface][serif][TeXGyre Termes][= features=3Df:oldstyle]


\definefallback= family[mainface][mm][TeX Gyre Pagella]
[pre= set=3Dmath:digitsnormal,
features=3Df:oldst= yle,
scale=3D0.93]

\definefontfamily[mainface= ][mm][TeXGyre Termes Math]

\setupbodyfont[ma= inface,10pt]
123456789

Euclid \emph{Elem}.\= 3.20 states that if $BC$ is =C2=A0joined to the center $O$ of the circle, = then $\angle BOC =3D 2\cdot\angle A$, =C2=A0and $\angle BOC$ is equal to ar= c $BC$, that is,=C2=A0
$BC\kern-1em\raise= 1.8ex\hbox{\frown}$.%
\footnote{\m{123456= 789}=C2=A0
Euclid \emph{Elem}.\ 3.20 stat= es that if $BC$ is =C2=A0joined to the center $O$ of the circle, then $\ang= le BOC =3D 2\cdot\angle A$, =C2=A0and $\angle BOC$ is equal to arc $BC$, th= at is,=C2=A0
$BC\kern-1em\raise1.8ex\hbox= {\frown}$.}=C2=A0

\stoptext

in mathmode in the= footnote, ones gets:
(a) oldstyle numerals (from Pagella) but no= math symbols etc
(b) if the line =C2=A0 preset=3Dmath:digitsnorm= al =C2=A0 is commented out,
math symbols etc but but regular nume= rals.

I am using the latest beta of the standalone= (05.15.2017).

Alan


On Sun, May 14,= 2017 at 12:01 PM, Alan Bowen <bowenalan03@gmail.com> wr= ote:
Just for = the record: The problem with mathmode in footnotes persists with the latest= standalone=C2=A0ConTeXt=C2=A0 ver: 2017.05.12=C2=A0(even with Termes inste= ad of the Brill font).
=

Alan

On Tue, May 9, 2017 at 1:22 PM, Hans Hagen <pragma@wxs.nl> wrote:
Hi,

% doesn't work, no cdot

% \definefallbackfamily
%=C2=A0 =C2=A0[mainface]
%=C2=A0 =C2=A0[mm]
%=C2=A0 =C2=A0[Brill]
%=C2=A0 =C2=A0[range=3D{digitsnormal},
%=C2=A0 =C2=A0 features=3Df:oldstyle,
%=C2=A0 =C2=A0 force=3Dyes]
% \definefontfamily[mainface][rm][Brill]
%=C2=A0 =C2=A0[protrusion=3Dquality,expansion=3Dquality]
% \definefontfamily[mainface][mm][TeX Gyre Pagella Math]
%=C2=A0 =C2=A0[scale=3D0.80,force=3Dyes]
% \definefontfamily[mainface][tt][Dejavu Sans Mono]
% \setupbodyfont[mainface,10pt]

works ok:

\setupbodyfont[pagella,10pt]

\setuppapersize[S3]

\starttext

Euclid \emph {Elem}.\ 3.20 states that if \m {BC} is joined to the center \= m {O}
of the circle, then \m {\angle BOC =3D 2 \cdot \angle A}, and \m {\angle BO= C} is
equal to \m {BC\kern-1em\raise1.8ex\hbox to 1em {\frown}}. \footnote {Eucli= d \emph
{Elem}.\ 3.20 states that if \m {BC} is joined to the center \m{O} of the c= ircle,
then \m {\angle BOC =3D 2 \cdot \angle A}, and \m {\angle BOC} is equal to = \m
{BC\kern-1em\raise1.8ex\hbox to 1em {\frown}}.}

\stoptext

I have no clue why selectfont fails in footnotes. Maybe Wolfgang hasa clue.=

Hans





-------- Forwarded Message --------
Subject:=C2=A0 =C2=A0 =C2=A0 =C2=A0 [NTG-context] problem with mathmode in = footnotes
Date:=C2=A0 =C2=A0Mon, 8 May 2017 19:01:05 -0400
From:=C2=A0 =C2=A0Alan Bowen <bowenalan03@gmail.com>
Reply-To:=C2=A0 =C2=A0 =C2=A0 =C2=A0mailing list for ConTeXt users <ntg-context@ntg.nl&= gt;
To:=C2=A0 =C2=A0 =C2=A0mailing list for ConTeXt users <ntg-context@ntg.nl>



The code

\definefontfamily[mainface][serif][Brill]
[protrusion=3Dquality,
expansion=3Dquality,
mode=3Dnode,
force=3Dyes,
]

\definefallbackfamily[mainface][mm][TeX Gyre Pagella]
[preset=3Dmath:digitsnormal,features=3Df:oldstyle,scale=3D0.93]

\definefallbackfamily [mainface] [mm] [Brill] [preset=3Dmath:lowercasegreek= normal]
\definefallbackfamily [mainface] [mm] [Brill] [preset=3Dmath:lowercasegreek= italic]
\definefallbackfamily [mainface] [mm] [Brill] [preset=3Dmath:uppercasegreek= normal]
\definefallbackfamily [mainface] [mm] [Brill] [preset=3Dmath:uppercasegreek= italic]

\definefontfamily[mainface][mm][TeXGyre Termes Math][scale=3D0.94]
\setupmathematics[ucgreek=3Dnormal,lcgreek=3Ditalic]

\setupbodyfont[mainface,10pt]

\starttext

Euclid \emph{Elem}.\ 3.20 states that if \m{BC} is=C2=A0 joined to the cent= er \m{O} of the circle, then \m{\angle BOC =3D 2\cdot\angle A},=C2=A0 and \= m{\angle BOC} is equal to=C2=A0 \m{BC\kern-1em\raise1.8ex\hbox{\frown}= }.%
%
\footnote{Euclid \emph{Elem}.\ 3.20 states that if \m{BC} is=C2=A0 joined t= o the center \m{O} of the circle, then \m{\angle BOC =3D 2\cdot\angle A}, a= nd \m{\angle BOC} is equal to \m{BC\kern-1em\raise1.8ex\hbox{\frown}}.= }
\stoptext

processes as it should using earlier versions (e.g., ConTeXt=C2=A0 ver: 201= 7.03.26)=C2=A0 but goes awry using ConTeXt=C2=A0 ver: 2017.05.06.

So far as I can tell, the problem comes with the specification of the fonts= . If one omits the stuff before =E2=80=9C\starttext=E2=80=9D, the footnote = looks as it should and everyone but the publisher would be happy.

Alan


--001a113dffb49bcb50054fbaaebe-- --===============4961478855364746073== 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 --===============4961478855364746073==--