Re: : Re: transpose range

2017-06-26 Thread David Kastrup
"Peter Gentry"  writes:

> A semi tone difference is indeed noticeable but surely there is no
> semitone between e sharp and f flat?

There is.

> It’s the same key on the piano!

It isn't.

> Where is the semitone?

e sharp (a white key) is a semitone above f flat (another white key) and
your proposed procedure would have been oblivious of that.

That is different to the situation between f sharp and g flat (which
your proposed procedure is designed for) since there is an actual black
key between f and g.

> Instead of enlightening me you simply reply with a superior and
> dismissive tone which is uncalled for.

I let LilyPond _calculate_ that semitone of difference.  Apparently the
code example was too obtuse.  I would not have thought so since we were
talking about Scheme code in the first place, but then I am probably
more skilled talking with computers than humans.

-- 
David Kastrup

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


Re: Non-Standard Rhythmic Durations

2017-06-26 Thread Nathan Ho

On 2017-06-26 20:47, Brin Solomon wrote:

Hey all,

I'm working on an algorithmic piece where all the rhythmic durations
are an integer number of eighth notes long. I'm using
Completion_heads_engraver to handle the bar lines, but I'm running
into trouble when I need to write notes that are five eighth notes
long. Is there a way to send an arbitrary rhythmic value (i.e. one
that can't be described with the 8, 4, 4., etc system) to the
Completion_heads_engraver, or do I need to enter all the "half note
plus an eighth" rhythmic values by hand without automatic note
splitting?


hi brin,

i'd say that's kinda outside the scope of lilypond, although you could 
probably put it together with scheme magic. instead, you should check 
out abjad (http://abjad.mbrsi.org/), which is perfect for that kind of 
thing.



nathan

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


Non-Standard Rhythmic Durations

2017-06-26 Thread Brin Solomon
Hey all,

I'm working on an algorithmic piece where all the rhythmic durations are an
integer number of eighth notes long. I'm using Completion_heads_engraver to
handle the bar lines, but I'm running into trouble when I need to write
notes that are five eighth notes long. Is there a way to send an arbitrary
rhythmic value (i.e. one that can't be described with the 8, 4, 4., etc
system) to the Completion_heads_engraver, or do I need to enter all the
"half note plus an eighth" rhythmic values by hand without automatic note
splitting?

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


Re: tupletbracket on staff

2017-06-26 Thread Manuela Gößnitzer
I do not understand exactly what you mean by "inside the staff", maybe you
want this:

\override TupletBracket.direction = #UP ...

or

\tupletUp

2017-06-26 21:51 GMT+02:00 Neil Thornock :

> I'm engraving a piece with a very large staff consisting mostly of white
> space. The tuplet brackets would look much better inside / on top of the
> staff instead of outside, in this case.
>
> Are there overrides that would permit the tuplet brackets to be engraved
> on top of the staff?
>
> Thanks!
>
> ___
> 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: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Jacques Menu Muzhic
Complement for those of us using Mac OS X:

the fonts files should be placed in:

/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/fonts/otf 
and:

/Applications/LilyPond.app/Contents/Resources/share/lilypond/current/fonts/svg 
respectively.

JM

> Le 26 juin 2017 à 17:25, Federico Bruni  a écrit :
> 
> 
> 
> Il giorno lun 26 giu 2017 alle 17:04, Urs Liska  > ha scritto:
>> Am 26.06.2017 um 16:53 schrieb Federico Bruni:
>>> Il giorno lun 26 giu 2017 alle 16:29, Urs Liska 
>>> ha scritto:
 So, what is the content (tree) of /usr/share/lilypond/2.19.62 in your
 installation?
>>> $ tree -d /usr/share/lilypond/2.19.62
>>> /usr/share/lilypond/2.19.62
>>> ├── fonts
>>> │   ├── otf -> /usr/share/fonts/lilypond
>>> │   ├── source
>>> │   └── svg
>>> ├── ly
>>> ├── ps
>>> ├── python
>>> ├── scm
>>> └── tex
>> Oh my, now I finally realize why these folders are used at all ...
>> But guessing from "otf -> /usr/share/fonts/lilypond" - did you ever try
>> to simply copy the alternative fonts into that folder? Basically this
>> will be accessible from *any* LilyPond installation, provided the
>> package manager doesn't purge unknown files in that directory.
> 
> Yes, if I copy all the font otf files to /usr/share/fonts/lilypond, it is 
> recognized and I can compile the snippet.
> I don't think that these files will be purged by the package manager. I'll 
> see.
> 
> Thanks for the help
> 
> 
> 
> 
> ___
> 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: : Re: transpose range

2017-06-26 Thread Gianmaria Lari
Thank you Peter and David for your help. I'll make some tests in the
followings hours.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: : Re: transpose range

2017-06-26 Thread Thomas Morley
2017-06-26 23:56 GMT+02:00 Peter Gentry :
>
>
> -Original Message-
> From: David Kastrup [mailto:d...@gnu.org]
> Sent: 26 June 2017 15:31
> To: Peter Gentry 
> Cc: Lilypond 
> Subject: Re: : Re: transpose range
>
> "Peter Gentry"  writes:
>
>> From: David Kastrup [mailto:d...@gnu.org]
>>
>> "Peter Gentry"  writes:
>>>
>>> The numeric pitch (op) is calculated by (define op (+ (* 14 o) (* n
>>> 2) (/ a 2))) “op is a unique number representing the pitch of the
>>> note”
>>
>>> Uh, that's pretty bad since it sees eis as equal to fes.  Anything
>>> wrong with just using (ly:pitch-tones p) instead?
>>
>> a. I had not heard of ly:pitch-tones p) b. for most folks eis is the
>> same sound as fes. Neither my battered old ears or my tuner could
>> detect the difference.  
>
> Well, I am glad that you don't sing in my hearing range then and you should 
> throw away that tuner.
>
> A semitone difference is quite noticeable.
>
> dak@lola:/usr/local/tmp/lilypond$ lilypond scheme-sandbox GNU LilyPond 
> 2.19.59 Processing `/usr/local/share/lilypond/2.19.59/ly/scheme-sandbox.ly'
> Parsing...
> guile> (apply - (map ly:pitch-tones (list #{ eis #} #{ fes #})))
> 1/2
> guile>
>
>
> --
> David Kastrup
>
> A semi tone difference is indeed noticeable but surely there is no semitone 
> between e sharp and f flat?

There is.

> It’s the same key on the piano!

Nope.

> Where is the semitone?

David gave you the proof ;)

> Instead of enlightening me you simply reply with a superior and dismissive 
> tone which is uncalled for.

e sharp and f are the same key, same for e and f flat, but not e sharp
and f flat.
You confused them. As far as I understand David made a joke to have
you rethink what you wrote ;)

Cheers,
  Harm

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


RE: : Re: transpose range

2017-06-26 Thread David Nalesnik
Hi,

On Jun 26, 2017 4:57 PM, "Peter Gentry" 
wrote:



-Original Message-
From: David Kastrup [mailto:d...@gnu.org]
Sent: 26 June 2017 15:31
To: Peter Gentry 
Cc: Lilypond 
Subject: Re: : Re: transpose range

"Peter Gentry"  writes:

> From: David Kastrup [mailto:d...@gnu.org]
>
> "Peter Gentry"  writes:
>>
>> The numeric pitch (op) is calculated by (define op (+ (* 14 o) (* n
>> 2) (/ a 2))) “op is a unique number representing the pitch of the
>> note”
>
>> Uh, that's pretty bad since it sees eis as equal to fes.  Anything
>> wrong with just using (ly:pitch-tones p) instead?
>
> a. I had not heard of ly:pitch-tones p) b. for most folks eis is the
> same sound as fes. Neither my battered old ears or my tuner could
> detect the difference.  

Well, I am glad that you don't sing in my hearing range then and you should
throw away that tuner.

A semitone difference is quite noticeable.

dak@lola:/usr/local/tmp/lilypond$ lilypond scheme-sandbox GNU LilyPond
2.19.59 Processing `/usr/local/share/lilypond/2.19.59/ly/scheme-sandbox.ly'
Parsing...
guile> (apply - (map ly:pitch-tones (list #{ eis #} #{ fes #})))
1/2
guile>


--
David Kastrup

A semi tone difference is indeed noticeable but surely there is no semitone
between e sharp and f flat?
It’s the same key on the piano! Where is the semitone?


E sharp/F or F flat/E are the same key on the piano.  E sharp and F flat
are a semitone apart.

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


RE: : Re: transpose range

2017-06-26 Thread Peter Gentry


-Original Message-
From: David Kastrup [mailto:d...@gnu.org] 
Sent: 26 June 2017 15:31
To: Peter Gentry 
Cc: Lilypond 
Subject: Re: : Re: transpose range

"Peter Gentry"  writes:

> From: David Kastrup [mailto:d...@gnu.org]
>
> "Peter Gentry"  writes:
>>
>> The numeric pitch (op) is calculated by (define op (+ (* 14 o) (* n
>> 2) (/ a 2))) “op is a unique number representing the pitch of the 
>> note”
>
>> Uh, that's pretty bad since it sees eis as equal to fes.  Anything 
>> wrong with just using (ly:pitch-tones p) instead?
>
> a. I had not heard of ly:pitch-tones p) b. for most folks eis is the 
> same sound as fes. Neither my battered old ears or my tuner could  
> detect the difference.  

Well, I am glad that you don't sing in my hearing range then and you should 
throw away that tuner.

A semitone difference is quite noticeable.

dak@lola:/usr/local/tmp/lilypond$ lilypond scheme-sandbox GNU LilyPond 2.19.59 
Processing `/usr/local/share/lilypond/2.19.59/ly/scheme-sandbox.ly'
Parsing...
guile> (apply - (map ly:pitch-tones (list #{ eis #} #{ fes #})))
1/2
guile> 


--
David Kastrup

A semi tone difference is indeed noticeable but surely there is no semitone 
between e sharp and f flat?
It’s the same key on the piano! Where is the semitone? 
Instead of enlightening me you simply reply with a superior and dismissive tone 
which is uncalled for.



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


Re: Error message

2017-06-26 Thread Michael Gerdau
Am 26.06.2017 um 21:47 schrieb Thomas Morley:
> 2017-06-26 15:47 GMT+02:00 Phil Holmes :
>> - Original Message - From: "Michael Gerdau" 
>> To: "Thomas Morley" ; "Maxime's Music"
>> 
>> Cc: "Phil Holmes" ; "lilypond-user"
>> 
>> Sent: Monday, June 26, 2017 11:07 AM
>> Subject: Re: Error message
>>
>>
> Thanks for all your efforts with this. I'm out of internet range till
> Wednesday. Just trying to survive on my phone.
>
> Harm, if you'd like to forward those files, that's fine.
>
> Craig


 Done.
>>>
>>>
>>> Just for the record:
>>>
>>> On my about 6 year old 16GB ArchLinux Laptop  (CPU i7-2820QM @ 2.3GHz)
>>> it took under 4 minutes to compile Harm's modified Version. VMEM maxed
>>> at about 4.5 GB according to top (could do a more thourough analysis if
>>> that would be of interest).
>>>
>>> Doing the same with Craig's unmodified files gives a couple of errors
>>> regarding missing stuff (as Harm already mentioned) and is done after
>>> about 4:40 with VMEM maxed at 6 GB according to top.
>>>
>>> Kind regards,
>>> Michael
>>> --
>>> Michael Gerdau   email: m...@qata.de
>>> GPG-keys available on request or at public keyserver
>>
>>
>> Further data point.  On Windows vista 64-bit with 6 Gigs memory, I get a
>> malloc error on both scores, at just under 1.5 Gigs allocated memory (with
>> plenty free) and around 300 seconds processor time.
>>
>> --
>> Phil Holmes
> 
> Hi all,
> 
> in \paper from lilypond-files-harm/lilypond-files/scoreA-init.ily
> I had changed #ly:optimal-breaking to #ly:one-line-breaking
> and forgot to undo it before sending the zip around.
> 
> I'm afraid compilation needs to be retested if you didn't change it
> back yourself. At least for my modified files.

Undoing that change increases compiletime and VMEM on my machine
somewhat to about 4:10 and 5.5 GB according to top.

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


tupletbracket on staff

2017-06-26 Thread Neil Thornock
I'm engraving a piece with a very large staff consisting mostly of white
space. The tuplet brackets would look much better inside / on top of the
staff instead of outside, in this case.

Are there overrides that would permit the tuplet brackets to be engraved on
top of the staff?

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


Re: Error message

2017-06-26 Thread Thomas Morley
2017-06-26 15:47 GMT+02:00 Phil Holmes :
> - Original Message - From: "Michael Gerdau" 
> To: "Thomas Morley" ; "Maxime's Music"
> 
> Cc: "Phil Holmes" ; "lilypond-user"
> 
> Sent: Monday, June 26, 2017 11:07 AM
> Subject: Re: Error message
>
>
 Thanks for all your efforts with this. I'm out of internet range till
 Wednesday. Just trying to survive on my phone.

 Harm, if you'd like to forward those files, that's fine.

 Craig
>>>
>>>
>>> Done.
>>
>>
>> Just for the record:
>>
>> On my about 6 year old 16GB ArchLinux Laptop  (CPU i7-2820QM @ 2.3GHz)
>> it took under 4 minutes to compile Harm's modified Version. VMEM maxed
>> at about 4.5 GB according to top (could do a more thourough analysis if
>> that would be of interest).
>>
>> Doing the same with Craig's unmodified files gives a couple of errors
>> regarding missing stuff (as Harm already mentioned) and is done after
>> about 4:40 with VMEM maxed at 6 GB according to top.
>>
>> Kind regards,
>> Michael
>> --
>> Michael Gerdau   email: m...@qata.de
>> GPG-keys available on request or at public keyserver
>
>
> Further data point.  On Windows vista 64-bit with 6 Gigs memory, I get a
> malloc error on both scores, at just under 1.5 Gigs allocated memory (with
> plenty free) and around 300 seconds processor time.
>
> --
> Phil Holmes

Hi all,

in \paper from lilypond-files-harm/lilypond-files/scoreA-init.ily
I had changed #ly:optimal-breaking to #ly:one-line-breaking
and forgot to undo it before sending the zip around.

I'm afraid compilation needs to be retested if you didn't change it
back yourself. At least for my modified files.

Sorry for that,
  Harm

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


Re: lilypond export

2017-06-26 Thread Paul

On 06/14/2017 09:01 AM, Jan-Peter Voigt wrote:


I have been working on an export module for lilypond.


Hi Jan-Peter,  Great to hear of your work on this.  If I can find the 
time (...) I'll try to take a look.


The exporter uses some engravers to collect all note-events and store 
them in a tree-structure.


Hmmm, I wonder if engravers have access to all they need to fully do the 
job?  Maybe so?  I just remember previous discussions on the list and 
the issue tracker describing it more as a backend like for midi, pdf, or 
svg?


In any case, kudos for your work on this,
-Paul

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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Federico Bruni



Il giorno lun 26 giu 2017 alle 17:04, Urs Liska  ha 
scritto:



Am 26.06.2017 um 16:53 schrieb Federico Bruni:

 Il giorno lun 26 giu 2017 alle 16:29, Urs Liska 
 ha scritto:
 So, what is the content (tree) of /usr/share/lilypond/2.19.62 in 
your

 installation?



 $ tree -d /usr/share/lilypond/2.19.62
 /usr/share/lilypond/2.19.62
 ├── fonts
 │   ├── otf -> /usr/share/fonts/lilypond
 │   ├── source
 │   └── svg
 ├── ly
 ├── ps
 ├── python
 ├── scm
 └── tex



Oh my, now I finally realize why these folders are used at all ...

But guessing from "otf -> /usr/share/fonts/lilypond" - did you ever 
try

to simply copy the alternative fonts into that folder? Basically this
will be accessible from *any* LilyPond installation, provided the
package manager doesn't purge unknown files in that directory.




Yes, if I copy all the font otf files to /usr/share/fonts/lilypond, it 
is recognized and I can compile the snippet.
I don't think that these files will be purged by the package manager. 
I'll see.


Thanks for the help




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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread tisimst
On Mon, Jun 26, 2017 at 3:54 AM, Urs Liska [via Lilypond] <
ml+s1069038n204099...@n5.nabble.com> wrote:

>
>
> Am 26.06.2017 um 11:43 schrieb Federico Bruni:
>
> >
> >
> > Il giorno dom 25 giu 2017 alle 20:49, Malte Meyn
> > <[hidden email] >
> ha scritto:
> >>
> >>
> >> Am 25.06.2017 um 20:45 schrieb Remy CLAVERIE:
> >>> I think that you have to donwload the fonts into the '.fonts'
> >>> directory of your home (beware to the 's' at the end of the name).
> >>> If it does'nt exist, you must create it. Then, run the 'fc-cache -v-
> >>> -f' and all the new fonts should be available for all the software,
> >>> including libreoffice.
> >>
> >> LilyPond looks for music fonts in it’s own font directory, something
> >> like XXX/lilypond/usr/share/lilypond/current/fonts/otf, where XXX is
> >> /usr/local or ~ or something similar (Maybe it’s a bit different when
> >> installed via the package manager, perhaps
> >> /usr/share/lilypond/current/fonts/otf).
> >>
> >> ___
> >>
> >
> > This is not the best advice, if Luca is using version 2.19.
> > As of version 2.19.12, there's no need to copy the fonts in lilypond
> > install directory. You place them once in your system-wide fonts
> > directory and then use the new syntax to make sure lilypond can find
> > the fonts.
>
> Ehm, are you really sure that's true? I was sure we didn't complete
> *that* step yet.
>
> If I'm not completely mistaken what Abraham developed for 2.19.12 was
> the ability to look up alternative fonts *in the LilyPond installation*
> (as opposed to having to rename the fonts which one would have to do
> before that).
> I was working on a patch to look for notation fonts in the system fonts
> but that didn't work out because of fontconfig's bad habit of always
> returning *something* if you request a font (well, it's not a bad habit
> in itself but for us it's a disaster because Arial may be an appropriate
> replacement font for Helvetica but definitely not for LilyBoulez).
>

Just wanted to jump in here quickly to re-affirm this. My experience tells
me that LP only looks for music fonts, as Urs suggested, in the specific
LilyPond installation directory and is only available to that installation
(if you happen to have multiple versions installed). There are some ways
around it and one thing I found to work decently, but not as reliably, is
to add the system font folder to LilyPond's include path. This does allow
you to install the fonts in the "normal" system font folder which then
allows you to access them across installations, but I seem to recall that
it was a bit buggy. It could have been a font-cache problem that made me
give up on it, but I don't recall exactly. Adding symbolic links on *nix
platforms also works well, but you still need to manually add the links for
each version's set of "fonts/[otf/svg]" folders. If we ever get around to
implementing SMuFL-compliance, this will need to be addressed properly.

Best,
Abraham




--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Install-LilyBoulez-or-other-alternative-fonts-on-Ubuntu-tp204081p204121.html
Sent from the User mailing list archive at Nabble.com.___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Urs Liska


Am 26.06.2017 um 16:53 schrieb Federico Bruni:
> Il giorno lun 26 giu 2017 alle 16:29, Urs Liska 
> ha scritto:
>> So, what is the content (tree) of /usr/share/lilypond/2.19.62 in your
>> installation?
>
>
> $ tree -d /usr/share/lilypond/2.19.62
> /usr/share/lilypond/2.19.62
> ├── fonts
> │   ├── otf -> /usr/share/fonts/lilypond
> │   ├── source
> │   └── svg
> ├── ly
> ├── ps
> ├── python
> ├── scm
> └── tex
>

Oh my, now I finally realize why these folders are used at all ...

But guessing from "otf -> /usr/share/fonts/lilypond" - did you ever try
to simply copy the alternative fonts into that folder? Basically this
will be accessible from *any* LilyPond installation, provided the
package manager doesn't purge unknown files in that directory.

Urs

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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Federico Bruni
Il giorno lun 26 giu 2017 alle 16:29, Urs Liska  ha 
scritto:
So, what is the content (tree) of /usr/share/lilypond/2.19.62 in your 
installation?



$ tree -d /usr/share/lilypond/2.19.62
/usr/share/lilypond/2.19.62
├── fonts
│   ├── otf -> /usr/share/fonts/lilypond
│   ├── source
│   └── svg
├── ly
├── ps
├── python
├── scm
└── tex



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


Re: : Re: transpose range

2017-06-26 Thread David Kastrup
"Peter Gentry"  writes:

> From: David Kastrup [mailto:d...@gnu.org] 
>
> "Peter Gentry"  writes:
>>
>> The numeric pitch (op) is calculated by (define op (+ (* 14 o) (* n
>> 2) (/ a 2))) “op is a unique number representing the pitch of the
>> note”
>
>> Uh, that's pretty bad since it sees eis as equal to fes.  Anything
>> wrong with just using (ly:pitch-tones p) instead?
>
> a. I had not heard of ly:pitch-tones p)
> b. for most folks eis is the same sound as fes. Neither my battered old ears 
> or my tuner could  detect the difference.  

Well, I am glad that you don't sing in my hearing range then and you
should throw away that tuner.

A semitone difference is quite noticeable.

dak@lola:/usr/local/tmp/lilypond$ lilypond scheme-sandbox
GNU LilyPond 2.19.59
Processing `/usr/local/share/lilypond/2.19.59/ly/scheme-sandbox.ly'
Parsing...
guile> (apply - (map ly:pitch-tones (list #{ eis #} #{ fes #})))
1/2
guile> 


-- 
David Kastrup

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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Urs Liska


Am 26.06.2017 um 16:22 schrieb Federico Bruni:
>
> Unless I miss something, the problem is that GUB installers have
> always usr/share/lilypond/current, while distro packagers (at least
> Debian and Fedora for sure) prefer replacing it with the actual version.
>
> My guess is that you should change the script in a way that it can run
> lilypond to find the version installed and then the correct path for
> that installation.
>
> GUB changes some version to current here:
> https://github.com/gperciva/gub/blob/master/gub/specs/lilypond.py#L120
>
> It was not an happy decision as you may guess from the comment:
> # WTF, current
>

OK, now I start to see how that works. Maybe.

So, what is the content (tree) of /usr/share/lilypond/2.19.62 in your
installation?

(I can't really test it because on my Debian 9 there still is not
installation candidate for lilypond available.)
Urs

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Federico Bruni



Il giorno lun 26 giu 2017 alle 14:22, Urs Liska  ha 
scritto:



Am 26.06.2017 um 13:56 schrieb Urs Liska:


Am 26.06.2017 um 13:42 schrieb Federico Bruni:

_get_lilypond_font_path in config.py uses 'current'. Any chance to
adapt it for distro installations?
Well, I can rename it to "current" to make the script work...
I'll have to look into the code once again, but it seems using 
"current"

is definitely a stupid idea. So you shouldn't actually rename your
installation folders ...
But I think I should restructure the script anyway, since the 
non-local

option doesn't work anymore anyway (since the fonts aren't at
fonts.openlilylib.org anymore).

Urs


OK, I've misread your message and thought I had used "current" in the 
sense that I use it as the installation directory of my "current" 
LilyPond build.


The problem is something different. The script checks if the given 
path points to a file (assuming it's the lilypond executable) or a 
directory (assuming an installation directory. What I did *not* 
consider is a "file" being a link or a wrapper script.




Unless I miss something, the problem is that GUB installers have always 
usr/share/lilypond/current, while distro packagers (at least Debian and 
Fedora for sure) prefer replacing it with the actual version.


My guess is that you should change the script in a way that it can run 
lilypond to find the version installed and then the correct path for 
that installation.


GUB changes some version to current here:
https://github.com/gperciva/gub/blob/master/gub/specs/lilypond.py#L120

It was not an happy decision as you may guess from the comment:
# WTF, current


I think /usr/bin/lilypond points to either a symlink or the wrapper 
script.

Could you please give me the output of
cat /usr/bin/lilypond
?



I can't, it's a binary:

[~]$ file /usr/bin/lilypond
/usr/bin/lilypond: ELF 64-bit LSB shared object, x86-64, version 1 
(GNU/Linux), dynamically linked, interpreter 
/lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, 
BuildID[sha1]=1794d247d65c3855c2726b871a7f729f9d995347, stripped

[~]$
[~]$
[~]$ ls -lh /usr/bin/lilypond
-rwxr-xr-x 1 root root 4,8M 14 giu 14.50 /usr/bin/lilypond



From there the script goes up two levels and then goes down into the 
installation directory, looking for the font directories. In your 
case this results in a very confusing result because 
"share/lilypond/current" is the correct directory within an 
installation but looks very confusing prepended with /usr (= two 
levels above /usr/bin/lilypond).


So apart from me fixing this in some way or another you should be 
good with
$ sudo python install-lily-fonts -l -d /home/fede/.fonts -t 
/usr/share/lilypond/2.19.62


(i.e pointing to the installation directory)




I had already tried this and did not work.

Error condition:
No LilyPond installation found at or in
 /usr/share/lilypond/2.19.62.
Abort script.








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


RE: : Re: transpose range

2017-06-26 Thread Peter Gentry


-Original Message-
From: David Kastrup [mailto:d...@gnu.org] 
Sent: 26 June 2017 13:43
To: Peter Gentry 
Cc: 'Gianmaria Lari' ; Lilypond 
Subject: Re: : Re: transpose range

"Peter Gentry"  writes:

> You will need to modify the attach file (instrument_ranges.ly) since you are 
> only interested in one instrument. 
>
>  
>
> A numeric pitch can be constructed from three components of the 
> lilypond pitch p
>
>  
>
> 1.The octave o obtained from  (ly:pitch-octave p))  
> 2.The note n obtained from (ly:pitch-notename p))  
> 3.The semitone  a  obtained from the alteration  (* 4 
> (ly:pitch-alteration p))  note alteration is in quarter tone steps
>
>  
>
> The numeric pitch (op) is calculated by (define op (+ (* 14 o) (* n 2) (/ a 
> 2)))  “op is a unique number representing the pitch of the note”

Uh, that's pretty bad since it sees eis as equal to fes.  Anything wrong with 
just using (ly:pitch-tones p) instead?

--
David Kastrup

a. I had not heard of ly:pitch-tones p)
b. for most folks eis is the same sound as fes. Neither my battered old ears or 
my tuner could  detect the difference.  




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


Re: Error message

2017-06-26 Thread Andrew Bernard
Hi Phil,

With the corrected score that produces no warnings I get a fine compile on
Windows 10 with about 3 GiB maximum memory usage. Lilypond 2.19.61. The
score with warnings crashes and does not produce any output.

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


Re: Error message

2017-06-26 Thread Phil Holmes
- Original Message - 
From: "Michael Gerdau" 
To: "Thomas Morley" ; "Maxime's Music" 

Cc: "Phil Holmes" ; "lilypond-user" 


Sent: Monday, June 26, 2017 11:07 AM
Subject: Re: Error message



Thanks for all your efforts with this. I'm out of internet range till
Wednesday. Just trying to survive on my phone.

Harm, if you'd like to forward those files, that's fine.

Craig


Done.


Just for the record:

On my about 6 year old 16GB ArchLinux Laptop  (CPU i7-2820QM @ 2.3GHz)
it took under 4 minutes to compile Harm's modified Version. VMEM maxed
at about 4.5 GB according to top (could do a more thourough analysis if
that would be of interest).

Doing the same with Craig's unmodified files gives a couple of errors
regarding missing stuff (as Harm already mentioned) and is done after
about 4:40 with VMEM maxed at 6 GB according to top.

Kind regards,
Michael
--
Michael Gerdau   email: m...@qata.de
GPG-keys available on request or at public keyserver


Further data point.  On Windows vista 64-bit with 6 Gigs memory, I get a 
malloc error on both scores, at just under 1.5 Gigs allocated memory (with 
plenty free) and around 300 seconds processor time.


--
Phil Holmes 



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


Re: Two time signatures

2017-06-26 Thread sailfox

Thank you Michael! I was not aware of the Lilypond snippet repository. I
changed the examples to

\version "2.19.61"

#(define ((double-time glyph a) grob)
   (grob-interpret-markup grob
 (markup #:override '(baseline-skip . 0) #:number
   (#:line ((markup (#:fontsize 0 #:musicglyph glyph))
   #:vcenter a )

\new score \relative c'' {
  \override Score.TimeSignature.stencil =
#(double-time "timesig.C22" "3")
  \time 6/1
  \repeat unfold 12 c1
}

and it works like expected.

Regards,
sailfox


On 26.06.2017 12:45, Michael Gerdau wrote:
> Hi sailfox,
>
>> I would like to create a time signature with alla breve followed by a
>
> maybe http://lsr.di.unimi.it/LSR/Item?id=725 or 
> http://lsr.di.unimi.it/LSR/Item?id=782 will give you a starting point?
>
> Kind regards,
>
> Michael
>
>
>
> ___
> 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: : Re: transpose range

2017-06-26 Thread David Kastrup
"Peter Gentry"  writes:

> You will need to modify the attach file (instrument_ranges.ly) since you are 
> only interested in one instrument. 
>
>  
>
> A numeric pitch can be constructed from three components of the lilypond 
> pitch p
>
>  
>
> 1.The octave o obtained from  (ly:pitch-octave p))  
> 2.The note n obtained from (ly:pitch-notename p))  
> 3.The semitone  a  obtained from the alteration  (* 4 
> (ly:pitch-alteration p))  note alteration is in quarter tone steps
>
>  
>
> The numeric pitch (op) is calculated by (define op (+ (* 14 o) (* n 2) (/ a 
> 2)))  “op is a unique number representing the pitch of the note”

Uh, that's pretty bad since it sees eis as equal to fes.  Anything wrong
with just using (ly:pitch-tones p) instead?

-- 
David Kastrup

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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Urs Liska


Am 26.06.2017 um 13:56 schrieb Urs Liska:
>
> Am 26.06.2017 um 13:42 schrieb Federico Bruni:
>> _get_lilypond_font_path in config.py uses 'current'. Any chance to
>> adapt it for distro installations?
>> Well, I can rename it to "current" to make the script work...
> I'll have to look into the code once again, but it seems using "current"
> is definitely a stupid idea. So you shouldn't actually rename your
> installation folders ...
> But I think I should restructure the script anyway, since the non-local
> option doesn't work anymore anyway (since the fonts aren't at
> fonts.openlilylib.org anymore).
>
> Urs

OK, I've misread your message and thought I had used "current" in the
sense that I use it as the installation directory of my "current"
LilyPond build.

The problem is something different. The script checks if the given path
points to a file (assuming it's the lilypond executable) or a directory
(assuming an installation directory. What I did *not* consider is a
"file" being a link or a wrapper script.

I think /usr/bin/lilypond points to either a symlink or the wrapper script.
Could you please give me the output of
cat /usr/bin/lilypond
?

>From there the script goes up two levels and then goes down into the
installation directory, looking for the font directories. In your case
this results in a very confusing result because "share/lilypond/current"
is the correct directory within an installation but looks very confusing
prepended with /usr (= two levels above /usr/bin/lilypond).

So apart from me fixing this in some way or another you should be good with
$ sudo python install-lily-fonts -l -d /home/fede/.fonts -t
/usr/share/lilypond/2.19.62

(i.e pointing to the installation directory)

HTH
Urs

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org

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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Urs Liska


Am 26.06.2017 um 13:42 schrieb Federico Bruni:
> _get_lilypond_font_path in config.py uses 'current'. Any chance to
> adapt it for distro installations?
> Well, I can rename it to "current" to make the script work...

I'll have to look into the code once again, but it seems using "current"
is definitely a stupid idea. So you shouldn't actually rename your
installation folders ...
But I think I should restructure the script anyway, since the non-local
option doesn't work anymore anyway (since the fonts aren't at
fonts.openlilylib.org anymore).

Urs

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


Re: How to hide fingering in the output

2017-06-26 Thread Richard Shann
On Sun, 2017-06-25 at 18:45 +0200, David Kastrup wrote:
> Richard Shann  writes:
> 
> > On Sun, 2017-06-25 at 18:54 +0300, Ivanov Dmitry wrote:
> >> > move it to a layout block:
> >> >
> >> > \layout {  \omit Fingering }
> >> 
> >> Great. Would it be better to move:
> >> 
> >> \once \override Staff.TimeSignature #'stencil = ##f
> >> \override Staff.Clef #'stencil = ##f
> >> 
> >> to the layout block as well? Or keep it as is?
> >
> > I'd like to know the answer to this as well, I don't know what I'm doing
> > - just juggling stuff around until it works - a very bad way to achieve
> > robust and readable code :(
> 
> \layout { \omit Fingering }
> 
> is equivalent to
> 
> \layout { \omit Bottom.Fingering }
> 
> and omits Fingering in _any_ context with a Bottom alias.  It's probably
> more targeted to write
> 
> \layout {
>   \context { \Voice
> \omit Fingering
>   }
> }
> 
> which specifically just addresses Voice contexts.  In a similar vein,
> one can write
> 
> \layout {
>   \context { \Staff
> \omit TimeSignature
> \omit Clef
>   }
> }
> 
> to target just Staff contexts while
> 
> \layout {
>   \omit Staff.TimeSignature
> }
> 
> will address all contexts with a Staff alias (which includes TabStaff,
> VaticanaStaff and others).

Thank you, I'm now at least aware of \alias :)

Richard




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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Federico Bruni



Il giorno lun 26 giu 2017 alle 12:17, Federico Bruni 
 ha scritto:

[...]

By the way, what's wrong with this?

$ sudo python install-lily-fonts -l -d /home/fede/.fonts -t 
/usr/share/lilypond

Script running locally.

Determined font directory:
 /home/fede/.fonts
Error condition:
No LilyPond installation found at or in
 /usr/share/lilypond.
Abort script.

I've tried also /usr/share/lilypond/2.19.62 and 
/usr/share/lilypond/2.19.62/fonts, but same error.





Ooops, I should have used /usr/bin or /usr/bin/lilypond
From the README: "LilyPond installations are detected when the path 
points to either their root directories or to their binary executable."


$ sudo python install-lily-fonts -l -d /home/fede/.fonts -t 
/usr/bin/lilypond

[sudo] password di fede:
Script running locally.

Determined font directory:
 /home/fede/.fonts

Determined LilyPond font root directories:
- /usr/share/lilypond/current/fonts

Checking necessary actions ...
Traceback (most recent call last):
 File "install-lily-fonts", line 45, in 
   main()
 File "install-lily-fonts", line 38, in main
   fonts.handle_fonts()
 File "/home/fede/src/lily-fonts/util/fonts.py", line 263, in 
handle_fonts

   self._fonts[f].check()
 File "/home/fede/src/lily-fonts/util/font.py", line 277, in check
   self._check()
 File "/home/fede/src/lily-fonts/util/font.py", line 100, in _check
   if not self._check_links(l):
 File "/home/fede/src/lily-fonts/util/font.py", line 130, in 
_check_links
   otf_links = [f for f in os.listdir(otf_target_dir) if 
f.startswith(self._basename)]
OSError: [Errno 2] No such file or directory: 
'/usr/share/lilypond/current/fonts/otf'



Fedora package installation is in /usr/share/lilypond/2.19.62

_get_lilypond_font_path in config.py uses 'current'. Any chance to 
adapt it for distro installations?

Well, I can rename it to "current" to make the script work...





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


RE: : Re: transpose range

2017-06-26 Thread Peter Gentry
You will need to modify the attach file (instrument_ranges.ly) since you are 
only interested in one instrument. 

 

A numeric pitch can be constructed from three components of the lilypond pitch p

 

1.  The octave o obtained from  (ly:pitch-octave p))  
2.  The note n obtained from (ly:pitch-notename p))  
3.  The semitone  a  obtained from the alteration  (* 4 
(ly:pitch-alteration p))  note alteration is in quarter tone steps

 

The numeric pitch (op) is calculated by (define op (+ (* 14 o) (* n 2) (/ a 
2)))  “op is a unique number representing the pitch of the note”

 

The procedure contains the instrument ranges as numeric pitches derived as 
above. 

 

See ;; clarinet range e to f#'  -1 2 0  to 2 3 0  (-10 to 35)

 

The current pitch is compared with the ranges and the octave 
increased/decreased as needed to bring the pitch into the range.

 

The note head and colour is modified to make all the changes visible on the 
score.

 

You can prune the procedure or add your instrument.

 

To call the procedure  

 

At top of the music file 

 

  \include "./instrument_ranges.ly"  (assumes the file is in the includes 
folder specified in Frescobaldi properties)

 

In a score block

 

\score {

  {

\naturalizeInstrumentRange "flute" {

\include "Boufill_Op8No3_Cc_M2_L1.ly" } }  (or sequential music)

  }

} % end of score block 

 

I hope this helps.

 

From: Gianmaria Lari [mailto:gianmarial...@gmail.com] 
Sent: 25 June 2017 16:25
To: Peter Gentry 
Cc: Lilypond 
Subject: Re: : Re: transpose range

 

Yes, I'm very much interested. I will use it with left hand bass note for 
standard bass accordion notation; for that we use only one octave range so jump 
are normal.

 

Have a look to the attached file in case you want understand better

 

Thanks a lot, g.

 

 

 

On 25 June 2017 at 13:58, Peter Gentry  > wrote:

Yes there is a way but it has disadvantages. 

 

Often the result is awkward jumps. I indicate changed notes by note head style 
and colour so that it is easier to edit the results.

 

If you are still interested let me know and I will send you the scheme 
procedure and an example. I allow for different instruments having different 
ranges.

 

\version "2.19.15"
% -
% useage
% include this file --> \include "./instrument_ranges.ly"
% best to save the file in the same folder as any other includes
% call -->\naturalizeInstrumentRange "instrument" music
% this function will confine all pitches to the individual instruments range
% Note the ranges refer to music transposed for each instrument not the true pitches.
% use % for comment outside scheme function -  use ; inside scheme functions
% -

#(define (naturalize-instrument-range p instrument )
  (let ((o (ly:pitch-octave p))
  (a (* 4 (ly:pitch-alteration p)))
;; alteration, a, in quarter tone steps, for historical reasons
  (n (ly:pitch-notename p)))
(define np 0)
(define op (+ (* 14 o) (* n 2) (/ a 2)))



;; clarinet range e to f#'  -1 2 0  to 2 3 0  (-10 to 35)
(cond
   ((equal? instrument "clarinet" )
   (if  (< op -38)  (begin (set! o (+ o 1))) )
   (if  (< op -24)  (begin (set! o (+ o 1))) )
   (if  (< op -10)  (begin (set! o (+ o 1))) )
   (if  ( > op 62)  (begin (set! o (- o 1))) )
   (if  ( > op 48)  (begin (set! o (- o 1))) )
   (if  ( > op 35)  (begin (set! o (- o 1))) )
)
; bass clarinet range eb to f'  -1 2 -2  to 2 3 0 (-11 to 34)

   ((equal? instrument "bass clarinet eb" )
   (if  (< op -39)  (begin (set! o (+ o 1))) )
   (if  (< op -25)  (begin (set! o (+ o 1))) )
   (if  (< op -11)  (begin (set! o (+ o 1))) )
   (if  ( > op 62)  (begin (set! o (- o 1))) )
   (if  ( > op 48)  (begin (set! o (- o 1))) )
   (if  ( > op 34)  (begin (set! o (- o 1))) )
 )
; bass clarinet range c to f'  -1 0  0 to 2 3 0 (-14 to 34)

((equal? instrument "bass clarinet c" )
(if  (< op -42)  (begin (set! o (+ o 1))) )
(if  (< op -28)  (begin (set! o (+ o 1))) )
(if  (< op -14)  (begin (set! o (+ o 1))) )
(if  ( > op 62)  (begin (set! o (- o 1))) )
(if  ( > op 48)  (begin (set! o (- o 1))) )
(if  ( > op 34)  (begin (set! o (- o 1))) )
)
;; flute range c to c''  0 0 0   to 2 3 0  (0 to 41)

((equal? instrument "flute")
(if   (< op -28)  (begin (set! o (+ o 1))) )
(if   (< op -14)  (begin (set! o (+ o 1))) )
(if   (< op 0)(begin (set! o (+ o 1))) )
(if  ( > op 62)   (begin (set! o (- o 1))) )
(if  ( > op 48)   (begin (set! o (- o 1))) )
(if  ( > op 42)   (begin (set! o (- o 1))) )
)
;; alto range d to c''  0 1 0   to 1 3 0 (2 to 36)

 ((equal? instrument "alto")
(if  (< op 

Re: Two time signatures

2017-06-26 Thread Michael Gerdau
Hi sailfox,

> I would like to create a time signature with alla breve followed by a

maybe http://lsr.di.unimi.it/LSR/Item?id=725 or 
http://lsr.di.unimi.it/LSR/Item?id=782 will give you a starting point?

Kind regards,

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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Federico Bruni



Il giorno lun 26 giu 2017 alle 11:53, Urs Liska  ha 
scritto:



Am 26.06.2017 um 11:43 schrieb Federico Bruni:



 Il giorno dom 25 giu 2017 alle 20:49, Malte Meyn
  ha scritto:



 Am 25.06.2017 um 20:45 schrieb Remy CLAVERIE:

 I think that you have to donwload the fonts into the '.fonts'
 directory of your home (beware to the 's' at the end of the name).
 If it does'nt exist, you must create it. Then, run the 'fc-cache 
-v-
 -f' and all the new fonts should be available for all the 
software,

 including libreoffice.


 LilyPond looks for music fonts in it’s own font directory, 
something
 like XXX/lilypond/usr/share/lilypond/current/fonts/otf, where XXX 
is
 /usr/local or ~ or something similar (Maybe it’s a bit different 
when

 installed via the package manager, perhaps
 /usr/share/lilypond/current/fonts/otf).

 ___



 This is not the best advice, if Luca is using version 2.19.
 As of version 2.19.12, there's no need to copy the fonts in lilypond
 install directory. You place them once in your system-wide fonts
 directory and then use the new syntax to make sure lilypond can find
 the fonts.


Ehm, are you really sure that's true? I was sure we didn't complete
*that* step yet.



Of course you are right. Sorry for the noise...
Just made a simple test and:

Parsing...
Interpreting music...
Preprocessing graphical objects...
fatal error: cannot find font: `lilyjazz-11'

I haven't used alternative music fonts for a while and I was misled by 
my computer having music fonts in the ~/.fonts directory. I forgot I 
had to add the symlinks to the new lilypond version.


By the way, what's wrong with this?

$ sudo python install-lily-fonts -l -d /home/fede/.fonts -t 
/usr/share/lilypond

Script running locally.

Determined font directory:
 /home/fede/.fonts
Error condition:
No LilyPond installation found at or in
 /usr/share/lilypond.
Abort script.

I've tried also /usr/share/lilypond/2.19.62 and 
/usr/share/lilypond/2.19.62/fonts, but same error.


$ tree -L 2 /usr/share/lilypond
/usr/share/lilypond
└── 2.19.62
   ├── fonts
   ├── ly
   ├── ps
   ├── python
   ├── scm
   └── tex








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


Re: Error message

2017-06-26 Thread Michael Gerdau
>> Thanks for all your efforts with this. I'm out of internet range till
>> Wednesday. Just trying to survive on my phone.
>>
>> Harm, if you'd like to forward those files, that's fine.
>>
>> Craig
> 
> Done.

Just for the record:

On my about 6 year old 16GB ArchLinux Laptop  (CPU i7-2820QM @ 2.3GHz)
it took under 4 minutes to compile Harm's modified Version. VMEM maxed
at about 4.5 GB according to top (could do a more thourough analysis if
that would be of interest).

Doing the same with Craig's unmodified files gives a couple of errors
regarding missing stuff (as Harm already mentioned) and is done after
about 4:40 with VMEM maxed at 6 GB according to top.

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


Two time signatures

2017-06-26 Thread sailfox
Hi,

I would like to create a time signature with alla breve followed by a
single digit signature as shown in the attachment.

If setting two time signatures only the last one is taken. So I have to
add a hidden note between them which generates a big space.

Is there a more direct method to get the same result and is it possible
to reduce the space between the two signatures?


\version "2.19.61"

\new score \relative c'' {
  \time 2/2
  s8
  \set Timing.measurePosition = #(ly:make-moment 0)
  \once \override Staff.TimeSignature.style = #'single-digit
  \time 6/1
  \set Staff.timeSignatureFraction = 3/1
  \repeat unfold 12 c1
}


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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Urs Liska


Am 26.06.2017 um 11:43 schrieb Federico Bruni:
>
>
> Il giorno dom 25 giu 2017 alle 20:49, Malte Meyn
>  ha scritto:
>>
>>
>> Am 25.06.2017 um 20:45 schrieb Remy CLAVERIE:
>>> I think that you have to donwload the fonts into the '.fonts'
>>> directory of your home (beware to the 's' at the end of the name).
>>> If it does'nt exist, you must create it. Then, run the 'fc-cache -v-
>>> -f' and all the new fonts should be available for all the software,
>>> including libreoffice.
>>
>> LilyPond looks for music fonts in it’s own font directory, something
>> like XXX/lilypond/usr/share/lilypond/current/fonts/otf, where XXX is
>> /usr/local or ~ or something similar (Maybe it’s a bit different when
>> installed via the package manager, perhaps
>> /usr/share/lilypond/current/fonts/otf).
>>
>> ___
>>
>
> This is not the best advice, if Luca is using version 2.19.
> As of version 2.19.12, there's no need to copy the fonts in lilypond
> install directory. You place them once in your system-wide fonts
> directory and then use the new syntax to make sure lilypond can find
> the fonts.

Ehm, are you really sure that's true? I was sure we didn't complete
*that* step yet.

If I'm not completely mistaken what Abraham developed for 2.19.12 was
the ability to look up alternative fonts *in the LilyPond installation*
(as opposed to having to rename the fonts which one would have to do
before that).
I was working on a patch to look for notation fonts in the system fonts
but that didn't work out because of fontconfig's bad habit of always
returning *something* if you request a font (well, it's not a bad habit
in itself but for us it's a disaster because Arial may be an appropriate
replacement font for Helvetica but definitely not for LilyBoulez).

Urs

>
> The problem is that it's not documented yet in the official manuals:
> https://sourceforge.net/p/testlilyissues/issues/5137/
> http://lilypondblog.org/2015/03/managing-alternative-fonts-with-lilypond/
>
>
>
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user

-- 
u...@openlilylib.org
https://openlilylib.org
http://lilypondblog.org


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


Re: Install LilyBoulez or other alternative fonts on Ubuntu

2017-06-26 Thread Federico Bruni



Il giorno dom 25 giu 2017 alle 20:49, Malte Meyn 
 ha scritto:



Am 25.06.2017 um 20:45 schrieb Remy CLAVERIE:
I think that you have to donwload the fonts into the '.fonts' 
directory of your home (beware to the 's' at the end of the name). 
If it does'nt exist, you must create it. Then, run the 'fc-cache -v- 
-f' and all the new fonts should be available for all the software, 
including libreoffice.


LilyPond looks for music fonts in it’s own font directory, 
something like XXX/lilypond/usr/share/lilypond/current/fonts/otf, 
where XXX is /usr/local or ~ or something similar (Maybe it’s a bit 
different when installed via the package manager, perhaps 
/usr/share/lilypond/current/fonts/otf).


___



This is not the best advice, if Luca is using version 2.19.
As of version 2.19.12, there's no need to copy the fonts in lilypond 
install directory. You place them once in your system-wide fonts 
directory and then use the new syntax to make sure lilypond can find 
the fonts.


The problem is that it's not documented yet in the official manuals:
https://sourceforge.net/p/testlilyissues/issues/5137/
http://lilypondblog.org/2015/03/managing-alternative-fonts-with-lilypond/






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