X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fbuild%2Flys-to-tely.py;h=cab59d91483783e43cfd6f24fca7d0baaa039135;hb=dc90b895668826a09e06ad1ef94e5e90569a870c;hp=329b412a47f921c0bbeac011d40f56393cb14fa6;hpb=952705bbbb000581a13836e6a733df04511e93c5;p=lilypond.git diff --git a/scripts/build/lys-to-tely.py b/scripts/build/lys-to-tely.py index 329b412a47..cab59d9148 100644 --- a/scripts/build/lys-to-tely.py +++ b/scripts/build/lys-to-tely.py @@ -53,24 +53,21 @@ author = "Han-Wen Nienhuys and Jan Nieuwenhuizen" input_filename = "" glob_input = "" template = '''\input texinfo + +@c This file was autogenerated +@c from: %s +@c by: %s + @setfilename %%(name)s.info @settitle %%(title)s -@documentencoding utf-8 +@documentencoding UTF-8 @iftex @afourpaper @end iftex @finalout @c we do not want black boxes. -@c Trick to use with proper font mappings the same NCSB fonts as -@c LilyPond instead of those provided by TeX distribution -@tex -\\ifpdf - \\pdfmapfile{=lilypond.map} -\\fi -@end tex - @c fool ls-latex @ignore @author %%(author)s @@ -83,7 +80,7 @@ template = '''\input texinfo %s @bye -''' % include_snippets +''' % (", ".join(files), sys.argv[0], include_snippets) for opt in options: o = opt[0] @@ -177,4 +174,4 @@ if files: else: # not Unix philosophy, but hey, at least we notice when # we don't distribute any .ly files. - sys.stderr.write ("No files specified. Doing nothing") + sys.stderr.write ("No files specified. Doing nothing. Use -h to display usage.")