From 8b89d71f5602f957c854bf0591f450cf3bd4591e Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Fri, 9 Aug 2013 00:01:04 +0200 Subject: [PATCH] Ability to create an A5 booklet --- Makefile | 10 +++++++++- notes/RisingOfTheMoon.ly | 4 ++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cc3f1da..ffd545e 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ VPATH = \ $(CURDIR)/notes \ $(CURDIR)/pdf \ -all: book +all: book booklet book: $(OUTDIR) $(PDFDIR) $(GITINFO) cp lilysettings.ly $(OUTDIR)/ @@ -30,6 +30,14 @@ book: $(OUTDIR) $(PDFDIR) $(GITINFO) cp $(CURDIR)/$(OUTDIR)/$(FILE).pdf $(CURDIR)/$(PDFDIR)/$(FILE).pdf rm $(GITINFO) +booklet: book + pdf2ps $(OUTDIR)/$(FILE).pdf $(OUTDIR)/$(FILE).ps + psbook $(OUTDIR)/$(FILE).ps $(OUTDIR)/booklet_tmp.ps + pstops -pA4 '1:0@1.0(0cm,0cm)' $(OUTDIR)/booklet_tmp.ps $(OUTDIR)/booklet_tmp00.ps + psnup -2 $(OUTDIR)/booklet_tmp00.ps $(OUTDIR)/booklet.ps + ps2pdf $(OUTDIR)/booklet.ps $(OUTDIR)/$(FILE)_booklet.pdf + cp $(CURDIR)/$(OUTDIR)/$(FILE)_booklet.pdf $(CURDIR)/$(PDFDIR)/$(FILE)_booklet.pdf + $(OUTDIR): mkdir -p $(OUTDIR) diff --git a/notes/RisingOfTheMoon.ly b/notes/RisingOfTheMoon.ly index 13ba2d9..0cdc62f 100644 --- a/notes/RisingOfTheMoon.ly +++ b/notes/RisingOfTheMoon.ly @@ -14,8 +14,8 @@ \partial 4 g8 a | b8. b16 b8 b b d4 b8 | b a a b a4. d8 | - e8. c16 g'8 fis e d b g | - a8. a16 g8 fis g4 r4 \bar "|." + e8. c16 g'8 fis e d b g | + a8. a16 g8 fis g4 r4 \bar "|." } >>