Re: Question about missing accidentals, and banishing stems

2012-03-27 Thread Robert Schmaus

Am 3/27/12 2:15 AM, schrieb Michael Welsh Duggan:

Robert Schmausrobert.schm...@web.de  writes:


the whole music is defined in a single cadenza with manual barlines in
between. so, from pov of lilypond, all the music is in one bar, thus,
the second ees doesn't sport an accidental.


Thank you.  Quite clear, and fixed in my sources.


On Sun, Mar 25, 2012, at 09:01 PM, Michael Welsh Duggan wrote:

I was writing some experimental lilypond in preparation for writing some
music functions.  The following lilypond file creates two variables
which contain a line of notes and a line of lyrics together in a cons
cell.  The score attempts to join the two.  Output is attached.  The
question is, why is the e-flat in the second part not getting its
accidental printed?  (The e-flat in the first part prints just fine.)




Hi Michael,

there's one thing about the forced accidentals that is not quite nice: 
you may be left with a complete mess if you try to transpose the score. 
as in the following example:


\score {
  
\new Staff {
  \clef treble
  \key f \major
  \cadenzaOn

  \relative c' {
c^\markup{ forced accidentals } ees fis bes
c, ees! fis! bes
  }

  \bar |
  \cadenzaOff
  c' c' c' c' % reset the accidentals ...

  \cadenzaOn
  \transpose c des \relative c' {
c^\markup{ forced accidentals + transposition } ees fis bes
c, ees! fis! bes
  }

}
  
}

The transposed version is absolute rubbish ...
Thus, I'm sure there are better ways to handle the accidentals in your 
case. one way might be to remove time signature engravers and then use 
the exact signatures for each bar.



so, your example would become something like

\time 14/4
g( a g f) f a( bf c) \l c( bf) a( bf) \l g( \l a)
\time 15/4
f( a) c \l c( d ef d c d c) bf( a) bf( c) \l a

etc.

then, lilypond would handle correct accidentals itself ...
Maybe someone has a better idea ... there's amazing things that can be 
done with Schema, but unfortunately not by me ...



Best,
Robert

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


Re: Help needed creating a Mac OS X installer for Frescobaldi

2012-03-27 Thread Rodolfo Zitellini
On Mon, Mar 26, 2012 at 12:11 AM, vic hug xelnagazch...@hotmail.com wrote:
 hello,

 seems to work here (mbpro 15 early 2011 osx 10.6.8), but can't find
 Lilypond, asks to check for lily path and permissions and i don't see where
 i should indicate the path. Anyway, i'm starting with updating Lilypond,
 which i haven't done in quite a time. And does lilypond work on osx 10.7 ?
 because download page says no...

 thanks for porting frescobaldi to mac btw :)

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


Thanks to all for your reports!
* 10.5 support: For the moment I'm unsure on how to support this, as I
packaged python + qt compiled with macports using the default system
compiler, I have to study a bit on how to have compatibility.

@Philippe: can you please try running Frescobaldi directly on the
terminal: frescobaldi.app/Contents/MacOS/frescobaldi
It is possible that it has some conflicts since you already have the
libs for frescobaldi installed (it should not, but nevertheless...)

In the next few days I fill try to figure out the various quirks with
runnin lilypond (I admit I always use it directly from the cmdline :)

@Wilbert: I will try to pack a bit the mods/additions and send you something :)

Ciao!
Rodolfo

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


Re: Question about missing accidentals, and banishing stems

2012-03-27 Thread Francisco Vila
2012/3/27 Robert Schmaus robert.schm...@web.de:
 The transposed version is absolute rubbish ...

Not so, if there is a key which is also transposed.  Keys are usually
transposed too, right?

\score {
 
   \new Staff {
 \clef treble
 %\key f \major
 \cadenzaOn

 \relative c' { \key f \major
   c^\markup{ forced accidentals } ees fis bes
   c, ees! fis! bes
 }

 \bar |
 \cadenzaOff
 c' c' c' c' % reset the accidentals ...

 \cadenzaOn
 \transpose c des \relative c' { \key f \major
   c^\markup{ forced accidentals + transposition } ees fis bes
   c, ees! fis! bes
 }

   }
 
}


-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: Question about missing accidentals, and banishing stems

2012-03-27 Thread Robert Schmaus

of course - the correct approach would have been to transpose the whole
staff instead of just a bar ... 10 points go to spain, I guess ...


On Tue, Mar 27, 2012, at 09:27 AM, Francisco Vila wrote:
 2012/3/27 Robert Schmaus robert.schm...@web.de:
  The transposed version is absolute rubbish ...
 
 Not so, if there is a key which is also transposed.  Keys are usually
 transposed too, right?
 
 \score {
  
\new Staff {
  \clef treble
  %\key f \major
  \cadenzaOn
 
  \relative c' { \key f \major
c^\markup{ forced accidentals } ees fis bes
c, ees! fis! bes
  }
 
  \bar |
  \cadenzaOff
  c' c' c' c' % reset the accidentals ...
 
  \cadenzaOn
  \transpose c des \relative c' { \key f \major
c^\markup{ forced accidentals + transposition } ees fis bes
c, ees! fis! bes
  }
 
}
  
 }
 
 
 -- 
 Francisco Vila. Badajoz (Spain)
 www.paconet.org , www.csmbadajoz.com

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


Re: Question about missing accidentals, and banishing stems

2012-03-27 Thread Francisco Vila
2012/3/27 Robert Schmaus robert.schm...@web.de:

 of course - the correct approach would have been to transpose the whole
 staff instead of just a bar ... 10 points go to spain, I guess ...

I'd just like to stress the fact of that LilyPond does a nice job at
handling key signatures, accidentals, forced accidentals, suggested
accidentals, courtesy accidentals and transposition, even when mixing
this all.

-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

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


Re: Help needed creating a Mac OS X installer for Frescobaldi

2012-03-27 Thread Philippe Massart
Hello,

Here is the message I receive when running from the command line :

imac-de-philippe-massart:~ philippe$ 
/Users/philippe/Desktop/frescobaldi.app/Contents/MacOS/frescobaldi 
Traceback (most recent call last):
  File 
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/cx_Freeze/initscripts/Console.py,
 line 27, in module
exec code in m.__dict__
  File frescobaldi, line 3, in module

  File 
/Users/philippe/Desktop/frescobaldi.app/Contents/MacOS/frescobaldi_app/main.py,
 line 41, in module
import po.setup # Setup language
  File 
/Users/philippe/Desktop/frescobaldi.app/Contents/MacOS/frescobaldi_app/po/setup.py,
 line 74, in module
setup()
  File 
/Users/philippe/Desktop/frescobaldi.app/Contents/MacOS/frescobaldi_app/po/setup.py,
 line 59, in setup
language = current()
  File 
/Users/philippe/Desktop/frescobaldi.app/Contents/MacOS/frescobaldi_app/po/setup.py,
 line 46, in current
if not language or language.isNull():
AttributeError: 'unicode' object has no attribute 'isNull'

I tried to run it from the Applications folder, but it didn't change anything.

Philippe

Le 27 mars 2012 à 09:21, Rodolfo Zitellini a écrit :

 
 Thanks to all for your reports!
 * 10.5 support: For the moment I'm unsure on how to support this, as I
 packaged python + qt compiled with macports using the default system
 compiler, I have to study a bit on how to have compatibility.
 
 @Philippe: can you please try running Frescobaldi directly on the
 terminal: frescobaldi.app/Contents/MacOS/frescobaldi
 It is possible that it has some conflicts since you already have the
 libs for frescobaldi installed (it should not, but nevertheless...)
 
 In the next few days I fill try to figure out the various quirks with
 runnin lilypond (I admit I always use it directly from the cmdline :)
 
 @Wilbert: I will try to pack a bit the mods/additions and send you something 
 :)
 
 Ciao!
 Rodolfo
 


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


Re: inner-outer margin two-sided print

2012-03-27 Thread Robin Bannister
MING TSANG wrote: 
In both cases the output is the same. 


Did you see the warning produced by this snippet? 
margins do not fit with line-width, setting default values


There may be other problems, but I think yout current problem is that 
you haven't foreseen any width for the binding-offset. 
This warning  disappears when binding-offset is zero.


So I would suggest NOT setting line-width; 
comment it out and let it be determined by what binding-offset you choose.



Cheers, 
Robin


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


Re: Question about missing accidentals, and banishing stems

2012-03-27 Thread Urs Liska

Does the accidental-style forget work for your case?

Am 26.03.2012 18:05, schrieb Robert Schmaus:

Hi Michael,

the whole music is defined in a single cadenza with manual barlines in
between. so, from pov of lilypond, all the music is in one bar, thus,
the second ees doesn't sport an accidental.

Use ees! to force the accidental ...

Best,
Robert



On Sun, Mar 25, 2012, at 09:01 PM, Michael Welsh Duggan wrote:

I was writing some experimental lilypond in preparation for writing some
music functions.  The following lilypond file creates two variables
which contain a line of notes and a line of lyrics together in a cons
cell.  The score attempts to join the two.  Output is attached.  The
question is, why is the e-flat in the second part not getting its
accidental printed?  (The e-flat in the first part prints just fine.)


Sub-question: I got rid of stems by removing the stem engraver.  The
slurs, however, look like they are trying to take into account the
missing stems.  How can I avoid this?



[Inline image]


--
Michael Welsh Duggan
(m...@md5i.com)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Email had 2 attachments:
+ PopuleMeus.ly
   1k (text/x-lilypond)
+ PopuleMeus.png
   22k (image/png)

___
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: Question about missing accidentals, and banishing stems

2012-03-27 Thread David Kastrup
Michael Welsh Duggan m...@md5i.com writes:

 I was writing some experimental lilypond in preparation for writing some
 music functions.  The following lilypond file creates two variables
 which contain a line of notes and a line of lyrics together in a cons
 cell.  The score attempts to join the two.  Output is attached.  The
 question is, why is the e-flat in the second part not getting its
 accidental printed?  (The e-flat in the first part prints just fine.)

Because you are still in the same bar?  That's what \cadenzaOn is all
about.

-- 
David Kastrup


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


Re: Aleatoric / modern notation

2012-03-27 Thread David Kastrup
David Nalesnik david.nales...@gmail.com writes:

 Hi Mike,

 Excellent work!


 I'm glad you think so!
  


 I've attached a new file that addresses some of the issues you
 identify above:
 
 --) It uses axis-group::width to box accidentals
 

 Beautiful!  Now there's really no need for the extra padding
 properties.  (I've kept them in the attached file, but combined them
 into a single property which takes a pair = 'extra-padding.)

There is quite a bit of code duplication of internals of LilyPond, and
likely one of the reasons that the respective functions did not have a
public interface is just that it changes LilyPond for the rest of its
lifetime, even when it is run on multiple files (like as part of
lilypond-book).

-- 
David Kastrup


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


Re: [Frescobaldi] Re: Help needed creating a Mac OS X installer for Frescobaldi

2012-03-27 Thread Wilbert Berendsen
Op Tue, 27 Mar 2012 10:38:54 +0200
Philippe Massart phili...@philmassart.net schreef:

   File
 /Users/philippe/Desktop/frescobaldi.app/Contents/MacOS/frescobaldi_app/po/setup.py,
 line 46, in current if not language or language.isNull():
 AttributeError: 'unicode' object has no attribute 'isNull'

Strange: I never wrote the 'or language.isNull()' part...
Which frescobaldi version is this?



-- 
Wilbert Berendsen
(http://www.wilbertberendsen.nl)


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


Re: inner-outer margin two-sided print

2012-03-27 Thread MING TSANG
Thank you Robin and Frank.

After delete binder-offset and line-width, the problem solved.

 
Blessing in+,
Ming.



 From: Robin Bannister r...@dataway.ch
To: MING TSANG tsan...@rogers.com; lilypond-usermailinglist 
lilypond-user@gnu.org 
Sent: Tuesday, March 27, 2012 4:44:58 AM
Subject: Re: inner-outer margin two-sided print
 
MING TSANG wrote: 
 In both cases the output is the same. 

Did you see the warning produced by this snippet? margins do not fit with 
line-width, setting default values

There may be other problems, but I think yout current problem is that you 
haven't foreseen any width for the binding-offset. This warning  disappears 
when binding-offset is zero.

So I would suggest NOT setting line-width; comment it out and let it be 
determined by what binding-offset you choose.


Cheers, Robin


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


Re: [Frescobaldi] Re: Help needed creating a Mac OS X installer for Frescobaldi

2012-03-27 Thread Philippe Massart
That's the message I got while running the bundle Rodolfo made for OS X.

Philippe

Le 27 mars 2012 à 16:09, Wilbert Berendsen a écrit :

 Op Tue, 27 Mar 2012 10:38:54 +0200
 Philippe Massart phili...@philmassart.net schreef:
 
  File
 /Users/philippe/Desktop/frescobaldi.app/Contents/MacOS/frescobaldi_app/po/setup.py,
 line 46, in current if not language or language.isNull():
 AttributeError: 'unicode' object has no attribute 'isNull'
 
 Strange: I never wrote the 'or language.isNull()' part...
 Which frescobaldi version is this?
 
 
 
 -- 
 Wilbert Berendsen
 (http://www.wilbertberendsen.nl)
 


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


Self-contained Lilypond in a Dropbox folder for Windows users?

2012-03-27 Thread Michael Ellis
I've been collaborating with some other members of my choral group who've
decided to learn LilyPond (more converts, hooray!) to help with
transcribing individual parts.  For the OS X users, it was very easy to set
up a folder in Dropbox that included the latest LilyPond.app bundle so I
don't have to troubleshoot installation and version issues on their
individual machines.  Works great so far.

Now I'm getting inquiries from Windows users.   Is it possible to do the
same thing for them, i.e. have a LilyPond Windows install self-contained in
a Dropbox folder that they can just run with no other installation effort?
 I really want to avoid spending time figuring out why things aren't
working in Vista :-(

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


Re: Self-contained Lilypond in a Dropbox folder for Windows users?

2012-03-27 Thread Phil Holmes
I've installed Lilypond 10s of times (must be pushing hundreds) on Windows, and 
I just download the installer and double-click it.  I'm assuming dropbox makes 
it look like a local folder, so I reckon all you'd need to do is point them to 
it for them to double click.


Phil Holmes


  - Original Message - 
  From: Michael Ellis 
  To: LilyPond User Group 
  Sent: Tuesday, March 27, 2012 5:38 PM
  Subject: Self-contained Lilypond in a Dropbox folder for Windows users?


  I've been collaborating with some other members of my choral group who've 
decided to learn LilyPond (more converts, hooray!) to help with transcribing 
individual parts.  For the OS X users, it was very easy to set up a folder in 
Dropbox that included the latest LilyPond.app bundle so I don't have to 
troubleshoot installation and version issues on their individual machines.  
Works great so far.  


  Now I'm getting inquiries from Windows users.   Is it possible to do the same 
thing for them, i.e. have a LilyPond Windows install self-contained in a 
Dropbox folder that they can just run with no other installation effort?  I 
really want to avoid spending time figuring out why things aren't working in 
Vista :-(

  Thanks,
  Mike



--


  ___
  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: Self-contained Lilypond in a Dropbox folder for Windows users?

2012-03-27 Thread Michael Ellis
On Tue, Mar 27, 2012 at 12:53 PM, Phil Holmes m...@philholmes.net wrote:

 **
 I've installed Lilypond 10s of times (must be pushing hundreds) on
 Windows, and I just download the installer and double-click it.  I'm
 assuming dropbox makes it look like a local folder, so I reckon all you'd
 need to do is point them to it for them to double click.


Thanks Phil, that's comforting to hear.  Sound like the Lily packagers have
done a very competent job.  I was really fearful of getting into Windows
hell.   Dropbox does indeed make it look like a local folder so I'll try
what you suggest and see what happens.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Self-contained Lilypond in a Dropbox folder for Windows users?

2012-03-27 Thread James
Hello,

On 27 March 2012 17:38, Michael Ellis michael.f.el...@gmail.com wrote:
 I've been collaborating with some other members of my choral group who've
 decided to learn LilyPond (more converts, hooray!) to help with transcribing
 individual parts.  For the OS X users, it was very easy to set up a folder
 in Dropbox that included the latest LilyPond.app bundle so I don't have to
 troubleshoot installation and version issues on their individual machines.
  Works great so far.

 Now I'm getting inquiries from Windows users.   Is it possible to do the
 same thing for them, i.e. have a LilyPond Windows install self-contained in
 a Dropbox folder that they can just run with no other installation effort?
  I really want to avoid spending time figuring out why things aren't working
 in Vista :-(

All my LilyPond files reside in a DropBox folder (if not the binary
itself) - this means no matter what machine I am on
(Linux/Mac/Windows) I can easily access all my files.

It works well, although on a slow network connection it can, depending
on the size of the .ly file and the resulting output - slow down the
compilation, perhaps by a few seconds my scores rarely go more than 8
pages. Because you are creating a few temp files (.ps for instance)
that then get deleted, Dropbox will still replicate the creation and
then replciate the deletion. However when I am doing lots of changes
you can 'pause' syncing very easily and then when you are all done and
finished, just resume sync and dropbox updates the most current files.

I cannot speak about Vista but Windows 7 works great.

Installing LilyPond in a dropbox folder is no different to say
installing it on the 'd' drive. What I am not sure of though is

You *might* need to set your path (or at least check it is set
properly) so that LilyPond can run

http://lilypond.org/windows.html

See 'running on the command line' half way down.



Regards

James

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


Re: [Frescobaldi] Re: Help needed creating a Mac OS X installer for Frescobaldi

2012-03-27 Thread Rodolfo Zitellini
On Tue, Mar 27, 2012 at 4:09 PM, Wilbert Berendsen wbs...@xs4all.nl wrote:
 Op Tue, 27 Mar 2012 10:38:54 +0200
 Philippe Massart phili...@philmassart.net schreef:

   File
 /Users/philippe/Desktop/frescobaldi.app/Contents/MacOS/frescobaldi_app/po/setup.py,
 line 46, in current if not language or language.isNull():
 AttributeError: 'unicode' object has no attribute 'isNull'

 Strange: I never wrote the 'or language.isNull()' part...
 Which frescobaldi version is this?



 --
 Wilbert Berendsen
 (http://www.wilbertberendsen.nl)


I think it is my fault :)
I fiddled a bit with the code since I got repeated QPyNullVariant
typeerrors, so I added the 'isNull() for testing - but I forgot to
remove it oops!

Rodolfo

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


Re: Self-contained Lilypond in a Dropbox folder for Windows users?

2012-03-27 Thread Michael Ellis
Cheers,
Mike


On Tue, Mar 27, 2012 at 1:01 PM, James pkx1...@gmail.com wrote:



 I cannot speak about Vista but Windows 7 works great.

 Installing LilyPond in a dropbox folder is no different to say
 installing it on the 'd' drive. What I am not sure of though is

 You *might* need to set your path (or at least check it is set
 properly) so that LilyPond can run

 http://lilypond.org/windows.html

 See 'running on the command line' half way down.


 Thanks, James.  That's the kind of issue that scares me.  Trying to
explain to someone who's got no concept of 'path' how to append to it can
eat an amazing amount of time.  Guess I'll just have to see how it goes ...
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Self-contained Lilypond in a Dropbox folder for Windows users?

2012-03-27 Thread James
Michael,

On 27 March 2012 18:08, Michael Ellis michael.f.el...@gmail.com wrote:

 Cheers,
 Mike


 On Tue, Mar 27, 2012 at 1:01 PM, James pkx1...@gmail.com wrote:



 I cannot speak about Vista but Windows 7 works great.

 Installing LilyPond in a dropbox folder is no different to say
 installing it on the 'd' drive. What I am not sure of though is

 You *might* need to set your path (or at least check it is set
 properly) so that LilyPond can run

 http://lilypond.org/windows.html

 See 'running on the command line' half way down.


 Thanks, James.  That's the kind of issue that scares me.  Trying to explain
 to someone who's got no concept of 'path' how to append to it can eat an
 amazing amount of time.  Guess I'll just have to see how it goes ...

I'm afraid that we have found cases where the windows installer simply
doesn't add the path at all. I believe that if you incorporate the
latests version Frescobaldi (and I would certainly recommend that as a
'front end' for Windows users) you can configure it there in the
preferences.

Install LilyPond
Install Frescobaldi
use Frescobaldi's preferences to make sure the LilyPond exe is being
found, if not point to it using Frescobaldis easy-to-use
windows-like-browse-to-find-me GUI and click ok.

James

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


Re: Self-contained Lilypond in a Dropbox folder for Windows users?

2012-03-27 Thread Carl Sorensen
On 3/27/12 11:17 AM, James pkx1...@gmail.com wrote:

On 27 March 2012 18:08, Michael Ellis michael.f.el...@gmail.com wrote:

Thanks, James.  That's the kind of issue that scares me.  Trying to
explain
 to someone who's got no concept of 'path' how to append to it can eat an
 amazing amount of time.  Guess I'll just have to see how it goes ...

I'm afraid that we have found cases where the windows installer simply
doesn't add the path at all.

Not adding the path at all is the current behavior in the windows
installer.  Given the choice between making the path explode due to too
many characters and leaving the binary off the path (but still having it
work with LilyPad), the choice to leave it off seems reasonable.

But appropriate patches to the Windows installer (part of GUB) would
certainly be gratefully considered.

Thanks,

Carl


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