Advertisement
Darkness9724

Modern Computer Typography Makefile

Sep 3rd, 2021 (edited)
1,554
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Make 0.46 KB | None | 0 0
  1. LATEXMK = latexmk -synctex=1 -lualatex -shell-escape
  2. QPDF = qpdf --object-streams=generate --compress-streams=y \
  3.         --stream-data=compress --compression-level=9 \
  4.         --recompress-flate --optimize-images --linearize \
  5.         --replace-input
  6. TARGET = mctex
  7.  
  8. default: build optimaze
  9. .PHONY: clean
  10.  
  11. build: $(TARGET).tex
  12.     $(LATEXMK) $<
  13.  
  14. examples: test/*.tex
  15.     $(LATEXMK) -outdir=test $<
  16.  
  17. optimaze: $(TARGET).pdf
  18.     $(QPDF) $<
  19.  
  20. clean:
  21.     latexmk -C
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement