-
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MathML: cannot produce multi-letter math identifier #86
Comments
I hadn't realized that mbox's argument was interpreted as text mode. |
I could have mbox produce |
As far a I can see from tex documentation and experimenting, treating this as text is correct. |
You're right: it makes sense that |
+++ Frank Atanassow [Feb 10 16 00:00 ]:
I don't think there's any way to do it. |
Since TeX doesn't really seem to distinguish semantics like the difference between an identifier and a box of text, maybe it is worth introducing a macro, say, |
It's an artificial solution, but it makes sense to me. +++ Frank Atanassow [Feb 10 16 10:39 ]:
|
This is not exactly a bug, but I suspect there may be no workaround, and is related to #83 and #85.
I'm using the MathML writer, and I have need for mathematical constants such as
id
. I need this to render as a constant, not an operator, since it can serve as an argument. If I simply write$id$
, then the result is<mi>i</mi><mi>d</mi>
, which is as it should be. What I need is something that translates to<mi>id</mi>
.I have been using
\DeclareMathOperator
or\operatorname
for this, since it does indeed (wrongly) produce<mi>id</mi>
, but I think because of other bugs I've reported this will be changed to produce<mo>id</mo>
in the future...? Which leaves me with the problem of how to produce<mi>id</mi>
.In LaTeX I get this effect by doing something like
but this produces
in Pandoc.
Is there a way to do this, or is it a genuine issue?
The text was updated successfully, but these errors were encountered: