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)
|
PDF = $(TEX:.tex=.pdf)
|
||||||
|
|
||||||
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
||||||
|
QPDF = qpdf --linearize --replace-input
|
||||||
RM = rm -rf
|
RM = rm -rf
|
||||||
|
|
||||||
.PHONY: $(PDF)
|
.PHONY: $(PDF)
|
||||||
|
@ -13,6 +14,7 @@ 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 bbl blg sta
|
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc bbl blg sta
|
||||||
clean:
|
clean:
|
||||||
|
|
|
@ -5,12 +5,14 @@ SRC = $(TEX)
|
||||||
PDF = $(TEX:.tex=.pdf)
|
PDF = $(TEX:.tex=.pdf)
|
||||||
|
|
||||||
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
||||||
|
QPDF = qpdf --linearize --replace-input
|
||||||
RM = rm -rf
|
RM = rm -rf
|
||||||
|
|
||||||
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:
|
||||||
|
|
|
@ -6,6 +6,7 @@ PDF = $(TEX:.tex=.pdf)
|
||||||
PKG = projektor.sty
|
PKG = projektor.sty
|
||||||
|
|
||||||
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
TEXMK = latexmk -lualatex -shell-escape -interaction=nonstopmode
|
||||||
|
QPDF = qpdf --linearize --replace-input
|
||||||
WGET = wget -q --show-progress
|
WGET = wget -q --show-progress
|
||||||
RM = rm -rf
|
RM = rm -rf
|
||||||
|
|
||||||
|
@ -15,6 +16,7 @@ all: $(PDF)
|
||||||
$(PDF): %.pdf: %.tex
|
$(PDF): %.pdf: %.tex
|
||||||
ifneq (,$(wildcard $(PKG)))
|
ifneq (,$(wildcard $(PKG)))
|
||||||
@$(TEXMK) $<
|
@$(TEXMK) $<
|
||||||
|
@$(QPDF) $@ 2>/dev/null |:
|
||||||
else
|
else
|
||||||
@$(MAKE) updatepackage
|
@$(MAKE) updatepackage
|
||||||
@$(MAKE) $@
|
@$(MAKE) $@
|
||||||
|
|
Loading…
Reference in a new issue