Re: overlapping staves

2014-09-08 Thread Nick Payne
On 09/09/14 12:11, Mark Stephen Mrotek wrote: Hello, The attached file, overlap.pdf, shows the first 13 measures of a piano score. The staves overlap. By experimentation, if the first two measure are eliminated the overlap does not occur, NoOverLap.pdf. Since the snippets would not met th

Re: Moving clef changes into the bar they affect

2014-09-08 Thread James Worlton
On 9/8/2014 9:06 PM, David Nalesnik wrote: Hi James, On Mon, Sep 8, 2014 at 8:36 PM, James Worlton > wrote: Hello, I'm trying to create a quiz for a Theory class, and I'm having difficulty with clef changes. Normally, new clefs appear before the bar

overlapping staves

2014-09-08 Thread Mark Stephen Mrotek
Hello, The attached file, overlap.pdf, shows the first 13 measures of a piano score. The staves overlap. By experimentation, if the first two measure are eliminated the overlap does not occur, NoOverLap.pdf. Since the snippets would not met the requirement for being "small," they were not

Re: Moving clef changes into the bar they affect

2014-09-08 Thread David Nalesnik
Hi James, On Mon, Sep 8, 2014 at 8:36 PM, James Worlton wrote: > Hello, > > I'm trying to create a quiz for a Theory class, and I'm having difficulty > with clef changes. Normally, new clefs appear before the barline of the bar > where they take effect. I'm trying to move the clef changes into t

Moving clef changes into the bar they affect

2014-09-08 Thread James Worlton
Hello, I'm trying to create a quiz for a Theory class, and I'm having difficulty with clef changes. Normally, new clefs appear before the barline of the bar where they take effect. I'm trying to move the clef changes into the relevant bars. This code shows the standard musical practice, with

Re: Include a file if it exists

2014-09-08 Thread Jim Long
On Mon, Sep 08, 2014 at 11:14:34PM +0200, Gilles THIBAULT wrote: > > \version "2.18.2" > > file = #(let((myfile "test.ly")) > (if (file-exists? myfile) >myfile >"emptyfile.ly")) > > \include #file > > % > > which seems to works, but you need to create an empty file "emp

Re: Include a file if it exists

2014-09-08 Thread Urs Liska
Hello Gilles, thank you very much. Your solutions do work, but I don't think I'll use them in my project. But you have unintentionally pushed me in the right direction (with the "emptyfile.ly" thing). What I'll do now is: - create empty replacement files 01.ily through 90.ily in an arbitrary

Re: Include a file if it exists

2014-09-08 Thread Gilles THIBAULT
Le lundi 8 septembre 2014, 23:14:34 Gilles THIBAULT a écrit : > but you will get an advertisement for the \include "" Oh sorry ! i meant a *warning* for the \include "" -- Gilles ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.or

Re: Include a file if it exists

2014-09-08 Thread Gilles THIBAULT
> I found out that using > #(ly:parser-parse-string (ly:parser-clone parser) "\\include \"01.ily\"") > _does_ actually work, but not when the included file contains variable > definitions (e.g. "music = ..."). > Still no ideas? > Perhaps something like that : %% \version "2.18.2" fil

Re: Add lyrics after n measures

2014-09-08 Thread Colin Campbell
On 14-09-08 11:49 AM, Simon Albrecht wrote: The full function would then be: %<- lSkip = #(define-music-function (parser location skips) (number?) #{ \lyricmode { " " \repeat unfold $(- skips 1) { \skip 1 } } #}) %<- For me,

Re: Add lyrics after n measures

2014-09-08 Thread Simon Albrecht
Am 08.09.2014 um 18:10 schrieb Colin Campbell: On 14-09-08 01:36 AM, Phil Holmes wrote: (in reference to lyric \skips not terminating an extender) Try a single space in quotes: " " -- Phil Holmes Thanks, Phil. I found that in my testing later yesterday. It will at least get the project

Defining custom MIDI dynamics

2014-09-08 Thread Knute Snortum
I know how to set a single custom dynamic: #(define (myDynamics dynamic) (if (equal? dynamic pTresDouxMarkup ) 0.55 (default-dynamic-absolute-volume dynamic ..but do I set two or more dynamics like this: #(define (myDynamics dynamic) (cond (equal? dynamic pTresDouxMa

Re: Add lyrics after n measures

2014-09-08 Thread Colin Campbell
On 14-09-08 01:36 AM, Phil Holmes wrote: (in reference to lyric \skips not terminating an extender) Try a single space in quotes: " " -- Phil Holmes Thanks, Phil. I found that in my testing later yesterday. It will at least get the project done, although in a way which feels a bit kludgy.

Re: Treating a tie as a slur

2014-09-08 Thread Urs Liska
Maybe you could ask the people at NeoScores. They are working on (or have aleady released?) a MusiXML cleaning tool. IIUC this is one type of issues they might addtess. Urs On 8. September 2014 14:51:18 MESZ, Johan Vromans wrote: >Hi, > >Often when processing music imported from Sibelius I hav

Treating a tie as a slur

2014-09-08 Thread Johan Vromans
Hi, Often when processing music imported from Sibelius I have the problem that Sibelius doesn't seem to care whether a tie connects notes of the same pitch. As a consequence, some Sibelius users have become lazy and always use a tie even when the pitches differ. LiliPond emits an error message wh

Re: problem with moving notes

2014-09-08 Thread David Nalesnik
Simon, On Mon, Sep 8, 2014 at 6:10 AM, Simon Albrecht wrote: > > > > >

Re: problem with moving notes

2014-09-08 Thread Simon Albrecht
Am 07.09.2014 um 23:16 schrieb David Nalesnik: Rus, On Sun, Sep 7, 2014 at 3:54 PM, Rus > wrote: I imagine you could use \newSpacingSection. Please post the code that created the PDFs you attach, and I'm sure you'll get a solution to your liki

Re: Include a file if it exists

2014-09-08 Thread Urs Liska
Next iteration I found out that using #(ly:parser-parse-string (ly:parser-clone parser) "\\include \"01.ily\"") _does_ actually work, but not when the included file contains variable definitions (e.g. "music = ..."). If it contains only, say, a \header block, everything works as expected. I'

Re: Breaking notes up across bar lines when using lyrics

2014-09-08 Thread David Kastrup
Simon Albrecht writes: > Looks like it’s worth a bug report and issue tracker, doesn’t it? > About completion heads engraver and addlyrics being incompatible. More like https://code.google.com/p/lilypond/issues/detail?id=4096> Issue 4096: \addlyrics always creates its own Voice context The ori

Re: Add lyrics after n measures

2014-09-08 Thread Phil Holmes
Try a single space in quotes: " " -- Phil Holmes - Original Message - From: Colin Campbell To: lilypond-user@gnu.org Sent: Sunday, September 07, 2014 9:52 PM Subject: Re: Add lyrics after n measures On 14-08-29 02:21 PM, Simon Albrecht wrote: Am 29.08.2014 um 16:5