From 0bb0c0089136150dc65c10a409466818bea3e357 Mon Sep 17 00:00:00 2001
From: Dorchies David <david.dorchies@irstea.fr>
Date: Fri, 15 Feb 2019 11:55:29 +0100
Subject: [PATCH] =?UTF-8?q?Conversion=20automatique=20des=20images=20PS=20?=
 =?UTF-8?q?pour=20LatexPDF.=20Attention=20!=20Il=20faut=20mettre=20=C3=A0?=
 =?UTF-8?q?=20jour=20le=20chemin=20vers=20ps2pdf=20pour=20chaque=20utilisa?=
 =?UTF-8?q?teur.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 rapport_francais/preambule_rapport_francais.tex | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/rapport_francais/preambule_rapport_francais.tex b/rapport_francais/preambule_rapport_francais.tex
index d283e71..7aebdff 100644
--- a/rapport_francais/preambule_rapport_francais.tex
+++ b/rapport_francais/preambule_rapport_francais.tex
@@ -13,6 +13,22 @@
 \usepackage{amssymb}
 \usepackage{graphicx}
 
+% Compilation avec latex ou pdflatex
+\usepackage{ifpdf}
+\ifpdf
+  \usepackage{epstopdf}
+  \epstopdfsetup{update}
+  \DeclareGraphicsExtensions{.pdf,.png,.jpg, .eps, .ps}
+  \DeclareGraphicsRule{.ps}{pdf}{.pdf}{`C:/DocDD/OnCld/Apps/USBTeX-1.7/programs/MiKTeX_2.9/miktex/bin/ps2pdf -dEPSCrop -dNOSAFER #1 \noexpand\OutputFile}
+\else
+  \DeclareGraphicsExtensions{.eps, .ps}
+\fi
+
+% Beau tableau
+\usepackage{booktabs}
+
+
+
 % Quotations
 % @see https://fr.sharelatex.com/learn/Typesetting_quotations
 % @usage the environment displayquote prints a display quotation and the command \textquote an in-line quotation
-- 
GitLab