Functionnames disappearing (sometimes)
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
Hi,
It seems that
\setupmathematics[
functionstyle=normal,
]
is the problematic one here (it is needed(?) in the Neo Euler case to
have function names set upright). The following file shows the problem
as well:
%%%
\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
%%%
I had a backup of the file I was working on, and the problem was not
present on june 13 (not sure I had a completely updated ConTeXt by
then).
/Mikael
On Fri, Jun 18, 2021 at 11:44 AM Mikael Sundqvist
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
On 6/18/2021 1:27 PM, Mikael Sundqvist wrote:
Hi,
It seems that
\setupmathematics[ functionstyle=normal, ]
is the problematic one here (it is needed(?) in the Neo Euler case to have function names set upright). The following file shows the problem as well:
%%% \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 %%%
I had a backup of the file I was working on, and the problem was not present on june 13 (not sure I had a completely updated ConTeXt by then). fixed in next upload (later today)
Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Hi, I don’t know whether the issue reported by Mikael S. is related to the following: since last week (I guess) some math sympbols are not shown either, such as \bigcap and \bigcup, even using version 2021.06.18 23:37. An example is: \starttext $A \cup B = X \cap Y$ \startformula A \bigcup B = X \bigcap Y \stopformula \stoptext Best regards: Otared
On 19 Jun 2021, at 13:12, Hans Hagen
wrote: On 6/18/2021 1:27 PM, Mikael Sundqvist wrote:
Hi, It seems that \setupmathematics[ functionstyle=normal, ] is the problematic one here (it is needed(?) in the Neo Euler case to have function names set upright). The following file shows the problem as well: %%% \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 %%% I had a backup of the file I was working on, and the problem was not present on june 13 (not sure I had a completely updated ConTeXt by then). fixed in next upload (later today)
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________
On 6/19/2021 10:01 PM, Otared Kavian wrote:
Hi,
I don’t know whether the issue reported by Mikael S. is related to the following: since last week (I guess) some math sympbols are not shown either, such as \bigcap and \bigcup, even using version 2021.06.18 23:37. An example is:
\starttext $A \cup B = X \cap Y$ \startformula A \bigcup B = X \bigcap Y \stopformula \stoptext it's a bug i introduced in the engine .. you can try a newer bin from:
https://dl.contextgarden.net/build/luametatex/ ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Hi Hans, Many thanks ! Yes the new engine fixes the issues. Best regards: Otared
On 19 Jun 2021, at 23:27, Hans Hagen
wrote: On 6/19/2021 10:01 PM, Otared Kavian wrote:
Hi, I don’t know whether the issue reported by Mikael S. is related to the following: since last week (I guess) some math sympbols are not shown either, such as \bigcap and \bigcup, even using version 2021.06.18 23:37. An example is: \starttext $A \cup B = X \cap Y$ \startformula A \bigcup B = X \bigcap Y \stopformula \stoptext it's a bug i introduced in the engine .. you can try a newer bin from:
https://dl.contextgarden.net/build/luametatex/
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Mikael Sundqvist
-
Otared Kavian