From: Han-Wen Nienhuys Date: Wed, 6 Apr 2005 13:18:27 +0000 (+0000) Subject: (Lilypond_snippet.__init__): X-Git-Tag: release/2.5.19~39 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=cba3cef7d11300a1f982e7841c76f8d0ec594153;p=lilypond.git (Lilypond_snippet.__init__): only process options fi they're there. (write_file_map): add version-seen? to snippet-map.ly --- diff --git a/make/ly-rules.make b/make/ly-rules.make index 6198c78799..391fcd84ed 100644 --- a/make/ly-rules.make +++ b/make/ly-rules.make @@ -35,7 +35,8 @@ $(outdir)/%-book.ps: $(outdir)/%.ps $(outdir)/%.pdf: $(outdir)/%.dvi dvips $(DVIPS_FLAGS) -o $@.pdfps -t $(DVIPS_PAPERSIZE) $< - ps2pdf -sPAPERSIZE=$(DVIPS_PAPERSIZE) $@.pdfps $@ +# without -dSAFER + gs -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=$@ -dCompatibilityLevel=1.2 -sPAPERSIZE=a4 -c .setpdfwrite -f $@.pdfps $(outdir)/%.html.omf: %.tely $(call GENERATE_OMF,html) diff --git a/scripts/lilypond-book.py b/scripts/lilypond-book.py index f43f6bccca..16894d385e 100644 --- a/scripts/lilypond-book.py +++ b/scripts/lilypond-book.py @@ -1270,7 +1270,7 @@ def write_file_map (lys, name): #(ly:add-file-name-alist '( """) for ly in lys: - snippet_map.write ('("%s.ly" . "%s:%d (%s.ly)")\n' \ + snippet_map.write ('("%s.ly" . "%s:%d (%s.ly)")\n' % (ly.basename (), name, ly.line_number,