From: "Duncan Hothersall" <dh@capdm.com>
Cc: "ConTeXt Mailing List" <ntg-context@ntg.nl>
Subject: RE: MathML questions (long)
Date: Mon, 23 Sep 2002 11:48:47 +0100 [thread overview]
Message-ID: <MFEFJNAPONLOLJPIHFBIMEGADHAA.dh@capdm.com> (raw)
In-Reply-To: <5.1.0.14.1.20020919175837.02167128@server-1>
> >1. How can I fix an entity not being rendered? When I use, e.g.
> unicode 22C5
> >(a ċ), they come out as the word "sdot" in a frame. When I look in
> >base/xtag-meb.tex the definitions all look right (\defineMMLentity sdot
> >22C5 {\cdot} ...) but the output doesn't seem to work.
>
> hm, can you provide me an example source? (maybe this filter is
> not loaded
> at all)
\startXMLdata
<math>
<mrow><mtext>M</mtext><msub><mtext>U</mtext><mi>a</mi></msub><mo>=</mo><msub
><mtext>P</mtext><mi>a</mi></msub><mo>⋅</mo><mtext>M</mtext><msub><mtex
t>U</mtext><mi>e</mi></msub></mrow></math>
\stopXMLdata
I haven't put anything particularly relevant in the preamble - should I do
something to make sure the filter gets loaded? Other entities, like ′
and suchlike, render perfectly. Thanks.
> >2. When using visual rather than semantic mark-up, large equations,
> >especially with mtable elements in them, seem to generate a lot of
> >
> >! Missing \right. inserted.
> >
> >errors. I can post code if necessary, but does this ring any bells?
>
> I need code indeed.
Okay; it's quite long and ugly. I have spaced it out here for clarity but in
the original it was all one line. This is code exported by MathType, which
is the pay-for upgrade of Word equation editor.
\startXMLdata
<formula>
<math>
<mtable>
<mtr>
<mtd>
<msub>
<mtext>W</mtext>
<mi>i</mi>
</msub>
<mo>=</mo>
<msup>
<mi>λ</mi>
<mo>′</mo>
</msup>
<msub>
<mi>τ</mi>
<mi>i</mi>
</msub>
<mrow>
<mo>[</mo>
<mrow>
<mn>1</mn>
<mo>+</mo>
<mo>(</mo>
<mi>μ</mi>
<mo>/</mo>
<msup>
<mi>λ</mi>
<mo>′</mo>
</msup>
<msub>
<mi>τ</mi>
<mi>i</mi>
</msub>
<mo>)</mo>
<mo>(</mo>
<msub>
<mtext>Q</mtext>
<mi>i</mi>
</msub>
<mo>−</mo>
<mi>κ</mi>
<mo>⋅</mo>
<msub>
<mtext>R</mtext>
<mi>i</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>]</mo>
</mrow>
</mtd>
</mtr>
<mtr>
<mtd>
<msub>
<mtext>W</mtext>
<mi>n</mi>
</msub>
<mo>=</mo>
<msup>
<mi>λ</mi>
<mo>′</mo>
</msup>
<msub>
<mi>τ</mi>
<mi>n</mi>
</msub>
<mrow>
<mo>[</mo>
<mrow>
<mn>1</mn>
<mo>+</mo>
<mo>(</mo>
<mi>μ</mi>
<mo>/</mo>
<msup>
<mi>λ</mi>
<mo>′</mo>
</msup>
<msub>
<mi>τ</mi>
<mi>n</mi>
</msub>
<mo>)</mo>
<mo>(</mo>
<msub>
<mtext>Q</mtext>
<mi>n</mi>
</msub>
<mo>−</mo>
<mi>κ</mi>
<mo>⋅</mo>
<msub>
<mtext>R</mtext>
<mi>n</mi>
</msub>
<mo>)</mo>
</mrow>
<mo>]</mo>
</mrow>
</mtd>
</mtr>
</mtable>
</math>
</formula>
\stopXMLdata
The output I get is:
[25.5]
! Missing \right. inserted.
<inserted text>
\right .
<to be read again>
$
\MMLpTABLEa ...LpTABLE \let \MMLpTD \MMLpTABLE #2$
}\fi \ifconditional
\mmlTA...
l.1 ...}}\xmlr {mo}{X}{}{)}}\xmlr {mo}{X}{}{]}}}}}
\empty \empty
\doXMLremapdata ...remappedXMLdata \empty \empty }
#3\stopXMLmapping \egroup
l.1 ...o>]</mo></mrow></mtd></mtr></mtable></math>
</formula>
<gobblespaceto...
...
l.2367 \stopXMLdata
{}If you multiply out each expression on the right hand
s...
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
... repeated three times ...
! Missing \right. inserted.
<inserted text>
\right .
<to be read again>
$
<template> $
\hfil \endtemplate
\MMLpTR ... {\@col@amp@ }{#2}\the \XMLRtoks \crcr
<argument> ...r {mo}{X}{}{)}}\xmlr {mo}{X}{}{]}}}}
\xmlr {mtr}{X}{}{\xmlr
{mt...
\PLAINmatrix ...noalign {\kern -\baselineskip } #1
\crcr \mathstrut \crcr
\no...
...
l.2367 \stopXMLdata
{}If you multiply out each expression on the right hand
s...
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing \right. inserted.
<inserted text>
\right .
<to be read again>
$
<template> $
\hfil \endtemplate
\MMLpTR ... {\@col@amp@ }{#2}\the \XMLRtoks \crcr
<argument> ...r {mo}{X}{}{)}}\xmlr {mo}{X}{}{]}}}}
\xmlr {mtr}{X}{}{\xmlr
{mt...
\PLAINmatrix ...noalign {\kern -\baselineskip } #1
\crcr \mathstrut \crcr
\no...
...
l.2367 \stopXMLdata
{}If you multiply out each expression on the right hand
s...
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing \right. inserted.
<inserted text>
\right .
<to be read again>
$
<template> $
\hfil \endtemplate
\MMLpTR ... {\@col@amp@ }{#2}\the \XMLRtoks \crcr
\PLAINmatrix ...noalign {\kern -\baselineskip } #1
\crcr \mathstrut \crcr
\no...
\MMLpTABLEa ...e \let \next \matrix \fi \next {#2}
\endgroup
...
l.2367 \stopXMLdata
{}If you multiply out each expression on the right hand
s...
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
! Missing \right. inserted.
<inserted text>
\right .
<to be read again>
$
<template> $
\hfil \endtemplate
\MMLpTR ... {\@col@amp@ }{#2}\the \XMLRtoks \crcr
\PLAINmatrix ...noalign {\kern -\baselineskip } #1
\crcr \mathstrut \crcr
\no...
\MMLpTABLEa ...e \let \next \matrix \fi \next {#2}
\endgroup
...
l.2367 \stopXMLdata
{}If you multiply out each expression on the right hand
s...
I've inserted something that you may have forgotten.
(See the <inserted text> above.)
With luck, this will get me unwedged. But if you
really didn't forget anything, try typing `2' now; then
my insertion and my current dilemma will both disappear.
next prev parent reply other threads:[~2002-09-23 10:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-10 10:52 Descriptions/enumerations with a background Duncan Hothersall
2002-09-16 20:05 ` Hans Hagen
2002-09-17 16:14 ` Duncan Hothersall
2002-09-19 14:05 ` MathML questions Duncan Hothersall
2002-09-19 16:00 ` Hans Hagen
2002-09-23 10:48 ` Duncan Hothersall [this message]
2002-09-24 7:46 ` MathML questions (long) Hans Hagen
2002-09-24 13:14 ` Duncan Hothersall
2002-09-24 7:53 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MFEFJNAPONLOLJPIHFBIMEGADHAA.dh@capdm.com \
--to=dh@capdm.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).