Re: [NTG-context] Inline Fractions

2021-01-25 Thread Hans Hagen

On 1/25/2021 1:58 PM, Johann Birnick wrote:

Recently inline fractions stopped working correctly.

For example symbol spacing, sub-/superscripts, the line is too short,...

You can see the 3 named problems and how they sometimes appear and sometimes not
in this two fractions:

\starttext
$\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2} \frac{\sin(x)}{\epsilon_0}$
\stoptext

Compare the output between the current LMTX version with some old version. (I
compared with mk4, because I had nothing else available. I don't know when bugs
were introduced.)
I'll check it. We're in a transition to a dual font model in math and 
it's kind of tricky to let both do the same but we'll get there 
eventually. It also has some consequences for backand code which makes 
it even more tricky. But normally, once it does work it keeps working.


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
___


[NTG-context] Inline Fractions

2021-01-25 Thread Johann Birnick
Recently inline fractions stopped working correctly.

For example symbol spacing, sub-/superscripts, the line is too short,...

You can see the 3 named problems and how they sometimes appear and sometimes not
in this two fractions:

\starttext
$\frac{\sin(x)}{16 \pi \epsilon_0 c^2 m_e^2} \frac{\sin(x)}{\epsilon_0}$
\stoptext

Compare the output between the current LMTX version with some old version. (I
compared with mk4, because I had nothing else available. I don't know when bugs
were introduced.)

Best regards,
Johann

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


[NTG-context] inline fractions

2019-06-26 Thread Alan Bowen
The following mwe

\definefontfeature[fraction][frac=yes]
\definehighlight[textfraction][style={\feature[+][fraction]}]

\starttext
a fraction \m{\frac{1}{n}}, \textfraction{1/n}, \vulgarfraction{1}{n} in
the text
\stoptext

works for all but \textfraction in the latest beta (luatex, luametatex).
Has something changed or have I missed something?

Alan
___
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
___