Selected pieces in a book

2015-10-10 Thread Pierre Perol-Schneider
Hi LilyPonders,

I'm trying to automagically select pieces within a library.
My first intention was to use 'tags' but it does not seem to work a that
level.
So here's the idea: let say I include a full library in one file and I want
to get a book with some pre-selected pieces only, e.g.:

\version "2.19.28"

my-first-piece = {
  \tag level-one {
\relative c' {
  \mark "Level 1"
  c1 d e f g a b c
}
  }
}

my-second-piece = {
  \tag level-one {
   \relative c' {
 \mark "Level 1"
 c2 d e f g a b c
   }
  }
}

my-third-piece = {
  \tag level-two {
\relative c' {
  \mark "Level 2"
  c4 d e f g a b c
}
  }
}

my-fourth-piece = {
  \tag level-two {
\relative c' {
  \mark "Level 2"
  c8 d e f g a b c
}
  }
}

%% Full library included:
my-library = \book {
  \score { \my-first-piece }
  \score { \my-second-piece }
  \score { \my-third-piece }
  \score { \my-fourth-piece }
}

%% Select pieces by level:
\book {
  \bookpart {
%% Select only 'level 1 pieces':
%\keepWithTag #'level-one {
  \my-library
%}
\header {
  title = "Level I"
}
  }
  \bookpart {
%% Select only 'level 2 pieces':
%\keepWithTag #'level-two {
  \my-library
%}
\header {
  title = "Level II"
}
  }
}


Any idea how to achieve that ?

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


Re: Selected pieces in a book

2015-10-10 Thread Federico Bruni
Il giorno sab 10 ott 2015 alle 19:41, Pierre Perol-Schneider 
 ha scritto:

I'm trying to automagically select pieces within a library.
My first intention was to use 'tags' but it does not seem to work a 
that level.
So here's the idea: let say I include a full library in one file and 
I want to get a book with some pre-selected pieces only, e.g.:


Interesting question.
Instead of "polluting" the lilypond sources with \tag(s), I'd rather 
set a custom field (level) in the \header block and write a script 
which parses the header and process the files accordingly.


I wonder if something like this already exists somewhere..

It would be flexible and useful in several situations. For example, I'm 
writing an anthology of a guitar player and I need to order the pieces 
somehow. Currently I'm using a master file which includes each piece, 
so the order is defined "statically": first by tuning, then 
alphabetically. If one day I change my mind about the ordering 
criteria, I'll have to move the include(s) within the master file. OTOH 
a script would create the final book(s) dinamically as I wish.





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


Re: Selected pieces in a book

2015-10-10 Thread Pierre Perol-Schneider
2015-10-10 20:36 GMT+02:00 Federico Bruni :
...

> Interesting question.
> Instead of "polluting" the lilypond sources with \tag(s), I'd rather set a
> custom field (level) in the \header block and write a script which parses
> the header and process the files accordingly.
>
...

How about a list of key-words ?

\header {
  key-words = #(list level-one a-minor romantic)
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Selected pieces in a book

2015-10-10 Thread Pierre Perol-Schneider
Dear Simon, this is just perfect!
Thank you very much.

~Pierre

2015-10-10 20:30 GMT+02:00 Simon Albrecht :

> Hello Pierre,
>
> On 10.10.2015 19:41, Pierre Perol-Schneider wrote:
>
>> Hi LilyPonders,
>>
>> I'm trying to automagically select pieces within a library.
>> My first intention was to use 'tags' but it does not seem to work a that
>> level.
>>
>
> \tag is a music function, so it can’t output scores.
>
>
>>
>> Any idea how to achieve that ?
>>
>
> I’d use some Scheme code:
>
> %%
> \version "2.19.28"
>
> my-first-piece = \relative c' {
>   \mark "Level 1"
>   c1 d e f g a b c
> }
>
> my-second-piece = \relative c' {
>   \mark "Level 1"
>   c2 d e f g a b c
> }
>
> my-third-piece = \relative c' {
>   \mark "Level 2"
>   c4 d e f g a b c
> }
>
> my-fourth-piece = \relative c' {
>   \mark "Level 2"
>   c8 d e f g a b c
> }
>
> %% define scheme lists of music expressions for each level
> #(define level-one (list my-first-piece my-second-piece))
> #(define level-two (list my-third-piece my-fourth-piece))
>
> #(define (print-by-level lst)
>;; wrap each music expression into \score {}
>;; and add each of the scores to the bookpart
>(let ((print-piece (lambda (mus)
> #{ \score { $mus } #})))
>  ;; see ‘scm/lily-library.scm’ for add-score
>  ;; (and many other useful procedures)
>  (map add-score (map print-piece lst
>
> %% Select pieces by level:
> \book {
>   \bookpart {
> %% Select only 'level 1 pieces':
> #(print-by-level level-one)
> %}
> \header {
>   title = "Level I"
> }
>   }
>   \bookpart {
> %% Select only 'level 2 pieces':
> #(print-by-level level-two)
> %}
> \header {
>   title = "Level II"
> }
>   }
> }
> %%%
>
> It has been a personal breakthrough to discover the use of these functions
> from lily-library.scm…
> I hope you can make sense and use of that :-)
>
> Yours, Simon
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Trill spanner minimum length problem

2015-10-10 Thread Menu Jacques
Hello David,

Excellent, thanks, and a nice w-e!

JM

> Le 10 oct. 2015 à 18:02, David Nalesnik  a écrit :
> 
> Hi Jacques,
> 
> On Sat, Oct 10, 2015 at 10:58 AM, Menu Jacques  > wrote:
> Hello folks,
> 
> In a Poulenc score, I have the trill displayed in the attached PNG, but 
> narrower due to LP’s setting of the line breaks, which makes the prall quite 
> short:
> 
> 
> I tried to set a minimum length with the following, but to no avail: the 
> result is the same whatever the value I supply:
> 
> \version "2.19.28"
> 
> \relative c'' {
>   \override TrillSpanner.minimum-length = #38 % <<<—-— HERE
> 
> Add the following line here and the spacing changes will take effect:
> 
> \override TrillSpanner.springs-and-rods = #ly:spanner::set-spacing-rods
> 
> --David
> 
> ___
> 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: Slur and tie between chords

2015-10-10 Thread David Kastrup
Jay Anderson  writes:

> On Wed, Feb 13, 2013 at 1:16 AM, Janne Uusitalo
>  wrote:
>> I've attached two images to illustrate a problem I'm having with
>> simultaneous notes, slurs and ties.
>>
>> The original version is what I'm hoping to get, and the lilypond
>> version is what 2.14.2 offers me for
>>
>> %{ 24 %}2(~
>> %{ 25 %})~
>>
>> Any ideas on how do I make the slur connect the two higher notes
>> instead of the two lower ones?
>
> http://code.google.com/p/lilypond/issues/detail?id=3031
>
> This isn't currently possible in lilypond. You're either going to have
> to manually move the slur or use some of the other workarounds
> offered.

Well, now it is (will appear in 2.19.29).  The output quality needs
improvement, but now the following input will yield the following
output:

\relative c,
{
  \clef "bass" \key des \major  \voiceTwo
%{ 24 %}2
%{ 25 %}~
}


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


Trill spanner minimum length problem

2015-10-10 Thread Menu Jacques
Hello folks,

In a Poulenc score, I have the trill displayed in the attached PNG, but 
narrower due to LP’s setting of the line breaks, which makes the prall quite 
short:


I tried to set a minimum length with the following, but to no avail: the result 
is the same whatever the value I supply:

\version "2.19.28"

\relative c'' {
  \override TrillSpanner.minimum-length = #38 % <<<—-— HERE

  c4 -\markup{ \override #`(direction . ,DOWN) \fermata} ^\markup{\natural 
\raise #-0.5 \italic "serré"}
  \startTrillSpan c16 \stopTrillSpan r16 \fermata bes8 -.

  \bar "||"
}

Thanks for your help!

JM


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


Re: Selected pieces in a book

2015-10-10 Thread Jacques Menu
Not sure wether that would be good: someone on this list proposed a tree of names, similar to that of a file system, to access parts of a whole, see attached file.JM

MusicTreeSample.ly
Description: Binary data
Le 10 oct. 2015 à 21:07, Pierre Perol-Schneider  a écrit :2015-10-10 20:36 GMT+02:00 Federico Bruni :...  
Interesting question.
Instead of "polluting" the lilypond sources with \tag(s), I'd rather set a custom field (level) in the \header block and write a script which parses the header and process the files accordinglyHow about a list of key-words ?\header {  key-words = #(list level-one a-minor romantic)}

___lilypond-user mailing listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Trill spanner minimum length problem

2015-10-10 Thread David Nalesnik
Hi Jacques,

On Sat, Oct 10, 2015 at 10:58 AM, Menu Jacques  wrote:

> Hello folks,
>
> In a Poulenc score, I have the trill displayed in the attached PNG, but
> narrower due to LP’s setting of the line breaks, which makes the prall
> quite short:
>
> I tried to set a minimum length with the following, but to no avail: the
> result is the same whatever the value I supply:
>
> \version "2.19.28"
>
> \relative c'' {
>   \override TrillSpanner.minimum-length = #38 % <<<—-— HERE
>

Add the following line here and the spacing changes will take effect:

\override TrillSpanner.springs-and-rods = #ly:spanner::set-spacing-rods

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


RE: error message

2015-10-10 Thread Mark Stephen Mrotek
Federico,

Thank you for your reply.
The installation of Lilypond is not new. 
The error message appears sporadically. It may appear three times in a row 
during a session and then the file compiles. This cycle repeats throughout the 
session.

Mark

-Original Message-
From: Federico Bruni [mailto:f...@inventati.org] 
Sent: Saturday, October 10, 2015 12:45 AM
To: Mark Stephen Mrotek 
Cc: lilypond-user@gnu.org
Subject: Re: error message

Il giorno sab 10 ott 2015 alle 1:20, Mark Stephen Mrotek  
ha scritto:
> Using Lilypond2.18.0, Frescobaldi 2.18.1.
> 
> When clicking the Lilypond icon in Frescobaldi the following appears:
> 
> 
> 
> Starting lilypond-windows.exe 2.18.2 [Nocturne Ab.ly]...Aborting 
> lilypond-windows.exe 2.18.2 [Nocturne Ab.ly]...
> 
> Exited with return code 62097.
> 
Does it happen with a new lilypond installation?

Few days ago I had the same problem, I think, while trying last lilypond on 
windows. It happened only the first time I run lilypond and it took a lot to 
compile a simple file. After the first compilation finally succeeded it didn't 
happen anymore.




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


Re: opus and piece fields in top level header.

2015-10-10 Thread David Wright
Quoting Richard Shann (rich...@rshann.plus.com):
> On Fri, 2015-10-09 at 23:37 +0200, Simon Albrecht wrote:
> > On 09.10.2015 22:25, Richard Shann wrote:
> > > In the 2.18 it does not seem to mention that the opus and piece fields
> > > are not output anywhere if they are set in a \header{} block *outside*
> > > any \score{} block, but this seems to be the case.
> > 
> > I can’t access the 2.18 docs ATM, since lilypond.org is down. But in the 
> > current development version, this is documented in NR 3.2.1, with an 
> > example for the default placement. 3.2.2 has an explanation how to 
> > redefine the \paper variable bookHeaderMarkup, and the default value can 
> > be found in ‘ly/titling-init.ly’.
> 
> Thank you - that is the documentation I was looking at, and it not quite
> as explicit as it could be: there is a series of notes including this
> one
> 
> - Only piece and opus are printed in a \score when the paper variable
> print-all-headers is set to ##f (the default). 
> 
> which could be supplemented by
> 
> - The piece and opus are ignored when in a \header block not inside a
> \score block.

That's not my experience. The piece and opus are printed but they have
constant values: their last external definition in the file. Placing
them inside a \score block sets (and overrides) individual values.

The attachment exercises some of the possibilities. The pageBreak
helps distinguish which headings belong to the scores themselves
(especially if you try adding print-all-headers).

> I think at the moment you can only discern that by spotting absences.

Cheers,
David.
\version "2.18.2"

\paper { #(set-paper-size "a7") }
#(set-global-staff-size 14)

\header {
  title = "The Title in external header"
  subtitle = "The Subtitle"
  subsubtitle = "The Subsubtitle"
  poet = "The Poet"
  composer = "The Composer"
  meter = "The Meter"
  opus = "The Opus"
  arranger = "The Arranger"
  instrument = "The Instrument"
  dedication = "The Dedication"
  piece = "The Piece in external header"
  head = "The Head"
  copyright = "The Copyright"
  tagline = "The Tagline"
}

thescore = \score {
  \new Voice { \clef treble s1 }
  \layout { }
}

\pageBreak

\score { \thescore }
\score { \thescore }

\score {
  \thescore
  \header {
opus = "Newer Opus"
piece = "Newer Piece in internal header"
  }
}

\score {
  \thescore
  \header {
piece = "Newest Piece in internal header"
  }
}


heading-test.pdf
Description: Adobe PDF document
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: error message

2015-10-10 Thread Knute Snortum
No error on a Windows 10 system with 2.18.2.


Knute Snortum
(via Gmail)

On Sat, Oct 10, 2015 at 1:05 AM, Michael Gerdau  wrote:

> > > Starting lilypond-windows.exe 2.18.2 [Nocturne Ab.ly]...Aborting
> > > lilypond-windows.exe 2.18.2 [Nocturne Ab.ly]...
> > >
> > > Exited with return code 62097.
> >
> > Does it happen with a new lilypond installation?
>
> It does not happen on my system using lilypond-windows.exe 2.19.25
>
> Kind regards,
> Michael
> --
>  Michael Gerdau   email: m...@qata.de
>  GPG-keys available on request or at public keyserver
> ___
> 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


dynamic with markup

2015-10-10 Thread Mark Stephen Mrotek
Hello,

 

I recall that instructions were once given to achieve:

 

p ma ben marcato,

 

yet my search of the LSP was not successful.

 

Please direct me to its location.

 

Thank you for your kind attention.

 

Mark

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


Re: dynamic with markup

2015-10-10 Thread Colin Campbell

On 15-10-10 07:58 PM, Mark Stephen Mrotek wrote:


Hello,

I recall that instructions were once given to achieve:

*/p /*/ma ben marcato/,

yet my search of the LSP was not successful.

Please direct me to its location.

Thank you for your kind attention.

Mark




You will probably find the Notation Reference (NR) at Section 1.3.1 New 
dynamic marks, to be helpful.


Cheers,
Colin
--
I am a Conservative to preserve all that is good in our constitution, a 
Radical to remove all that is bad. I seek to preserve property and to 
respect order, and I equally decry the appeal to the passions of the 
many or the prejudices of the few.

 - Benjamin Disraeli, British prime minister (1804-1881)
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: compress full bar rests

2015-10-10 Thread Flaming Hakama by Elaine
> And a really minimal example is the one Thomas already posted:
>
> %%%
>
> \new Staff <<
>   { s1 s1 }
>   { \compressFullBarRests R1*2 }
> >>
> %%%

I reject this as a minimal example because it only demonstrates half of
what I demonstrated,  which is that the same music expression exhibits
different behavior in different contexts, with regard to
compressFullBarRests.

This example is thus both incomplete, and not obviously the same problem.

>> Removing anything else would dissolve the framework within which I'm
having the problem.
>
> The point is isolating the exact problem.

Let's put this another way: refactoring a problem into a different problem
is only useful if you are sure that the problems are identical.

The assertion that this globals recipe boils down to a parallel music
expression is insightful.  But, as someone less familiar with these
techniques, that is a dubious assumption for me to make.

Your suggestion boils down to requiring me to reverse engineer something
suggested to me as a best practice on this list, as a precondition for
asking a question about how to use it.

Now,  that strikes me as a particularly  ridiculous suggestion.

> Everybody trying to help you (unless he is already familiar with the
problem) will have to do exactly that: produce a minimal example.

No, the folks I expect might help will be able to eyeball it and not even
need to compile the example.

Especially those who suggested or are familiar with this recipe.

No one is obligated to help me.

If you feel a question is too difficult to solve, please ignore it rather
than flame me.

> And I was trying to assist you in helping yourself. I have also spent
tedious hours creating a minimal example from a complicated multi-file
setup with lots of Scheme code, cropping everything down until I found the
needle in the haystack. There’s nothing for it.

Congratulations on being able to solve all your own problems.

I solve as many of mine as I can, too.

When I get stuck,  I ask a well-curated question.  We may disagree on what
that means, but I  can assure you I am very careful about what I present to
the list.

I agree with the emphasis on minimal.

But not as a fetish, at the expense of clarity.

Identifying the problem clearly in both the code and the pdf, is necessary
to achieve this in my opinion.

> Yours, Simon

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


LilyPond syntax element like Scheme ‘)’? (was: Re: Selected pieces in a book)

2015-10-10 Thread Simon Albrecht
The definition of \stringAppend is definitely awkward. After all, the 
only difference between \stringAppend and \string-append is that the 
former has a specified number of arguments, and the latter doesn’t work 
since in LilyPond syntax there is no delimiter like ‘)’ in Scheme. I 
wonder if we might introduce such a syntax element. But I can’t even 
think of a reasonable one: \end is not distinctive enough IMO.  \out ?  \. ?

It would allow writing:
%
\markup \string-append "foo" "bar" \.
%

Yours, Simon

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


Re: Selected pieces in a book

2015-10-10 Thread Pierre Perol-Schneider
Hi Jacques,

2015-10-10 21:37 GMT+02:00 Jacques Menu :

> Not sure wether that would be good: someone on this list proposed a tree
> of names, similar to that of a file system, to access parts of a whole, see
> attached file.
>
> JM
>

Could be interesting. I'll try to see how this could help.
Anyway, here's how I'd like to do it:

\version "2.19.28"

my-first-piece = \score {
  \new Staff {
\relative c' {
  \mark "Level 1"
  c1 d e f g a b c
}
  }
  \header {
labelling = #'(list level-one)
  }
}

my-second-piece = \score {
  \new Staff {
   \relative c' {
 \mark "Level 1"
 c2 d e f g a b c
   }
  }
  \header {
labelling = #'(list level-one level-one-bis)
  }
}

my-third-piece =  \score {
  \new Staff {
\relative c' {
  \mark "Level 2"
  c4 d e f g a b c
}
  }
  \header {
labelling = #'(list level-two level-one-bis)
  }
}

my-fourth-piece =  \score {
  \new Staff {
\relative c' {
  \mark "Level 2"
  c8 d e f g a b c
}
  }
  \header {
labelling = #'(list level-two level-one-bis level-one-ter)
  }
}

#(define (print-by-labelling lst)
   ;;TODO: everything...
 (map add-score (map print-piece lst

%% Select pieces by level:
\book {
  \bookpart {
%% Select only 'level 1' pieces:
#(print-by-labelling level-one)
%}
\header {
  title = "Level I"
}
  }
  \bookpart {
%% Select only 'level 2' pieces:
#(print-by-labelling level-two)
%}
\header {
  title = "Level II"
}
  }
  \bookpart {
%% Select only 'essai' pieces:
#(print-by-labelling level-one-bis)
%}
\header {
  title = "Level I (Bis)"
}
  }
}

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


Re: dynamic with markup

2015-10-10 Thread Brian Barker

At 18:58 10/10/2015 -0700, Mark Stephen Mrotek wrote:

I recall that instructions were once given to achieve:

p ma ben marcato,

yet my search of the LSP was not successful.


Try:
 c_\markup { \dynamic p \italic { ma ben marcato } }

Brian Barker 



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


Re: opus and piece fields in top level header.

2015-10-10 Thread Richard Shann
On Fri, 2015-10-09 at 23:37 +0200, Simon Albrecht wrote:
> On 09.10.2015 22:25, Richard Shann wrote:
> > In the 2.18 it does not seem to mention that the opus and piece fields
> > are not output anywhere if they are set in a \header{} block *outside*
> > any \score{} block, but this seems to be the case.
> 
> I can’t access the 2.18 docs ATM, since lilypond.org is down. But in the 
> current development version, this is documented in NR 3.2.1, with an 
> example for the default placement. 3.2.2 has an explanation how to 
> redefine the \paper variable bookHeaderMarkup, and the default value can 
> be found in ‘ly/titling-init.ly’.

Thank you - that is the documentation I was looking at, and it not quite
as explicit as it could be: there is a series of notes including this
one

- Only piece and opus are printed in a \score when the paper variable
print-all-headers is set to ##f (the default). 

which could be supplemented by

- The piece and opus are ignored when in a \header block not inside a
\score block. 

I think at the moment you can only discern that by spotting absences.

Richard



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


Re: code \acciaccatura e'8 broke the manual \break

2015-10-10 Thread Jacques Menu
Oups, the break is there, but the acciaccatura isn’t… can’t do more!

> Le 10 oct. 2015 à 10:51, Jacques Menu  a écrit :
> 
> Hello Ming,
> 
> This works, moving the acciaccatura just in from of the note if refers to :
> 
>   <\acciaccatura e'8 d'fs'>2. |
> 
> JM
> 
> 
>> Le 10 oct. 2015 à 04:35, MING TSANG > > a écrit :
>> 
>> It didn't show up at lilypond-user Mailinglist.   Try again
>> 
>> - Forwarded Message -
>> From: MING TSANG >
>> To: Lilypond-user Mailinglist > > 
>> Sent: Thursday, October 8, 2015 7:10 PM
>> Subject: code \acciaccatura e'8 broke the manual \break
>> 
>> Dear lilyponders,
>> 
>> Please refer to .png.
>> Is this a bug? How can I resolve it.
>> 
>> 
>> 
>> Attach is the lily file
>> 
>> Immanuel,
>> Ming
>> 
>> 
>> > >___
>> 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: code \acciaccatura e'8 broke the manual \break

2015-10-10 Thread Thomas Morley
2015-10-10 4:35 GMT+02:00 MING TSANG :

> It didn't show up at lilypond-user Mailinglist.   Try again
>
> - Forwarded Message -
> *From:* MING TSANG 
> *To:* Lilypond-user Mailinglist 
> *Sent:* Thursday, October 8, 2015 7:10 PM
> *Subject:* code \acciaccatura e'8 broke the manual \break
>
> Dear lilyponders,
>
> Please refer to .png.
> Is this a bug? How can I resolve it.
>
> [image: Inline image]
>
> Attach is the lily file
>
> Immanuel,
> Ming
>
> I'd say it's another instance of issue 34. Workaround is to synchronize
acciaccatura/appogiatura/grace.

Tiny example below, sollution is commented:

<<
  {
d'1 \break
%\grace s8
d'1
  }
  {
d'1
\acciaccatura d'8
d'1
  }
>>


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


Re: error message

2015-10-10 Thread Federico Bruni
Il giorno sab 10 ott 2015 alle 1:20, Mark Stephen Mrotek 
 ha scritto:

Using Lilypond2.18.0, Frescobaldi 2.18.1.

When clicking the Lilypond icon in Frescobaldi the following appears:



Starting lilypond-windows.exe 2.18.2 [Nocturne Ab.ly]...Aborting 
lilypond-windows.exe 2.18.2 [Nocturne Ab.ly]...


Exited with return code 62097.


Does it happen with a new lilypond installation?

Few days ago I had the same problem, I think, while trying last 
lilypond on windows. It happened only the first time I run lilypond and 
it took a lot to compile a simple file. After the first compilation 
finally succeeded it didn't happen anymore.





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


Re: error message

2015-10-10 Thread Michael Gerdau
> > Starting lilypond-windows.exe 2.18.2 [Nocturne Ab.ly]...Aborting
> > lilypond-windows.exe 2.18.2 [Nocturne Ab.ly]...
> > 
> > Exited with return code 62097.
> 
> Does it happen with a new lilypond installation?

It does not happen on my system using lilypond-windows.exe 2.19.25

Kind regards,
Michael
-- 
 Michael Gerdau   email: m...@qata.de
 GPG-keys available on request or at public keyserver

signature.asc
Description: This is a digitally signed message part.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: code \acciaccatura e'8 broke the manual \break

2015-10-10 Thread Jacques Menu
Hello Ming,

This works, moving the acciaccatura just in from of the note if refers to :

<\acciaccatura e'8 d'fs'>2. |

JM


> Le 10 oct. 2015 à 04:35, MING TSANG  a écrit :
> 
> It didn't show up at lilypond-user Mailinglist.   Try again
> 
> - Forwarded Message -
> From: MING TSANG 
> To: Lilypond-user Mailinglist  
> Sent: Thursday, October 8, 2015 7:10 PM
> Subject: code \acciaccatura e'8 broke the manual \break
> 
> Dear lilyponders,
> 
> Please refer to .png.
> Is this a bug? How can I resolve it.
> 
> 
> 
> Attach is the lily file
> 
> Immanuel,
> Ming
> 
> 
> ___
> 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


Ottava bracket outside-staff-priority

2015-10-10 Thread Andrew Bernard
I want to put an ottava bracket inside a tuplet bracket. Using the 
outside-staff-priority parameter, this will only work if the tuplet bracket 
priority is greater than 400, which is the default for the ottava bracket. I 
thought that it was a matter of numerical ordering to do this, not absolute 
values. Changing the value of outside-staff-priority for the ottava bracket 
value seems to have no effect. What am I missing?

Andrew

— snip

\version "2.19.28"

bass = {
  \clef bass
  \time 1/4
  \stemUp
  \tupletDown
  \once \override OttavaBracket.outside-staff-priority = #2
  \once \override TupletBracket.outside-staff-priority = #3

  %\once \override TupletBracket.outside-staff-priority = #401

  \override TupletBracket.bracket-visibility = ##t
  \tuplet 5/4 {
8.[
\once \override OttavaBracket.outside-staff-priority = #1
\ottava #-1
\set Staff.ottavation = #"8"
8]
\ottava #0
  }
}

\score {
  \new Staff { \bass }
  \layout { }
}

— snip


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


Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Luca Danieli
Hello all,
in these last 2 days I have been re-editing some scores of mine in lilypond.One 
worked perfectly, while the second one worked fine as well but didn't export 
the pdf file of the score.I mean that I can stream the pdf in Frescobaldi, but 
I cannot find the file in the relative path.
This is the building response:

Layout output to `Violin piece from Cist Tombs on Amorgos.ps'...

Converting to `./Violin piece from Cist Tombs on Amorgos.pdf'...

Success: compilation successfully completed

Completed successfully in 16.4".

but if I go to the path -> ./nothing is there except for the *.ly file.
I am using lilypond 2.18.2 on Ubuntu 15.04
Cheers,Luca   ___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Ottava bracket outside-staff-priority

2015-10-10 Thread Federico Bruni
Il giorno sab 10 ott 2015 alle 11:58, Andrew Bernard 
 ha scritto:
I want to put an ottava bracket inside a tuplet bracket. Using the 
outside-staff-priority parameter, this will only work if the tuplet 
bracket priority is greater than 400, which is the default for the 
ottava bracket. I thought that it was a matter of numerical ordering 
to do this, not absolute values. Changing the value of 
outside-staff-priority for the ottava bracket value seems to have no 
effect. What am I missing?


Andrew

— snip

\version "2.19.28"

bass = {
  \clef bass
  \time 1/4
  \stemUp
  \tupletDown
  \once \override OttavaBracket.outside-staff-priority = #2
  \once \override TupletBracket.outside-staff-priority = #3

  %\once \override TupletBracket.outside-staff-priority = #401

  \override TupletBracket.bracket-visibility = ##t
  \tuplet 5/4 {
8.[
\once \override OttavaBracket.outside-staff-priority = #1
\ottava #-1
\set Staff.ottavation = #"8"
8]
\ottava #0
  }
}

\score {
  \new Staff { \bass }
  \layout { }
}


If you uncomment the override you get the result you want, don't you? 
See attached image.

What I'm missing?
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: code \acciaccatura e'8 broke the manual \break

2015-10-10 Thread MING TSANG
Thank you Thomas & Jacques
  From: Thomas Morley 
 To: MING TSANG  
Cc: Lilypond-user Mailinglist  
 Sent: Saturday, October 10, 2015 5:19 AM
 Subject: Re: code \acciaccatura e'8 broke the manual \break
   


2015-10-10 4:35 GMT+02:00 MING TSANG :



It didn't show up at lilypond-user Mailinglist.   Try again
- Forwarded Message -
  From: MING TSANG 
 To: Lilypond-user Mailinglist  
 Sent: Thursday, October 8, 2015 7:10 PM
 Subject: code \acciaccatura e'8 broke the manual \break
   
Dear lilyponders,
Please refer to .png.Is this a bug? How can I resolve it.


Attach is the lily file
Immanuel,Ming

I'd say it's another instance of issue 34. Workaround is to synchronize 
acciaccatura/appogiatura/grace.

Tiny example below, sollution is commented:

<<
  {
    d'1 \break
    %\grace s8
    d'1 
  }
  {
    d'1 
    \acciaccatura d'8 
    d'1  
  }
>>


HTH,
  Harm 


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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Chris Yate
Hi -- yes, I've seen this happen a few times recently (on Windows).
Although as far as I know, the file you're looking at in Frescobaldi is a
temporary PDF file. I may be corrected by someone.

Having said that I'm not sure whether Frescobaldi always has the "working"
folder you would expect... And one possibility of this occurring seems to
be if the target file was open in another PDF reader (some -- Adobe for
example -- locks the file. Very annoyingly. )

Chris


On 10 October 2015 at 10:57, Luca Danieli  wrote:

> Hello all,
>
> in these last 2 days I have been re-editing some scores of mine in
> lilypond.
> One worked perfectly, while the second one worked fine as well but didn't
> export the pdf file of the score.
> I mean that I can stream the pdf in Frescobaldi, but I cannot find the
> file in the relative path.
>
> This is the building response:
>
> Layout output to `Violin piece from Cist Tombs on Amorgos.ps'...
> Converting to `./Violin piece from Cist Tombs on Amorgos.pdf'...
> Success: compilation successfully completed
> Completed successfully in 16.4".
>
> but if I go to the path -> ./
> nothing is there except for the *.ly file.
>
> I am using lilypond 2.18.2 on Ubuntu 15.04
>
> Cheers,
> Luca
>
> ___
> 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: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Urs Liska


Am 10. Oktober 2015 12:55:41 MESZ, schrieb Federico Bruni :
>it's evident by the output he pasted that he saved the file
>so talking about the temporary directory would only confuse him

And when Adobe Reader (or something else) blocks the file there's evidence of 
that too in the output.

>
>Il giorno sab 10 ott 2015 alle 12:49, Chris Yate  
>ha scritto:
>> Hi -- yes, I've seen this happen a few times recently (on Windows). 
>> Although as far as I know, the file you're looking at in Frescobaldi 
>> is a temporary PDF file. I may be corrected by someone.
>> 
>> Having said that I'm not sure whether Frescobaldi always has the 
>> "working" folder you would expect... And one possibility of this 
>> occurring seems to be if the target file was open in another PDF 
>> reader (some -- Adobe for example -- locks the file. Very annoyingly.
>
>> )
>> 
>> Chris
>> 
>> 
>> On 10 October 2015 at 10:57, Luca Danieli  
>> wrote:
>>> Hello all,
>>> 
>>> in these last 2 days I have been re-editing some scores of mine in 
>>> lilypond.
>>> One worked perfectly, while the second one worked fine as well but 
>>> didn't export the pdf file of the score.
>>> I mean that I can stream the pdf in Frescobaldi, but I cannot find 
>>> the file in the relative path.
>>> 
>>> This is the building response:
>>> 
>>> Layout output to `Violin piece from Cist Tombs on Amorgos.ps'...
>>> Converting to `./Violin piece from Cist Tombs on Amorgos.pdf'...
>>> Success: compilation successfully completed
>>> Completed successfully in 16.4".
>>> 
>>> but if I go to the path -> ./
>>> nothing is there except for the *.ly file.
>>> 
>>> I am using lilypond 2.18.2 on Ubuntu 15.04
>>> 
>>> Cheers,
>>> Luca
>>> 
>>> ___
>>> 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

-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Simon Albrecht

On 10.10.2015 13:10, Federico Bruni wrote:
I wouldn't suggest to enable "Save document is possible" when saving 
to an SSD disk. 


Why that?
~ Simon

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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Federico Bruni
Il giorno sab 10 ott 2015 alle 13:10, Federico Bruni 
 ha scritto:

BTW, I recently realized that I wouldn't suggest to enable "Save
document is possible" when saving to an SSD disk.


Well, actually it's saved anyway in /tmp
Why I don't think before writing? :)

In another machine my home is in a normal hard disk and /tmp is in the 
SSD disk. So in that case the recommendation would be to enable that 
option.





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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Federico Bruni
Il giorno sab 10 ott 2015 alle 13:12, Simon Albrecht 
 ha scritto:

On 10.10.2015 13:10, Federico Bruni wrote:
I wouldn't suggest to enable "Save document is possible" when saving 
to an SSD disk.


Why that?
~ Simon


I don't know if it's still true for modern SSD but I often find 
documentation or tutorials saying to be cautious about the number of 
writes to a SSD drive. Probably outdated nowadays but I've never 
investigated.





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


Re: Ottava bracket outside-staff-priority

2015-10-10 Thread Andrew Bernard
Apologies, there’s a spurious override later in the code that I had not 
remembered. My fault.

Andrew

> On 10 Oct 2015, at 22:07, Simon Albrecht  wrote:
> 
> On 10.10.2015 13:04, Andrew Bernard wrote:
>> It is as though the ottava bracket ignores changes to its 
>> outside-staff-priority
> 
> It’s probably simple as that: Ottava_spanner_engraver lives in Staff, so you 
> need to \override Staff.OttavaBracket.
> 
> Yours, Simon


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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Simon Albrecht

Hello Luca,

On 10.10.2015 11:57, Luca Danieli wrote:

Hello all,

in these last 2 days I have been re-editing some scores of mine in 
lilypond.
One worked perfectly, while the second one worked fine as well but 
didn't export the pdf file of the score.
I mean that I can stream the pdf in Frescobaldi, but I cannot find the 
file in the relative path.


Did you save the file before processing? If you don’t, Frescobaldi will 
make a copy of the present state in a folder in tmp/ (you can see that 
at the beginning of the log) and the .pdf file will also be stored there.
This is configurable: just check ‘Save document if possible’ in the 
Preferences menu, ‘LilyPond Preferences’ tab, section ‘Running LilyPond’.


HTH, Simon

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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Simon Albrecht

P.S.
It’s better if you compose a new e-mail to the list than replying to an 
old one. There is some internal data field which assigns the new e-mail 
to the other thread, even if you edit the subject line. Thanks.


On 10.10.2015 11:57, Luca Danieli wrote:

Hello all,

in these last 2 days I have been re-editing some scores of mine in 
lilypond.
One worked perfectly, while the second one worked fine as well but 
didn't export the pdf file of the score.
I mean that I can stream the pdf in Frescobaldi, but I cannot find the 
file in the relative path.


This is the building response:

Layout output to `Violin piece from Cist Tombs on Amorgos.ps'...
Converting to `./Violin piece from Cist Tombs on Amorgos.pdf'...
Success: compilation successfully completed
Completed successfully in 16.4".

but if I go to the path -> ./
nothing is there except for the *.ly file.

I am using lilypond 2.18.2 on Ubuntu 15.04

Cheers,
Luca


___
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: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Federico Bruni
Il giorno sab 10 ott 2015 alle 11:57, Luca Danieli 
 ha scritto:
in these last 2 days I have been re-editing some scores of mine in 
lilypond.
One worked perfectly, while the second one worked fine as well but 
didn't export the pdf file of the score.
I mean that I can stream the pdf in Frescobaldi, but I cannot find 
the file in the relative path.


This is the building response:

Layout output to `Violin piece from Cist Tombs on Amorgos.ps'...
Converting to `./Violin piece from Cist Tombs on Amorgos.pdf'...
Success: compilation successfully completed
Completed successfully in 16.4".

but if I go to the path -> ./
nothing is there except for the *.ly file.

I am using lilypond 2.18.2 on Ubuntu 15.04


This is very strange. Are you sure? How are you checking if a PDF is in 
that directory?
Did you check if there's a PDF in the menu LilyPond>File Prodotti (or 
whatever in english)?


The path ./ is the directory where you saved the file




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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Federico Bruni

it's evident by the output he pasted that he saved the file
so talking about the temporary directory would only confuse him

Il giorno sab 10 ott 2015 alle 12:49, Chris Yate  
ha scritto:
Hi -- yes, I've seen this happen a few times recently (on Windows). 
Although as far as I know, the file you're looking at in Frescobaldi 
is a temporary PDF file. I may be corrected by someone.


Having said that I'm not sure whether Frescobaldi always has the 
"working" folder you would expect... And one possibility of this 
occurring seems to be if the target file was open in another PDF 
reader (some -- Adobe for example -- locks the file. Very annoyingly. 
)


Chris


On 10 October 2015 at 10:57, Luca Danieli  
wrote:

Hello all,

in these last 2 days I have been re-editing some scores of mine in 
lilypond.
One worked perfectly, while the second one worked fine as well but 
didn't export the pdf file of the score.
I mean that I can stream the pdf in Frescobaldi, but I cannot find 
the file in the relative path.


This is the building response:

Layout output to `Violin piece from Cist Tombs on Amorgos.ps'...
Converting to `./Violin piece from Cist Tombs on Amorgos.pdf'...
Success: compilation successfully completed
Completed successfully in 16.4".

but if I go to the path -> ./
nothing is there except for the *.ly file.

I am using lilypond 2.18.2 on Ubuntu 15.04

Cheers,
Luca

___
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: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Luca Danieli
Dear all, 
thank you for your answers. I solved the problem but I don't really know how.
Originally, I downloaded the *.ly file from my drive online. The score is not 
produced if you just open the file, but you need to save the file again.It 
seems to me that as soon as I have saved the file "from inside", it came to 
work!
ThanksLuca

From: chrisy...@gmail.com
Date: Sat, 10 Oct 2015 11:49:44 +0100
Subject: Re: Frescobaldi creates the pdf but doesn't export it?
To: mr.luce...@hotmail.it
CC: lilypond-user@gnu.org

Hi -- yes, I've seen this happen a few times recently (on Windows). Although as 
far as I know, the file you're looking at in Frescobaldi is a temporary PDF 
file. I may be corrected by someone.
Having said that I'm not sure whether Frescobaldi always has the "working" 
folder you would expect... And one possibility of this occurring seems to be if 
the target file was open in another PDF reader (some -- Adobe for example -- 
locks the file. Very annoyingly. )

Chris

On 10 October 2015 at 10:57, Luca Danieli  wrote:



Hello all,
in these last 2 days I have been re-editing some scores of mine in lilypond.One 
worked perfectly, while the second one worked fine as well but didn't export 
the pdf file of the score.I mean that I can stream the pdf in Frescobaldi, but 
I cannot find the file in the relative path.
This is the building response:

Layout output to `Violin piece from Cist Tombs on Amorgos.ps'...

Converting to `./Violin piece from Cist Tombs on Amorgos.pdf'...

Success: compilation successfully completed

Completed successfully in 16.4".

but if I go to the path -> ./nothing is there except for the *.ly file.
I am using lilypond 2.18.2 on Ubuntu 15.04
Cheers,Luca   

___

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: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Simon Albrecht

On 10.10.2015 12:55, Federico Bruni wrote:

it's evident by the output he pasted that he saved the file


No, it’s not. If I take a ‘test.ly’ file, make some changes and process 
it without saving before, I get


Starting lilypond 2.18.2 [test.ly]...

Processing `/tmp/frescobaldi-jXLbVl/tmpcignDY/test.ly'

Parsing...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `test.ps'...

Converting to `./test.pdf'...

Success: compilation successfully completed

Completed successfully in 0.9".


Only the first line of the log shows that a temporary file was 
progressed, and he didn’t include that.


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


Re: Ottava bracket outside-staff-priority

2015-10-10 Thread Andrew Bernard
I thought you can do this sort of thing with an ordering: 2< 3. But I have to 
use 401 > 400, where 400 is the setting for the ottava bracket. I don’t have to 
do this for other sorts of objects. It is as though the ottava bracket ignores 
changes to its outside-staff-priority, unless I am just making some spelling 
mistake in the code.

Andrew


> On 10 Oct 2015, at 21:39, Federico Bruni  wrote:
> 
> If you uncomment the override you get the result you want, don't you? See 
> attached image.
> What I'm missing?

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


Re: Ottava bracket outside-staff-priority

2015-10-10 Thread Simon Albrecht

On 10.10.2015 13:04, Andrew Bernard wrote:
It is as though the ottava bracket ignores changes to its 
outside-staff-priority


It’s probably simple as that: Ottava_spanner_engraver lives in Staff, so 
you need to \override Staff.OttavaBracket.


Yours, Simon

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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Federico Bruni
Il giorno sab 10 ott 2015 alle 13:04, Simon Albrecht 
 ha scritto:

On 10.10.2015 12:55, Federico Bruni wrote:

it's evident by the output he pasted that he saved the file


No, it’s not. If I take a ‘test.ly’ file, make some changes and 
process it without saving before, I get


Starting lilypond 2.18.2 [test.ly]...
Processing `/tmp/frescobaldi-jXLbVl/tmpcignDY/test.ly'
Parsing...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `test.ps'...
Converting to `./test.pdf'...
Success: compilation successfully completed
Completed successfully in 0.9".
Only the first line of the log shows that a temporary file was 
progressed, and he didn’t include that.


You are right!
That was the issue...

BTW, I recently realized that I wouldn't suggest to enable "Save 
document is possible" when saving to an SSD disk.





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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread David Kastrup
Federico Bruni  writes:

> Il giorno sab 10 ott 2015 alle 13:12, Simon Albrecht
>  ha scritto:
>> On 10.10.2015 13:10, Federico Bruni wrote:
>>> I wouldn't suggest to enable "Save document is possible" when
>>> saving to an SSD disk.
>>
>> Why that?
>> ~ Simon
>
> I don't know if it's still true for modern SSD but I often find
> documentation or tutorials saying to be cautious about the number of
> writes to a SSD drive. Probably outdated nowadays but I've never
> investigated.

I think most would be buffered by the OS before reaching disk anyway.
The real SSD killer is putting swap there and/or suspend to disk.
That's gigabytes of actually happening writes.

-- 
David Kastrup

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


Re: Frescobaldi creates the pdf but doesn't export it?

2015-10-10 Thread Urs Liska
Am 10.10.2015 um 13:27 schrieb Federico Bruni:
> Il giorno sab 10 ott 2015 alle 13:12, Simon Albrecht
>  ha scritto:
>> On 10.10.2015 13:10, Federico Bruni wrote:
>>> I wouldn't suggest to enable "Save document is possible" when saving
>>> to an SSD disk.
>>
>> Why that?
>> ~ Simon
> 
> I don't know if it's still true for modern SSD but I often find
> documentation or tutorials saying to be cautious about the number of
> writes to a SSD drive. Probably outdated nowadays but I've never
> investigated.
> 

I think that's an inherent problem, so it won't really be outdated
anytime. But I think when we're talking about a system with compilers,
possibly also with Frescobaldi's auto-compile on, it's somewhat
out-of-proportion to "optimize" here. But anyway, you have also realized
that Frescobaldi *does* save the file anyway, only to a temporary file
with generated name.

The only way out of that would be if LilyPond could learn to take its
input from stdin. Which might be a nice thing anyway?

Urs


-- 
Urs Liska
www.openlilylib.org

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


Re: compress full bar rests

2015-10-10 Thread David Kastrup
Flaming Hakama by Elaine  writes:

> Somehow, through this framework, I cannot get full bar rests to compress
> when I use a globals treatment.
>
> Does anyone have a clue as to how to get them to compress?
>
> Thanks.
>
>
>
> \version "2.19.15"
>
> structure = \relative c {
> \compressFullBarRests
> \override MultiMeasureRest.expand-limit = #2
> \override Score.RehearsalMark.self-alignment-X = #LEFT
> \mark "Globally Uncompressed"
> s1 |
> s1 | s | s | s \bar "||"
> }

Compression can only happen when there is no music in parallel that
would require separate bars.  Like s1 | s1 | s ...

-- 
David Kastrup

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


Re: New to Lilypond - including score in LaTeX

2015-10-10 Thread karl
Светлана Лобанова:
> 09.10.2015, 03:40, "Felix Yeung" :
> > I’m very new to Lilypond, currently typesetting a document with
> > plainsong notation (with gregorio)

 I have heard of gregorio (http://gregorio-project.github.io/)
but never got to use it. I guess that by specializing on just gregorian 
chant it can produce nice looking scores. Lilypond gregorian support is 
less than perfect, the notes get to widely spaced (I have somewhat 
similar experience with white mensural notes in lilypond).

Is there any experiences you would like to share about gregorio ?

> and with occasional modern
> > music. I am wondering if you there’s any way to incorporate
> > lilypond scores into my document?

If you are using tex/latex/..., then you usually use lilypond-book
for that, see:

 http://www.lilypond.org/doc/v2.18/Documentation/usage/lilypond_002dbook

For OpenOffice and LibreOffice:

 http://ooolilypond.sourceforge.net/

else you can use some wariant of:

 
http://www.lilypond.org/doc/v2.18/Documentation/usage/lilypond-output-in-other-programs#inserting-lilypond-output-into-other-programs

> I had some unwanted issues with lilypond-book and TeX (I don't
> remember which ones), so I've chosen "manual method", enhanced with
> .bat file (on Windows). I have a .bat file which compilles all my
> .ly files (plenty of lines like this "lilypond -dbackend=eps
> -dno-gs-load-fonts -dinclude-eps-fonts -dno-aux-files  filename.ly").
> Then I include all of them as pdf images in .tex. The drawback is
> when you have multi-page score you will need to include them
> page-by-page.

I also had some issues with lilypond-book:

. all thoose lily- files made no sense for me and they made
  it more or less impossible to work with make
. it did not work reliably with make, maybe that's fixed by now

///

I currently uses a mix of the third method above and lilypond-book for
including scores into latex docs. I have

 \include "lilypond-book-preamble.ly"

at top of file, and run it as

 lilypond --ps -dbackend=eps 
 lilypond-psfonts .psfonts .eps

(where lilypond-psfonts is an extract from an old version of
lilypond-book) and then I use

 \input{II-systems.tex}

in the latex file, and finish off with

 latex 
 dvips -h  

There migth be some better way to do it today though, I havn't
investigated that. For an example, see:

 http://turkos.aspodata.se/git/musik/WAMozart/requiem/

Regards,
/Karl Hammar

---
Aspö Data
Lilla Aspö 148
S-742 94 Östhammar
Sweden
+46 173 140 57



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