From: Mikael Sundqvist <mickep@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Functionnames disappearing (sometimes)
Date: Fri, 18 Jun 2021 11:44:40 +0200 [thread overview]
Message-ID: <CAHy-LL8-fyy03d0bgNO7QmsubPXGZ+eJu9fLeVsODQfL3fmoeA@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 473 bytes --]
Hi,
I noticed something strange today. If I use computer modern unicode
(the concrete font) together with Neo Euler math then sometimes
function names (like \sin, \cos, \tan) disappear. Sometimes they show
(in non-displayed math and in fractions(?)).
Attached is a file showing the problem, together with the output and
the typescript file. I use the latest ConTeXt version and I have
cleared the cache, but no change. Maybe I'm overlooking something, but
what?
/Mikael
[-- Attachment #2: functions.pdf --]
[-- Type: application/pdf, Size: 9528 bytes --]
[-- Attachment #3: type-imp-concrete-euler.mkxl --]
[-- Type: application/octet-stream, Size: 3046 bytes --]
\loadtypescriptfile[texgyre]
\resetfontfallback [concrete-euler-fix]
\definefontfallback[concrete-euler-fix][texgyrepagella-math] [0x022EE,0x022F0,0x022F1,0x02661,0x02220][force=yes]
\starttypescriptcollection[concrete-euler]
%\definefontfeature[default-slanted-concrete][default][slant=.2]
%\definefontfeature[none-slanted-concrete] [none] [slant=.2]
\starttypescript [\s!serif] [concrete-euler-serif]
\definefontsynonym [\s!Serif] [\s!file:cmunorm] [\s!features=\s!default]
\definefontsynonym [\s!SerifItalic] [\s!file:cmunoti] [\s!features=\s!default]
\definefontsynonym [\s!SerifSlanted] [\s!file:cmunorm] [\s!features=default-slanted-concrete]
\definefontsynonym [\s!SerifBold] [\s!file:cmunobx] [\s!features=\s!default]
\definefontsynonym [\s!SerifBoldItalic] [\s!file:cmunobi] [\s!features=\s!default]
\definefontsynonym [\s!SerifBoldSlanted][\s!file:cmunobx] [\s!features=default-slanted-concrete]
\stoptypescript
\starttypescript [\s!sans] [concrete-euler-sans]
\definefontsynonym [\s!Sans] [\s!file:cmunss] [\s!features=\s!default]
\definefontsynonym [\s!SansItalic] [\s!file:cmunsi] [\s!features=\s!default]
\definefontsynonym [\s!SansSlanted] [\s!file:cmunss] [\s!features=default-slanted-concrete]
\definefontsynonym [\s!SansBold] [\s!file:cmunsx] [\s!features=\s!default]
\definefontsynonym [\s!SansBoldItalic] [\s!file:cmunso] [\s!features=\s!default]
\definefontsynonym [\s!SansBoldSlanted] [\s!file:cmunsx] [\s!features=default-slanted-concrete]
\stoptypescript
\starttypescript [\s!mono] [concrete-euler-mono]
\definefontsynonym [\s!Mono] [\s!file:cmuntt] [\s!features=\s!none]
\definefontsynonym [\s!MonoItalic] [\s!file:cmunit] [\s!features=\s!none]
\definefontsynonym [\s!MonoSlanted] [\s!file:cmunst] [\s!features=\s!none]
\definefontsynonym [\s!MonoBold] [\s!file:cmuntb] [\s!features=\s!none]
\definefontsynonym [\s!MonoBoldItalic] [\s!file:cmuntx] [\s!features=\s!none]
\definefontsynonym [\s!MonoBoldSlanted] [\s!file:cmuntb] [\s!features=none-slanted-concrete]
\stoptypescript
\starttypescript [\s!math] [concrete-euler-math] [\s!name]
\definefontsynonym[\s!MathRoman] [\s!file:euler.otf] [\s!features=\s!math\mathsizesuffix,\s!fallbacks=concrete-euler-fix]
\stoptypescript
\starttypescript [concrete-euler]
\definetypeface [concrete-euler] [\s!rm] [\s!serif] [concrete-euler-serif] [\s!default]
\definetypeface [concrete-euler] [\s!ss] [\s!sans] [concrete-euler-sans] [\s!default]
\definetypeface [concrete-euler] [\s!tt] [\s!mono] [concrete-euler-mono] [\s!default][rscale=1]
\definetypeface [concrete-euler] [\s!mm] [\s!math] [concrete-euler-math] [\s!default]
\quittypescriptscanning
\stoptypescript
\stoptypescriptcollection
[-- Attachment #4: functions.mkxl --]
[-- Type: application/octet-stream, Size: 286 bytes --]
\setupbodyfont[concrete-euler]
\setupmathematics[
functionstyle=normal,
]
\starttext
We have $\cos\alpha$, $\sin\alpha$, $\tan\alpha$,
\startformula
\cos\alpha=\frac{a}{c},\quad
\sin\alpha=\frac{b}{c},\quad
\tan\alpha=\frac{\sin\alpha}{\cos\alpha}=\frac{b}{a}.
\stopformula
\stoptext
[-- Attachment #5: Type: text/plain, Size: 493 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 reply other threads:[~2021-06-18 9:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-18 9:44 Mikael Sundqvist [this message]
2021-06-18 11:27 ` Mikael Sundqvist
2021-06-19 11:12 ` Hans Hagen
2021-06-19 20:01 ` Otared Kavian
2021-06-19 21:27 ` Hans Hagen
2021-06-20 8:57 ` Otared Kavian
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=CAHy-LL8-fyy03d0bgNO7QmsubPXGZ+eJu9fLeVsODQfL3fmoeA@mail.gmail.com \
--to=mickep@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).