[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Creating books with Scheme
From: |
Reinhold Kainhofer |
Subject: |
Re: Creating books with Scheme |
Date: |
Sat, 29 Aug 2009 14:28:49 +0200 |
User-agent: |
KMail/1.11.4 (Linux/2.6.29-02062906-generic; KDE/4.2.4; i686; ; ) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Montag, 17. August 2009 12:05:23 schrieb Nicolas Sceaux:
> Le 17 août 09 à 09:23, Nicolas Sceaux a écrit :
> > If you look at the definition of `bookpart-score-handler' in my
> > file, you see that the book-part argument is not used. Instead,
> > all scores are added to the toplevel-scores parser variable (even
> > though they are not really toplevel, it does not matter).
> > The `toplevel-bookpart-handler' then uses this variable to actually
> > add the scores to the bookpart. This function is called by the parser
> > when a \bookpart block is closed, so at this point the bookpart object
> > is known.
> >
> > You can change the book-score-handler and toplevel-book-handler to
> > act the same way.
>
> Here is a short example showing how that may be done.
Thanks a lot, but I just realized that if you use several bookparts, the
\header section of the bookparts get ignored. Also, you cannot mix explicitly
written scores with computer-generated scores...
Attached is a modified sample file:
- -) if you have explicitly written \score{..}s and computer-created ones, the
explicitly written ones will start a new book part, even if all are inside the
same \bookpart.
- -) Only the first bookpart uses the global \header for piece names
- -) The scheme-generated scores in the second and further bookparts will
ignore
all header settings!
- -) The explicitly written scores in the second bookpart will also ignore all
global header settings?!?
Do you have any idea, how I can (i) assign the correct header blocks to the
generated scores (ie. proper hierarchy: score-level header, bookpart-level
header, book-level header and finally global header block in this order) and
(ii) how I can treat generated and explicitly written scores really equal.
Thanks a lot,
Reinhold
PS: It works correctly, if I use different \book blocks instead of \bookpart
blocks, but that's not what I want.
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
* Financial & Actuarial Math., Vienna Univ. of Technology, Austria
* http://www.fam.tuwien.ac.at/, DVR: 0005886
* LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFKmR8DTqjEwhXvPN0RAoeIAJ9MLa5q7ZDVyDHr5fdOloZYnLmYkQCdGit/
MTy2oK8nz89pwbUlGgZXqoc=
=CyVk
-----END PGP SIGNATURE-----
scheme-book-scores.ly
Description: Text Data
- Creating books with Scheme, Reinhold Kainhofer, 2009/08/14
- Re: Creating books with Scheme, Nicolas Sceaux, 2009/08/16
- Re: Creating books with Scheme, Reinhold Kainhofer, 2009/08/16
- Re: Creating books with Scheme,
Reinhold Kainhofer <=
- Re: Creating books with Scheme, Nicolas Sceaux, 2009/08/29
- [PATCH] Re: Creating books with Scheme, Reinhold Kainhofer, 2009/08/29
- Re: [PATCH] Re: Creating books with Scheme, Carl Sorensen, 2009/08/29
- Re: [PATCH] Re: Creating books with Scheme, Nicolas Sceaux, 2009/08/30