mathjax/MathJax-demos-node

Can I get the chtmlStyles css which contains all tex

niusibao opened this issue · 3 comments

I want to cache chtml in node server,but no css style.How I get the css file like mathjax-node that generate css.

dpvc commented

All of the commands in this repository that process a single equation have a --css option that produces the CSS needed for that equation. For CHTML, that depends on the equation itself, so will be different for each equation, If you are planning to produce multiple equations, it might be best to use one of the -page versions that processes all the equations and results in a combined CSS file that covers all the equations. You could, for example, collect all the equations into one HTML page, one after another with no other HTML, process that, and then extract the CSS and the individual typeset equations.

Alternatively, you could use the SVG output, whose CSS is the same for all equations. You can get it once, and include that as a CSS file, and process the individual equations without the need of individual CSS files.

I'm also facing the same issue.
After reading some documents about chtml output config,
It seems set adaptiveCSS: false will output all the css needed.

I'm also facing the same issue. After reading some documents about chtml output config, It seems set adaptiveCSS: false will output all the css needed.

It's right. Thanks!