summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/lilyglyphs/lily-glyph-commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/scripts/lilyglyphs/lily-glyph-commands.py')
-rwxr-xr-xMaster/texmf-dist/scripts/lilyglyphs/lily-glyph-commands.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/texmf-dist/scripts/lilyglyphs/lily-glyph-commands.py b/Master/texmf-dist/scripts/lilyglyphs/lily-glyph-commands.py
index 691652ece6d..dae48cda009 100755
--- a/Master/texmf-dist/scripts/lilyglyphs/lily-glyph-commands.py
+++ b/Master/texmf-dist/scripts/lilyglyphs/lily-glyph-commands.py
@@ -8,7 +8,7 @@
# https://github.com/openlilylib/lilyglyphs %
# http://www.openlilylib.org/lilyglyphs %
# %
-# Copyright 2012-2013 Urs Liska and others, ul@openlilylib.org %
+# Copyright 2012-2020 Urs Liska and others, ul@openlilylib.org %
# %
# 'lilyglyphs' is free software: you can redistribute it and/or modify %
# it under the terms of the LaTeX Project Public License, either %
@@ -80,10 +80,10 @@ def read_entries():
if not len(line):
# skip if cmd and glyph haven't been filled both
if not (entry['cmd'] and entry['element']):
- print 'Skip malformed entry \'' + entry['cmd'] + '\'. Please check input file'
+ print('Skip malformed entry \'' + entry['cmd'] + '\'. Please check input file')
reset_entry()
else:
- print 'Read entry \'' + entry['cmd'] + '\''
+ print('Read entry \'' + entry['cmd'] + '\'')
lg.in_cmds[entry['cmd']] = {}
lg.in_cmds[entry['cmd']]['element'] = entry['element']
lg.in_cmds[entry['cmd']]['type'] = entry['type']
@@ -110,13 +110,13 @@ def read_entries():
def usage():
- print 'genGlyphCommands.py'
- print 'is part of the lilyglyphs package'
- print ''
- print 'Usage:'
- print 'Pass the name (without path) of an input definitions file'
- print '(this has to be located in the /stash_new_commands directory.'
- print 'Please refer to the manual (documentation/lilyglyphs.pdf).'
+ print('genGlyphCommands.py')
+ print('is part of the lilyglyphs package')
+ print('')
+ print('Usage:')
+ print('Pass the name (without path) of an input definitions file')
+ print('(this has to be located in the /stash_new_commands directory.')
+ print('Please refer to the manual (documentation/lilyglyphs.pdf).')
# ####################################
# Finally launch the program