[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Table of content in lilypond 2.16.0 and 2.16.2
From: |
David Bariod |
Subject: |
Table of content in lilypond 2.16.0 and 2.16.2 |
Date: |
Sat, 2 Nov 2013 07:32:56 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
> I'm not top posting
Hello,
I have a set of partitions which used to build in 2.14 release.
Basically the table-of-contents does not seem to work at all
in the 2.16 release.
Here is a tiny sample which build in 2.14 but not in 2.16:
\version "2.14"
\paper {
print-first-page-number = ##t
indent = 0\mm
}
\markuplines \table-of-contents
\bookpart {
\tocItem \markup "A song in C"
{
c
}
}
As a side note, the stable/2.14 branch does not build on linux mint 15 with
gcc 4.7.3. Here is a small patch which should fix this problem:
-- >8 --
>From 22fb3ca88c4d49b3721f36f0712d8c2f66331bd6 Mon Sep 17 00:00:00 2001
From: David Bariod <address@hidden>
Date: Fri, 1 Nov 2013 13:37:16 +0100
Subject: [PATCH] Fix build issues on linux mint 15 + gcc 4.7.3
---
lily/music-sequence.cc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lily/music-sequence.cc b/lily/music-sequence.cc
index 8c9642c..9cc108b 100644
--- a/lily/music-sequence.cc
+++ b/lily/music-sequence.cc
@@ -149,9 +149,9 @@ Music_sequence::first_start (SCM l)
{
Music *mus = unsmob_music (scm_car (s));
Moment l = mus->get_length ();
- Moment s = mus->start_mom ();
- if (l.to_bool () || s.to_bool ())
- return s;
+ Moment start = mus->start_mom ();
+ if (l.to_bool () || start.to_bool ())
+ return start;
}
return m;
}
--
1.8.1.2
- Table of content in lilypond 2.16.0 and 2.16.2,
David Bariod <=