Comments (5)
@pkra I'd wondered the same, and thought I was missing something too :). Might be easier to do this after #37, but maybe not. (I'm still planning to work up a PR for that, but still a little busy this week.)
from mathjax-node.
The main configuration options for the two libraries are completely different, and so you would end up with a library that has two basically separate sets of configuration paths and two internal processing paths. I don't see the win to that. It seems to me that this unnecessarily complicates the internals of the library for the small gain of sharing the initialization functions. If we really want to share those, it might be better to pull them into a common file loaded by both libraries.
I think we are still learning what the use-cases for MathJax-node are going to be, and I suspect that a redesign of the mj-page interface in particular may be something that we should think about when we have a better idea of the uses that it is going to put to. So I would not want to move too quickly to combine the two separate interfaces.
from mathjax-node.
Thanks, Davide. I didn't expect bigger problems but it turns out I'm wrong.
My thinking was that mj-page
handles HTML fragments and mj-single
is just for particularly small fragments. I can see that this isn't the case and I'm wondering if such an approach is feasible.
But let's shelf it for the time being.
from mathjax-node.
I'm wondering if such an approach is feasible.
I'm sure it is possible. The question is what are the trade-offs in doing it. A single file is always nice, but if it is more complicated, perhaps that out ways the benefit.
let's shelf it for the time being.
Sounds good. I think things are still settling in with MathJax-node. It might mean that we don't get to merge all pull requests, however, until we settle on a more clear sense of what the API needs to include, depending on the contents of the pull request.
from mathjax-node.
Closed in favor of #206
from mathjax-node.
Related Issues (20)
- Config options don't change appearance of SVG output HOT 1
- tex2svg converted image further rendering problem HOT 1
- how to set it to a transparent background? HOT 1
- Do mathjax-node support MathJax@3 HOT 2
- Mathjax- node:Latex Error converting latex to SVG with "\ \ [" HOT 3
- Cannot read property 'childNodes' of null HOT 3
- Rendering problems of latex $$\cong$$ in SVG HOT 5
- '\nolimits is allowed only on operators' which render right in mathjax v3 HOT 2
- width of svg is too small HOT 2
- Unknown node type "mstack" HOT 1
- Cannot get the same result with mathjax-node as with MathJax on the browser HOT 7
- Undefined control sequence even after defining it HOT 2
- "Error: TeX parse error: Missing \end{array}" HOT 2
- MathJax on Linkedom.. HOT 2
- Vercel - Error: Could not load script: "file:///var/task/node_modules/mathjax/unpacked/jax/element/mml/jax.js?V=2.7.9" HOT 5
- Correct mapping for prime symbol HOT 3
- MathJax node does not work with HTML HOT 4
- Cannot read properties of null (reading 'childNodes') HOT 4
- how to fix “missing open brace on subscript”? HOT 6
- use 'tex2svg' cannot generate formula correctly 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-node.