From c2267834e845a136bc729fa585743b51c5abc5fd Mon Sep 17 00:00:00 2001 From: Mylloon Date: Fri, 27 Jan 2023 18:58:27 +0100 Subject: [PATCH] add makefile and comment minted --- TP1/Rapport/.gitignore | 1 + TP1/Rapport/Makefile | 15 +++++++++++++++ TP1/Rapport/rapport.tex | 6 +++--- 3 files changed, 19 insertions(+), 3 deletions(-) create mode 100644 TP1/Rapport/Makefile diff --git a/TP1/Rapport/.gitignore b/TP1/Rapport/.gitignore index e089903..e03e23c 100644 --- a/TP1/Rapport/.gitignore +++ b/TP1/Rapport/.gitignore @@ -1 +1,2 @@ !*.tex +!Makefile diff --git a/TP1/Rapport/Makefile b/TP1/Rapport/Makefile new file mode 100644 index 0000000..47c0ce0 --- /dev/null +++ b/TP1/Rapport/Makefile @@ -0,0 +1,15 @@ +NAME = rapport +TEX = $(NAME).tex +SRC = $(TEX) +PDF = $(TEX:.tex=.pdf) +# FLAGS = -shell-escape # pour minted + +all: $(PDF) + +$(PDF): $(SRC) + @pdflatex $(FLAGS) $(TEX) + pdflatex $(FLAGS) $(TEX) + +clean: + rm -rf _minted-$(NAME)/ $(PDF) $(NAME).aux $(NAME).log $(NAME).out \ + $(NAME).toc $(NAME).fdb_latexmk $(NAME).fls $(NAME).synctex.gz diff --git a/TP1/Rapport/rapport.tex b/TP1/Rapport/rapport.tex index b1fb67d..6b3f527 100644 --- a/TP1/Rapport/rapport.tex +++ b/TP1/Rapport/rapport.tex @@ -10,12 +10,12 @@ \usepackage[hidelinks]{hyperref} % liens cliquable dans la table des matières \usepackage{graphicx} % images -\usepackage{caption} +% \usepackage{caption} \usepackage[a4paper, left=20mm, top=20mm]{geometry} % dimensions de la page -\usepackage{minted} % intégration code -\usemintedstyle{emacs} +% \usepackage{minted} % intégration code +% \usemintedstyle{emacs} \title{\textbf{TP1 - Sokoban}} \author{César PICHON, Florian POSEZ, Omar ANOUAR, Anri KENNEL\\