X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fbuild%2Flys-to-tely.py;h=329b412a47f921c0bbeac011d40f56393cb14fa6;hb=d459b17897c0218450bfb0bab6403c16705bd17a;hp=a3bc4b576bdc8e08f4bc9ff0f9e2dbbe42147c53;hpb=ebe492ca408fb0d9abf80b94c56197eef8dc2f09;p=lilypond.git diff --git a/scripts/build/lys-to-tely.py b/scripts/build/lys-to-tely.py index a3bc4b576b..329b412a47 100644 --- a/scripts/build/lys-to-tely.py +++ b/scripts/build/lys-to-tely.py @@ -63,6 +63,14 @@ template = '''\input texinfo @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 @@ -163,11 +171,9 @@ if files: s = "\n".join (map (name2line, files)) s = template.replace (include_snippets, s, 1) f = "%s/%s" % (dir, name) - sys.stderr.write ("%s: writing %s..." % (program_name, f)) h = open (f, "w") h.write (s) h.close () - sys.stderr.write ('\n') else: # not Unix philosophy, but hey, at least we notice when # we don't distribute any .ly files.