add fast web view support
This commit is contained in:
parent
92bcffe284
commit
936049ad8e
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -6,6 +6,7 @@ DIRECTORIES = $(filter-out "." ".git",$(shell find . -maxdepth 1 -type d -printf
|
||||||
TEMPLATE = Template
|
TEMPLATE = Template
|
||||||
|
|
||||||
TEXMK = latexmk -lualatex -interaction=nonstopmode
|
TEXMK = latexmk -lualatex -interaction=nonstopmode
|
||||||
|
QPDF = qpdf --linearize --replace-input
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
CP = cp -r
|
CP = cp -r
|
||||||
|
|
||||||
|
@ -19,6 +20,7 @@ build:
|
||||||
@for dir in $(filter-out "$(TEMPLATE)",$(DIRECTORIES)); do \
|
@for dir in $(filter-out "$(TEMPLATE)",$(DIRECTORIES)); do \
|
||||||
cd "$$dir"; \
|
cd "$$dir"; \
|
||||||
$(TEXMK) "$(TEX)"; \
|
$(TEXMK) "$(TEX)"; \
|
||||||
|
$(QPDF) "$(NAME).pdf" 2>/dev/null |:; \
|
||||||
mv $(NAME).pdf "../$(FULLNAME)-$$dir.pdf"; \
|
mv $(NAME).pdf "../$(FULLNAME)-$$dir.pdf"; \
|
||||||
cd ..; \
|
cd ..; \
|
||||||
done;
|
done;
|
||||||
|
|
Loading…
Reference in a new issue