Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LATEXMK = latexmk -synctex=1 -lualatex -shell-escape
- QPDF = qpdf --object-streams=generate --compress-streams=y \
- --stream-data=compress --compression-level=9 \
- --recompress-flate --optimize-images --linearize \
- --replace-input
- TARGET = mctex
- default: build optimaze
- .PHONY: clean
- build: $(TARGET).tex
- $(LATEXMK) $<
- examples: test/*.tex
- $(LATEXMK) -outdir=test $<
- optimaze: $(TARGET).pdf
- $(QPDF) $<
- clean:
- latexmk -C
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement