use lualatex

This commit is contained in:
Mylloon 2023-04-07 17:21:50 +02:00
parent 493dd55889
commit cedc53cfab
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 8 additions and 6 deletions

View file

@ -2,13 +2,14 @@ NAME = rapport
TEX = $(NAME).tex
SRC = $(TEX)
PDF = $(TEX:.tex=.pdf)
# FLAGS = -shell-escape # pour minted
TEXMK = latexmk -lualatex
all: $(PDF)
$(PDF): $(SRC)
@pdflatex $(FLAGS) $(TEX)
pdflatex $(FLAGS) $(TEX)
@$(TEXMK) $(TEX)
$(TEXMK) $(FLAGS) $(TEX)
clean:
rm -rf _minted-$(NAME)/ $(PDF) $(NAME).aux $(NAME).log $(NAME).out \

View file

@ -2,13 +2,14 @@ NAME = slides
TEX = $(NAME).tex
SRC = $(TEX)
PDF = $(TEX:.tex=.pdf)
# FLAGS = -shell-escape # pour minted
TEXMK = latexmk -shell-escape -lualatex
all: $(PDF)
$(PDF): $(SRC)
@pdflatex $(FLAGS) $(TEX)
pdflatex $(FLAGS) $(TEX)
@$(TEXMK) $(TEX)
$(TEXMK) $(TEX)
clean:
rm -rf _minted-$(NAME)/ $(PDF) $(NAME).aux $(NAME).log $(NAME).out \