use lualatex
This commit is contained in:
parent
493dd55889
commit
cedc53cfab
2 changed files with 8 additions and 6 deletions
|
@ -2,13 +2,14 @@ NAME = rapport
|
||||||
TEX = $(NAME).tex
|
TEX = $(NAME).tex
|
||||||
SRC = $(TEX)
|
SRC = $(TEX)
|
||||||
PDF = $(TEX:.tex=.pdf)
|
PDF = $(TEX:.tex=.pdf)
|
||||||
# FLAGS = -shell-escape # pour minted
|
|
||||||
|
TEXMK = latexmk -lualatex
|
||||||
|
|
||||||
all: $(PDF)
|
all: $(PDF)
|
||||||
|
|
||||||
$(PDF): $(SRC)
|
$(PDF): $(SRC)
|
||||||
@pdflatex $(FLAGS) $(TEX)
|
@$(TEXMK) $(TEX)
|
||||||
pdflatex $(FLAGS) $(TEX)
|
$(TEXMK) $(FLAGS) $(TEX)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf _minted-$(NAME)/ $(PDF) $(NAME).aux $(NAME).log $(NAME).out \
|
rm -rf _minted-$(NAME)/ $(PDF) $(NAME).aux $(NAME).log $(NAME).out \
|
||||||
|
|
|
@ -2,13 +2,14 @@ NAME = slides
|
||||||
TEX = $(NAME).tex
|
TEX = $(NAME).tex
|
||||||
SRC = $(TEX)
|
SRC = $(TEX)
|
||||||
PDF = $(TEX:.tex=.pdf)
|
PDF = $(TEX:.tex=.pdf)
|
||||||
# FLAGS = -shell-escape # pour minted
|
|
||||||
|
TEXMK = latexmk -shell-escape -lualatex
|
||||||
|
|
||||||
all: $(PDF)
|
all: $(PDF)
|
||||||
|
|
||||||
$(PDF): $(SRC)
|
$(PDF): $(SRC)
|
||||||
@pdflatex $(FLAGS) $(TEX)
|
@$(TEXMK) $(TEX)
|
||||||
pdflatex $(FLAGS) $(TEX)
|
$(TEXMK) $(TEX)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf _minted-$(NAME)/ $(PDF) $(NAME).aux $(NAME).log $(NAME).out \
|
rm -rf _minted-$(NAME)/ $(PDF) $(NAME).aux $(NAME).log $(NAME).out \
|
||||||
|
|
Reference in a new issue