multiple versions on Linux

2013-07-24 Thread bblochl
Provided is the unpacked source of the lilypond version to be installed. A 
descripton of the steps to install lilypond one finds in INSTALL.txt. More 
infos one may find at 
http://lilypond.org/doc/v2.17/Documentation/contributor-big-page#compiling.

Every version will be installed in a specific directory, say i. e. in a 
directory with the version number. Makes sense beccause one remebers and finds 
it easily. (Any directory name is possible as long as it is not already present 
in the home directory.) Assumed, that one compiles from the subdirectory build 
the first step is

../config --prefix=$HOME/2.16.2

(Warning: actually most Linux distributions update to guile 2.0.5 - does not 
work! Best use a gule version 1.8)

Provied there are no error messages the follow up steps are
make and 
sudo make install

now there is a complete evrsion of lilipond in the directory:

ich@ich-desktop:~$ ls ./2.16.2
bin  lib  share
ich@ich-desktop:~$ ls ./2.16.2/bin
abc2ly  etf2lylilypond   lilypond-invoke-editor  midi2ly
convert-ly  lilymidi  lilypond-book  lilysongmusicxml2ly
ich@ich-desktop:~$ ls ./2.16.2/lib
lilypond
ich@ich-desktop:~$ ls ./2.16.2/lshare
ls: cannot access ./2.16.2/lshare: No such file or directory
ich@ich-desktop:~$ ls ./2.16.2/share
emacs  info  lilypond  locale  man
ich@ich-desktop:~$ 



To use this particular version one needs a simple shell script:

  #!/bin/bash
  exec $HOME/2.16.2/bin/lilypond $@

Here is assumed that one want to compile with the version 2.16.2. Save this 
shell script to $HOME/bin, say as LP-2.16.2 (or any other), so you can call 
that spcefic version from any direcctory

ich@ich-desktop:~$ ls -l $HOME/bin/LP*
-rw-r--r-- 1 ich ich 58 Jul 23 14:17 /home/bb/bin/LP-2.16.2

Don't forget to make the file executable:

ich@ich-desktop:~$ chmod u+x $HOME/bin/LP*
ich@ich-desktop:~$  ls -l $HOME/bin/LP*
-rwxr--r-- 1 ich ich 58 Jul 23 14:17
ich@ich-desktop:~$

Done!

If one hass installed that stable version 2.16.2 in the described way you may 
install the maybe newest unbstable version beside in the norml way without 
interference. If you like to compile a lilypond file with the stable version do 
it this way:
LP-12-16-2 mylilypondfile.ly
with other version:
lilypond mylilypondfile.ly


Regards

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


Re: multiple versions on Linux

2013-07-24 Thread Urs Liska

Am 24.07.2013 08:24, schrieb bblo...@arcor.de:

Provided is the unpacked source of the lilypond version to be installed. A 
descripton of the steps to install lilypond one finds in INSTALL.txt. More 
infos one may find at 
http://lilypond.org/doc/v2.17/Documentation/contributor-big-page#compiling.

Every version will be installed in a specific directory, say i. e. in a 
directory with the version number. Makes sense beccause one remebers and finds 
it easily. (Any directory name is possible as long as it is not already present 
in the home directory.) Assumed, that one compiles from the subdirectory build 
the first step is

../config --prefix=$HOME/2.16.2

(Warning: actually most Linux distributions update to guile 2.0.5 - does not 
work! Best use a gule version 1.8)

Provied there are no error messages the follow up steps are
make and
sudo make install

now there is a complete evrsion of lilipond in the directory:

ich@ich-desktop:~$ ls ./2.16.2
bin  lib  share
ich@ich-desktop:~$ ls ./2.16.2/bin
abc2ly  etf2lylilypond   lilypond-invoke-editor  midi2ly
convert-ly  lilymidi  lilypond-book  lilysongmusicxml2ly
ich@ich-desktop:~$ ls ./2.16.2/lib
lilypond
ich@ich-desktop:~$ ls ./2.16.2/lshare
ls: cannot access ./2.16.2/lshare: No such file or directory
ich@ich-desktop:~$ ls ./2.16.2/share
emacs  info  lilypond  locale  man
ich@ich-desktop:~$



To use this particular version one needs a simple shell script:

   #!/bin/bash
   exec $HOME/2.16.2/bin/lilypond $@

Here is assumed that one want to compile with the version 2.16.2. Save this 
shell script to $HOME/bin, say as LP-2.16.2 (or any other), so you can call 
that spcefic version from any direcctory

ich@ich-desktop:~$ ls -l $HOME/bin/LP*
-rw-r--r-- 1 ich ich 58 Jul 23 14:17 /home/bb/bin/LP-2.16.2

Don't forget to make the file executable:

ich@ich-desktop:~$ chmod u+x $HOME/bin/LP*
ich@ich-desktop:~$  ls -l $HOME/bin/LP*
-rwxr--r-- 1 ich ich 58 Jul 23 14:17
ich@ich-desktop:~$

Done!

If one hass installed that stable version 2.16.2 in the described way you may install the 
maybe newest unbstable version beside in the norml way without interference. 
If you like to compile a lilypond file with the stable version do it this way:
LP-12-16-2 mylilypondfile.ly
with other version:
lilypond mylilypondfile.ly


Regards

I'm not 100% sure what your objectives are with your description, so I 
don't know if what I suggest is a simpler way to accomplish the same or 
a complementary approach to accomplish a similar thing. Nevertheless:


You can have multiple versions of LilyPond installed side by side, for 
example the latest stable and the latest development version.

What I do with each new release I want to install is:

Run the installation script as a normal user (to install in ~/lilypond)

~$ mv lilypond bin/lilyponds/VERSION
~$ ln -s bin/lilyponds/VERSION lilypond

If I had already installed a version that way I _start_ the process with
~$ rm lilypond
(which only removes the symlink)

This way I use the scripts in ~/bin that the install script creates and 
simply point them to the desired LilyPond installation.
Switching between installations is done by deleting the symlink and 
create a new one.


This is _my_ way, not any 'canonical' way.
Placing installations side by side and creating individual scripts is 
equally valid and may be better if you change versions often (e.g. to 
compare output of different versions).


Such a script could also be improved in various ways: A few ideas:
- Inject an additional first argument containing the version string, so
myLily 2.16.2 score.ly
would select 2.16.2 to compile
- make the script add an option to tag the output filename so the above 
call would produce the file score-2-16-2.pdf for example


Best wishes
Urs

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


scheme tutorial

2013-07-24 Thread Simon Bailey
hi guys, 

just a quick question, as i'm _really_ trying to wrap my head around some of 
the more advanced concepts available in lilypond. is there a scheme tutorial 
you can recommend? i realise most of the functionality then comes from the 
available ly:* scheme commands, but basic scheme syntax would be handy.

any hints?

thanks, regards,
sb

-- 
Simon Bailey
Oompa Loompa of Science
+43/699/190 631 25



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


Re: scheme tutorial

2013-07-24 Thread Andrew Bernard

I found this to be a very strong brief introduction to Scheme:

Teach Yourself Scheme in Fixnum Days

http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html

[One could argue it is dated in respect of certain areas such as macros, 
but the basics are sound.]


Andrew


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


Re: scheme tutorial

2013-07-24 Thread Simon Bailey
thanks, andrew. i'll have a read through that. 

regards,
sb

-- 
Simon Bailey
Oompa Loompa of Science
+43/699/190 631 25


On Wednesday, 24 July 2013 at 13:08, Andrew Bernard wrote:

 I found this to be a very strong brief introduction to Scheme:
 
 Teach Yourself Scheme in Fixnum Days
 
 http://www.ccs.neu.edu/home/dorai/t-y-scheme/t-y-scheme.html
 
 [One could argue it is dated in respect of certain areas such as macros, 
 but the basics are sound.]
 
 Andrew
 
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org (mailto:lilypond-user@gnu.org)
 https://lists.gnu.org/mailman/listinfo/lilypond-user




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


Re: Pattern-generating Scheme function challenge

2013-07-24 Thread Nicolas Sceaux
Le 24 juil. 2013 à 01:09, Thomas Morley thomasmorle...@gmail.com a écrit :

 Hi David, Urs,
 
 I'm sorry I didn't try to improve my recent code with David's proposals.
 
 In a few hours (after sleep) I'll start my vacations, being offline
 for three weeks.
 Perhaps someone else might catch the ball.


Hi,

Here is a proposition, with probably still room for improvements!

Nicolas



finale-exercise.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Comparing LilyPond with Sibelius, Finale, Musescore etc

2013-07-24 Thread Phil Holmes
- Original Message - 
From: Richard Shann richard.sh...@virgin.net

To: Phil Holmes m...@philholmes.net
Cc: Mats Bengtsson mats.bengts...@ee.kth.se; lilypond-user@gnu.org
Sent: Tuesday, July 23, 2013 5:49 PM
Subject: Re: Comparing LilyPond with Sibelius, Finale, Musescore etc



Oh, and, of course, it would be good to see how Sibelius gets on
re-importing the attached vocal piece, which was apparently generated on
some version of Sibelius. (It came from searching IMSLP for sibelius
and musicxml and hunting around)

Richard



I've done both of these.  One has copyright markings and so I'm loathe to 
post it here.  Is the other copyright free?


--
Phil Holmes 



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


Re: Comparing LilyPond with Sibelius, Finale, Musescore etc

2013-07-24 Thread Richard Shann
Great! They are both creative commons xxx, 

 credit-words default-x=674.687 default-y=125 font-size=8
justify=center valign=bottomCopyright © 2012 Marc Sabatella
Licensed under the Creative Commons Attribution 3.0
License/credit-words

the Adon from IMSLP, so ok, but you can send them direct if you like.

Richard



On Wed, 2013-07-24 at 17:05 +0100, Phil Holmes wrote:
 - Original Message - 
 From: Richard Shann richard.sh...@virgin.net
 To: Phil Holmes m...@philholmes.net
 Cc: Mats Bengtsson mats.bengts...@ee.kth.se; lilypond-user@gnu.org
 Sent: Tuesday, July 23, 2013 5:49 PM
 Subject: Re: Comparing LilyPond with Sibelius, Finale, Musescore etc
 
 
  Oh, and, of course, it would be good to see how Sibelius gets on
  re-importing the attached vocal piece, which was apparently generated on
  some version of Sibelius. (It came from searching IMSLP for sibelius
  and musicxml and hunting around)
 
  Richard
 
 
 I've done both of these.  One has copyright markings and so I'm loathe to 
 post it here.  Is the other copyright free?
 
 --
 Phil Holmes 
 



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


Re: Comparing LilyPond with Sibelius, Finale, Musescore etc

2013-07-24 Thread arnepe
I do have both Sibelius (7) and Finale (2012), if needed ...


cheers
Arne



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Comparing-LilyPond-with-Sibelius-Finale-Musescore-etc-tp148220p148387.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Spacing - should be simple...

2013-07-24 Thread AFK
Reading that was literally the best moment of my day.  Thank you :-)

 
 Try addingtop-system-spacing #'basic-distance = #10
 
 to your paper block--adjust the number as necessary. This will affect every 
page, including page 1--I'm not sure how to limit it to pages 2+. I tried 
markup-system-spacing, but that didn't work. This one does move the first 
system down like you want, though.James Worlton
 





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


Re: Comparing LilyPond with Sibelius, Finale, Musescore etc

2013-07-24 Thread arnepe
ok and done, both pdf's are on their way.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Comparing-LilyPond-with-Sibelius-Finale-Musescore-etc-tp148220p148392.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Comparing LilyPond with Sibelius, Finale, Musescore etc

2013-07-24 Thread Richard Shann
On Wed, 2013-07-24 at 11:34 -0700, arnepe wrote:
 ok and done, both pdf's are on their way.

And here (last two examples) are the resultant comparisons:

http://denemo.org/compareFinale

Please check that I am not misrepresenting LilyPond here. I have put a
command into Denemo to fix slurs that are very steep with an accidental
that gets cut through using the tweak

\\once \\override Slur #'details #'edge-attraction-factor = #1 

which I found on the issue ticket for this. It affects the Adon piece
(bar 5 lower staff), unfortunately (and strangely it was not affected
when I had the dummy lyrics before); if there is any legitimate way of
not drawing attention to this bug I would like to hear about it. Only
MuseScore has difficulty with this bar, and then only slightly.

Richard


 
 
 
 --
 View this message in context: 
 http://lilypond.1069038.n5.nabble.com/Comparing-LilyPond-with-Sibelius-Finale-Musescore-etc-tp148220p148392.html
 Sent from the User mailing list archive at Nabble.com.
 
 ___
 lilypond-user mailing list
 lilypond-user@gnu.org
 https://lists.gnu.org/mailman/listinfo/lilypond-user



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


Re: Ambitus - was:move clef

2013-07-24 Thread Eluze
Thomas Morley-2 wrote
 2013/7/23 Bockett Hunter lt;

 bockett1.hunter@

 gt;:
 I'd like to get the ambitus after the modern clef signs, in the modern
 clef
 vertical location instead
 of the old clef vertical location.

 
 And the ambitus-problem is worth a new thread.

certainly!

 So here my very kludgy and clumsy workaround. Same attached.
 For some cases you'll need to adjust the Ambitus manually via
 \adjustMiddleOfLineAmbitus.

I don't think it's clumsy - if you want to be able to place an ambitus in
all possible places you'll have to go through a lot of definitions; maybe
somebody will come up with other values he'd prefer.

 Note: You need a newer devel-version.

the main thing is to have a model showing what \override or \set (and
others) is needed; the few functions you provide are really a great help!

… and I think this is worth a new (LSR-) snippet - if this did work with an
appropriate version!

thanks for this, Harm!

Eluze




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Ambitus-was-move-clef-tp148373p148397.html
Sent from the User mailing list archive at Nabble.com.

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


function for Glissando with length stopped working

2013-07-24 Thread MarcM
I had a function that generates a glissando with a specific length that
stopped working.
I believe it worked in 2.14
i am now using 2.17.2





--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/function-for-Glissando-with-length-stopped-working-tp148399.html
Sent from the User mailing list archive at Nabble.com.

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


header

2013-07-24 Thread Mark Stephen Mrotek
Hello:

 

A three movement piece has the following in the \header: title, composer,
dedication, and opus.

 

The opus appears at the beginning of the second and third movements. How
can I eliminate them?

 

Thank you.

 

Mark

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


Re: function for Glissando with length stopped working

2013-07-24 Thread David Kastrup
MarcM m...@mouries.net writes:

 I had a function that generates a glissando with a specific length that
 stopped working.
 I believe it worked in 2.14
 i am now using 2.17.2

You are not exactly giving us much to work with here.

At any rate: have you tried running convert-ly on your code?

-- 
David Kastrup


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


Lilypond and Dokuwiki

2013-07-24 Thread Nicolas Hémard
Hy,

I need a plugin to dokuwiki for a collaborative musical edition.

Do you know about such a plugin ? I found only ABC plugin, which doesn't
work with lilypond.

www.dokuwiki.org

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


Re: header

2013-07-24 Thread Federico Bruni
2013/7/25 Mark Stephen Mrotek carsonm...@ca.rr.com

 Hello:

 ** **

 A three movement piece has the following in the \header: title, composer,
 dedication, and opus.

 ** **

 The “opus” appears at the beginning of the second and third movements. How
 can I eliminate them?

 ** **

 Thank you.

 ** **



If each movement is in a separate \score block and the \header is in the
(implicit?) \book block, you can put this header inside the \score block of
second and third movement:

\header {
  opus =  ##f
}

Not tested, just an idea taken from the second example here:
http://lilypond.org/doc/v2.17/Documentation/notation/creating-titles-headers-and-footers
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user