summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2019-05-22 19:55:24 +0200
committerThomas Monjalon <thomas@monjalon.net>2019-11-16 10:28:38 +0100
commit885d7ecb96c2af5bca7651f9f2eaa4cbf64413d8 (patch)
treedf0706d1b3e0878f30310b14806f15c447157eed
parent401b7a4146081bcc451c1a2d4b6cd3d8929b3438 (diff)
downloaddpdk-stable-17.11.zip
dpdk-stable-17.11.tar.gz
dpdk-stable-17.11.tar.xz
doc: robustify PDF build17.11
[ upstream commit 1f7203d6155d473173dd4ba98cb81c46c6c1b5c8 ] 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. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: John McNamara <john.mcnamara@intel.com>
-rw-r--r--doc/guides/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/guides/conf.py b/doc/guides/conf.py
index 084512d..ed9bb5b 100644
--- a/doc/guides/conf.py
+++ b/doc/guides/conf.py
@@ -94,6 +94,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.