From d3569bf9c8d132b59a11991ffcb33931ebb4ba58 2014-06-05 08:18:15 From: Jörg Dietrich Date: 2014-06-05 08:18:15 Subject: [PATCH] Enclose \ldots with {} Fixes #5787, change made directly from within Github. Haven't run the test suite. --- diff --git a/IPython/nbconvert/filters/latex.py b/IPython/nbconvert/filters/latex.py index e03a945..e24dbb6 100755 --- a/IPython/nbconvert/filters/latex.py +++ b/IPython/nbconvert/filters/latex.py @@ -20,7 +20,7 @@ import re #----------------------------------------------------------------------------- LATEX_RE_SUBS = ( - (re.compile(r'\.\.\.+'), r'\\ldots'), + (re.compile(r'\.\.\.+'), r'{\\ldots}'), ) # Latex substitutions for escaping latex.