support fast web view
This commit is contained in:
parent
561116ee03
commit
526bc15ec8
1 changed files with 2 additions and 0 deletions
|
@ -5,11 +5,13 @@ SRC = $(TEX)
|
||||||
PDF = $(TEX:.tex=.pdf)
|
PDF = $(TEX:.tex=.pdf)
|
||||||
|
|
||||||
TEXMK = latexmk -shell-escape -lualatex -interaction=nonstopmode
|
TEXMK = latexmk -shell-escape -lualatex -interaction=nonstopmode
|
||||||
|
QPDF = qpdf --linearize --replace-input
|
||||||
|
|
||||||
all: $(PDF)
|
all: $(PDF)
|
||||||
|
|
||||||
$(PDF): %.pdf: %.tex
|
$(PDF): %.pdf: %.tex
|
||||||
$(TEXMK) $<
|
$(TEXMK) $<
|
||||||
|
@$(QPDF) $@ 2>/dev/null |:
|
||||||
|
|
||||||
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc
|
||||||
clean:
|
clean:
|
||||||
|
|
Reference in a new issue