michael-brade / LaTeX.js

JavaScript LaTeX to HTML5 translator
https://latex.js.org
MIT License
736 stars 58 forks source link

Read styles from cli option `stylesheet`, not `style`. #143

Open pdeblanc opened 11 months ago

pdeblanc commented 11 months ago

The --stylesheet command line option wasn't working.

I made my local copy work by editing bin/latex.js in my node_modules. That fixed my problem, so here I made what seems to be the corresponding change to the source file. I have not yet tested by building the latex.js project.