[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] Re: Add $currentbook and $currentbookpart parser variables
From: |
Reinhold Kainhofer |
Subject: |
[PATCH] Re: Add $currentbook and $currentbookpart parser variables |
Date: |
Sun, 30 Aug 2009 14:37:38 +0200 |
User-agent: |
KMail/1.11.4 (Linux/2.6.28-15-generic; KDE/4.2.4; i686; ; ) |
> Concerning the issue:
>
> "There is still a problem with bookpart not using the $defaultheader
> starting with the second bookpart..."
>
> The code is in book.cc, void Book::set_parent (Book *parent).
> It was made on purpose, but as it turns out, that was probably a bad
> idea.
Yes, I think so, too.
If I set something in a **global** header block, I expect these setting to
apply to all scores. In particular, this is important for piecetitle (e.g. I
have a piece title, which uses a counter to simply print "Example #:"). Of
course, I want this piecetitle globally for all examples.
The drawback is that a global title will cause each bookpart to have its new
title. On the other hand, if I don't want a title for one particular bookpart,
I can always unset set it in its header block.
Okay to apply this patch?
http://codereview.appspot.com/110114
Cheers,
Reinhold
--
------------------------------------------------------------------
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
- [PATCH] Re: Add $currentbook and $currentbookpart parser variables,
Reinhold Kainhofer <=