Re: lilypond-user Digest, Vol 174, Issue 51

2017-05-14 Thread Ian Ring
If your MusicXML contains a literal copyright character, it's invalid XML. 
Find-and-replace that to  or change it into (c) and you'll be good to go.

I've had to do that with XML output from MuseSore.
Cheers

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: can we pass in header variables as CLI parameters?

2017-03-19 Thread Ian Ring
Huge thanks to Timothy Lanfear! That solution works perfectly.

I can pass multiple parameters in like this:

lilypond -e '(define-public title "my song")(define-public 
copyrightyear "2017")(define-public ismn "12345-678-90-5")' tmp.ly

and then my header looks like:

\header {
 copyrightyear = \copyrightyear
 title = \title
 ismn = \ismn
}

It only works if the Guile module is added...

#(use-modules (guile-user))

Cheers!
Ian


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


can we pass in header variables as CLI parameters?

2017-03-17 Thread Ian Ring
Hi, sorry if this has been asked before...

Is it possible to pass in header variables in via the CLI?

For example, I would like to pass the copyright date in via a parameter, 
instead of it being saved in the .LY file.

This can be done in LaTeX, so I hope there is a way to do something similar in 
lilypond.

Cheers
Ian
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \footnote does nothing? :(

2017-01-24 Thread Ian Ring
Simon: as you predicted, making the minimal example helped to isolate the 
problem and expose the solution.

For posterity, my mistake was that I was trying to apply the footnote to a 
chord, instead of to a note within the chord.

Thanks!
Ian




On 23.01.2017 21:06, Ian Ring wrote:
>
> I've inserted a \footnote into my score, but it doesn't do anything.
> Just wondering where I might look for problems. I'm fairly new to
> Lilypond.
> The LY source is in a private git repo but I can share it somewhere
> public if anyone is willing to take a diagnostic look at it.
>

\footnote is known to usually do something :-) so it's not possible to
tell without having a look at the code. More precisely, you need to have
a go at producing a minimal example (see
<http://lilypond.org/tiny-examples.html>), so anybody helping you out

won't have to filter out irrelevant parts himself. Just try deleting (or
commenting out) parts of the project and see if the problem persists. If
nothing can be removed, you've found a minimal example - or you'll find
the error on the way, that happens fairly often.

Best, Simon
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


\footnote does nothing? :(

2017-01-23 Thread Ian Ring
I've inserted a \footnote into my score, but it doesn't do anything. Just 
wondering where I might look for problems. I'm fairly new to Lilypond.
The LY source is in a private git repo but I can share it somewhere public if 
anyone is willing to take a diagnostic look at it.

Gratitudes,

Ian Ring

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user