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

View file

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

View file

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