Skip to content

Commit 1fc5dd3

Browse files
authored
Merge pull request #3718 from henrikt-ma/nobreakuntex
Apply suggested workaround for LaTeXML issue
2 parents 09bdd63 + 62f5d43 commit 1fc5dd3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ MLS.pdf: *.tex chapters/*.tex
2222

2323
# Seems to be some issue with graphicpath, so set path here as well
2424
# Not using %.html since nmake does not support it (instead using old-style suffix rules)
25+
# The --preload flag is a workaround proposed in the following LaTeXML issue:
26+
# - https://github.com/brucemiller/LaTeXML/issues/2553 -- fixed on 'master' as of 2025-05-07
2527
index.html: MLS.tex chapters/*.tex
26-
$(LATEXMLPREFIX)latexml MLS.tex --includestyles --path=media --dest MLS.xml
28+
$(LATEXMLPREFIX)latexml MLS.tex --preload=[nobreakuntex]latexml.sty --includestyles --path=media --dest MLS.xml
2729
$(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 $@
2830
.scripts/patch-viewport.sh
2931
.scripts/patch-body-ios-hover.sh

0 commit comments

Comments
 (0)