blob: 9e0c4334848247563f59e56fa56c206a40fb968f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
# Makefile for latex4musicians.tex
VERSION = 2019-01-06
NAME = latex4musicians
MANUAL = $(NAME).pdf
TEXFILES = $(NAME).tex params.tex
FIGURES = abctab.pdf bravura.pdf chordii.pdf gchords.pdf \
gcschemes.pdf gdiagram.pdf glyphs.pdf glyphs_ls.pdf \
gtablature.pdf gtrcrd.pdf guitar.pdf guitartabs.pdf \
kyrie.pdf leadsheets.pdf lilyglyphs.pdf lilytab.pdf \
musicography.pdf musixguit.pdf songbook.pdf songs.pdf \
songs_g.pdf sample-abc.pdf sample-abc-all.pdf \
sample-all.pdf sample-latexmtx.pdf sample-lyluatex.pdf \
sample-lilybook.pdf sample-mtx.pdf sample-pmw.pdf \
sample-musixtex.pdf sample-songbook.pdf shave.pdf sheet.pdf
$(MANUAL): $(TEXFILES) $(FIGURES)
pdflatex $(NAME).tex; \
pdflatex $(NAME).tex; \
pdflatex $(NAME).tex
clean:
/bin/rm -Rf *aux *.dep *.lo? *.out *.toc *log \
*.ps *dvi *mx1 *.ps *.eps out-* *.mx1 *.gtex snippet* \
*.count *.texi *xml Tmp/ tmp-ly/; \
cd Figures; /bin/rm -Rf *aux *.dep *.lo? *.out *.toc *log \
*.ps *dvi *mx1 *.ps *.eps out-* *.mx1 *.gtex snippet* \
*.count *.texi *xml *pdf
OTHER = fellow.pdf happyb.pdf julia.pdf scale.pdf twinkle.pdf
cleanpdf:
/bin/rm -f $(FIGURES) $(OTHER)
abctab.pdf: Figures/abctab.abc
abc2xml.py -f Figures/abctab.abc > abctab.xml; \
musescore abctab.xml -o abctab.pdf;
/bin/sh crop.sh abctab.pdf
bravura.pdf: Figures/bravura.tex
/bin/sh ./pdfx.sh bravura.tex
chordii.pdf: Figures/chordii.cho
chordii -a Figures/chordii.cho > chordii.ps; \
# ps2eps chordii.ps; epstopdf chordii.eps
ps2pdf chordii.ps; \
/bin/sh crop.sh chordii.pdf
gchords.pdf: Figures/gchords.tex
/bin/sh ./pdfl.sh gchords.tex
gcschemes.pdf: Figures/gcschemes.tex
/bin/sh ./pdfl.sh gcschemes.tex
gdiagram.pdf: Figures/gdiagram.tex
/bin/sh ./pdfl.sh gdiagram.tex
glyphs.pdf: Figures/glyphs.tex
/bin/sh ./pdfx.sh glyphs.tex
glyphs_ls.pdf: Figures/glyphs_ls.tex
/bin/sh ./pdfx.sh glyphs_ls.tex
gtablature.pdf: Figures/gtablature.ly
lilypond Figures/gtablature.ly ; \
/bin/sh crop.sh gtablature.pdf
gtrcrd.pdf: Figures/gtrcrd.tex
/bin/sh ./pdfl.sh gtrcrd.tex
guitar.pdf: Figures/guitar.tex
/bin/sh ./pdfl.sh guitar.tex
guitartabs.pdf: Figures/guitartabs.tex
/bin/sh ./pdfl.sh guitartabs.tex
kyrie.pdf: Figures/kyrie.tex
cd Figures; \
lualatex kyrie.tex; \
/bin/mv kyrie.pdf .. ; \
cd .. \;
/bin/sh crop.sh kyrie.pdf
leadsheets.pdf: Figures/leadsheets.tex
/bin/sh ./pdfl.sh leadsheets.tex
lilytab.pdf: Figures/lilytab.ly
lilypond Figures/lilytab.ly; \
/bin/sh crop.sh lilytab.pdf
lilyglyphs.pdf: Figures/lilyglyphs.tex
/bin/sh ./pdfx.sh lilyglyphs.tex
musicography.pdf: Figures/musicography.tex
/bin/sh ./pdfl.sh musicography.tex
musixguit.pdf: Figures/musixguit.tex
/bin/sh ./pdfl.sh musixguit.tex
songbook.pdf: Figures/songbook.tex
/bin/sh ./pdfl.sh songbook.tex
songs.pdf: Figures/songs.tex
/bin/sh ./pdfl.sh songs.tex
songs_g.pdf: Figures/songs_g.tex
/bin/sh ./pdfl.sh songs_g.tex
sample-abc.pdf: Figures/sample-abc.tex
cd Figures; \
pdflatex --shell-escape sample-abc.tex ; \
/bin/mv sample-abc.pdf .. ; \
cd .. ; \
/bin/sh crop.sh sample-abc.pdf
sample-abc-all.pdf: Figures/sample-abc-all.tex
pdflatex --shell-escape Figures/sample-abc-all.tex ; \
/bin/sh crop.sh sample-abc-all.pdf
sample-all.pdf: Figures/sample-all.tex
pdflatex -shell-escape Figures/sample-all.tex ; \
/bin/sh crop.sh sample-all.pdf
sample-latexmtx.pdf: Figures/sample-latexmtx.ltx
cd Figures; \
musixtex sample-mtx scale sample-latexmtx.ltx; \
/bin/mv sample-latexmtx.pdf .. ; \
cd .. ; \
/bin/sh crop.sh sample-latexmtx.pdf
sample-lilybook.pdf: Figures/sample-lilybook.lytex
lilypond-book -f latex -o ./Tmp/ \
--lily-output-dir=./Tmp Figures/sample-lilybook.lytex; \
cd ./Tmp; pdflatex sample-lilybook.tex; \
/bin/sh ../crop.sh sample-lilybook.pdf; \
/bin/mv -f sample-lilybook.pdf ..
sample-lyluatex.pdf: Figures/sample-lyluatex.tex
lualatex --shell-escape Figures/sample-lyluatex.tex; \
/bin/sh crop.sh sample-lyluatex.pdf
# BUG
sample-mtx.pdf: Figures/sample-mtx.mtx
cd Figures; \
musixtex sample-mtx.mtx; \
/bin/mv sample-mtx.pdf .. ; \
cd .. ; \
/bin/sh crop.sh sample-mtx.pdf
sample-musixtex.pdf: Figures/sample-musixtex.tex
/bin/sh ./pdfl.sh sample-musixtex.tex
sample-pmw.pdf: Figures/sample-pmw.pmw
pmw -includefont Figures/sample-pmw.pmw; \
ps2pdf Figures/sample-pmw.ps ; \
/bin/mv Figures/sample-pmw-pdf; \
/bin/sh crop.sh sample-pmw.pdf
sample-songbook.pdf: Figures/sample-songbook.tex
cd Figures; \
make -f Makefile.sb; \
/bin/mv sample-songbook.pdf ..
shave.pdf: Figures/./shave.abc
abc2xml.py Figures/shave.abc > shave.xml; \
musescore shave.xml -o shave.pdf; \
/bin/sh crop.sh shave.pdf
sheet.pdf: Figures/./sheet.abc
abcm2ps -c -O= Figures/sheet.abc;
ps2pdf sheet.ps; \
/bin/sh crop.sh sheet.pdf
# End of Makefile
|