Re: Realigning rests

2021-09-09 Thread Lukas-Fabian Moser

Hi Kira,

Am 10.09.21 um 00:28 schrieb Kira Garvie:
Another question! Sorry for the photo: I’m in a cafe with no internet 
at the moment. I need to get the alto rests at the end of the bar out 
of the way of the soprano. The alto is \voiceTwo, the soprano is 
\voiceOne. What I found online was for multi measure rests of a long 
duration, these aren’t the whole measure and are very short.


Welcome to LilyPond! :-)

It's a bit hard to tell exactly what happened in your case, since 
LilyPond should take care of reasonable positioning of the rests 
automatically. While the solutions given by others (forcing rest 
positions) should work, they are "hackish" in a sense since they force 
you hard-code things that should better be left to the layout engine.


I entered some bars of your example in a way that is compilable with 2.16.2:

\version "2.16.2"

\layout {
  \autoBeamOff
}

\new Staff
<<
  \relative bes' {
    \key bes \major
    bes4 bes \oneVoice r8. \voiceOne a16 bes8. c16 |
    d4 d \oneVoice r8. \voiceOne f,16 f8. f16 |
    g4 es' d c |
    bes2. \oneVoice r8.
    \bar "|."
  } \\
  \relative c' {
    cis4 cis s8. r16 r4 |
    f4 f s8. f16 f8. f16 |
    es4 g f es |
    d2. s8.
  }
>>

But note that 2.16.2 is really really really old (released at the 
beginning of 2013), and while entering the above code, I sorely missed 
the many simplifications made possible in more current versions: Now we 
may replace


\oneVoice r8. \voiceOne

by

\once\oneVoice r8.

But what's even better: Now we have the Merge_rests_engraver that allows 
us to enter each voice using the proper rests!


\version "2.22"

\layout {
  \context {
    \Staff
    \consists Merge_rests_engraver
  }
  \autoBeamOff
}

\new Staff
<<
  \relative bes' {
    \key bes \major
    bes4 bes r8. a16 bes8. c16 |
    d4 d r8. f,16 f8. f16 |
    g4 es' d c |
    bes2. r8.
    \bar "|."
  } \\
  \relative c' {
    cis4 cis r8. r16 r4 |
    f4 f r8. f16 f8. f16 |
    es4 g f es |
    d2. r8.
  }
>>

By the way: I thought a bit about the first bar of my example: I 
actually would prefer writing cis4 cis r2 in the alto, but I admit that 
this actually might need some manual improvement of the rest positions 
in order to be perfectly sight-readable:


\version "2.22"

\layout {
  \context {
    \Staff
    \consists Merge_rests_engraver
  }
  \autoBeamOff
}

\new Staff
<<
  \relative bes' {
    \key bes \major
    bes4 bes \tweak Y-offset 0 r8. a16 bes8. c16 |
    d4 d r8. f,16 f8. f16 |
    g4 es' d c |
    bes2. r8.
    \bar "|."
  } \\
  \relative c' {
    cis4 cis \tweak Y-offset -3.5 r2 |
    f4 f r8. f16 f8. f16 |
    es4 g f es |
    d2. r8.
  }
>>
)

Of course I do not no the reasons the folks at hymnary.org have for 
insisting on using an antique version of LilyPond. If they need help 
updating their old scores for use with current versions on LilyPond, I'd 
be confident they get all the help they need on this mailing list.


Best
Lukas




Latest lilypond git master creating PDF 1.4 files instead of 1.7

2021-09-09 Thread H. S. Teoh
Hi all,

For a long time I have been using a local build of lilypond cloned from
git, IIRC around 2.21.0 or thereabouts.  Today, on a whim, I decided to
update lilypond to the latest git master.  After recompiling everything,
lilypond started producing version 1.4 PDF files instead of version 1.7
like it used to.  The resulting file is very slow to load or view with
my local PDF reader, which makes it very difficult to work with.

How do I coax lilypond to produce PDF 1.7 files again?  I'm not 100%
sure it's lilypond's fault; it could be something else in my environment
that changed, perhaps one of lilypond's dependencies?  But I'm at a
complete loss as to where to start looking.  Any pointers would be
greatly appreciated.

Thanks!


T

-- 
Right now I'm having amnesia and deja vu at the same time. I think I've 
forgotten this before.



Re: Realigning rests

2021-09-09 Thread Jean Abou Samra

Le 10/09/2021 à 00:28, Kira Garvie a écrit :
Another question! Sorry for the photo: I’m in a cafe with no internet 
at the moment. I need to get the alto rests at the end of the bar out 
of the way of the soprano. The alto is \voiceTwo, the soprano is 
\voiceOne. What I found online was for multi measure rests of a long 
duration, these aren’t the whole measure and are very short.



Normally, LilyPond avoids such collisions, as you can see
from this example:

\version "2.16.2"

\new Staff <<
  { \voiceOne c'16 }
  \new Voice { \voiceTwo r16 }
>>

So the question is why this is not happening here. There
is probably something interfering with voice handling in
your code. Could you provide a compilable example demonstrating
the problem? Have a look at
http://lilypond.org/tiny-examples.fr.html
for inspiration.

I should specify I’m on version 2.16.2. It’s for  work, and that’s the 
version they need.


We rarely meet people (visibly) using LilyPond at work,
so if you're comfortable sharing that, I at least
would be interested to know whom you're working for!

Best regards,
Jean




Re: Adding a quote to lyrics

2021-09-09 Thread Kira Garvie
Thank you, Jean! The first option with the backslashes worked perfectly.

On Thu, Sep 9, 2021 at 6:02 PM Jean Abou Samra  wrote:

> Le 09/09/2021 à 23:46, Kira Garvie a écrit :
> > Hello all,
> > I am typing the lyrics to a hymn, and it has the line: The cry “To
> > arms!” is heard afar and near. How do I do those quotations without
> > Frescobaldi thinking it’s a string of code? Also I am the newbie-est
> > of newbies with coding and this program here so please be gentle and
> > very specific! Thank you!!
> > Best,
> > Kira
>
>
> Hi,
>
> I assume your problem is about something like this:
>
> \version "2.22.1"
>
> { c'1 c' }
> \addlyrics { "To arms" }
>
> where you want the quotes to appear as part of the
> words "To" and "arms". In the example shown above,
> they group the two words together, making them a
> single syllable (see [1]).
>
> To add these quote marks,
> - enclose each word in quotes, to enable a parsing mode
>that has string-specific features,
> - add a backslash before the quotes you want to include
>literally, to 'escape' them so that they will be
>treated as part of the string without ending the string
>as they would normally do.
>
> This technique is explained at [2]. The code becomes:
>
> { c'1 c' }
> \addlyrics { "\"To" "arms\"" }
>
> That being said, an attractive option would be to use curly
> quotes. These characters are separate from straight quotes,
> so they don't have synctactic meaning to LilyPond. Also, they
> render much nicer in the output.
>
> { c'1 c' }
> \addlyrics { “To arms” }
>
> Cheers, and -- welcome on this list!
> Jean
>
> [1]:
>
> https://lilypond.org/doc/v2.22/Documentation/notation/common-notation-for-vocal-music#multiple-syllables-to-one-note
> [2]:
>
> https://lilypond.org/doc/v2.22/Documentation/notation/common-notation-for-vocal-music#entering-lyrics
>


Re: Adding a quote to lyrics

2021-09-09 Thread Jean Abou Samra

Le 09/09/2021 à 23:46, Kira Garvie a écrit :

Hello all,
I am typing the lyrics to a hymn, and it has the line: The cry “To 
arms!” is heard afar and near. How do I do those quotations without 
Frescobaldi thinking it’s a string of code? Also I am the newbie-est 
of newbies with coding and this program here so please be gentle and 
very specific! Thank you!!

Best,
Kira



Hi,

I assume your problem is about something like this:

\version "2.22.1"

{ c'1 c' }
\addlyrics { "To arms" }

where you want the quotes to appear as part of the
words "To" and "arms". In the example shown above,
they group the two words together, making them a
single syllable (see [1]).

To add these quote marks,
- enclose each word in quotes, to enable a parsing mode
  that has string-specific features,
- add a backslash before the quotes you want to include
  literally, to 'escape' them so that they will be
  treated as part of the string without ending the string
  as they would normally do.

This technique is explained at [2]. The code becomes:

{ c'1 c' }
\addlyrics { "\"To" "arms\"" }

That being said, an attractive option would be to use curly
quotes. These characters are separate from straight quotes,
so they don't have synctactic meaning to LilyPond. Also, they
render much nicer in the output.

{ c'1 c' }
\addlyrics { “To arms” }

Cheers, and -- welcome on this list!
Jean

[1]: 
https://lilypond.org/doc/v2.22/Documentation/notation/common-notation-for-vocal-music#multiple-syllables-to-one-note
[2]: 
https://lilypond.org/doc/v2.22/Documentation/notation/common-notation-for-vocal-music#entering-lyrics




Adding a quote to lyrics

2021-09-09 Thread Kira Garvie
Hello all,
I am typing the lyrics to a hymn, and it has the line: The cry “To arms!”
is heard afar and near. How do I do those quotations without Frescobaldi
thinking it’s a string of code? Also I am the newbie-est of newbies with
coding and this program here so please be gentle and very specific! Thank
you!!
Best,
Kira


Re: lilypond-user Digest, Vol 226, Issue 45

2021-09-09 Thread Carlos R Martinez
I’ll try it. Thanks

[Carlos R 
Martinez](https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=175rjn)   
[175rjn]
Carlos R. Martinez
270.850.5650
car...@newsoundmusicstudio.com
www.essentialmusic.org
www.newsoundmusicstudio.com

On September 9, 2021 at 16:05 GMT, lilypond user request 
 wrote:

Send lilypond-user mailing list submissions to
lilypond-user@gnu.org

To subscribe or unsubscribe via the World Wide Web, visit
https://lists.gnu.org/mailman/listinfo/lilypond-user
or, via email, send a message with subject or body 'help' to
lilypond-user-requ...@gnu.org

You can reach the person managing the list at
lilypond-user-ow...@gnu.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lilypond-user digest..."

Today's Topics:

1. Re: Copyright on all pages (Lukas-Fabian Moser)

--

Message: 1
Date: Thu, 9 Sep 2021 09:02:32 +0200
From: Lukas-Fabian Moser 
To: Carlos R Martinez ,
lilypond-user@gnu.org
Subject: Re: Copyright on all pages
Message-ID: <43a491c5-d102-dad1-d4ac-86b2fdab3...@gmx.de>
Content-Type: text/plain; charset=utf-8; format=flowed

Am 09.09.21 um 04:35 schrieb Carlos R Martinez:
> Hi, setup a copyright and would like to for it to show on all pages.
> How can I achieve that?

Depends on where you want the copyright to show up. For example at the
bottom of a page:

\version "2.22.0"

\paper {
oddFooterMarkup = "Footer on odd pages"
evenFooterMarkup = "Footer on even pages"
% % also possible:
% oddFooterMarkup = "Footer for all pages"
% evenFooterMarkup = \oddFooterMarkup
}

{ \repeat unfold 1000 c' 4 }

Lukas

--

Subject: Digest Footer

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

--

End of lilypond-user Digest, Vol 226, Issue 45
**

Re: Copyright on all pages

2021-09-09 Thread Lukas-Fabian Moser



Am 09.09.21 um 04:35 schrieb Carlos R Martinez:
Hi, setup a copyright and would like to for it to show on all pages. 
How can I achieve that?


Depends on where you want the copyright to show up. For example at the 
bottom of a page:


\version "2.22.0"

\paper {
  oddFooterMarkup = "Footer on odd pages"
  evenFooterMarkup = "Footer on even pages"
  % % also possible:
  % oddFooterMarkup = "Footer for all pages"
  % evenFooterMarkup = \oddFooterMarkup
}

{ \repeat unfold 1000 c' 4 }

Lukas