From 67fc95d8cd22d0ab02509cd634fc9532e80b20bc Mon Sep 17 00:00:00 2001 From: Juergen Spitzmueller Date: Fri, 24 Nov 2017 11:56:41 +0100 Subject: [PATCH] Assure print function compatibility in python 2.x (cherry picked from commit eb2dbb8b098085df2f801fe1f30692c09081d87e) --- lib/scripts/svg2pdftex.py | 2 ++ lib/scripts/svg2pstex.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/lib/scripts/svg2pdftex.py b/lib/scripts/svg2pdftex.py index 941a58776f..d1e0bf33a8 100644 --- a/lib/scripts/svg2pdftex.py +++ b/lib/scripts/svg2pdftex.py @@ -27,6 +27,8 @@ # the real PDF file would be overwritten by a TeX file named outputfile.pdf. # +from __future__ import print_function + import os, sys, re, subprocess def runCommand(cmd): diff --git a/lib/scripts/svg2pstex.py b/lib/scripts/svg2pstex.py index 80f282ec26..97d6ae1039 100644 --- a/lib/scripts/svg2pstex.py +++ b/lib/scripts/svg2pstex.py @@ -30,6 +30,8 @@ # This script converts an SVG image to something that latex can process # into high quality PostScript. +from __future__ import print_function + import os, sys, re, subprocess def runCommand(cmd):