Skip to content
Snippets Groups Projects
Verified Commit a9dc68df authored by orestis.malaspin's avatar orestis.malaspin
Browse files

try another fix for html standalone

parent 4ba6fcb3
Branches
No related tags found
No related merge requests found
Pipeline #23648 passed
......@@ -10,7 +10,7 @@ PDFOPTIONS += --number-sections
HTMLOPTIONS += -t html5
HTMLOPTIONS += -c css/tufte-css/tufte.css
HTMLOPTIONS += --standalone
HTMLOPTIONS += --standalone --embed-resources
HTMLOPTIONS += --mathjax=MathJax.js
CLASS_SOURCES := $(sort $(filter-out README.md, $(wildcard *.md)))
......@@ -39,7 +39,7 @@ cours.pdf: $(CLASS_SOURCES)
pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $^ --metadata-file metadata.yaml
cours.html: $(CLASS_SOURCES)
pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $^ --metadata-file metadata.yaml
pandoc $(OPTIONS) $(HTMLOPTIONS) -o $@ $^ --metadata-file metadata.yaml
$(PDF): %.pdf: 00_macros.md %.md 10_footer.md
pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $^ --metadata-file metadata.yaml
......@@ -66,7 +66,6 @@ deploy: all
mkdir -p phys/field_lines
cp cours.html phys/index.html
cp cours.pdf phys/cours.pdf
rsync -avzz css phys/
make -C exercices
make -C practical_work
mkdir -p phys/exercices
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment