diff --git a/manuscrit/00_opening/main.tex b/manuscrit/00_opening/main.tex new file mode 100644 index 0000000..0824068 --- /dev/null +++ b/manuscrit/00_opening/main.tex @@ -0,0 +1,11 @@ + +\selectlanguage{french} +\begin{abstract} + Ceci est le résumé de ma thèse. C'est fou, non ? +\end{abstract} +\clearpage + +\selectlanguage{english} +\begin{abstract} + This is my PhD's abstract. Check it out. +\end{abstract} diff --git a/manuscrit/Makefile b/manuscrit/Makefile index b8d42a0..719c8a3 100644 --- a/manuscrit/Makefile +++ b/manuscrit/Makefile @@ -1,10 +1,18 @@ # Latexmk is configured in .latexmkrc BUILD_DIR=build +AUX_DIR=$(BUILD_DIR)/aux CLEANED_PDF=$(BUILD_DIR)/these.pdf MAIN_PDF=$(BUILD_DIR)/main.pdf ALL=$(CLEANED_PDF) -all: $(ALL) +all: _setup $(ALL) + +.PHONY: _setup +_setup: + for dir in $$(find . -name '*.tex' -and -not -path './$(BUILD_DIR)/*'); do \ + mkdir -p "$(AUX_DIR)/$$(dirname "$$dir")"; \ + done + $(CLEANED_PDF): $(MAIN_PDF) qpdf "$<" --linearize "$@" diff --git a/manuscrit/main.tex b/manuscrit/main.tex index eea3854..4a35a3d 100644 --- a/manuscrit/main.tex +++ b/manuscrit/main.tex @@ -7,5 +7,8 @@ \title{Performance study: identifying bottlenecks by means of sensitivity analysis} \begin{document} -Bonsoir. +\selectlanguage{english} +\maketitle + +\include{00_opening/main.tex} \end{document}