Comments (7)
I could actually create HTML markup instead. Are there any improvements for mixed content?
from mathjax-src.
Something else reproduced from v2 is that \
and \\
both yield a backspace. That seems inconsistent.
from mathjax-src.
Are there any improvements for mixed content?
We have kept it in mind during the development of the internal structure, but have not implemented anything for it yet.
\
and\\
both yield a backspace
I assume you mean backslash? Yes, they do. Do you think that \
should simply be removed?
from mathjax-src.
It would be very helpful to revisit this and make it to some degree configurable.
Do you have a suggestion of what that would consist of? In v2, one was able to override the InternalText()
method in order to do additional processing. In v3, it would still be possible to do something similar, though I haven't looked at Volker's implementation for that specifically. What kind of configuration do you have in mind?
from mathjax-src.
We have kept it in mind during the development of the internal structure, but have not implemented anything for it yet.
Thanks. That might be useful to talk to the TC about.
I assume you mean backslash?
Oops, yes. Sorry.
Do you think that
\
should simply be removed?
That seems reasonable to me but I don't have an opinion (beyond clarifying it).
What kind of configuration do you have in mind?
I'd be happy to work towards a situation where MathJax v3 by default parses for macros inside of \text{}
(et al) but I'd understand if that's too radical. Maybe a Boolean to enable/disable parsing inside \text{}
would be a start; then the responsibility falls on the author to ensure that the macros they use inside \text{}
creates a suitable internal structure.
But I'm aware that this is complicated and that I'm not thinking about this in full depth.
from mathjax-src.
I have put together an extension for v2 that allows the processing to (some) text-mode macros. Volker hasn't seen it yet, and I don't know how well it will fit in with the v3 architecture, but I'm sure something like it could be done. Perhaps that is a sufficient solution?
from mathjax-src.
The text-macros extension is in v3.1 released today.
from mathjax-src.
Related Issues (20)
- Upgrading from alpha 1 to latest beta, Fira font-config HOT 4
- Throw exception by using custom build at version 3.2.1 HOT 2
- How is a character's height/depth retrieved? HOT 6
- "ReferenceError: window is not defined" when dev page reloaded. HOT 1
- Multiple Typescript Errors HOT 9
- delete arguments.callee HOT 2
- support for \oiint and \oiiint HOT 1
- v4: DefaultFont.js not CJS HOT 2
- how do i customize the the latex defined by myself, and change it to mathml defined by myself HOT 1
- Overlapping output when using serveral expressions on the same page HOT 3
- SVG StyleList unused styles? HOT 3
- Reverse process HOT 1
- Integrate better tooling infra into mathjax
- ES6 class keyword used in "ES5" code due to bundled speech-rule-engine dependency HOT 6
- use mathjax3 in andriod5 show error "getExplicit of null" HOT 1
- Build directions don't work for v4-update branch HOT 3
- MathJax-Fonts repository private HOT 9
- Can I use a custom font in version 3.2?
- ts/util/asyncLoad/node.js needs ESM version HOT 9
- installation of v4 not working with yarn HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mathjax-src.