Re: Sessions with Frescobaldi 3.0

2018-01-19 Thread Urs Liska



Am 19.01.2018 um 12:04 schrieb Ben:

On 1/19/2018 2:12 AM, j...@joei.de wrote:

Hi, is anybody here using the "sessions"-feature in Frescobaldi 3 on Win? Not 
only doesn't it restore the last opened manuscript in the manuscript viewer nor does the 
compiler or the the syntax highlighting work... Could you confirm?  Joei.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Hi,

I just tested Frescobaldi 3 sessions on Windows 10 64-bit and I was 
able to recall the files correctly as well as the syntax 
color/highlighting as normal.

Are you on Windows 7/10?


One more question: did this happen after an upgrade from Frescobaldi 2 to 3?
Independently from that it helps in some situations to start Frescobaldi 
with the "--start -" option (startign with *no* session). I'm not sure 
if it applies to your issue, but I had cases where the sessions cache 
was compromised and this worked.


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


Re: Sessions with Frescobaldi 3.0

2018-01-19 Thread Ben

On 1/19/2018 2:12 AM, j...@joei.de wrote:

Hi, is anybody here using the "sessions"-feature in Frescobaldi 3 on Win? Not 
only doesn't it restore the last opened manuscript in the manuscript viewer nor does the 
compiler or the the syntax highlighting work... Could you confirm?  Joei.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Hi,

I just tested Frescobaldi 3 sessions on Windows 10 64-bit and I was able 
to recall the files correctly as well as the syntax color/highlighting 
as normal.

Are you on Windows 7/10?

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


Re: Sessions with Frescobaldi 3.0

2018-01-19 Thread Johannes Roeßler

Hi Guys,

I'm working on WIN10.

@URS:
- Syntax highlighting works when working without sessions
- Does not compile: it states the version is missing - it seems that it 
doesnt see the source - first warning:
"Warnung: keine \version-Anweisung gefunden" - although there is a 
version...


- opening with parameter -v produces errors:

"Traceback (most recent call last):
File "CAPythonBSMibXsite-packagesXcx.FreezeXinitscriptsXConsole.py", 
line 21, in 

File "../frescobaldi", line 11, in 
File "C:\Program Files (x86)\Frescobaldi\frescobaldi_app\main.py", line 
185, in main

args = parse_commandlineO
File "C:\Program Files (x86)\Frescobaldi\frescobaldi_app\main.py", line 
98, in parse_commandline

return parser.parse_args(args[1:])
File "C:\Python35\lib\argparse.py", line 1726, in parse_args File 
"C:\Python35\lib\argparse.py", line 1758, in parse_known_args File 
"C:\Python35\lib\argparse.py", line 1964, in _parse_known_args File 
"C:\Python35\lib\argparse.py", line 1904, in consume_optional File 
"C:\Python35\lib\argparse.py", line 1832, in take_action

File "C:\Python35\lib\argparse.py", line 1042, in    call
File "C:\Python35\lib\argparse.py", line 2364, in _print_message 
AttributeError: 'NoneType' object has no attribute 'write'"


Looks like my installation is broken and it only affects the session 
features..


I'll try a reinstall.

Thx, Joei

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


Re: spanners in multi-voice

2018-01-19 Thread Thomas Morley
2018-01-19 11:40 GMT+01:00 N. Andrew Walsh :
> Update:
>
> On Fri, Jan 19, 2018 at 11:32 AM, N. Andrew Walsh 
> wrote:
>>
>> Arrgh. I may not have resolved my issue (or, there's something going on
>> here I don't understand).
>>
>> Here's an example:
>> [SNIP]
>>
>>  | %8
>>  d32\( a'16.~ a4.\)
>>
>
> The problem is this measure. When a spanner that starts in a multi-voice
> measure, and ends in a multi-voice measure, has a single-voice measure in
> between, I get the error. When I replace measure 8 with the following:
>
> | %8
>  <<
>{ d32\( a'16.~ a4.\) }
>\\
>{ s2 }
>  >>
>
> … then it works fine. This seems like a bit of an ugly hack, but I suppose
> there's no better way to do this (and there's probably some good reasons why
> it should work like that).
>
> So just to confirm: is this intended behavior?
>
> Cheers,
>
> A



Yes.
Read NR 5.1.3 Keeping contexts alive

Following this leads to:

\new Staff
<<
\context Voice = "1" { s2*10 } %% put in the length of the voices
\context Voice = "2" { s2*10 } %% put in the length of the voices
\relative c'' {
\time 4/8

%1-2
 R2*2

 | %3
 <<
   { a,16\cresc\( d~ d4.\) }
   \\
   { a8~ a4. }
 >>

 | %4
 <<
   { a16\( d f4.\) }
   \\
   { a,8~ a4. }
 >>

 | %5
 <<
   { \tuplet 3/2 { a16\( d f } a4.\) }
   \\
   { a,8~ a4. }
 >>

 | %6
 <<
   { \tuplet 6/4 4 { a16\( d f a d f } a4\!\) }
   \\
   { a,,4~ a }
 >>

 | %7
 <<
   { d''8~\decr d4. }
   \\
   { d16 g,~ g4. }
 >>

 | %8
 d32\( a'16.~ a4.\)

 | %9
 <<
   { a8~ a4.\! }
   \\
   { \tuplet 3/2 { a16 e cis } a4. }
 >>

 | %10
 <<
   { a,16\<\( d~ d4.\!\) }
   \\
   { a8~ a4. }
 >>
}
>>

Cheers,
  Harm

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


Re: Title on every page?

2018-01-19 Thread Ben

On 1/19/2018 10:57 AM, Joseph Austin wrote:

How can I get Lilypond to put the title of the piece on every page?

Even better: I'd like a date printed and a file name, as in office documents.
When printing many versions of a song, the pages tend to get mixed up!

Joe Austin




Hi Joe,

Check out this thread for more info:
http://lilypond.1069038.n5.nabble.com/composition-title-on-every-page-except-the-first-td27839.html

This code below will allow you to show the title on each page, and if 
you want to customize the date that is possible as well. Hope this helps.


%%%
\version "2.19.80"

% first, define a variable to hold the formatted date:
date = #(strftime "%d-%m-%Y" (localtime (current-time)))

% use it in the title block:
\header {
  title = "Including the date!"
  subtitle = \date
}

%%

music = \repeat "unfold" 1000 c'

\header { title = "Title"}

\paper {
    oddHeaderMarkup = \markup {
    \fill-line
    {
  \fromproperty #'page:page-number-string
%% left
  \on-the-fly #not-first-page \fromproperty #'header:title
%% center
  " "
%% right
 }
    }

    evenHeaderMarkup = \oddHeaderMarkup
}


{\music}

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


Long syllable vs. span bar

2018-01-19 Thread Simon Albrecht

Hello everybody,

in full scores, choir parts are often typeset with span bars and 
traditionally, lyric syllables often cross those spanbars with whiteout. 
LilyPond, however, distorts spacing to place the span bar after the 
syllable, and I can’t think of an override to change that. The second 
example shows using a markup with null dimensions, which isn’t the right 
solution for several reasons but in this case shows what I aim for 
(except I didn’t add whiteout and the lyric extender is obviously wrong).


Is there a better solution?

Best, Simon


\version "2.19.80"

\paper {
  line-width = 110
  indent = 0
}

\score {
  \new StaffGroup <<
    { 4 4 4 4~ 4 8 8 4 4~ 4 8 8 2 }
    \addlyrics {
  a ver -- y looong __ syl -- la -- ble,
  \markup \with-dimensions-from \null looong __ syl -- la -- ble
    }
    { 1 1 1 }
  >>
}

\version "2.19.80"

\paper {
  line-width = 110
  indent = 0
}

\score {
  \new StaffGroup <<
{ 4 4 4 4~ 4 8 8 4 4~ 4 8 8 2 }
\addlyrics {
  a ver -- y looong __ syl -- la -- ble,
  \markup \with-dimensions-from \null looong __ syl -- la -- ble
}
{ 1 1 1 }
  >>
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Long syllable vs. span bar

2018-01-19 Thread Robin Bannister

Simon Albrecht wrote:


LilyPond, however, distorts spacing to place the span bar after the
syllable, and I can’t think of an override to change that. 


There were two solutions here ...
http://lists.gnu.org/archive/html/lilypond-user/2015-08/msg00595.html


Cheers,
Robin

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


Re: Issues about optical spacing

2018-01-19 Thread Kieren MacMillan
Hi all,

On Jan 19, 2018, at 10:06 AM, Han-Wen Nienhuys  wrote:
> I didn't look deeply into the article, but figure 5 on p.478 has me
> wondering what it would look like for different rhythms. Spacing
> polyphonic music is inherently a tradeoff, so I expect this technique
> to produce undesirable artifacts in other situations (but maybe in
> situations that are more rare.)

Is there any way to quickly "fake" the algorithm (e.g., in a Scheme engraver)? 
I have a lot of music which is polyrhythmic or polyphonic or both, and would be 
happy to throw a few scores at the algorithm to see if it's worth pursuing 
further.

Just a thought!
Kieren.


Kieren MacMillan, composer
‣ website: www.kierenmacmillan.info
‣ email: i...@kierenmacmillan.info


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


Title on every page?

2018-01-19 Thread Joseph Austin
How can I get Lilypond to put the title of the piece on every page?

Even better: I'd like a date printed and a file name, as in office documents.
When printing many versions of a song, the pages tend to get mixed up!

Joe Austin



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


Re: Long syllable vs. span bar

2018-01-19 Thread Torsten Hämmerle
Hi Simon,

Probably the easiest way to achieve this is just to use *ChoirStaff* and add
the Span_bar_engraver to get the bar lines.
That way, Lyrics will nonchalantly cross the bar lines as if they weren't
there and by setting the whiteout property, you're there.

I've just adapted your original coding to your needs:

\version "2.19.80" 

\paper { 
   line-width = 110 
   indent = 0 
} 

\score { 
   \new ChoirStaff \with { \consists "Span_bar_engraver" } << 
 { 4 4 4 4~ 4 8 8 4 4~ 4 8 8 2 } 
 \addlyrics { 
   \override LyricText.whiteout = ##t
   a ver -- y looong __ syl -- la -- ble, 
   looong __ syl -- la -- ble 
 } 
 { 1 1 1 } 
   >> 
} 


HTH,
Torsten




--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: Issues about optical spacing

2018-01-19 Thread Han-Wen Nienhuys
On Tue, Jan 16, 2018 at 8:33 PM, Werner LEMBERG  wrote:
>
>> I [...] submit this article which discusses the topic in detail.
>>
>> https://quod.lib.umich.edu/cache//b/b/p/bbp2372.2002.097/bbp2372.2002.097.pdf#page=2;zoom=75
>>
>> I would love to see Lilypond incorporate this improved algorithm
>> [...]
>
> This sounds like an interesting GSoC project!  Han-Wen, would you like
> to mentor this?

umm, no, but if somebody wants to improve the spacing algorithm of
Lilypond, they are welcome to.

I didn't look deeply into the article, but figure 5 on p.478 has me
wondering what it would look like for different rhythms. Spacing
polyphonic music is inherently a tradeoff, so I expect this technique
to produce undesirable artifacts in other situations (but maybe in
situations that are more rare.)


> Werner



-- 
Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen

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


Re: Long syllable vs. span bar

2018-01-19 Thread Malte Meyn



Am 19.01.2018 um 17:29 schrieb Torsten Hämmerle:

Probably the easiest way to achieve this is just to use *ChoirStaff* and add
the Span_bar_engraver to get the bar lines.
That way, Lyrics will nonchalantly cross the bar lines as if they weren't
there and by setting the whiteout property, you're there.
Nice. Maybe one should \override Lyrics.LyricText.layer and 
ChoirStaff.SpanBar.layer so that ties etc. aren’t covered by the whiteout.


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


Re: Re: Long syllable vs. span bar

2018-01-19 Thread Simon Albrecht




> Simon Albrecht wrote:
> 
> > LilyPond, however, distorts spacing to place the span bar after the
> > syllable, and I can’t think of an override to change that. 
> 
> There were two solutions here ...
> http://lists.gnu.org/archive/html/lilypond-user/2015-08/msg00595.html
> 
> 
> Cheers,
> Robin

Oh my, that's embarrassing... Thanks for digging it up. I'm terrible at 
searching archives.

Best, Simon


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


Re: Turkish Rythm template

2018-01-19 Thread Noeck
Dear Emre Pinarbasi,

this is one example of how you could do it:

The upper line is closer to your image (bold text and normal + and /
signs), the lower line is closer to standard music notation (accents +
and '). Of course you can still tweak the look more like your image
(other number font, larger noteheads, etc.).

What do you think about this:


%

\version "2.19.65"

\new GrandStaff
\with {
  instrumentName = \markup \number \column { 9 4 }
  \omit Score.SystemStartBrace
  \override BarLine.bar-extent = #'(-0.01 . 0)
  \override InstrumentName.extra-offset = #'(3 . 0)
}
<<
  \new Lyrics \lyricmode {
\override Lyrics.LyricText.font-series = #'bold
Düüm2 Te2 Düüm2
  }
  \new RhythmicStaff
  \with {
\numericTimeSignature
\override TimeSignature.extra-offset = #'(0 . -4.5)
\override TextScript.staff-padding = 2.5
  }
  \new Voice = "upper" {
\stemUp
c2-"+" c4-"/" s
\bar "!"
\time 5/4
c2 s2.
  }
  \new RhythmicStaff \with {
\omit TimeSignature
  }
  \new Voice = "lower" {
\stemDown
s2. c4^+ s2 c2^! c4
  }
  \new Lyrics \lyricsto "lower" {
Ke Teek Tek
  }
>>


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


Re: Sessions with Frescobaldi 3.0

2018-01-19 Thread Urs Liska

Hi Joei,


Am 19.01.2018 um 08:12 schrieb j...@joei.de:

Hi, is anybody here using the "sessions"-feature in Frescobaldi 3 on Win?


No, sorry.


Not only doesn't it restore the last opened manuscript in the manuscript viewer


OK, sounds wrong.


nor does the compiler or the the syntax highlighting work... Could you confirm? 
 Joei.


No (of course). But could you be a little bit more specific, please?

Do you mean that syntax highlighting works when you have selected "no 
session" but not when any session is active?


What exactly do you mean by "the compiler doesn't work"?

Could you please start Frescobaldi from the command line with the -v 
option and tell us if there is anything suspicious (or any output at all)?


Best
Urs

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


Re: PDF woes

2018-01-19 Thread Blöchl Bernhard

Simply use Linux.

Linux has some (minor) issues as well, but you get that (minor) issues 
without cost.


Regards


Am 19.01.2018 02:06, schrieb Karlin High:
On Thu, Jan 18, 2018 at 5:13 PM, Travis Weller  
wrote:

The links work with Acrobat... and I'd happily use Acrobat, but as I
mentioned before it is a "known issue" that it won't update the PDF 
file

when you typeset repeatedly.


What other PDF readers for Mac are out there? How about the Linux ones
like Evince or Okular?

https://okular.kde.org/
--
Karlin High
Missouri, USA

___
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: PDF woes

2018-01-19 Thread Andrew Bernard
Even better, run Linux in Virtualbox on the Mac. That's what I have always
done.

Andrew


On 19 January 2018 at 19:58, Blöchl Bernhard <
b_120902342...@telecolumbus.net> wrote:

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


Re: spanners in multi-voice

2018-01-19 Thread N. Andrew Walsh
Arrgh. I may not have resolved my issue (or, there's something going on
here I don't understand).

Here's an example:

\version "2.19.80"

\relative c'' {
\time 4/8

%1-2
 R2*2

 | %3
 <<
   { a,16\cresc\( d~ d4.\) }
   \\
   { a8~ a4. }
 >>

 | %4
 <<
   { a16\( d f4.\) }
   \\
   { a,8~ a4. }
 >>

 | %5
 <<
   { \tuplet 3/2 { a16\( d f } a4.\) }
   \\
   { a,8~ a4. }
 >>

 | %6
 <<
   { \tuplet 6/4 4 { a16\( d f a d f } a4\!\) }
   \\
   { a,,4~ a }
 >>

 | %7
 <<
   { d''8~\decr d4. }
   \\
   { d16 g,~ g4. }
 >>

 | %8
 d32\( a'16.~ a4.\)

 | %9
 <<
   { a8~ a4.\! }
   \\
   { \tuplet 3/2 { a16 e cis } a4. }
 >>

 | %10
 <<
   { a,16\<\( d~ d4.\!\) }
   \\
   { a8~ a4. }
 >>
}

Here, the \cresc command creates a dynamic as text without issue (from bar
3 to 6). However, the \decr command, from bar 7 to 10, does not, and I get
the error about an unterminated decrescendo I posted previously.

So what am I doing wrong here?

Cheers,

A


On Thu, Jan 18, 2018 at 2:54 PM, N. Andrew Walsh 
wrote:

> Hi David,
>
> On Thu, Jan 18, 2018 at 2:44 PM, David Kastrup  wrote:
>
>>
>> How about giving an example actually showing the problem you are talking
>> about?
>>
>> --
>> David Kastrup
>>
>
> Fair enough. And as it turns out, when I add a \! statement later on in
> that voice, the error disappears and it draws a crescendo and decrescendo
> as desired.
>
> Sorry for the noise.
>
> Cheers,
>
> A
>



-- 
Liebe Kollegen, liebe Freunde,
meine neue Handynummer ist die (+49)-0177-7368-393. Bitte die alte nicht
mehr benutzen: sie wird Demnächst™ stilllegen.

Dear Friends and Colleagues,
my new cell number is (+49)-0177-7368-393. Please discard the old one: it
will be disabled Soon™.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Sessions with Frescobaldi 3.0

2018-01-19 Thread Torsten Hämmerle
Hi Joei,

I habe just played around with the Sessions feature (Windows 10 64bit,
Frescobaldi 3.0.0).
No problems there at first glance.

*That's what I did:*
(1) Set the "Start with last used session" in Edit > Preferences
(2) Create a session containing two lilypond files (I don't use sessions at
the moment)
(3) Quit Frescobaldi
...
(4) Open Frescobaldi again - and voilà - all documents of the last sessions
have been automatically opened and even syntax highlighting works as
expected.

This only works if there is an active session set in the Session menu.
When "No Session" has been selected, no session will be opened during the
Frescobaldi start up process, of course.

Cheerio,
Torsten



--
Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html

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


Re: spanners in multi-voice

2018-01-19 Thread N. Andrew Walsh
Update:

On Fri, Jan 19, 2018 at 11:32 AM, N. Andrew Walsh 
wrote:

> Arrgh. I may not have resolved my issue (or, there's something going on
> here I don't understand).
>
> Here's an example:
> [SNIP]
>
>  | %8
>  d32\( a'16.~ a4.\)
>
>
The problem is this measure. When a spanner that starts in a multi-voice
measure, and ends in a multi-voice measure, has a single-voice measure in
between, I get the error. When I replace measure 8 with the following:

| %8
 <<
   { d32\( a'16.~ a4.\) }
   \\
   { s2 }
 >>

… then it works fine. This seems like a bit of an ugly hack, but I suppose
there's no better way to do this (and there's probably some good reasons
why it should work like that).

So just to confirm: is this intended behavior?

Cheers,

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