From c2f5df6f37becf1abb3334952674953c72ed3d28 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 19 Jun 2018 01:26:19 +0200 Subject: [PATCH] m.math: mark private variable as private. --- pelican-plugins/latex2svgextra.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pelican-plugins/latex2svgextra.py b/pelican-plugins/latex2svgextra.py index 4a0d8699..a71a2a03 100644 --- a/pelican-plugins/latex2svgextra.py +++ b/pelican-plugins/latex2svgextra.py @@ -82,7 +82,7 @@ _patch_dst = r""" id|xlink:href)='(?P#?)(?Pg\d+-\d+|page\d+)'""") _unique_dst = r"""\g='\geq{counter}-\g'""" @@ -154,8 +154,8 @@ def patch(formula, svg, depth, attribs): else: style = ' vertical-align: -{:.3f}em;'.format(depth*1.25) def repl(match): return _patch_dst.format( - width=pt2em*float(match.group('width')), - height=pt2em*float(match.group('height')), + width=_pt2em*float(match.group('width')), + height=_pt2em*float(match.group('height')), style=style, viewBox=match.group('viewBox'), attribs=attribs, -- 2.30.2