Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

docs: tweak latex build to recognize U+00A0 as a non-breaking space

  • Loading branch information...
commit 2194af203612fd5790f9f9673e007ca411ed029a 1 parent 3b1e1e3
@pv pv authored
Showing with 1 addition and 1 deletion.
  1. +0 −1  doc/postprocess.py
  2. +1 −0  doc/source/conf.py
View
1  doc/postprocess.py
@@ -44,7 +44,6 @@ def process_tex(lines):
"""
new_lines = []
for line in lines:
- line = unicode(line, 'utf-8').replace(u"\00a0", u"~").encode('utf-8')
if (line.startswith(r'\section{numpy.')
or line.startswith(r'\subsection{numpy.')
or line.startswith(r'\subsubsection{numpy.')
View
1  doc/source/conf.py
@@ -170,6 +170,7 @@
# Additional stuff for the LaTeX preamble.
latex_preamble = r'''
\usepackage{amsmath}
+\DeclareUnicodeCharacter{00A0}{\nobreakspace}
% In the parameters section, place a newline after the Parameters
% header
Please sign in to comment.
Something went wrong with that request. Please try again.