-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking changes: - disable again mathMLSpacing option in MathJax due to poor results - improve listings with line numbers (fix #25) - only add --navigationtoc=context when using the GitBook style - Docker container uses root again for compatibility with GitHub actions - template GitHub workflow improvements
- Loading branch information
Showing
6 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -146,4 +146,3 @@ EOF | |
|
||
WORKDIR /source | ||
ENTRYPOINT ["/run-bookml"] | ||
USER ubuntu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# BookML: bookdown flavoured GitBook port for LaTeXML | ||
# BookML: bookdown flavoured GitBook port for LaTeXML | ||
# Copyright (C) 2021-23 Vincenzo Mantova <[email protected]> | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
|
@@ -26,7 +26,7 @@ SYNCTEX ?= 5 # must produce *.synctex.gz | |
LATEXML ?= latexml | ||
LATEXMLPOST ?= latexmlpost | ||
LATEXMLFLAGS ?= | ||
LATEXMLPOSTFLAGS ?= --urlstyle=file --navigationtoc=context --sourcedirectory=. | ||
LATEXMLPOSTFLAGS ?= --urlstyle=file --sourcedirectory=. | ||
# (4) for *adding* options without changing the default ones | ||
LATEXMLEXTRAFLAGS ?= | ||
LATEXMLPOSTEXTRAFLAGS ?= --pmml --mathtex | ||
|
@@ -352,7 +352,7 @@ $(AUX_DIR)/html/%/index.html: $$(AUX_DIR)/xml/$$*.xml $$(BOOKML_DEPS_HTML) $$(wi | |
@$(if $(_recurse),,$(call bml.prog,latexmlpost: $*.xml → $*/index.html)) | ||
-@$(if $(_recurse),,$(call bml.cmd,$(RMDIR) $(call bml.ospath,$(AUX_DIR)/html/$*))) | ||
@$(if $(_recurse),,$(call bml.cmd,$(LATEXMLPOST) $(if $(wildcard LaTeXML-html5.xsl),,--stylesheet=bookml/XSLT/bookml-html5.xsl) \ | ||
$(if $(SPLITAT),--splitat=$(SPLITAT)) --xsltparameter=BMLSEARCH:yes $(LATEXMLPOSTFLAGS) $(LATEXMLPOSTEXTRAFLAGS) \ | ||
$(if $(SPLITAT),--splitat=$(SPLITAT)) --xsltparameter=BMLSEARCH:yes $(LATEXMLPOSTAUTOFLAGS) $(LATEXMLPOSTFLAGS) $(LATEXMLPOSTEXTRAFLAGS) \ | ||
--dbfile=$(AUX_DIR)/latexmlaux/"$*".LaTeXML.db --log="$(AUX_DIR)/latexmlaux/$*.latexmlpost.log" --destination="$@" "$<")) | ||
@$(if $(_recurse),,$(call bml.cmd,$(PERL) bookml/search_index.pl "$(AUX_DIR)/html/$*")) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters