ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Column spacing in MathML in mkiv
@ 2019-07-18 11:13 Duncan Hothersall
  0 siblings, 0 replies; only message in thread
From: Duncan Hothersall @ 2019-07-18 11:13 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 716 bytes --]

Hi all.

If I want to set the space between columns in a MathML <mtable>, how do I
do it?

Minimal non-working example below (set the attribute columnspacing to
anything you like and it seems to be ignored). Is this a bug or is there a
feature I've missed?

\usemodule[mathml]
\starttext
\xmlprocessdata{}{<formula>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
 <mtable columnalign="right center left" columnspacing="1em">
  <mtr>
   <mtd><mi>a</mi><mi>b</mi></mtd>
   <mtd><mo>=</mo></mtd>
   <mtd><mi>c</mi><mi>d</mi></mtd>
  </mtr>
  <mtr>
   <mtd><mi>e</mi><mi>f</mi></mtd>
   <mtd><mo>=</mo></mtd>
   <mtd><mi>g</mi><mi>h</mi></mtd>
  </mtr>
 </mtable>
</math></formula>}{}
\stoptext

Many thanks.

Duncan

[-- Attachment #1.2: Type: text/html, Size: 1554 bytes --]

[-- Attachment #2: 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-07-18 11:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-18 11:13 Column spacing in MathML in mkiv Duncan Hothersall

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).