Re: strange output with lilypond book

2013-01-20 Thread Stefan Thomas
Dear Julien, the problem is the input command in latex. Without it (when I define the commands in the document itself), the pdf looks good but if the file is included, every bar of the music uses a single line. I would like to avoid it an I would like to use the input command in latex. On

context and lilypond

2013-01-20 Thread Stefan Thomas
Dear community, when I want to use lilypond within context (the latex alternative system), do I have to install the lilypond-module separately? Can give someone a short example of code of a document with lilypond code? Does context cooperate with the latest stable version of lilypond?

Re: context and lilypond

2013-01-20 Thread Henning Hraban Ramm
Am 2013-01-20 um 10:40 schrieb Stefan Thomas: Dear community, when I want to use lilypond within context (the latex alternative system), do I have to install the lilypond-module separately? Can give someone a short example of code of a document with lilypond code? Does context cooperate

Re: context and lilypond

2013-01-20 Thread David Kastrup
Henning Hraban Ramm hra...@fiee.net writes: Am 2013-01-20 um 10:40 schrieb Stefan Thomas: Dear community, when I want to use lilypond within context (the latex alternative system), do I have to install the lilypond-module separately? Can give someone a short example of code of a document

Re: context and lilypond

2013-01-20 Thread Henning Hraban Ramm
Am 2013-01-20 um 11:37 schrieb David Kastrup: What are the performance characteristics? One point of LilyPond-book is that it compiles a large number of fragments with a single run of LilyPond. That makes, for example, compilation times of our manuals less unbearable. LilyPond gets called

Re: context and lilypond

2013-01-20 Thread David Kastrup
Henning Hraban Ramm hra...@fiee.net writes: Am 2013-01-20 um 11:37 schrieb David Kastrup: What are the performance characteristics? One point of LilyPond-book is that it compiles a large number of fragments with a single run of LilyPond. That makes, for example, compilation times of our

Re: context and lilypond

2013-01-20 Thread Henning Hraban Ramm
Am 2013-01-20 um 12:17 schrieb David Kastrup: What are the performance characteristics? One point of LilyPond-book is that it compiles a large number of fragments with a single run of LilyPond. That makes, for example, compilation times of our manuals less unbearable. LilyPond gets

Re: context and lilypond

2013-01-20 Thread David Kastrup
Henning Hraban Ramm hra...@fiee.net writes: But at least my usage of t-filter only uses one-page LilyPond snippets. With a bit of Lua to detect the results of a LP run it shouldn’t be that complicated to use single system images like lilypond-book. It would be interesting to figure out the

Re: context and lilypond

2013-01-20 Thread Henning Hraban Ramm
Am 2013-01-20 um 12:49 schrieb David Kastrup: Henning Hraban Ramm hra...@fiee.net writes: But at least my usage of t-filter only uses one-page LilyPond snippets. With a bit of Lua to detect the results of a LP run it shouldn’t be that complicated to use single system images like

shortening a stem

2013-01-20 Thread Werner LEMBERG
Folks, what must I write to shorten an unbeamed stem by, say, one unit? A naive approach would be \once \override Stem.length #(- ly:stem::calc-length 1) which doesn't work of course... Werner ___ lilypond-user mailing list

Re: shortening a stem

2013-01-20 Thread Eluze
Werner LEMBERG wrote Folks, what must I write to shorten an unbeamed stem by, say, one unit? A naive approach would be \once \override Stem.length #(- ly:stem::calc-length 1) looking for \override Stem.length-fraction = #(magstep -1) ?! Eluze -- View this message in context:

Glyph error

2013-01-20 Thread Javier Ruiz
My .ly compiled clean.  After adding a few systems, now this error appears during compile, even though the music typesets correctly. No indication to where it's coming from. Any help is appreciated: programming error: FT_Get_Glyph_Name () error: invalid argument continuing, cross fingers

Re: tupletSpannerDuration

2013-01-20 Thread Federico Bruni
Il 19/01/2013 12:29, Trevor Daniels ha scritto: David Kastrup wrote Saturday, January 19, 2013 9:10 AM Nick Payne nick.pa...@internode.on.net writes: BTW, both #(ly:make-moment 1 4) and #(ly:make-moment 1/4) are valid, Is one form preferred over the other? If so, maybe that should be

Re: Glyph error

2013-01-20 Thread Phil Holmes
Probably something like an apostrophe that's been auto corrected by word. Look at those and inverted commas to start. -- Phil Holmes - Original Message - From: Javier Ruiz To: LilyPond User Group Sent: Sunday, January 20, 2013 5:19 PM Subject: Glyph error My .ly

Re: prall with accidental

2013-01-20 Thread Thomas Morley
2013/1/19 Werner LEMBERG w...@gnu.org: Of course, you can easily write the tweak version instead: prallSharp = -\tweak Script.text \markup { \override #'(baseline-skip . 1.2) \center-column { \fontsize #-4 \sharp \musicglyph #scripts.prall } } -\tweak Script.stencil

Re: prall with accidental

2013-01-20 Thread David Kastrup
Thomas Morley thomasmorle...@googlemail.com writes: 2013/1/19 Werner LEMBERG w...@gnu.org: Of course, you can easily write the tweak version instead: prallSharp = -\tweak Script.text \markup { \override #'(baseline-skip . 1.2) \center-column { \fontsize #-4 \sharp \musicglyph

Re: prall with accidental

2013-01-20 Thread Werner LEMBERG
There was a thread in the german forum which might be of interest: http://www.lilypondforum.de/index.php?topic=721.msg5798#msg5798 To get the atachments you need an account there, though. Sehr nett! Please add a link (or the code) to the issue. Werner

Re: prall with accidental

2013-01-20 Thread Werner LEMBERG
How about something like c-\pitched cis \prall which modifies the stencil of \prall when it finds that cis does not fit the current key signature? It would slap a 'pitch field on the prall event (so that \transpose has something to mangle) and check its state when typesetting. Yeah,

Re: context and lilypond

2013-01-20 Thread Stefan Thomas
Dear Henning, thanks for Your explanations, but I couldn't manage a working piece of code, untortunately. As You suggested, I've saved Your code as t-lilyfilter.tex. In which folder shall I store it? And where in the file should be the line \usemodule[lilyfilter]? I've tried it with the following

Re: shortening a stem

2013-01-20 Thread Werner LEMBERG
what must I write to shorten an unbeamed stem by, say, one unit? A naive approach would be \once \override Stem.length #(- ly:stem::calc-length 1) looking for \override Stem.length-fraction = #(magstep -1) Thanks, but no. I'm interested in shortening the stem by a fixed amount,

Re: shortening a stem

2013-01-20 Thread David Kastrup
Werner LEMBERG w...@gnu.org writes: what must I write to shorten an unbeamed stem by, say, one unit? A naive approach would be \once \override Stem.length #(- ly:stem::calc-length 1) looking for \override Stem.length-fraction = #(magstep -1) Thanks, but no. I'm interested in

Re: shortening a stem

2013-01-20 Thread m...@mikesolomon.org
On 20 janv. 2013, at 17:21, Werner LEMBERG w...@gnu.org wrote: Folks, what must I write to shorten an unbeamed stem by, say, one unit? A naive approach would be \once \override Stem.length #(- ly:stem::calc-length 1) which doesn't work of course... Werner This does

Re: context and lilypond

2013-01-20 Thread Henning Hraban Ramm
Am 2013-01-20 um 19:39 schrieb Stefan Thomas: Dear Henning, thanks for Your explanations, but I couldn't manage a working piece of code, untortunately. As You suggested, I've saved Your code as t-lilyfilter.tex. In which folder shall I store it? As long as you're testing: in your project

Re: Glyph error

2013-01-20 Thread Javier Ruiz
Right on!  I found several reverse apostrophes in variables: ` instead of ' All is sunny again. _ From: Phil Holmes Subject: Re: Glyph error Probably something like an apostrophe that's been auto corrected by word.  Look at those and inverted commas to start. -- Phil

Re: shortening a stem

2013-01-20 Thread Xavier Scheuer
On 20 January 2013 17:21, Werner LEMBERG w...@gnu.org wrote: Folks, what must I write to shorten an unbeamed stem by, say, one unit? A naive approach would be \once \override Stem.length #(- ly:stem::calc-length 1) which doesn't work of course... Hi Werner, You might want to use

Re: shortening a stem

2013-01-20 Thread Werner LEMBERG
{ \once \override Stem.length = #(lambda (grob) (- (ly:stem::calc-length grob) 4)) a4 } Thanks! I can imagine that a lot of people just want to shorten a stem by a certain amount without actually determining the necessary length. Werner

Re: shortening a stem

2013-01-20 Thread Werner LEMBERG
You might want to use \override Stem #'no-stem-extend = ##t as well, since by default notes with ledger lines get their stems extending to the middle staff line (and maybe you do not want that with your shortened stems). In my case, this is not necessary since the shortening is just to

Re: shortening a stem

2013-01-20 Thread Werner LEMBERG
(define ((stem-reduce amount) grob) (let ((l (ly:grob-property grob 'length))) (/ (- l amount) l))) \override Stem.length-fraction = #(stem-reduce 1) This is probably slightly absurd (and untested to boot), but it would likely work. Thanks for this, too! Werner

page footer and (on-page ...) in combination with \label

2013-01-20 Thread Marc Hohl
Hello list, I have lilypond file containing several\bookpart entries. For one specific page I have to remove the footer completely. I set \label #'emptypage and oddFooterMarkup = \markup { \fill-line { \on-the-fly #last-page \fromproperty #'header:tagline } \fill-line { \on-the-fly

Re: context and lilypond

2013-01-20 Thread Henning Hraban Ramm
Am 2013-01-20 um 12:45 schrieb Henning Hraban Ramm: The snippet buffers are just numbered, so if you insert one before the first, all others will get re-rendered, too. I guess we could change that behaviour, e.g. use keywords or some UID per buffer. I’ll discuss that with Aditya (author of

Requesting an addition

2013-01-20 Thread Michael Rivers
I'm not sure if this the right place to ask this, but I'd be willing to send somebody some money via Paypal to add the so-called Haydn turn (reversed turn with vertical slash) to Lilypond. There were a couple of posts from 2009 on doing this, but in the current stable version of Lilypond the

Re: context and lilypond

2013-01-20 Thread Stefan Thomas
Dear Henning, off course: lilypond is installed. It is installed in ~/lilypond/ How can I tell texec where to find it? 2013/1/20 Henning Hraban Ramm hra...@fiee.net Am 2013-01-20 um 22:49 schrieb Stefan Thomas: t-filter: command : lilypond -dbackend=eps -dinclude-eps-fonts -dno-gs-

Re: context and lilypond

2013-01-20 Thread Henning Hraban Ramm
Am 2013-01-20 um 23:02 schrieb Henning Hraban Ramm: I’m working on a sample to use single system inclusion instead of whole page inclusion, will document that at http://wiki.contextgarden.net/LilyPond Ok, there’s now an example how to include all pages of a multi-page score. It uses a bit of

Re: page footer and (on-page ...) in combination with \label

2013-01-20 Thread Jay Anderson
On Sun, Jan 20, 2013 at 1:53 PM, Marc Hohl m...@hohlart.de wrote: For one specific page I have to remove the footer completely. I set \label #'emptypage Can the page without a footer be in a book-part of its own? That would be too simple so I'm assuming not. Below is adapted from some help I

Re: Requesting an addition

2013-01-20 Thread Werner LEMBERG
I'm not sure if this the right place to ask this, but I'd be willing to send somebody some money via Paypal to add the so-called Haydn turn (reversed turn with vertical slash) to Lilypond. Please provide a scan (or a link to it) of such a symbol which you consider as good-looking.. I have

Re: context and lilypond

2013-01-20 Thread Stefan Thomas
Dear Henning, I've tried to add the path to the filter-command with filtercommand={/home/stefan/lilypond/usr/bin/lilypond -dbackend=eps -dinclude-eps-fonts -dno-gs-load-fonts -olilytemp/\externalfilterbasefile \externalfilterinputfile}] but it doesn't work! Any ideas? 2013/1/20