From: Thomas Monjalon Date: Wed, 22 May 2019 17:55:24 +0000 (+0200) Subject: doc: robustify PDF build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1f7203d6155d473173dd4ba98cb81c46c6c1b5c8;p=dpdk.git doc: robustify PDF build In some environment like the current dpdk.org server, there can be some errors due to symbols in titles, as it was the case before this commit in DPDK 18.05: commit 551d148944dc ("doc: remove flow API migration section") ! LaTeX Error: Bad math environment delimiter. It can be avoided thanks to the Latex command \robustify. Cc: stable@dpdk.org Signed-off-by: Thomas Monjalon Acked-by: John McNamara --- diff --git a/doc/guides/conf.py b/doc/guides/conf.py index a85f6c9d99..6d5001a07b 100644 --- a/doc/guides/conf.py +++ b/doc/guides/conf.py @@ -67,6 +67,9 @@ custom_latex_preamble = r""" \usepackage{helvet} \renewcommand{\familydefault}{\sfdefault} \RecustomVerbatimEnvironment{Verbatim}{Verbatim}{xleftmargin=5mm} +\usepackage{etoolbox} +\robustify\( +\robustify\) """ # Configuration for the latex/pdf docs.