lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Devnull: how to make it take no space


From: Jean-Charles Malahieude
Subject: Re: Devnull: how to make it take no space
Date: Sat, 18 Jun 2011 16:46:56 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10

Le 18/06/2011 15:57, Kieren MacMillan disait :
Hi Jean-Charles,

In the book I'm engraving, it happens that some instruments get "tacet"
for certain pieces. In order to generate a full table of contents, I
treat them through "Devnull". The problem is that I often get what follows.
In this tiny example, I would like the "devnull" to not take any
vertical space. I've played with the various variables, but with no success.

---8<---
\version "2.14.0"
\score {
  \repeat unfold 4 { c'1 \break }
  \header { piece = "Piece one" }
}
\score {
  \new Devnull { s4 }
  \header { piece = "Piece two" opus = "TACET." }
}
\score {
  \repeat unfold 9 { e'1 \break }
  \header { piece = "Piece three" }
}
--->8---

Is there any reason you don't simply use top-level markup instead?


The reason is that if I happen to "customize" the layout of those header variables, I would prefer it to apply in this particular case as well. And I find it useful when extracting instrumental parts of the opera I'm engraving (King Arthur).

By the way, I discovered that Devnull, despite it is told to not generate any printable matter, takes some space, as I reported on bugs
http://lists.gnu.org/archive/html/bug-lilypond/2011-06/msg00193.html

Cheers,
Jean-Charles



reply via email to

[Prev in Thread] Current Thread [Next in Thread]