Re: variables for numbers

2018-05-10 Thread foxfanfare
Thomas Morley-2 wrote
> raiseDistance = #1.3
> \markup \raise #raiseDistance { \italic "sotto voce" }

Much easier! ... and better! I should upgrade some of my codes...




--
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: variables for numbers

2018-05-10 Thread Thomas Morley
2018-05-10 22:51 GMT+02:00 Flaming Hakama by Elaine :
>
> On Tue, May 1, 2018 at 11:03 AM,  wrote:
>>
>> Send lilypond-user mailing list submissions to
>> lilypond-user@gnu.org
>
>
>
> I'm having difficulty understanding how to use a variable that stores a
> number, for use with a \raise command.
>
>
> I have numerous markup definitions similar to this one:
>
> sottoVoce = <>^\markup \raise #1.3 { \italic "sotto voce" }
> mezzoVoce = <>^\markup \raise #1.3 { \italic "mezzo voce" }
> { \sottoVoce a'1 \mezzoVoce c''1 }
>
> And I'd like to use a variable for the raise value, instead of repeating
> #1.3 for each definnition.
>
>
>
> Here are three MWE's of failed approaches.
>
> %  The common sense approach
> raiseDistance = #1.3
> sottoVoce = <>^\markup \raise \raiseDistance { \italic "sotto voce" }
> { \sottoVoce a'1 }
>
>
> %  Based on the line-width example on
> http://lilypond.org/doc/v2.19/Documentation/learning/organizing-pieces-with-variables
> %{
> myWidth = 60  % a number to pass to a \paper variable (the unit is
> millimeter)
> Depending on its contents, the variable can be used in different places. The
> following example \paper {
>line-width = \myWidth
> }
> {
> c1
> }
> %}
> raiseDistance = 1.3
> sottoVoce = <>^\markup \raise \raiseDistance { \italic "sotto voce" }
> { \sottoVoce a'1 }
>
>
>
> % Based on
> http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-variables
> %{
> twelve = 12
> twentyFour = #(* 2 twelve)
> %}
> raiseDistance = 1.3
> sottoVoce = <>^\markup \raise #(raiseDistance) { \italic "sotto voce" }
> { \sottoVoce a'1 }
>
>
>
> Does anyone have either a suggestion for how to do this, or the appropriate
> place to RTFM?
>
> The examples on
> http://lilypond.org/doc/v2.19/Documentation/notation/substitution-function-examples
> all are of functions that consume a value.  There are no examples of using a
> variable that is a number.
>
>
>
> Thanks,
>
> David Elaine Alt

Markup expects the scheme-representation of arguments, i.e. prepend
the variable with #
A single static variable shouldn't be enclosed into ()
Otherwise the first element would be seen as the operator doing
something with the other elements.

raiseDistance = #1.3
\markup \raise #raiseDistance { \italic "sotto voce" }

\markup \raise 1.3 { \italic "sotto voce" }
doesn't work either.

Cheers,
  Harm

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


Re: variables for numbers

2018-05-10 Thread foxfanfare
I don't know if it is the easier way, but I'd do:

#(define-markup-command (raiseDistance layout props text)
  (markup?)
(interpret-markup layout props
  #{
 \markup {
   \raise #1.3 #text
 }
  #}))

sottoVoce = <>^\markup \raiseDistance { \italic "sotto voce" }
mezzoVoce = <>^\markup \raiseDistance { \italic "mezzo voce" }
{ \sottoVoce a'1 \mezzoVoce c''1 }



--
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: shaped notes

2018-05-10 Thread David Olson
Dear Mr. Eberly and others, 

The Shenandoah Harmony was entirely set in Lilypond. 

 

Robert Stoddard, Peter Golden, Adrian Mariano, and I [Rachel Hall] typeset the 
music in Lilypond 2.14, with some modifications: we made the shapes bigger and 
the staff lines thinner, to reflect the fact that most singers look at the 
shape of the notes more than their placement on the staff. I used LaTeX, a 
scientific typesetting program, to compile and design the entire book with 
input from the committee. We used fonts inspired by early twentieth century 
typefaces. 


= 

The Shenandoah Harmony is being used more and more around the world. 

Here in Los Angeles, we sing from it every other Thursday and on Fifth Sundays. 

VERY LEGIBLE (better than The Sacred Harp). 

To quibble, Rachel Hall says " typeset the music" but of course Lilypond is 
about engraving, not typesetting. 

And that's why it's so beautiful. 

Come sing with us if you're ever in Los Angeles, 

David Olson 
 








From: "Brad Eberly"  
To: "lilypond-user"  
Sent: Thursday, May 10, 2018 2:31:32 AM 
Subject: FW: shaped notes 







Dear Sirs: 

I was interested in a music writing program that uses Lilypond as a ‘base’. I 
was just wondering if Lilypond has the capability of typesetting music in 
shaped notes as that is the primary form that I would be writing music in. 
Thank you so much for your time! 

Sincerely, 



Marshall L. Eberly 





___ 
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


variables for numbers

2018-05-10 Thread Flaming Hakama by Elaine
On Tue, May 1, 2018 at 11:03 AM,  wrote:

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


I'm having difficulty understanding how to use a variable that stores a
number, for use with a \raise command.


I have numerous markup definitions similar to this one:

sottoVoce = <>^\markup \raise #1.3 { \italic "sotto voce" }
mezzoVoce = <>^\markup \raise #1.3 { \italic "mezzo voce" }
{ \sottoVoce a'1 \mezzoVoce c''1 }

And I'd like to use a variable for the raise value, instead of repeating
#1.3 for each definnition.



Here are three MWE's of failed approaches.

%  The common sense approach
raiseDistance = #1.3
sottoVoce = <>^\markup \raise \raiseDistance { \italic "sotto voce" }
{ \sottoVoce a'1 }


%  Based on the line-width example on
http://lilypond.org/doc/v2.19/Documentation/learning/organizing-pieces-with-variables
%{
myWidth = 60  % a number to pass to a \paper variable (the unit is
millimeter)
Depending on its contents, the variable can be used in different places.
The following example \paper {
   line-width = \myWidth
}
{
c1
}
%}
raiseDistance = 1.3
sottoVoce = <>^\markup \raise \raiseDistance { \italic "sotto voce" }
{ \sottoVoce a'1 }



% Based on
http://lilypond.org/doc/v2.19/Documentation/extending/lilypond-variables
%{
twelve = 12
twentyFour = #(* 2 twelve)
%}
raiseDistance = 1.3
sottoVoce = <>^\markup \raise #(raiseDistance) { \italic "sotto voce" }
{ \sottoVoce a'1 }



Does anyone have either a suggestion for how to do this, or the appropriate
place to RTFM?

The examples on
http://lilypond.org/doc/v2.19/Documentation/notation/substitution-function-examples
all are of functions that consume a value.  There are no examples of using
a variable that is a number.



Thanks,

David Elaine Alt
415 . 341 .4954   "*Confusion is
highly underrated*"
ela...@flaminghakama.com
skype: flaming_hakama
Producer ~ Composer ~ Instrumentalist
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPond and FontForge

2018-05-10 Thread Werner LEMBERG

> Unfortunately, it still isn't working. After saving all the
> different sized fonts using the same method you showed in video, if
> you then copy the new fonts in LilyPond font folder and call for
> them, you'd get an ugly output (as LP can't access the correct
> glyphs), and also the error message : "Erreur FreeType : SFNT font
> table missing"

Hmm, I can't help here.

> I'm sorry Werner, but your explanation is bit too complicated
> for me to understand! TTX also seems to be only available for Linux

No, ttx is a Python program and should work on any platform.

> and I
> don't know where to find this gen-emmentaler-scripts.py file!

It's part of lilypond git, cf.

  
http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=blob;f=scripts/build/gen-emmentaler-scripts.py;hb=HEAD


Werner

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


Re: LilyPond and FontForge

2018-05-10 Thread foxfanfare
Thank you both for your reply and especially the video!

Unfortunately, it still isn't working. After saving all the different sized
fonts using the same method you showed in video, if you then copy the new
fonts in LilyPond font folder and call for them, you'd get an ugly output
(as LP can't access the correct glyphs), and also the error message :
"Erreur FreeType : SFNT font table missing"


Werner LEMBERG wrote
> All of those errors are harmless and can be ignored.  However, I
> suggest to use the `ttx' (from https://github.com/fonttools/fonttools)
> to disassemble (to XML) the original and re-exported font.  You can
> then compare the XML files, looking for issues.
> 
> This is expected.  The three tables are specific to lilypond; they are
> simple text files put into SFNT tables – if you add or modify fonts
> you probably have to update this information also in case you are
> directly editing the fonts with FontForge instead of using lilypond's
> pipeline to create them (from METAFONT source code).  Have a look at
> `scripts/build/gen-emmentaler-scripts.py' (which generates the
> `emmentaler-*.genpe' scripts); there you can see how to add the three
> tables using a FontForge script.

So I guess it is related to this SFNT table that I can achieve to put in the
OTF file... I'm sorry Werner, but your explanation is bit too complicated
for me to understand! TTX also seems to be only available for Linux and I
don't know where to find this gen-emmentaler-scripts.py file!



--
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: LilyPond and FontForge

2018-05-10 Thread Ben

On 5/10/2018 10:15 AM, foxfanfare wrote:

SoundsFromSound wrote

Sorry, but I don't see those errors when I use v8.20 on my Windows 10
machine. I was able to generate an OTF without issues.

I saved the OTF font on my Desktop. Maybe there is a problem with your
fonts?

Thank you anyway for testing!

I just tried on another computer and I get the same errors message.
The font is the original provided in LilyPond directory
(LilyPond\usr\share\lilypond\current\fonts\otf)

I think the problem is when the font is opened, it seems to ignore some
important tables...

I can bypass the error message and export the font anyway. But it creates a
new OTF slightly smaller (less than 100ko), and if I tried then within
LilyPond, here's what I get:







I think those errors are safe to ignore for what you want to do...

I made you a quick video showing what I did here...hope it can be of 
some help.


Have fun! :)

Video:
https://www.dropbox.com/s/m074o63vaubqsix/fontforge-lily.mp4?dl=0
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPond and FontForge

2018-05-10 Thread Ben



On 5/10/2018 10:15 AM, foxfanfare wrote:

SoundsFromSound wrote

Sorry, but I don't see those errors when I use v8.20 on my Windows 10
machine. I was able to generate an OTF without issues.

I saved the OTF font on my Desktop. Maybe there is a problem with your
fonts?

Thank you anyway for testing!

I just tried on another computer and I get the same errors message.
The font is the original provided in LilyPond directory
(LilyPond\usr\share\lilypond\current\fonts\otf)

I think the problem is when the font is opened, it seems to ignore some
important tables...

I can bypass the error message and export the font anyway. But it creates a
new OTF slightly smaller (less than 100ko), and if I tried then within
LilyPond, here's what I get:



I think those errors are safe to ignore for what you want to do...

I made you a quick video showing what I did here...hope it can be of 
some help.


Have fun! :)

Video:
https://www.dropbox.com/s/m074o63vaubqsix/fontforge-lily.mp4?dl=0
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: LilyPond and FontForge

2018-05-10 Thread Werner LEMBERG

> I'm using FontForge version 08:20 on Windows 10. I just open the
> emmentaler-20.otf and try to export it again without any changes,
> and it shows several errors:
>
> - If I choose to review the errors, it shows:
> 

All of those errors are harmless and can be ignored.  However, I
suggest to use the `ttx' (from https://github.com/fonttools/fonttools)
to disassemble (to XML) the original and re-exported font.  You can
then compare the XML files, looking for issues.

> - And also:
> 
> "The following tables has been ignored by FontForge"

This is expected.  The three tables are specific to lilypond; they are
simple text files put into SFNT tables – if you add or modify fonts
you probably have to update this information also in case you are
directly editing the fonts with FontForge instead of using lilypond's
pipeline to create them (from METAFONT source code).  Have a look at
`scripts/build/gen-emmentaler-scripts.py' (which generates the
`emmentaler-*.genpe' scripts); there you can see how to add the three
tables using a FontForge script.


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


Re: FW: shaped notes

2018-05-10 Thread Karlin High
On Thu, May 10, 2018 at 4:31 AM, Brad Eberly  wrote:
> I was just wondering if Lilypond has the capability of typesetting music in
> shaped notes as that is the primary form that I would be writing music in.



-- 
Karlin High
Missouri, USA

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


Re: LilyPond and FontForge

2018-05-10 Thread foxfanfare
SoundsFromSound wrote
> Sorry, but I don't see those errors when I use v8.20 on my Windows 10 
> machine. I was able to generate an OTF without issues.
> 
> I saved the OTF font on my Desktop. Maybe there is a problem with your 
> fonts?

Thank you anyway for testing!

I just tried on another computer and I get the same errors message.
The font is the original provided in LilyPond directory
(LilyPond\usr\share\lilypond\current\fonts\otf)

I think the problem is when the font is opened, it seems to ignore some
important tables...

I can bypass the error message and export the font anyway. But it creates a
new OTF slightly smaller (less than 100ko), and if I tried then within
LilyPond, here's what I get:

 



--
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: FW: shaped notes

2018-05-10 Thread Tim Slattery
"Brad Eberly"  wrote:


>I was interested in a music writing program that uses Lilypond as a 'base'.
>I was just wondering if Lilypond has the capability of typesetting music in
>shaped notes as that is the primary form that I would be writing music in.
>Thank you so much for your time!

If you're talking about the Sacred Harp style four-shape system or
many seven-shape systems, the answer is YES, they are built-in. 

-- 
Tim Slattery
tim  risingdove  com


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


Re: FW: shaped notes

2018-05-10 Thread Andrew Bernard
Hi Brad (or is it Marshall?)

Lilypond is enormously customisable with techniques that vary from simple
to advanced Scheme programming. You can make noteheads whatever shape you
desire.

Send an image of what you want to the list and people may be able to help
you. The current request is vague.

As to using lilypond as a 'base', it would be good if you explain that
also, then again help can be offered. What sort of music do you want to
engrave?

Andrew


On 10 May 2018 at 19:31, Brad Eberly  wrote:

>
>
>
>
> Dear Sirs:
>
> I was interested in a music writing program that uses Lilypond as a
> ‘base’. I was just wondering if Lilypond has the capability of typesetting
> music in shaped notes as that is the primary form that I would be writing
> music in. Thank you so much for your time!
>
>  Sincerely,
>
>
>
> Marshall L. Eberly
>
>
>
>
>
> ___
> 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: LilyPond and FontForge

2018-05-10 Thread Ben

On 5/10/2018 8:39 AM, foxfanfare wrote:

I'm using FontForge version 08:20 on Windows 10. I just open the
emmentaler-20.otf and try to export it again without any changes, and it
shows several errors:

- When I choose "Generate Fonts":

  "The font contains error / missing points at extrema / glyph names
incorrect"

- If I choose to review the errors, it shows:


- And also:

"The following tables has been ignored by FontForge"


Sorry, but I don't see those errors when I use v8.20 on my Windows 10 
machine. I was able to generate an OTF without issues.


I saved the OTF font on my Desktop. Maybe there is a problem with your 
fonts?



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


Re: lyluatex: inline vertical alignment of

2018-05-10 Thread Urs Liska

Hi Malte,

don't know why my previous post got scrambled


Am 10.05.2018 um 14:31 schrieb Malte Meyn:

Hi list,

the lyluatex manual 
(https://github.com/jperon/lyluatex/releases/download/v1.0-beta/lyluatex.pdf) 
says at p. 8 about vertical alignment of inline snippets:


“Note: The alignment works with the edges of the image file, there is 
no notion of an ‘optical’ center or aligning with the staff lines.”


Would it be possible to get such an alignment and how hard would that 
be to achieve?


We didn't see a solution for the issue, but just now you may have given 
me an idea.


The problem is that in a cropped image we don't have a clue as to where 
the staff symbol is located vertically.
However, we *can* determine these values in LilyPond, if we find out the 
highest and lowest Y-extent values throughout the first system (we 
expect single-system scores only for inline inclusion).
A Scheme function could do that calculation and write it to an auxiliary 
file. From there we can go on towards a solution in lyluatex.


If you could investigate this I'd be happy to work on that.
Urs



The reason why I’m asking: I made a markup command that takes a string 
like "/DD-7-9>_5>" and makes a nice functional analysis symbol from 
that. I would like to use these symbols also in the text in my LaTeX 
document without having to code an extra solution for LaTeX. But the 
baseline of the text in LaTeX and the baseline of the LilyPond markup 
don’t match. Using a simple offset wouldn’t be enough because the 
symbols don’t always extend down the same amount.


Any ideas, hints or solutions? I would be willing to contribute to a 
possible lyluatex feature.


Cheers,
Malte

___
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


FW: shaped notes

2018-05-10 Thread Brad Eberly
 

 

Dear Sirs:

I was interested in a music writing program that uses Lilypond as a 'base'.
I was just wondering if Lilypond has the capability of typesetting music in
shaped notes as that is the primary form that I would be writing music in.
Thank you so much for your time!

 Sincerely,

 

Marshall L. Eberly

 

 

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


Re: lyluatex: inline vertical alignment of

2018-05-10 Thread Urs Liska
Hi Malte,

Am 10. Mai 2018 14:31:20 MESZ schrieb Malte Meyn :
>Hi list,
>
>the lyluatex manual 
>(https://github.com/jperon/lyluatex/releases/download/v1.0-beta/lyluatex.pdf)
>
>says at p. 8 about vertical alignment of inline snippets:
>
>“Note: The alignment works with the edges of the image file, there is
>no 
>notion of an ‘optical’ center or aligning with the staff lines.”
>
>Would it be possible to get such an alignment and how hard would that
>be 
>to achieve?
>

I would have loved to add such a feature, but I didn't see a way to achieve it. 
But maybe you just gave me an idea.

The problem is that within a cropped image we have no clue as to where the 
staff symbol is placed vertically.

What we could try is write a Scheme function that determines the highest and 
lowest points within a system (we expect inline examples to have one system 
only). This function could then write this information to an auxiliary file, 
and from there we could determine the center of the staff relative to the image 
file.

>The reason why I’m asking: I made a markup command that takes a string 
>like "/DD-7-9>_5>" and makes a nice functional analysis symbol from 
>that. I would like to use these symbols also in the text in my LaTeX 
>document without having to code an extra solution for LaTeX. But the 
>baseline of the text in LaTeX and the baseline of the LilyPond markup 
>don’t match. Using a simple offset wouldn’t be enough because the 
>symbols don’t always extend down the same amount.
>
>Any ideas, hints or solutions? I would be willing to contribute to a 
>possible lyluatex feature.

If you could investigate the functionality mentioned above we could proceed 
from there. It would be great to have the possibility to include snippets at a 
consistent vertical position.

Urs

>
>Cheers,
>Malte
>
>___
>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: LilyPond and FontForge

2018-05-10 Thread foxfanfare
I'm using FontForge version 08:20 on Windows 10. I just open the
emmentaler-20.otf and try to export it again without any changes, and it
shows several errors:

- When I choose "Generate Fonts":
 
 "The font contains error / missing points at extrema / glyph names
incorrect"

- If I choose to review the errors, it shows:
 

- And also:
 
"The following tables has been ignored by FontForge"



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


lyluatex: vertical alignment of inline snippets

2018-05-10 Thread Malte Meyn

Just replying to fix the subject.

Am 10.05.2018 um 14:31 schrieb Malte Meyn:

Hi list,

the lyluatex manual 
(https://github.com/jperon/lyluatex/releases/download/v1.0-beta/lyluatex.pdf) 
says at p. 8 about vertical alignment of inline snippets:


“Note: The alignment works with the edges of the image file, there is no 
notion of an ‘optical’ center or aligning with the staff lines.”


Would it be possible to get such an alignment and how hard would that be 
to achieve?


The reason why I’m asking: I made a markup command that takes a string 
like "/DD-7-9>_5>" and makes a nice functional analysis symbol from 
that. I would like to use these symbols also in the text in my LaTeX 
document without having to code an extra solution for LaTeX. But the 
baseline of the text in LaTeX and the baseline of the LilyPond markup 
don’t match. Using a simple offset wouldn’t be enough because the 
symbols don’t always extend down the same amount.


Any ideas, hints or solutions? I would be willing to contribute to a 
possible lyluatex feature.


Cheers,
Malte


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


lyluatex: inline vertical alignment of

2018-05-10 Thread Malte Meyn

Hi list,

the lyluatex manual 
(https://github.com/jperon/lyluatex/releases/download/v1.0-beta/lyluatex.pdf) 
says at p. 8 about vertical alignment of inline snippets:


“Note: The alignment works with the edges of the image file, there is no 
notion of an ‘optical’ center or aligning with the staff lines.”


Would it be possible to get such an alignment and how hard would that be 
to achieve?


The reason why I’m asking: I made a markup command that takes a string 
like "/DD-7-9>_5>" and makes a nice functional analysis symbol from 
that. I would like to use these symbols also in the text in my LaTeX 
document without having to code an extra solution for LaTeX. But the 
baseline of the text in LaTeX and the baseline of the LilyPond markup 
don’t match. Using a simple offset wouldn’t be enough because the 
symbols don’t always extend down the same amount.


Any ideas, hints or solutions? I would be willing to contribute to a 
possible lyluatex feature.


Cheers,
Malte

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


Re: LilyPond and FontForge

2018-05-10 Thread Ben

On 5/10/2018 5:39 AM, foxfanfare wrote:

Hi everyone,

I'm trying to modify some glyphs in the emmentaler font and make a "custom"
font which will fits better my tastes. I am using FontForge for this but
cannot understand how the font table is working.

If I open the default emmentaler and try then to generate it again in OTF, I
get several error messages (especially "missing points at extrema").

Obviously I must have missed something in FontForge to get it worked but I
cannot find any informations on this. Could someone please explain me how to
set FontForge in order to export a correct OTF compatible in LP?




Hello,

I am not seeing those errors when I try to generate a new OTF font from 
Emmentaler within FontForge - maybe it's specific to the changes you're 
making?

Can you share your methods and maybe we can reproduce?


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


Re: Fwd: Compile crashing... help!

2018-05-10 Thread Aaron Hill

On 2018-05-10 01:04, Phil Holmes wrote:

Did you consider my suggestion of using a Linux virtual machine?


If you are running 64-bit Windows 10, remember that the Windows 
Subsystem for Linux exists:


https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux

This seems like the easiest option to be able to run 64-bit build 
LilyPond on Windows, until such time as mingw-w64 can be utilized by 
LilyPond/GUB.


Obviously, one can run a full VM, but WSL is a much lighter-weight 
option with fairly good support for command-line tools.  I am in the 
process of getting this set up myself for some work on other projects, 
and I will report back my results.


-- Aaron Hill

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


RE: LilyPond and FontForge

2018-05-10 Thread foxfanfare
Andrew Bernard wrote
> Hello foxfanfare,Have you looked at Abraham Lee's superb lilypond
> fonts?https://www.musictypefoundry.com/I realise that this does not answer
> your question, but perhaps you may findthe hard work already done. What
> are you attempting to produce?Andrew

Yes I did! It is absolutely great work. But sometimes I feel like I'd prefer
make my "own" mix between all the fonts available. For instance, I prefer
noteheads in one font, trill line in another etc.I know I can override the
font.name for those different glyphs, but still I'd kinda prefer have my own
personalized font which could evolved in the future and will be automaticaly
updated in all my previous works!



--
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: LilyPond and FontForge

2018-05-10 Thread andrew.bernard
Hello foxfanfare,

Have you looked at Abraham Lee's superb lilypond fonts?

https://www.musictypefoundry.com/

I realise that this does not answer your question, but perhaps you may find
the hard work already done. What are you attempting to produce?

Andrew



-Original Message-
From: lilypond-user 
On Behalf Of foxfanfare
Sent: Thursday, 10 May 2018 7:39 PM
To: lilypond-user@gnu.org
Subject: LilyPond and FontForge

Hi everyone,

I'm trying to modify some glyphs in the emmentaler font and make a "custom"
font which will fits better my tastes 



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


Understanding ScriptRow

2018-05-10 Thread Thomas Morley
Hi all,

I'm trying to do:
(a) create a new grob
(b) add this grob to the 'scripts of ScriptRow
(c) let ScriptRow do the positioning according to the provided
script-priority and finger/stringNumber/strokeFingerOrientations, etc

(a) and (b) are done.
But currently I'm stuck with (c)

So I went some steps back and tried to understand how ScriptRow
actually does the positioning.
According to IR, 'before-line-breaking is set to
ly:script-column::row-before-line-breaking.
But I can't find where it is defined and thus I'm at a loss what it
does and how.
All I can say is unsetting 'before-line-breaking leads to clashing
scripts (only AccidentalPlacement is still ok). This makes me think
ly:script-column::row-before-line-breaking is indeed responsible for
the positioning.

So the questions are
Where is ly:script-column::row-before-line-breaking defined?
What does it do and how?
Is my current naiv understanding of it correct at all?
Is (c) doable at all?

Here some example code:

tst =
  \override Staff.ScriptRow.before-line-breaking =
#(lambda (grob)
   (format #t "\nscripts in ~a:\n~y"
   grob
   (ly:grob-array->list (ly:grob-object grob 'scripts)))
   (ly:script-column::row-before-line-breaking grob)
)

\transpose c cis
{
  \tst
  \set fingeringOrientations = #'(left)
  \set stringNumberOrientations = #'(left)
  \set strokeFingerOrientations = #'(left)

  4.\arpeggio
}

Cheers,
  Harm

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


LilyPond and FontForge

2018-05-10 Thread foxfanfare
Hi everyone,

I'm trying to modify some glyphs in the emmentaler font and make a "custom"
font which will fits better my tastes. I am using FontForge for this but
cannot understand how the font table is working.

If I open the default emmentaler and try then to generate it again in OTF, I
get several error messages (especially "missing points at extrema").

Obviously I must have missed something in FontForge to get it worked but I
cannot find any informations on this. Could someone please explain me how to
set FontForge in order to export a correct OTF compatible in LP?



--
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: Fwd: Compile crashing... help!

2018-05-10 Thread Phil Holmes
Did you consider my suggestion of using a Linux virtual machine?

--
Phil Holmes


  - Original Message - 
  From: Brent Annable 
  To: Michael Gerdau 
  Cc: lilypond-user@gnu.org 
  Sent: Thursday, May 10, 2018 4:14 AM
  Subject: Re: Fwd: Compile crashing... help!


  Being a layman, most of this is all going over my head. But I gather that 
compiling this particular project will not be possible for the time being on my 
current machine, so I’ll either try to get my decrepit laptop up and running, 
or ask a friend to help out :-)

  Thanks for the replies,

  Brent.

  On Thu, 10 May 2018 at 6:55 am, Michael Gerdau  wrote:

> I have no idea what it would entail to also provide 64bit Windows
> binaries.

Last time I looked (about 1.5 years ago) the problem was a missing
mingw-w64 package that exists for mingw (the 32bit version) for which I
think it is not actually required for the lilypond build, only for GUB
in general.

I'm not very knowledgeable w/r to GUB. So here is a question for those
with better knowledge:
Is it possible to reduce the required packages for GUB for particular
software (as in lilypond)?

If that's the case I'd expect it to be fairly straight forward to
replace the mingw stuff by mingw-w64 since the later is (or was)
supposed to be a dropin replacement for the former.

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
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user