Re: Adding a quote to lyrics

2021-10-02 Thread Wilbert Berendsen
Op Thu, 9 Sep 2021 17:46:13 -0400
Kira Garvie  schreef:

> 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!!

As Karlin wrote, you can use Ctrl+' and Ctrl+" to get those, they are
snippets in the Snippets menu.

And there is a tool in Tools→Programming→Special Characters, under
General Punctuation there are many special quotes which can be clicked
on to enter them in your LilyPond source.

Good luck!

-- 
Wilbert Berendsen (www.wilbertberendsen.nl)



Re: Adding a quote to lyrics

2021-09-13 Thread Knute Snortum
On Mon, Sep 13, 2021 at 1:34 AM Lukas-Fabian Moser  wrote:
>
>
> > The one thing that changed my computer life as a
> > French speaker trying to type ÉÀŒÇ is a Compose key.
>
> ... and now you changed my life as well :-).
>
> Thanks much! I do not know how often I had to look up ♯,♮,♭ and
> especially ①②③④⑤⑥⑦⑧ (these come up all the time in some forms of theory
> of harmony).

On Ubuntu (20.04 at least), the Compose key is activated only when the
Tweaks package is installed.  See:

https://help.ubuntu.com/stable/ubuntu-help/tips-specialchars.html.en

--
Knute Snortum



Re: Adding a quote to lyrics

2021-09-13 Thread Lukas-Fabian Moser




The one thing that changed my computer life as a
French speaker trying to type ÉÀŒÇ is a Compose key.


... and now you changed my life as well :-).

Thanks much! I do not know how often I had to look up ♯,♮,♭ and 
especially ①②③④⑤⑥⑦⑧ (these come up all the time in some forms of theory 
of harmony).


Lukas




Re: Adding a quote to lyrics

2021-09-12 Thread David Wright
On Sun 12 Sep 2021 at 23:07:35 (+0200), David Kastrup wrote:
> Jean Abou Samra  writes:
> > Le 12/09/2021 à 02:32, Kira Garvie a écrit :
> >> Following up on this question from thursday, how do I insert the
> >> curly quotes? I copied them from your email but would like to know
> >> how to do them myself!
> >
> > The one thing that changed my computer life as a
> > French speaker trying to type ÉÀŒÇ is a Compose key.
> > The concept is simple: press Compose, then some
> > sequence of characters that is recognized as an input
> > method for a special character. This is much easier
> > to remember than Unicode code points.

Absolutely. This is straightforward in X windows, eg Debian uses the
files /etc/console-setup/remap.inc (for this and other facilities in
consoles and X) and ~/.XCompose (for X alone).

It might be worth consulting
https://en.wikipedia.org/wiki/Compose_key
on other platforms, unless people here have better suggestions.

> > Examples:

[ … ]

Yes, and I cut and paste a lot of mine from the rather comprehensive
https://cgit.freedesktop.org/xorg/lib/libX11/plain/nls/en_US.UTF-8/Compose.pre
though I have a few extras of my own.

> Not to mention:
> 
> Compose # # → ♯
> Compose # b → ♭
> Compose # f → ♮
> 
> Unfortunately I don't see combinations for double accidentals or a lot
> of other musical symbols on my computer.  But those already help a lot.

I just make them up. Examples from my ~/.XCompose are:

   : "턫"   U1d12b # MUSICAL SYMBOL DOUBLE 
FLAT
   : "턪"   U1d12a # MUSICAL SYMBOL DOUBLE 
SHARP
 : "‿"   U203f # UNDERTIE
   : "✄"   U2704 # WHITE SCISSORS

One limitation is that triple combinations (like the double
accidentals here) don't work in remap.inc (ie, on the console),
so I'd have to define double combinations if I wanted to type
such characters there. However, I really only do system maintenance
outside X windows.

Cheers,
David.



Re: Adding a quote to lyrics

2021-09-12 Thread Kira Garvie
Oooh thank you!
~Kira

On Sun, Sep 12, 2021 at 7:54 PM Karlin High  wrote:

> On Sat, Sep 11, 2021 at 7:32 PM Kira Garvie  wrote:
> > how do I insert the curly quotes?
>
> If you are using Frescobaldi:
>
> Ctrl + ' = ‘’
> Ctrl + Shift + " = “”
>
> The “curly” typographical quotes will be inserted as a pair. If text
> is highlighted first, there will be on each side of the highlighted
> passage.
> --
> Karlin High
> Missouri, USA
>


Re: Adding a quote to lyrics

2021-09-12 Thread Karlin High
On Sat, Sep 11, 2021 at 7:32 PM Kira Garvie  wrote:
> how do I insert the curly quotes?

If you are using Frescobaldi:

Ctrl + ' = ‘’
Ctrl + Shift + " = “”

The “curly” typographical quotes will be inserted as a pair. If text
is highlighted first, there will be on each side of the highlighted
passage.
-- 
Karlin High
Missouri, USA



Re: Adding a quote to lyrics

2021-09-12 Thread David Kastrup
Jean Abou Samra  writes:

> Le 12/09/2021 à 02:32, Kira Garvie a écrit :
>> Following up on this question from thursday, how do I insert the
>> curly quotes? I copied them from your email but would like to know
>> how to do them myself!
>
> The one thing that changed my computer life as a
> French speaker trying to type ÉÀŒÇ is a Compose key.
> The concept is simple: press Compose, then some
> sequence of characters that is recognized as an input
> method for a special character. This is much easier
> to remember than Unicode code points. Examples:
>
> Compose < "    →    “
> Compose > "    →    ”
> Compose - >    →    →
> Compose = e    →    €
> Compose o c    →    ©
> Compose / =    →    ≠
> Compose / o    →    ø
> Compose ' e    →    é
> Compose o e    →    œ
> Compose o A    →    Å
> Compose ~ n    →    ñ
> Compose , C    →    Ç
> Compose - :    →    ÷
> Compose < <    →    «
> Compose > >    →    »
> Compose space space → non-breakable space
>
> How to configure it depends on your system. In my
> experience, it is an extraordinary time saver.
> Enjoy 

Not to mention:

Compose # # → ♯
Compose # b → ♭
Compose # f → ♮

Unfortunately I don't see combinations for double accidentals or a lot
of other musical symbols on my computer.  But those already help a lot.

-- 
David Kastrup


Re: Adding a quote to lyrics

2021-09-12 Thread Jean Abou Samra

Le 12/09/2021 à 02:32, Kira Garvie a écrit :
Following up on this question from thursday, how do I insert the curly 
quotes? I copied them from your email but would like to know how to do 
them myself!


The one thing that changed my computer life as a
French speaker trying to type ÉÀŒÇ is a Compose key.
The concept is simple: press Compose, then some
sequence of characters that is recognized as an input
method for a special character. This is much easier
to remember than Unicode code points. Examples:

Compose < "    →    “
Compose > "    →    ”
Compose - >    →    →
Compose = e    →    €
Compose o c    →    ©
Compose / =    →    ≠
Compose / o    →    ø
Compose ' e    →    é
Compose o e    →    œ
Compose o A    →    Å
Compose ~ n    →    ñ
Compose , C    →    Ç
Compose - :    →    ÷
Compose < <    →    «
Compose > >    →    »
Compose space space → non-breakable space

How to configure it depends on your system. In my
experience, it is an extraordinary time saver.
Enjoy 

Jean



Re: Adding a quote to lyrics

2021-09-12 Thread Paul Hodges
I use WizKey to type accents and a great many special characters 
including curly quotes:
https://antibody-software.com/wizkey/

Sadly it's not free, though.

Paul

On 12/09/2021 06:18:17, "Aaron Hill"  wrote:

>On 2021-09-11 5:32 pm, Kira Garvie wrote:
>>Following up on this question from thursday, how do I insert the curly
>>quotes? I copied them from your email but would like to know how to do them
>>myself.
>
>>



Re: Adding a quote to lyrics

2021-09-12 Thread Aaron Hill

On 2021-09-12 2:32 am, Kira Garvie wrote:
(Anyone who types “blessèd” that much probably works in a similar line 
of
work to me - that word sounds funny to me with just one syllable now! I 
am

a church organist/ music director.)!


Similar role, indeed.  Though in my case, I am just filling the position 
while we are looking for a full-time replacement for our previous 
director.  Unfortunately, it seems there are fewer folks entering the 
music ministry these days, and the pandemic certainly has not been 
helping.



-- Aaron Hill



Re: Adding a quote to lyrics

2021-09-12 Thread Kira Garvie
Thank you Aaron!!

(Anyone who types “blessèd” that much probably works in a similar line of
work to me - that word sounds funny to me with just one syllable now! I am
a church organist/ music director.)!
On Sun, Sep 12, 2021 at 1:18 AM Aaron Hill  wrote:

> On 2021-09-11 5:32 pm, Kira Garvie wrote:
> > Following up on this question from thursday, how do I insert the curly
> > quotes? I copied them from your email but would like to know how to do
> > them
> > myself!
>
> If you are running Windows, you hold down ALT, type a series of numbers
> on the numpad, and then release ALT to input the specified character.
> For instance, here are the codes for double quotation marks:
>
> ALT+0147 → “ (Left double quotation mark)
> ALT+0148 → ” (Right double quotation mark)
>
> There are tables of codes online, but you can also use the Character Map
> (charmap.exe) program.  Find and select a character, and the status bar
> will list its Alt+Numpad code if supported.  Keep a cheat sheet nearby
> with the ones you use most often; though it should not take long before
> muscle memory takes over.  In my work, I type "blessèd" enough that I
> have ALT+0232 memorized.
>
>
> -- Aaron Hill
>


Re: Adding a quote to lyrics

2021-09-11 Thread Aaron Hill

On 2021-09-11 5:32 pm, Kira Garvie wrote:

Following up on this question from thursday, how do I insert the curly
quotes? I copied them from your email but would like to know how to do 
them

myself!


If you are running Windows, you hold down ALT, type a series of numbers 
on the numpad, and then release ALT to input the specified character.  
For instance, here are the codes for double quotation marks:


ALT+0147 → “ (Left double quotation mark)
ALT+0148 → ” (Right double quotation mark)

There are tables of codes online, but you can also use the Character Map 
(charmap.exe) program.  Find and select a character, and the status bar 
will list its Alt+Numpad code if supported.  Keep a cheat sheet nearby 
with the ones you use most often; though it should not take long before 
muscle memory takes over.  In my work, I type "blessèd" enough that I 
have ALT+0232 memorized.



-- Aaron Hill



Re: Adding a quote to lyrics

2021-09-11 Thread Kira Garvie
Following up on this question from thursday, how do I insert the curly
quotes? I copied them from your email but would like to know how to do them
myself!

On Thu, Sep 9, 2021 at 6:09 PM Kira Garvie  wrote:

> 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 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