diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-29 20:54:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-29 20:54:42 +0000 |
commit | 7adee32016cbff00197721703fe3904c8cf0a63e (patch) | |
tree | 583fd734e9715af6f9c52c996c23f0d446209c14 /Master/texmf-dist/scripts/latex-make/gensubfig.py | |
parent | 1672d941a9b0a54aa2dc0b8ab41740a487608df4 (diff) |
latex-make (29may18)
git-svn-id: svn://tug.org/texlive/trunk@47869 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/latex-make/gensubfig.py')
-rwxr-xr-x | Master/texmf-dist/scripts/latex-make/gensubfig.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/scripts/latex-make/gensubfig.py b/Master/texmf-dist/scripts/latex-make/gensubfig.py index a6fcd5d5677..0c5316d448a 100755 --- a/Master/texmf-dist/scripts/latex-make/gensubfig.py +++ b/Master/texmf-dist/scripts/latex-make/gensubfig.py @@ -13,6 +13,7 @@ Sortie standard : """ +from __future__ import print_function from optparse import OptionParser import os.path @@ -44,20 +45,19 @@ Makefile generating subfigures using figdepth.py or svgdepth.py') count = 1 for subfig in subfigs: - print "%s_%d%s: %s%s %s" % (root, count, ext, root, ext, sf_name) - print "\t%s %s" % (ds_name, subfig) - print "" + print("%s_%d%s: %s%s %s" % (root, count, ext, root, ext, sf_name)) + print("\t%s %s" % (ds_name, subfig)) + print("") count += 1 - print "%s := $(foreach n, " % varname, + print("%s := $(foreach n, " % varname, end='') count = 1 for subfig in subfigs: - print '%d ' % count, + print('%d ' % count, end='') count += 1 - print ", %s_$(n)%s)" % (root, ext) - print "FILES_TO_DISTCLEAN += $(%s)" % varname - print "FIGS2CREATE_LIST += $(%s)" % varname - print "$(TEMPORAIRE): $(%s)" % varname - print "$(TEMPORAIRE): $(%s)" % varname + print(", %s_$(n)%s)" % (root, ext)) + print("FILES_TO_DISTCLEAN += $(%s)" % varname) + print("FIGS2CREATE_LIST += $(%s)" % varname) + print("$(TEMPORAIRE): $(%s)" % varname) if __name__ == "__main__": main() |