From c165bb53eac9c84b404f6b26c95b941e0223cdd0 Mon Sep 17 00:00:00 2001
From: Guillaume Pasero <guillaume.pasero@c-s.fr>
Date: Wed, 6 Feb 2019 16:01:13 +0100
Subject: [PATCH] =?UTF-8?q?BUG:=20fix=20CookBook=20build=20with=20Lauren?=
 =?UTF-8?q?=C8=9Biu=20special=20characters?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 Documentation/Cookbook/rst/conf.py.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/Cookbook/rst/conf.py.in b/Documentation/Cookbook/rst/conf.py.in
index 661328eebb..77cd19e5c4 100644
--- a/Documentation/Cookbook/rst/conf.py.in
+++ b/Documentation/Cookbook/rst/conf.py.in
@@ -206,6 +206,13 @@ htmlhelp_basename = 'OTBCookBookdoc'
 # -- Options for LaTeX output ---------------------------------------------
 
 latex_elements = {
+  'inputenc': '\\ifPDFTeX\n'
+              '  \\usepackage[latin10,utf8]{inputenc}\n'
+              '\\fi',
+  'utf8extra': '\\ifdefined\\DeclareUnicodeCharacter\n'
+               '  \\DeclareUnicodeCharacter{00A0}{\\nobreakspace}\n'
+               '  \\DeclareUnicodeCharacter{021B}{\\textcommabelow t}\n'
+               '\\fi'
 # The paper size ('letterpaper' or 'a4paper').
 #'papersize': 'letterpaper',
 
-- 
GitLab