add fast web view support

This commit is contained in:
Mylloon 2024-04-25 12:09:03 +02:00
parent 0806530e92
commit 184beafd09
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 6 additions and 0 deletions

View file

@ -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:

View file

@ -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:

View file

@ -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) $@