Re: Orientation of Ornaments

2013-02-12 Thread David Kastrup
"Mark Stephen Mrotek"  writes:

> Mr. Kastrup:
>
> Thank you for your reply and instructions. Changing the two "apostrophes" to
> one "quote" allowed the file to compile.
> As a beginning student of Lilypond (about six months) my inquiries are at a
> basic level. I appreciate your patience and that of others in the user's
> group.
>
> Although the file (see below) is generated, the mordents are above the chord
> rather than to the left of the middle pitches.
>
> mor = 
> #(define-event-function (parser location)() #{ \tweak #'text \markup
>   { \fontsize #5 \musicglyph #"scripts.mordent" } -1
> #})  
> \relative c''
> {
>\once \set fingeringDirections = #'(left)
> < g, c\mor e > r8 < d' f >
> \once \set fingeringDirections = #'(left)
> < c e\mor g >4 r8 < e c' > |
>  }
>
> Where is my error now?

You have been given a working example with the correct property names,
and LilyPond puts out a flurry of warnings about the wrong property
names:

warning: cannot find property type-check for `fingeringDirections'
(translation-type?).  perhaps a typing error?

Computers are traditionally bad at divination, so starting with
copy&paste rather than retyping things and/or trying to go by memory
might be a good idea.

-- 
David Kastrup


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


RE: Orientation of Ornaments

2013-02-12 Thread Mark Stephen Mrotek
Mr. Kastrup:

Thank you for your reply and instructions. Changing the two "apostrophes" to
one "quote" allowed the file to compile.
As a beginning student of Lilypond (about six months) my inquiries are at a
basic level. I appreciate your patience and that of others in the user's
group.

Although the file (see below) is generated, the mordents are above the chord
rather than to the left of the middle pitches.

mor = 
#(define-event-function (parser location)() #{ \tweak #'text \markup
{ \fontsize #5 \musicglyph #"scripts.mordent" } -1
#})  
\relative c''
{
   \once \set fingeringDirections = #'(left)
< g, c\mor e > r8 < d' f >
\once \set fingeringDirections = #'(left)
< c e\mor g >4 r8 < e c' > |
 }

Where is my error now?

Again, I thank you for your kind and patient attention.

Mark

-Original Message-
From: lilypond-user-bounces+carsonmark=ca.rr@gnu.org
[mailto:lilypond-user-bounces+carsonmark=ca.rr@gnu.org] On Behalf Of
David Kastrup
Sent: Tuesday, February 12, 2013 3:18 AM
To: lilypond-user@gnu.org
Subject: Re: Orientation of Ornaments

Thomas Morley  writes:

> 2013/2/12 Mark Stephen Mrotek :
>> Mr. Morley:
>>
>>
>>
>> Thank you again for the instructions:
>>
>>
>>
>> mor =
>>
>> #(define-event-function (parser location)() #{\tweak #'text \markup
>>
>> { \fontsize #5 \musicglyph #''scripts.mordent'' } -1

I see '' instead of " here two times.

>> error: wrong type for argument 1.  Expecting string, found (quote
>> scripts.mordent'')
>>
>> { \fontsize #5 \musicglyph
>>
>>#''scripts.mordent'' } -1.
>>
>>
>>
>> Please point out my error.

> On topic:
> My code compiles without problems on my machine with 2.16.1.
> I assume a copy/paste-error or the wrong version (it will fail with 
> 2.14.2)

Looks very much like copy-paste error.  Possible causes: "inventive"
news/mail reader, or pasting into a text processor rather than a proper
editor.

--
David Kastrup


___
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: Orientation of Ornaments

2013-02-12 Thread David Kastrup
Thomas Morley  writes:

> 2013/2/12 Mark Stephen Mrotek :
>> Mr. Morley:
>>
>>
>>
>> Thank you again for the instructions:
>>
>>
>>
>> mor =
>>
>> #(define-event-function (parser location)() #{\tweak #'text \markup
>>
>> { \fontsize #5 \musicglyph #''scripts.mordent'' } -1

I see '' instead of " here two times.

>> error: wrong type for argument 1.  Expecting string, found (quote
>> scripts.mordent'')
>>
>> { \fontsize #5 \musicglyph
>>
>>#''scripts.mordent'' } -1.
>>
>>
>>
>> Please point out my error.

> On topic:
> My code compiles without problems on my machine with 2.16.1.
> I assume a copy/paste-error or the wrong version (it will fail with 2.14.2)

Looks very much like copy-paste error.  Possible causes: "inventive"
news/mail reader, or pasting into a text processor rather than a proper
editor.

-- 
David Kastrup


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


Re: Orientation of Ornaments

2013-02-12 Thread Thomas Morley
2013/2/12 Mark Stephen Mrotek :
> Mr. Morley:
>
>
>
> Thank you again for the instructions:
>
>
>
> mor =
>
> #(define-event-function (parser location)() #{\tweak #'text \markup
>
> { \fontsize #5 \musicglyph #''scripts.mordent'' } -1
>
> #}).
>
>
>
> When compiling this error message appears:
>
>
>
> error: wrong type for argument 1.  Expecting string, found (quote
> scripts.mordent'')
>
> { \fontsize #5 \musicglyph
>
>#''scripts.mordent'' } -1.
>
>
>
> Please point out my error.
>
>
>
> Thank you for your kind attention.
>
>
>
> Mark

Hi Mark,

please sent any request for help with LilyPond to the list. I tend to
ignore private mails or answer with long delay. For now I've quoted
your mail and cc'ed the user-list.

On topic:
My code compiles without problems on my machine with 2.16.1.
I assume a copy/paste-error or the wrong version (it will fail with 2.14.2)

Cheers,
  Harm

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


RE: Orientation of Ornaments

2013-02-10 Thread Mark Stephen Mrotek
Mr. Morley:

Thank you for your response and the two suggestions. I shall "play" with
both of them.
You have assisted my learning.

Mark

-Original Message-
From: Thomas Morley [mailto:thomasmorle...@googlemail.com] 
Sent: Sunday, February 10, 2013 12:20 PM
To: Mark Stephen Mrotek
Cc: lilypond-user@gnu.org
Subject: Re: Orientation of Ornaments

2013/2/10 Thomas Morley :
> 2013/2/10 Mark Stephen Mrotek :
>
>> For what term/command in the online manual do I search for 
>> instructions as to orientating an ornament, e.g., mordent, to the 
>> left of a middle pitch of a chord,
>
> Don't know about such a command.
>
> Above a workaround tweaking Fingering:
>

Well, should read: below :)

> \version "2.16.1"
>
> mor =
> #(define-event-function (parser location)() #{
> \tweak #'text \markup { \fontsize #5 \musicglyph 
> #"scripts.mordent" } -1
> #})
>
> \relative c' {
> \once \set fingeringOrientations = #'(left)
> < g c\mor e >
> }
>
> HTH,
>   Harm


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


Re: Orientation of Ornaments

2013-02-10 Thread Thomas Morley
2013/2/10 Thomas Morley :
> 2013/2/10 Mark Stephen Mrotek :
>
>> For what term/command in the online manual do I search for instructions as
>> to orientating an ornament, e.g., mordent, to the left of a middle pitch of
>> a chord,
>
> Don't know about such a command.
>
> Above a workaround tweaking Fingering:
>

Well, should read: below :)

> \version "2.16.1"
>
> mor =
> #(define-event-function (parser location)()
> #{
> \tweak #'text \markup { \fontsize #5 \musicglyph #"scripts.mordent" } 
> -1
> #})
>
> \relative c' {
> \once \set fingeringOrientations = #'(left)
> < g c\mor e >
> }
>
> HTH,
>   Harm

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


Re: Orientation of Ornaments

2013-02-10 Thread Thomas Morley
2013/2/10 Mark Stephen Mrotek :

> For what term/command in the online manual do I search for instructions as
> to orientating an ornament, e.g., mordent, to the left of a middle pitch of
> a chord,

Don't know about such a command.

Above a workaround tweaking Fingering:

\version "2.16.1"

mor =
#(define-event-function (parser location)()
#{
\tweak #'text \markup { \fontsize #5 \musicglyph #"scripts.mordent" } -1
#})

\relative c' {
\once \set fingeringOrientations = #'(left)
< g c\mor e >
}

HTH,
  Harm

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