Skip to content
Snippets Groups Projects
Select Git revision
  • 36cc075c8edf4f9d99f67a60e24248b2c054098f
  • master default protected
  • patch-1
  • headers
  • revampProbStat
  • v1.0.4
  • v1.0.3
  • v1.0.2
  • v1.0.1
  • v1.0.0
  • untagged-5f91b9934a0d64190e08
  • untagged-185a5c9790d5fd86d5a7
  • untagged-d08ea895726d1693fe75
  • untagged-0a69f730a9edf8f452c2
  • untagged-da21599a55453b349309
  • untagged-c23b343a32e6ba6b41ef
  • untagged-f970fb8b2d5aa387c7e1
  • untagged-82bd404cbb7da09ef714
  • untagged-9d1a8d01c160be73c2d7
  • untagged-a7d0fd1e09f98f58b2e7
  • untagged-67162b0c997bec772454
  • untagged-e4eb7c83718bffcd6dc3
  • untagged-942bdedb39bd9d9a9db2
  • untagged-2023d0fb6c34f29165ee
  • untagged-45a5d503565c4f0dc073
25 results

Makefile

Blame
  • Forked from orestis.malaspin / math_tech_info
    223 commits behind the upstream repository.
    Makefile 773 B
    STYLES := css/tufte-css/tufte.css \
    	css/pandoc.css \
    	css/pandoc-solarized.css \
    	css/tufte-extra.css
    
    OPTIONS = --toc
    OPTIONS += --filter=pandoc-numbering
    OPTIONS += --filter=pandoc-crossref
    OPTIONS += --pdf-engine pdflatex
    
    PDFOPTIONS = --highlight-style kate
    PDFOPTIONS += --number-sections
    PDFOPTIONS += --template=./default.latex
    
    
    HTMLOPTIONS += -t html5
    HTMLOPTIONS += -c css/styling.css
    HTMLOPTIONS += --self-contained
    HTMLOPTIONS += --mathjax=MathJax.js
    
    MD=$(wildcard *.md)
    HTML=$(MD:%.md=%.html)
    PDF=$(MD:%.md=%.pdf)
    
    
    all: $(HTML) $(PDF)
    
    %.pdf: %.md Makefile
    	pandoc -s $(OPTIONS) $(PDFOPTIONS) -o $@ $<
    
    %.html: %.md Makefile
    	pandoc -s $(OPTIONS) $(HTMLOPTIONS) -o $@ $<
    
    deploy: all
    	mkdir -p mti
    	cp cours.html mti/index.html
    
    clean:
    	rm -rf *.html *.pdf