ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* From mkii to mkiv: MathML mtable alignment
@ 2019-07-08 14:45 Duncan Hothersall
  2019-07-08 15:22 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Duncan Hothersall @ 2019-07-08 14:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

The command \setupMMLappearance[mtable][alternative=b] used to give me, in
mkii, MathML layouts in which the first column was ragged left, the second
column centred, and the third column ragged right. It now seems to be
ignored, and the output has all three columns centred.

Minimal working example showing the problem:

\usemodule[mathml]

\setupMMLappearance[mtable][alternative=c]

\starttext

Some text.

\xmlprocessdata{}{<formula>
        <math xmlns='http://www.w3.org/1998/Math/MathML'>
         <mtable>
          <mtr>
           <mtd>
            <mi>x</mi>
            <mo>+</mo>
            <mi>y</mi>
           </mtd>
           <mtd>
            <mo>=</mo>
           </mtd>
           <mtd>
            <mn>2.56</mn>
            <mtext> million</mtext>
           </mtd>
          </mtr>
          <mtr>
           <mtd>
            <mi>x</mi>
           </mtd>
           <mtd>
            <mo>=</mo>
           </mtd>
           <mtd>
            <mn>2.56</mn>
           </mtd>
          </mtr>
         </mtable>
        </math>
      </formula>}{}

Some more text.

\stoptext

What is the successor to \setupMMLappearance please?

Thanks very much.

Duncan

[-- Attachment #1.2: Type: text/html, Size: 2200 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] 3+ messages in thread

end of thread, other threads:[~2019-07-08 15:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-08 14:45 From mkii to mkiv: MathML mtable alignment Duncan Hothersall
2019-07-08 15:22 ` Wolfgang Schuster
2019-07-08 15:27   ` 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).