Commit 90617b41 authored by Olivier's avatar Olivier

Assemblage de la couverture directement par pdflatex

Auparavant, la couverture était apposée au document principal avec
un script invoquant la suite pdftk. Commme ce programme n’est plus
disponible sous Ubuntu 18.04, la méthode est modifiée : le pdf de
la couverture est désormais inclus directement par pdflatex avec
l’aide du paquet pdfpages. Avantage : la numérotation des pages
est améliorée (gestion des chiffres romains pour l’introduction).
parent 05cb32b4
\newgeometry{left=5cm,right=5cm,top=1.5cm,bottom=1.5cm,includeheadfoot}
\thispagestyle{empty}
\newgeometry{left=0cm,right=0cm,top=0cm,bottom=0cm,includeheadfoot}
\phantomsection
\pdfbookmark{Couverture}{Couverture}
\thispagestyle{empty}
\includepdf{couverture.pdf}
\newgeometry{left=5cm,right=5cm,top=1.5cm,bottom=1.5cm,includeheadfoot}
\thispagestyle{empty}
\vspace*{\stretch{1}}
......
......@@ -44,7 +44,8 @@
\usepackage{mdframed} % Better framed boxes than framed
\usepackage{titlesec} % for customizing section titles with \titleformat
\usepackage{lscape} % so individual pages can be set to landscape
\usepackage{lscape} % so individual pages can be set to landscape
\usepackage{pdfpages} % Include PDF documents directly using \includepdf{document.pdf}
\usepackage[export]{adjustbox} % Allow use of "max width" argument in \includegraphics
%'export' allows adjustbox keys in \includegraphics
......
\newgeometry{left=5cm,right=5cm,top=1.5cm,bottom=1.5cm,includeheadfoot}
\thispagestyle{empty}
\newgeometry{left=0cm,right=0cm,top=0cm,bottom=0cm,includeheadfoot}
\phantomsection
\pdfbookmark{Couverture}{Couverture}
\thispagestyle{empty}
\includepdf{couverture.pdf}
\newgeometry{left=5cm,right=5cm,top=1.5cm,bottom=1.5cm,includeheadfoot}
\thispagestyle{empty}
\vspace*{\stretch{1}}
......
......@@ -44,7 +44,8 @@
\usepackage{mdframed} % Better framed boxes than framed
\usepackage{titlesec} % for customizing section titles with \titleformat
\usepackage{lscape} % so individual pages can be set to landscape
\usepackage{lscape} % so individual pages can be set to landscape
\usepackage{pdfpages} % Include PDF documents directly using \includepdf{document.pdf}
\usepackage[export]{adjustbox} % Allow use of "max width" argument in \includegraphics
%'export' allows adjustbox keys in \includegraphics
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment