Skip to content

Commit 9f3572d

Browse files
committed
Fix some bugs in the dynamic engraver and PostScript backend
1 parent 04265f1 commit 9f3572d

File tree

592 files changed

+12579
-20501
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

592 files changed

+12579
-20501
lines changed

ChangeLog

+51-2,401
Large diffs are not rendered by default.

DEDICATION

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
Those deserving special mentioning (in no particular order):
99
Esther, Marijke, Heike, Inge, Judith, Hannah, Auke, Ilse, Evelyn,
1010
Maartje, Suzanne, Ilse (gee, again?), Marieke, Irene, Martine, Idwine,
11-
Hanna, Lonneke, Elisha, Anna, Janneke and last (but certainly not
12-
least) Janneke!
11+
Hanna, Lonneke, Elisha, Anna and last (but certainly not least)
12+
Janneke!
1313

1414
HWN
1515

Documentation/GNUmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
depth = ..
22

33
NAME = documentation
4-
SUBDIRS=user bibliography pictures topdocs misc
4+
SUBDIRS=user bibliography pictures topdocs misc
55
STEPMAKE_TEMPLATES=documentation texinfo tex
66
LOCALSTEPMAKE_TEMPLATES=lilypond ly
77
LILYPOND_BOOK_FLAGS=--extra-options '-e "(ly:set-option (quote internal-type-checking) \#t)"'

Documentation/misc/GNUmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ NAME = documentation
44

55
STEPMAKE_TEMPLATES=documentation texinfo
66

7-
TEXTS = $(call src-wildcard,ANNOUNCE-*[0-9]) $(call src-wildcard,CHANGES-*[0-9]) $(call src-wildcard,ChangeLog*[0-9]) $(call src-wildcard,NEWS-*[0-9])
7+
TEXTS = $(wildcard ANNOUNCE-*[0-9]) $(wildcard CHANGES-*[0-9]) $(wildcard ChangeLog*[0-9]) $(wildcard NEWS-*[0-9])
88
EXTRA_DIST_FILES = $(TEXTS)
99

1010
include $(depth)/make/stepmake.make

Documentation/pictures/GNUmakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
depth = ../..
22

33
STEPMAKE_TEMPLATES=documentation
4-
XPM_FILES=$(call src-wildcard,*.xpm)
4+
XPM_FILES=$(wildcard *.xpm)
55
EXTRA_DIST_FILES= $(XPM_FILES)
66

77
lilypond-icon = $(outdir)/lilypond.ico

Documentation/topdocs/GNUmakefile

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ endif
1313

1414
$(outdir)/NEWS.nexi: NEWS.tely
1515

16-

Documentation/topdocs/NEWS.tely

+2-164
Original file line numberDiff line numberDiff line change
@@ -66,165 +66,6 @@ which scares away people.
6666
6767
@end ignore
6868

69-
@item Calculation of note head durations is now softcoded.
70-
71-
@lilypond[relative=1,fragment,ragged-right]
72-
%% use half heads for whole notes.
73-
\override NoteHead #'duration-log = 1
74-
c1 c2 c4 c8[ c16 c]
75-
@end lilypond
76-
77-
78-
@c Please insert any new material above this line. -gp
79-
80-
@item Chords can now be partially tied,
81-
82-
@lilypond[ragged-right,relative,fragment]
83-
<c~ e g~ b> <c e g b>
84-
@end lilypond
85-
86-
This feature was sponsored by Steve Doonan.
87-
88-
@item Lyric extenders now have tunable padding.
89-
90-
This feature was sponsored by David Griffel.
91-
92-
@item
93-
Instrument changes are better supported: names in the margin can be
94-
changed half-way during a staff, and cues are printed automatically.
95-
96-
This feature was sponsored by Kieren MacMillan.
97-
98-
@item
99-
Barlines can be dashed now,
100-
101-
@lilypond[relative,ragged-right,fragment]
102-
c4 \bar "dashed" c4
103-
@end lilypond
104-
105-
This feature was sponsored by Kieren MacMillan.
106-
107-
@item
108-
Grace notes may be forced to use floating spacing,
109-
110-
@lilypond[relative=2,ragged-right]
111-
<<
112-
\override Score.SpacingSpanner #'strict-grace-spacing = ##t
113-
\new Staff {
114-
c'4
115-
\afterGrace
116-
c'4
117-
{ c'16[ c'8 c'16] }
118-
c'4
119-
}
120-
\new Staff {
121-
c'16[ c'16 c'16 c'16]
122-
c'16[ c'16 c'16 c'16]
123-
c'4
124-
}
125-
>>
126-
@end lilypond
127-
128-
This feature was sponsored by Trevor Bača.
129-
130-
131-
@item
132-
Durations of grace notes are taken into account for spacing,
133-
134-
@lilypond[relative=2,ragged-right,fragment]
135-
c
136-
\grace { c8[ c16 d c8] }
137-
c
138-
@end lilypond
139-
140-
This feature was sponsored by Trevor Bača.
141-
142-
@item
143-
Tuplet brackets can be made to run to prefatory matter or
144-
the next note
145-
146-
@lilypond[ragged-right]
147-
\new RhythmicStaff {
148-
\set tupletFullLength = ##t
149-
\time 4/4
150-
\times 4/5 {
151-
c4 c1
152-
}
153-
\set tupletFullLengthNote = ##t
154-
\time 2/4
155-
\times 2/3 {
156-
c4 c c
157-
}
158-
\time 3/4
159-
c4
160-
}
161-
@end lilypond
162-
163-
164-
This feature was sponsored by Trevor Bača.
165-
166-
@item
167-
Falls and doits can be added to notes
168-
169-
@lilypond[fragment,ragged-right,relative=2]
170-
\override Score.SpacingSpanner #'shortest-duration-space = #3.0
171-
c4-\bendAfter #+5
172-
c4-\bendAfter #-3
173-
@end lilypond
174-
175-
This feature was sponsored by Anthony Youngman and Paul Scott.
176-
177-
@item
178-
@code{lilypond-book} now includes support for PDF@TeX{}.
179-
180-
This feature was sponsored by David Roundy.
181-
182-
@item
183-
Nested tuplets can have different formatting for each nesting level,
184-
185-
@lilypond[ragged-right]
186-
\new Staff {
187-
\time 5/4
188-
\tweak #'text #tuplet-number::calc-fraction-text
189-
\times 5/3 {
190-
\tweak #'text #tuplet-number::calc-denominator-text
191-
\times 2/3 {
192-
c'8[ c'8 c'8]
193-
}
194-
\times 2/3 {
195-
c'8[ c'8 c'8]
196-
}
197-
\times 2/3 {
198-
c'8[ c'8 c'8]
199-
}
200-
}
201-
}
202-
@end lilypond
203-
204-
This feature was sponsored by Trevor Bača.
205-
206-
207-
@item
208-
New sections with different spacing parameters can be started with
209-
@code{newSpacingSection}. This is useful when there are
210-
sections with a different notions of long and short notes.
211-
212-
In the following example, the time signature change introduces a new
213-
section, and hence the 16ths notes are spaced wider.
214-
215-
@lilypond[relative,fragment]
216-
\time 2/4
217-
c4 c8 c
218-
c8 c c4 c16[ c c8] c4
219-
220-
\newSpacingSection
221-
\time 4/16
222-
c16[ c c8]
223-
@end lilypond
224-
225-
This feature was sponsored by Trevor Bača, Michael Meixner and Vivian
226-
Barty-Taylor.
227-
22869
@item
22970
A new, automated testing technique has been added. It will detect
23071
changes in the formatting automatically, which will make it easier to
@@ -234,7 +75,7 @@ View @uref{../../test-results.html,test results}.
23475

23576
@item
23677
Figured bass can also be added to @code{Staff} contexts directly. In
237-
this case, their vertical position is adjusted automatically.
78+
this case, their vertical position is adjusted automatically.
23879

23980
@lilypond[ragged-right,fragment]
24081
<<
@@ -337,13 +178,10 @@ support for feathered beaming,
337178
\override Beam #'grow-direction = #LEFT
338179
c16[
339180
c c c
340-
c c c ]
181+
c c c c ]
341182
}
342183
@end lilypond
343184

344-
Known bug: the \featherDuration command only works with very short music
345-
snippets.
346-
347185
This feature was sponsored by Jamie Bullock.
348186

349187
@item

Documentation/user/GNUmakefile

+14-15
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,26 @@ depth=../..
22

33
LATEX_FILES =$(call src-wildcard,*.latex)
44

5+
# todo: add latex.
6+
DVI_FILES = $(TELY_FILES:%.tely=$(outdir)/%.dvi)
57

6-
EXTRA_DIST_FILES= $(LATEX_FILES) $(IMAGES) README.txt convert-ly.txt $(EPS_ILLUSTRATIONS)
8+
EXTRA_DIST_FILES= $(LATEX_FILES) $(IMAGES) README.txt $(EPS_ILLUSTRATIONS)
79

810
IMAGES=$(call src-wildcard,*.png)
911
EPS_ILLUSTRATIONS=context-example.eps
10-
PDF_ILLUSTRATIONS=context-example.pdf
11-
12-
OUT_PDF_IMAGES=$(IMAGES:%.png=$(outdir)/%.pdf) $(addprefix $(outdir)/,$(PDF_ILLUSTRATIONS))
1312

14-
OUT_PNG_IMAGES=$(OUT_PDF_IMAGES:%.pdf=%.png)
13+
OUT_EPS_IMAGES=$(IMAGES:%.png=$(outdir)/%.eps) $(addprefix $(outdir)/,$(EPS_ILLUSTRATIONS))
14+
OUT_PNG_IMAGES=$(OUT_EPS_IMAGES:%.eps=%.png)
1515

1616
OUT_TEXI_FILES=$(ITEXI_FILES:%.itexi=$(outdir)/%.texi)\
1717
$(ITELY_FILES:%.itely=$(outdir)/%.texi)
1818
HTML_FILES = $(TELY_FILES:%.tely=$(outdir)/%.html)\
1919
$(outdir)/lilypond-internals.html
2020

21-
# todo: add latex.
22-
PDF_FILES = $(TELY_FILES:%.tely=$(outdir)/%.pdf)
21+
PS_FILES = $(DVI_FILES:.dvi=.ps)
22+
PDF_FILES = $(DVI_FILES:.dvi=.pdf)
23+
24+
PS_GZ_FILES= $(addsuffix .gz, $(PS_FILES))
2325

2426
INFO_DOCS = lilypond lilypond-internals music-glossary
2527
INFO_FILES = $(INFO_DOCS:%=$(outdir)/%.info)
@@ -36,6 +38,10 @@ export TEXINPUTS
3638

3739
include $(depth)/make/stepmake.make
3840

41+
dvi: $(DVI_FILES)
42+
43+
ps: $(PS_FILES)
44+
3945
info: $(INFO_FILES)
4046

4147
pathsettings:
@@ -189,7 +195,7 @@ $(outdir)/lilypond-internals/lilypond-internals.xml: $(outdir)/lilypond-internal
189195
mkdir -p $(dir $@)
190196
$(MAKEINFO) --output=$(outdir)/lilypond-internals --docbook $<
191197

192-
$(outdir)/lilypond.pdf: $(OUT_PDF_IMAGES) $(OUT_PNG_IMAGES)
198+
$(outdir)/lilypond.dvi: $(OUT_EPS_IMAGES) $(OUT_PNG_IMAGES)
193199

194200
$(outdir)/%.png: %.png
195201
convert -geometry 50x50% $< $@
@@ -203,13 +209,6 @@ $(outdir)/%.eps: %.png
203209
$(outdir)/%.eps: %.eps
204210
cp $< $@
205211

206-
$(outdir)/%.pdf: %.png
207-
convert $< $@
208-
209-
$(outdir)/%.pdf: %.eps
210-
gs -dAutoRotatePages=/None -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -sOutputFile=$@ -dEPSCrop -c .setpdfwrite -f $<
211-
212-
213212
DEEP_HTML_FILES =\
214213
$(outdir)/lilypond/index.html\
215214
$(outdir)/lilypond-internals/index.html\

Documentation/user/README.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Info for Documentation
22
----------------------
33

4-
Current version of the manual: 2.9.13
4+
Current version of the manual: 2.8.0
55
*** Please update this whenever you run convert-ly on the docs.
66

77
convert-ly --from=... --to=... --no-version *.itely
@@ -41,10 +41,10 @@ is writtin in formal technical writing style.
4141
GENERAL GUIDELINES
4242

4343
* Do not forget to create @cindex entries for new sections of text.
44-
Enter commands with @funindex, i.e.
45-
@funindex \relative
46-
do not bother with the @code{} (they are added automatically). These
47-
items are added to both the command index and the unified index.
44+
Enter commands with @funindex, i.e.
45+
@funindex \relative
46+
do not bother with the @code{} (they are added automatically). These
47+
items are added to both the command index and the unified index.
4848

4949
* The use of the word `illegal' is inappropriate in most cases. Say
5050
`invalid' instead.

Documentation/user/SConscript

+5-8
Original file line numberDiff line numberDiff line change
@@ -3,26 +3,23 @@
33
import os
44
import string
55

6-
Import ('env', 'base_glob', 'src_glob')
6+
Import ('env', 'base_glob')
77
tely = base_glob ('*.tely')
8-
png = src_glob ('*.png') + map (env.EPS2PNG, base_glob ('*.eps'))
8+
png = base_glob ('*.png')
99

1010
# We need lily and mf to build these.
1111
env.Depends ('lilypond.texi', ['#/lily', '#/mf', '#/python'])
1212
env.Depends ('music-glossary.texi', ['#/lily', '#/mf', '#/python'])
1313

1414
env.Depends ('lilypond.texi', 'lilypond-internals.texi')
1515

16-
eps = src_glob ('*.eps') + map (env.PNG2EPS, base_glob ('*.png'))
17-
env.Depends ('lilypond.texi', eps + png)
16+
eps = map (env.PNG2EPS, png)
17+
env.Depends ('lilypond.texi', eps)
1818

19-
lilypond_book_flags = '''--format=$LILYPOND_BOOK_FORMAT --process="lilypond -I$srcdir/input/manual/ $__verbose --backend=eps --formats=ps,png --header=texidoc -dcheck-internal-types -ddump-signatures -danti-alias-factor=2 -dgs-load-fonts" '''
2019
e = env.Copy (
21-
# LILYPOND_BOOK_FLAGS = '''--process="lilypond --backend=eps --formats=ps,png --header=texidoc -I#/input/manual -e '(ly:set-option (quote internal-type-checking) \#t)'"''',
22-
LILYPOND_BOOK_FLAGS = lilypond_book_flags,
20+
LILYPOND_BOOK_FLAGS = '''--process="lilypond --backend=eps --formats=ps,png --header=texidoc -I#/input/test -e '(ly:set-option (quote internal-type-checking) \#t)'"''',
2321
__verbose = ' --verbose',
2422
GENERATE_DOCUMENTATION = '$srcdir/ly/generate-documentation',
25-
## TEXI2DVI_FLAGS = ['-I#Documentation/user'],
2623
)
2724

2825
e.Command ('lilypond-internals.texi', ['#/lily', '#/mf', '#/python'],

0 commit comments

Comments
 (0)