add fast web view support
This commit is contained in:
parent
0806530e92
commit
184beafd09
3 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@ SRC = $(TEX)
|
|||
PDF = $(TEX:.tex=.pdf)
|
||||
|
||||
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
||||
QPDF = qpdf --linearize --replace-input
|
||||
RM = rm -rf
|
||||
|
||||
.PHONY: $(PDF)
|
||||
|
@ -13,6 +14,7 @@ all: $(PDF)
|
|||
|
||||
$(PDF): %.pdf: %.tex
|
||||
$(TEXMK) $<
|
||||
@$(QPDF) $@ 2>/dev/null |:
|
||||
|
||||
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc bbl blg sta
|
||||
clean:
|
||||
|
|
|
@ -5,12 +5,14 @@ SRC = $(TEX)
|
|||
PDF = $(TEX:.tex=.pdf)
|
||||
|
||||
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
||||
QPDF = qpdf --linearize --replace-input
|
||||
RM = rm -rf
|
||||
|
||||
all: $(PDF)
|
||||
|
||||
$(PDF): %.pdf: %.tex
|
||||
$(TEXMK) $<
|
||||
@$(QPDF) $@ 2>/dev/null |:
|
||||
|
||||
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc
|
||||
clean:
|
||||
|
|
|
@ -6,6 +6,7 @@ PDF = $(TEX:.tex=.pdf)
|
|||
PKG = projektor.sty
|
||||
|
||||
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
||||
QPDF = qpdf --linearize --replace-input
|
||||
WGET = wget -q --show-progress
|
||||
RM = rm -rf
|
||||
|
||||
|
@ -15,6 +16,7 @@ all: $(PDF)
|
|||
$(PDF): %.pdf: %.tex
|
||||
ifneq (,$(wildcard $(PKG)))
|
||||
@$(TEXMK) $<
|
||||
@$(QPDF) $@ 2>/dev/null |:
|
||||
else
|
||||
@$(MAKE) updatepackage
|
||||
@$(MAKE) $@
|
||||
|
|
Loading…
Reference in a new issue