summaryrefslogtreecommitdiff
path: root/sphinx/builder.py
diff options
context:
space:
mode:
authorgeorg.brandl <devnull@localhost>2008-08-10 16:59:27 +0000
committergeorg.brandl <devnull@localhost>2008-08-10 16:59:27 +0000
commit3a0e87adccff168d448147e9c9be9ac4a46d8c7e (patch)
treeccc9b448a89d099d067e4f2db67bf0bdc592479d /sphinx/builder.py
parentf04b6fccc55d7d9e860978949419085a8b1896de (diff)
downloadsphinx-3a0e87adccff168d448147e9c9be9ac4a46d8c7e.tar.gz
Merged revisions 65566-65567,65623,65625 via svnmerge from
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x ........ r65566 | georg.brandl | 2008-08-07 09:11:11 +0000 (Thu, 07 Aug 2008) | 2 lines Clarification for the ref role. ........ r65567 | georg.brandl | 2008-08-07 09:11:25 +0000 (Thu, 07 Aug 2008) | 2 lines Rebuild everything if extensions change. ........ r65623 | georg.brandl | 2008-08-10 11:18:42 +0000 (Sun, 10 Aug 2008) | 2 lines Unify handling of LaTeX escaping, and add some more replacements. ........ r65625 | georg.brandl | 2008-08-10 11:25:41 +0000 (Sun, 10 Aug 2008) | 2 lines Make tex escapes a module. ........
Diffstat (limited to 'sphinx/builder.py')
-rw-r--r--sphinx/builder.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/builder.py b/sphinx/builder.py
index f3058bf5..adf77007 100644
--- a/sphinx/builder.py
+++ b/sphinx/builder.py
@@ -26,7 +26,7 @@ from docutils.frontend import OptionParser
from docutils.readers.doctree import Reader as DoctreeReader
from sphinx import addnodes, locale, __version__
-from sphinx.util import ensuredir, relative_uri, SEP, os_path, json
+from sphinx.util import ensuredir, relative_uri, SEP, os_path, json, texescape
from sphinx.htmlhelp import build_hhx
from sphinx.htmlwriter import HTMLWriter, HTMLTranslator, SmartyPantsHTMLTranslator
from sphinx.textwriter import TextWriter
@@ -899,6 +899,7 @@ class LaTeXBuilder(Builder):
def init(self):
self.docnames = []
self.document_data = []
+ texescape.init()
def get_outdated_docs(self):
return 'all documents' # for now