aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx
diff options
context:
space:
mode:
authorClément Pit-Claudel2018-05-18 01:33:12 -0400
committerThéo Zimmermann2018-09-20 10:12:55 +0200
commit145da17e8312a7963229e36ef7b1448299357117 (patch)
tree2052d04b82b203fbb039ef01095ec998c48f6c6c /doc/sphinx
parentaaabad040eaf50c6c11823d64a08027c080aa113 (diff)
[doc] Get rid of two Sphinx warnings
Diffstat (limited to 'doc/sphinx')
-rwxr-xr-xdoc/sphinx/conf.py3
-rw-r--r--doc/sphinx/refman-preamble.rst2
2 files changed, 4 insertions, 1 deletions
diff --git a/doc/sphinx/conf.py b/doc/sphinx/conf.py
index 8b29d1e9f9..b85cf57a98 100755
--- a/doc/sphinx/conf.py
+++ b/doc/sphinx/conf.py
@@ -316,6 +316,9 @@ latex_elements = {
% Style tweaks
\newcssclass{sigannot}{\textrm{#1:}}
+
+ % Silence 'LaTeX Warning: Command \nobreakspace invalid in math mode'
+ \everymath{\def\nobreakspace{\ }}
"""
}
diff --git a/doc/sphinx/refman-preamble.rst b/doc/sphinx/refman-preamble.rst
index aa581e1ee1..c662028773 100644
--- a/doc/sphinx/refman-preamble.rst
+++ b/doc/sphinx/refman-preamble.rst
@@ -30,7 +30,7 @@
.. |class_2| replace:: `class`\ :math:`_{2}`
.. |Coq| replace:: :smallcaps:`Coq`
.. |CoqIDE| replace:: :smallcaps:`CoqIDE`
-.. |eq_beta_delta_iota_zeta| replace:: `=`\ :math:`_{\small{\beta\delta\iota\zeta}}`
+.. |eq_beta_delta_iota_zeta| replace:: `=`\ :math:`_{\beta\delta\iota\zeta}`
.. |Gallina| replace:: :smallcaps:`Gallina`
.. |ident_0| replace:: `ident`\ :math:`_{0}`
.. |ident_1,1| replace:: `ident`\ :math:`_{1,1}`