From 3320913ebe57cd1fc4e4561d615ed0417f8672e0 Mon Sep 17 00:00:00 2001 From: cgohlke Date: Fri, 1 Aug 2014 13:14:51 -0700 Subject: [PATCH] Fix mathmpl images not showing in HTML Help (CHM) --- lib/matplotlib/sphinxext/mathmpl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/sphinxext/mathmpl.py b/lib/matplotlib/sphinxext/mathmpl.py index a2c6501d34d9..019823b14fa1 100644 --- a/lib/matplotlib/sphinxext/mathmpl.py +++ b/lib/matplotlib/sphinxext/mathmpl.py @@ -72,7 +72,7 @@ def latex2html(node, source): if not os.path.exists(destdir): os.makedirs(destdir) dest = os.path.join(destdir, '%s.png' % name) - path = os.path.join(setup.app.builder.imgpath, 'mathmpl') + path = '/'.join((setup.app.builder.imgpath, 'mathmpl')) depth = latex2png(latex, dest, node['fontset'])