diff options
-rwxr-xr-x | doc/postprocess.py | 1 | ||||
-rw-r--r-- | doc/source/conf.py | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/doc/postprocess.py b/doc/postprocess.py index b7f912efe..1c6ef1b2e 100755 --- a/doc/postprocess.py +++ b/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.') diff --git a/doc/source/conf.py b/doc/source/conf.py index 70c65207b..6261bd8bb 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -170,6 +170,7 @@ latex_documents = [ # 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 |