ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: \setupmathematics with stylealternative not working
Date: Fri, 22 Feb 2019 21:24:00 +1300	[thread overview]
Message-ID: <a268fc76-ca8c-7064-1ac9-9bf04ae07307@gmail.com> (raw)
In-Reply-To: <CAHy-LL-q6xM5Yi8SEeLgJ0g_eN8yemTXGpFT3yqvh-8GSx7rWg@mail.gmail.com>

I can confirm.  My workaround which predates the stylealternative
mechanism also stopped working, so there must be an issue on the level
of font feature selection.

\definefontfeature [math-text]         [math-text]         [ss04=yes]
\definefontfeature [math-script]       [math-script]       [ss04=yes]
\definefontfeature [math-scriptscript] [math-scriptscript] [ss04=yes]
\setupbodyfont[lucidaot]
\starttext
\startTEXpage[offset=3bp]
$\mathcal A$
\stopTEXpage
\stoptext


On 2/22/19 8:35 PM, Mikael P. Sundqvist wrote:
> Hi,
> 
> It seems that, with the latest beta, the \setupmathematics with
> stylealternative is not working.
> 
> I tried
> 
> \setupbodyfont[lucidaot]
> \setupmathematics[stylealternative={calligraphic}]
> \starttext
> \startTEXpage[offset=3bp]
> $\mathcal A$
> \stopTEXpage
> \stoptext
> 
> and got the attached output lcm.png. This is not the curly A I would
> expect. The one I expect is the one that can be seen on top of page 9
> in https://tug.org/store/lucida/lucida-amsmath.pdf.
> 
> I also noticed that the example file that I have seen earlier on this
> list, pasted below, does not seem to change anything.
> 
> Has anything changed?
> 
> /Mikael
> 
> % second example
> \setupbodyfont[lucidaot]
> 
> \starttext
> 
> $x
>     ^{i \leftarrow 0 = ∅}
>     _{\setmathfontalternate{arrow}
>       \setmathfontalternate{dotless}
>       \setmathfontalternate{zero}
>       i \leftarrow 0 = ∅}
> $
> 
> $x
>     ^{i \leftarrow 0 = ∅}
>     _{\setmathfontalternate{arrow,dotless,zero}
>       i \leftarrow 0 = ∅}
> $
> 
> \setupmathematics[stylealternative={arrow,dotless,zero}]
> 
> $x
>     ^{i \leftarrow 0 = ∅}
>     _{i \leftarrow 0 = ∅}
> $
> 
> \stoptext
> 
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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
___________________________________________________________________________________

  reply	other threads:[~2019-02-22  8:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-22  7:35 Mikael P. Sundqvist
2019-02-22  8:24 ` Henri Menke [this message]
2019-02-22 18:25   ` Hans Hagen
2019-02-23  7:17     ` Mikael P. Sundqvist
2019-02-24  9:23       ` Mikael P. Sundqvist
2019-02-24 10:16         ` Henri Menke

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=a268fc76-ca8c-7064-1ac9-9bf04ae07307@gmail.com \
    --to=henrimenke@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).