Commits

Julian Diaz committed 8f810b0

Solve conflict with main fork

Comments (0)

Files changed (1)

sphinxcontrib/tikz.py

     latex = DOC_HEAD % libs
     latex += self.builder.config.tikz_latex_preamble
     if stringsubst:
-        tikz = tikz % {'wd': curdir}
+        tikz = Template(tikz).substitute(wd=curdir.replace('\\','/'))
     if node['include'] == '':
         tikz = '\\begin{tikzpicture}\n' + tikz + '\n\\end{tikzpicture}'
     latex += DOC_BODY % tikz