use lualatex instead of pdflatex

This commit is contained in:
Mylloon 2023-03-25 02:46:43 +01:00
parent aaba4bcfaf
commit 9298eab386
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -6,6 +6,7 @@ DIRECTORIES = $(filter-out "." ".git",$(shell find . -maxdepth 1 -type d -printf
TEMP_FILES = aux log tns fdb_latexmk fls synctex.gz pdf out TEMP_FILES = aux log tns fdb_latexmk fls synctex.gz pdf out
TEMPLATE = Template TEMPLATE = Template
TEXMK = latexmk -lualatex
RM = rm -f RM = rm -f
CP = cp -r CP = cp -r
@ -25,7 +26,7 @@ clean-full:
build: build:
@for dir in $(filter-out "$(TEMPLATE)",$(DIRECTORIES)); do \ @for dir in $(filter-out "$(TEMPLATE)",$(DIRECTORIES)); do \
cd "$$dir"; \ cd "$$dir"; \
pdflatex $(TEX); \ $(TEXMK) $(TEX); \
mv $(NAME).pdf "../$(FULLNAME)-$$dir.pdf"; \ mv $(NAME).pdf "../$(FULLNAME)-$$dir.pdf"; \
cd ..; \ cd ..; \
done; done;