Skip to content
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

Explain how this is supposed to be used #11

Open
pv opened this issue Apr 30, 2017 · 2 comments
Open

Explain how this is supposed to be used #11

pv opened this issue Apr 30, 2017 · 2 comments
Labels

Comments

@pv
Copy link

pv commented Apr 30, 2017

Please include a full example in README.md on how this is supposed to be used,
for someone not familiar with nodejs.

In the infinite time limit, I can figure it out, but basically listing set of the commands
required would be a big help. For example, the following is not the right thing to do
apparently:

git clone https://github.com/mathjax/MathJax-grunt-cleaner.git
cd MathJax-grunt-cleaner
wget https://github.com/mathjax/MathJax/archive/master.zip && unzip master.zip
npm install grunt --save-dev grunt-contrib-clean grunt-regex-replace
grunt MML_SVG_TeX

EDIT: apparently, it's the Mathjax source tree top level should be copied to the directory where Gruntfile.js is...

@sebryu
Copy link

sebryu commented May 5, 2017

I have same problem as you, and I'm not very familiar with grunt, but I managed to make it work doing following:

git clone https://github.com/mathjax/MathJax-grunt-cleaner.git
cd MathJax-grunt-cleaner
wget https://github.com/mathjax/MathJax/archive/master.zip && unzip MathJax-master.zip
npm i grunt-cli -g
npm i
cp -r node_modules/ MathJax-master/
cp Gruntfile.js MathJax-master/
cd MathJax-master/
grunt MML_SVG_TeX
rm -r Gruntfile.js node_modules/

@pkra
Copy link
Contributor

pkra commented May 18, 2017

Sorry, this fell of our radar.

This tool is meant as an example and was meant for Grunt users (such as the project this came from).

Besides the Gruntfile here, you can check our guide in the mathjax-docs wiki for the thinking behind this.

@pkra pkra added the question label May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants