Skip to content

Commit

Permalink
Generalize makefile rule to simplify building small test documents
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed May 5, 2020
1 parent 7022464 commit d5c2b2f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ MLS.pdf: *.tex chapters/*.tex
pdflatex MLS.tex

# Seems to be some issue with graphicpath, so set path here as well
MLS.html: *.tex chapters/*.tex
$(LATEXMLPREFIX)latexml MLS.tex --path=media --dest MLS.xml
$(LATEXMLPREFIX)latexmlpost MLS.xml -format html -pmml --splitat=chapter --splitnaming=labelrelative --javascript=css/LaTeXML-maybeMathJax.js --navigationtoc=context --css=css/LaTeXML-navbar-left.css --dest MLS.html
%.html: %.tex chapters/*.tex
$(LATEXMLPREFIX)latexml $*.tex --path=media --dest $*.xml
$(LATEXMLPREFIX)latexmlpost $*.xml -format html -pmml --splitat=chapter --splitnaming=labelrelative --javascript=css/LaTeXML-maybeMathJax.js --navigationtoc=context --css=css/LaTeXML-navbar-left.css --dest $@

0 comments on commit d5c2b2f

Please sign in to comment.