Re: [NTG-context] new upload

2021-10-14 Thread Hans Hagen via ntg-context

On 10/13/2021 10:37 PM, jbf via ntg-context wrote:
In fact, Hans, that was going to be my comment after updating yesterday 
to the 10-10-21 version: some of the breaks were a bit overdone. Are 
these changes you indicate as tests actually included in the latest 
upload, or should I wait a bit?
they are in there; but i still need to check multiple notes and spacing 
before the first (we have some trickery in mkiv and lmtx but maybe i can 
still make that better / more reliable in lmtx/luametatex)


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
___


Re: [NTG-context] Converting LaTeX math to ConTeXt

2021-10-14 Thread Jason Ross via ntg-context



On 10/12/21 8:31 PM, Aditya Mahajan wrote:


This is an issue with ConTeXt, but most of these issues are minor are easy to 
fix. Just send minimal examples showing the incorrect rendering.

Aditya




An example is attached.
MathML generated with

pandoc -f latex -t html --mathml sample-math.tex \
| xmlstarlet ed -d "//*[local-name()='annotation']" \
| xmlstarlet sel -t -c "/p/*" \
| xmlstarlet ed -m "//*[local-name()='semantics']/*" \
"//*[local-name()='math']" \
| xmlstarlet ed -d "//*[local-name()='semantics']"
\usemodule[mathml]
\starttext
\startplaceformula
  \startformula
\xmlprocessdata{}{
  
  http://www.w3.org/1998/Math/MathML; display="block">

  
[

  

  
R

  1
  x

  

  
  

  
R

  1
  y

  

  
  

  
F

  2
  x

  

  
  

  
F

  2
  y

  

  
  

  
R

  3
  x

  

  
  

  
R

  3
  y

  

  
  

  
R

  4
  x

  

  
  

  
R

  4
  y

  

  

]
  
  =
  
[

  

  

  
A
1
  
  
E
1
  


  L
  1

  


  0


  
  

  
A
1
  
  
E
1
  


  L
  1

  


  0


  0


  0


  0


  0

  
  

  0


  0


  0


  0


  0


  0


  0


  0

  
  

  
  

  
A
1
  
  
E
1
  


  L
  1

  


  0


  

  
A
1
  
  
E
1
  


  L