From: Alan Bowen <bowenalan03@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: problem with mathmode in footnotes
Date: Sat, 27 May 2017 08:51:45 -0400 [thread overview]
Message-ID: <CAFMOkGWxbr-SR84VoDkzqhDzqSekAjswak7KyTacnz1QGj-xWg@mail.gmail.com> (raw)
In-Reply-To: <CAFMOkGUH55JKTjO1LnzM0AYzLsETB1NmsYhqvXJ9yM3Ucgm3cA@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 5164 bytes --]
The problem persists with ConTeXt ver: 2017.05.25.
So, I wonder, is there something that I should fix at my end? Any
suggestions will be gratefully received.
Alan
On Wed, May 17, 2017 at 12:21 PM, Alan Bowen <bowenalan03@gmail.com> wrote:
> To recap: the aim is to get oldstyle numerals in mathmode using TeX Gyre
> Termes otherwise;
>
> \definefontfamily[mainface][serif][TeXGyre Termes][features=f:oldstyle]
>
>
> \definefallbackfamily[mainface][mm][TeX Gyre Pagella]
> [preset=math:digitsnormal,
> features=f:oldstyle,
> scale=0.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 = 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 = 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=math: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 <bowenalan03@gmail.com>
> 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 <pragma@wxs.nl> wrote:
>>
>>> Hi,
>>>
>>> % doesn't work, no cdot
>>>
>>> % \definefallbackfamily
>>> % [mainface]
>>> % [mm]
>>> % [Brill]
>>> % [range={digitsnormal},
>>> % features=f:oldstyle,
>>> % force=yes]
>>> % \definefontfamily[mainface][rm][Brill]
>>> % [protrusion=quality,expansion=quality]
>>> % \definefontfamily[mainface][mm][TeX Gyre Pagella Math]
>>> % [scale=0.80,force=yes]
>>> % \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 = 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
>>> the circle,
>>> then \m {\angle BOC = 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 <bowenalan03@gmail.com>
>>> Reply-To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>>> To: mailing list for ConTeXt users <ntg-context@ntg.nl>
>>>
>>>
>>>
>>> The code
>>>
>>> \definefontfamily[mainface][serif][Brill]
>>> [protrusion=quality,
>>> expansion=quality,
>>> mode=node,
>>> force=yes,
>>> ]
>>>
>>> \definefallbackfamily[mainface][mm][TeX Gyre Pagella]
>>> [preset=math:digitsnormal,features=f:oldstyle,scale=0.93]
>>>
>>> \definefallbackfamily [mainface] [mm] [Brill]
>>> [preset=math:lowercasegreeknormal]
>>> \definefallbackfamily [mainface] [mm] [Brill]
>>> [preset=math:lowercasegreekitalic]
>>> \definefallbackfamily [mainface] [mm] [Brill]
>>> [preset=math:uppercasegreeknormal]
>>> \definefallbackfamily [mainface] [mm] [Brill]
>>> [preset=math:uppercasegreekitalic]
>>>
>>> \definefontfamily[mainface][mm][TeXGyre Termes Math][scale=0.94]
>>> \setupmathematics[ucgreek=normal,lcgreek=italic]
>>>
>>> \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 = 2\cdot\angle A}, and \m{\angle
>>> 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 = 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 “\starttext”, the footnote looks as it
>>> should and everyone but the publisher would be happy.
>>>
>>> Alan
>>>
>>
>>
>
[-- Attachment #1.2: Type: text/html, Size: 9046 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:[~2017-05-27 12:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-08 23:01 Alan Bowen
[not found] ` <e071f80a-8606-09ff-b0b5-f1b9ab6ab999@wxs.nl>
[not found] ` <CAFMOkGXqSqR6d3A=mpvkJtsdr+VdGgmJC9EvVZGgeiCYZRWM_A@mail.gmail.com>
2017-05-17 16:21 ` Alan Bowen
2017-05-27 12:51 ` Alan Bowen [this message]
[not found] ` <730ef43e-61e5-231d-64a2-4d810f95b3e5@wxs.nl>
[not found] ` <CAFMOkGWKL=Ctru+rk+8ab_0PFNFOaChQV4teunMTtSqbSFAFpA@mail.gmail.com>
2017-05-30 13:49 ` Alan Bowen
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=CAFMOkGWxbr-SR84VoDkzqhDzqSekAjswak7KyTacnz1QGj-xWg@mail.gmail.com \
--to=bowenalan03@gmail.com \
--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).