Skip to content

Commit

Permalink
Name the HTML entry page 'index.html'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Dec 13, 2021
1 parent 4ee0321 commit a121b6b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .CI/Jenkinsfile
Expand Up @@ -30,9 +30,10 @@ pipeline {
sh 'mkdir -p /tmp/jenkins'
sh 'latexmk -pdf MLS.tex'
sh 'latexml MLS.tex --includestyles --path=media --dest MLS.xml'
sh 'latexmlpost MLS.xml -format html -pmml --splitat=chapter --splitnaming=labelrelative --javascript=LaTeXML-maybeMathjax.js --navigationtoc=context --css=css/MLS.css --css=css/MLS-navbar-left.css --dest MLS.html'
sh 'latexmlpost MLS.xml -format html -pmml --splitat=chapter --splitnaming=labelrelative --javascript=LaTeXML-maybeMathjax.js --navigationtoc=context --css=css/MLS.css --css=css/MLS-navbar-left.css --dest index.html'
sh '.scripts/patch-viewport.sh'
sh '.scripts/patch-body-ios-hover.sh'
sh 'ln -s index.html MLS.html'
sh 'ln -s preface.html Chx1.html'
sh 'ln -s lexical-structure.html Ch2.html'
sh 'ln -s operators-and-expressions.html Ch3.html'
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -22,7 +22,7 @@ MLS.pdf: *.tex chapters/*.tex

# Seems to be some issue with graphicpath, so set path here as well
# Not using %.html since nmake does not support it (instead using old-style suffix rules)
MLS.html: MLS.tex chapters/*.tex
index.html: MLS.tex chapters/*.tex
$(LATEXMLPREFIX)latexml MLS.tex --includestyles --path=media --dest MLS.xml
$(LATEXMLPREFIX)latexmlpost MLS.xml -format html -pmml --splitat=chapter --splitnaming=labelrelative --javascript=LaTeXML-maybeMathjax.js --navigationtoc=context --css=css/MLS.css --css=css/MLS-navbar-left.css --dest $@
.scripts/patch-viewport.sh
Expand Down

0 comments on commit a121b6b

Please sign in to comment.