From 591adeeb8464cd7ce953a2d66aab922b83888f10 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Wed, 30 May 2018 16:24:02 +0200 Subject: [PATCH] [FIX] latex style: compatibility with sphinx 1.6+ As of 1.6 and PR sphinx-doc/sphinx#3550, \ifsphinxpdfoutput is gone. It was not really necessary in the first place, mostly a leftover from an old copy of sphinx's \maketitle commands. Also make the title slightly less huge ;-) --- _static/latex/odoo.sty | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/_static/latex/odoo.sty b/_static/latex/odoo.sty index 3f313460b..d334203f9 100644 --- a/_static/latex/odoo.sty +++ b/_static/latex/odoo.sty @@ -82,17 +82,11 @@ \renewcommand{\footrulewidth}{0.1pt} \renewcommand{\maketitle}{% - \noindent\rule{\textwidth}{1pt}\ifsphinxpdfoutput\newline\null\fi\par - \ifsphinxpdfoutput - \begingroup - %\pdfstringdefDisableCommands{\def\\{, }\def\endgraf{ }\def\and{, }}% - %\hypersetup{pdfauthor={\@author}, pdftitle={\@title}}% - \endgroup - \fi + \noindent\rule{\textwidth}{1pt}\par \begin{flushright} \sphinxlogo \py@HeaderFamily - {\Huge \@title }\par + {\huge \@title }\par \end{flushright} \@thanks \setcounter{footnote}{0} @@ -118,4 +112,4 @@ \newpage } -\makeatother \ No newline at end of file +\makeatother