summaryrefslogtreecommitdiff
path: root/sphinx/writers/latex.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/writers/latex.py')
-rw-r--r--sphinx/writers/latex.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sphinx/writers/latex.py b/sphinx/writers/latex.py
index c657664af..b7d80860b 100644
--- a/sphinx/writers/latex.py
+++ b/sphinx/writers/latex.py
@@ -697,9 +697,7 @@ class LaTeXTranslator(nodes.NodeVisitor):
self.babel_defmacro('\\pageautorefname', self.encode(_('page')))
self.elements['numfig_format'] = self.generate_numfig_format(builder)
- self.highlighter = highlighting.PygmentsBridge(
- 'latex',
- builder.config.pygments_style, builder.config.trim_doctest_flags)
+ self.highlighter = highlighting.PygmentsBridge('latex', builder.config.pygments_style)
self.context = [] # type: List[Any]
self.descstack = [] # type: List[unicode]
self.table = None # type: Table