Re: Make TOC entries available to LaTeX

2018-05-24 Thread Urs Liska
Am 25. Mai 2018 07:48:58 MESZ schrieb Federico Bruni : > > >Il giorno gio 24 mag 2018 alle 9:09, Urs Liska >ha scritto: >> >> This is the function as it ended up in my project files: >> >> % Print table of contents entries to .toc >> % Based on >> %

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Federico Bruni
Il giorno gio 24 mag 2018 alle 9:09, Urs Liska ha scritto: This is the function as it ended up in my project files: % Print table of contents entries to .toc % Based on % http://lilypond.org/doc/v2.19/Documentation/usage-big-page#sharing-the-table-of-contents %

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Federico Bruni
Il giorno gio 24 mag 2018 alle 18:22, Urs Liska ha scritto: Am 24. Mai 2018 14:55:37 MESZ schrieb Federico Bruni : Il giorno gio 24 mag 2018 alle 9:09, Urs Liska ha scritto: Am 24.05.2018 um 08:52 schrieb Federico

Re: check undefined variable scheme

2018-05-24 Thread Gianmaria Lari
Thank you David, Urs and Andrew for the code, the link to the documentation and the study suggestion! On Thu, 24 May 2018 at 11:00, Andrew Bernard wrote: > Hi Gianmaria, > > The others have beat me to it, but I just wanted to say you should read up > on closures in

Re: Lilypond and Frescobaldi on Fedora 28

2018-05-24 Thread Martin Tarenskeen
On Thu, 24 May 2018, Federico Bruni wrote: Hi Martin This has been fixed now, right? (I haven't upgraded to 28 yet) https://bugzilla.redhat.com/show_bug.cgi?id=1568274 Yes, it's working again :-) Il giorno dom 6 mag 2018 alle 12:10, Martin Tarenskeen Official Fedora 28 version of

Spacing isues in polymetric music

2018-05-24 Thread Ebo H
I am trying to typeset a piece that includes a repeating part that loops independently of the other music. I have been partially successful using the documentation relating to polymetric music (see example_one.ly which, hopefully communicates the musical idea that I am hoping to achieve). This

Re: Parenthesis/bracket/brace questions

2018-05-24 Thread Thomas Morley
2018-05-21 17:09 GMT+02:00 Thomas Morley : > 2018-05-21 15:03 GMT+02:00 Brent Annable : >> On a side note, in my searches I noticed it's now possible to define >> different barline types, and the bracket type looks like it would also do >> the job

Re: Format LilyMusic as string

2018-05-24 Thread Urs Liska
Hi Jan-Peter, thanks for that. This was indeed the issue, and -- now knowing it -- I can even understand the description in the reference ;-) Am 24.05.2018 um 17:44 schrieb Jan-Peter Voigt: ah, and you don't need o #{#}: ... you don't even need the music-function: lilystring =

Re: System start delimiter for single staff

2018-05-24 Thread David Kastrup
Andrew Bernard writes: >> On 25 May 2018 at 01:21, David Kastrup wrote: >> >>> >>> This is stupid but > > Hi David, > > Thanks very much. This is exactly what is needed. It was the > collapse-height concept that I was missing. > > This works well. Can you

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Urs Liska
Am 24. Mai 2018 14:55:37 MESZ schrieb Federico Bruni : > > >Il giorno gio 24 mag 2018 alle 9:09, Urs Liska >ha scritto: >> >> >> Am 24.05.2018 um 08:52 schrieb Federico Bruni: >>> >>> >>> Il giorno gio 26 apr 2018 alle 8:48, Urs Liska >>>

Re: System start delimiter for single staff

2018-05-24 Thread Andrew Bernard
Hi David, Thanks very much. This is exactly what is needed. It was the collapse-height concept that I was missing. This works well. Can you explain in what respect you designate this as stupid? It's certainly non-standard practice, but I find it is better to accede to these requests from my

Re: Simple solution for combining an odd number of parts

2018-05-24 Thread crimsonsunrise
Resending due to blocking again. Mensagem Original Ativo 24 de mai de 2018 12:04, Karlin High escreveu: On 5/24/2018 9:56 AM, crimsonsunr...@protonmail.com wrote: > Resending with links to the images. > > First case https://spee.ch/c/IMG20180524055531857.jpeg > > Similar case

Re: Format LilyMusic as string

2018-05-24 Thread Jan-Peter Voigt
ah, and you don't need o #{#}: lilystring = #(define-scheme-function (mus)(ly:music?) (with-output-to-string (lambda () (displayLilyMusic mus)) )) test = \lilystring \relative { c'4 } #(display test) Am 24.05.2018 um 17:42 schrieb Jan-Peter Voigt: lilystring =

Re: Format LilyMusic as string

2018-05-24 Thread Jan-Peter Voigt
Hi Urs, I guess you are missing the wrapping lambda: lilystring = #(define-scheme-function (mus)(ly:music?) (with-output-to-string (lambda () #{ \displayLilyMusic #mus #}) )) test = \lilystring \relative { c'4 } #(display test) HTH Jan-Peter Am 24.05.2018 um 17:33 schrieb Urs

Re: System start delimiter for single staff

2018-05-24 Thread David Kastrup
David Kastrup writes: > Andrew Bernard writes: > >> I am attempting to make MS paper for a colleague who idiosyncratically >> uses a thick bar at the left on single staves. This is simple for a >> staff group, but how does one do it for a single ungrouped

Format LilyMusic as string

2018-05-24 Thread Urs Liska
I have a ly:music? argument and want to store the LilyPond representation as a string, that is I want to have a string with the content that \displayLilyMusic prints to the console. From what I know I have to provide a port to which \displayLilyMusic's output is redirected and that I can then

Re: System start delimiter for single staff

2018-05-24 Thread David Kastrup
Andrew Bernard writes: > I am attempting to make MS paper for a colleague who idiosyncratically > uses a thick bar at the left on single staves. This is simple for a > staff group, but how does one do it for a single ungrouped set of > staves? Refer to attached sketch.

System start delimiter for single staff

2018-05-24 Thread Andrew Bernard
I am attempting to make MS paper for a colleague who idiosyncratically uses a thick bar at the left on single staves. This is simple for a staff group, but how does one do it for a single ungrouped set of staves? Refer to attached sketch. Andrew ___

Re: Simple solution for combining an odd number of parts

2018-05-24 Thread Karlin High
On 5/24/2018 9:56 AM, crimsonsunr...@protonmail.com wrote: Resending with links to the images. First case https://spee.ch/c/IMG20180524055531857.jpeg Similar case but with only two parts https://spee.ch/2/IMG20180524055635195.jpeg Mensagem Original Ativo 24 de mai de 2018

Re: Website down?

2018-05-24 Thread Phil Holmes
Now back up. -- Phil Holmes - Original Message - From: Brent Annable To: Aaron Hill Cc: lilypond-user Sent: Thursday, May 24, 2018 6:17 AM Subject: Re: Website down? Ok thanks Aaron :-) Brent. On 24 May 2018 at 15:16, Aaron Hill

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Federico Bruni
Il giorno gio 24 mag 2018 alle 9:09, Urs Liska ha scritto: Am 24.05.2018 um 08:52 schrieb Federico Bruni: Il giorno gio 26 apr 2018 alle 8:48, Urs Liska ha scritto: [...] 3) I think the inclusion in the TeX TOC can (now?) be done in a

Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread Jan-Peter Voigt
Hi Urs, Am 24.05.2018 um 12:29 schrieb Urs Liska: ... Well, with the above changes (where the first was a real issue of understanding and the other two just glitches) the MWE works as expected. Unfortunately it doesn't seem to work in the real-world context. The log still only reports the

Re: TextSpanner: Change text at automatic line break?

2018-05-24 Thread James Harkins
On May 22, 2018 10:51:12 Kieren MacMillan wrote: You should look at David N's incredible spanner-with-inner-texts (or similarly named) — I'm pretty sure it’ll do all that (and more). Aha -- that just might be the droid I'm looking for. Will search. Thanks!

Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread Urs Liska
Hi Jan-Peter, thanks for the clarifications. Am 24.05.2018 um 12:05 schrieb Jan-Peter Voigt: Hi Urs, here we have three problems: 1. The symbol 'ICEID is a magic token to inherit the edition-id of the parent context, so you don't need to add the base path here. OK, I wasn't really clear

Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread Jan-Peter Voigt
Hi Urs, here we have three problems: 1. The symbol 'ICEID is a magic token to inherit the edition-id of the parent context, so you don't need to add the base path here. 2. \editionID creates a symbol-list, but the name is a string, so you have to turn it into a symbol, if you want to use it

Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread arnepe
hi Urs, how about Voice or Score without ".A" - if applicable? If I copy/paste your examples into oner of my own test MWE's this makes the difference ... cheers Arne -- Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html ___ lilypond-user

Re: Programmatically inject an \editionID in a staff

2018-05-24 Thread Urs Liska
This is a -- similar -- MWE: \version "2.19.80" \include "oll-core/package.ily" \loadPackage edition-engraver \consistToContexts #edition-engraver Score.Staff.Voice makeStaff = #(define-music-function (name content)(string? ly:music?) (make-music 'ContextSpeccedMusic 'create-new #t

Programmatically inject an \editionID in a staff

2018-05-24 Thread Urs Liska
I'm trying to "install" the edition engraver in a programmatically generated score construction. I have this code somewhere in the function to create a score: (ly:score-add-output-def! score #{ \layout { \context {

Re: check undefined variable scheme

2018-05-24 Thread Andrew Bernard
Hi Gianmaria, The others have beat me to it, but I just wanted to say you should read up on closures in Scheme. This will give you are really good grasp of what's going on. Andrew ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Simple solution for combining an odd number of parts

2018-05-24 Thread Aaron Hill
On 2018-05-24 01:42, crimsonsunr...@protonmail.com wrote: There are no downloads available for Windows. The supposed link simply returns a "not found" error. When lilypond.org comes back online, you should be able to get the latest development version from

Re: Simple solution for combining an odd number of parts

2018-05-24 Thread crimsonsunrise
Have no idea how to do that and the examples I've seen always involve an even number of voices. Mensagem Original Ativo 24 de mai de 2018 02:15, David Kastrup escreveu: crimsonsunr...@protonmail.com writes: > Setting all parts as parallel generates a lot of clashing note >

Re: check undefined variable scheme

2018-05-24 Thread Urs Liska
Am 24.05.2018 um 10:46 schrieb David Kastrup: Urs Liska writes: Am 24.05.2018 um 09:56 schrieb Gianmaria Lari: The following function increase a counter by 1 and return it as string #(define count 0) #(define (nextcount) (begin                      

Re: Simple solution for combining an odd number of parts

2018-05-24 Thread crimsonsunrise
My case involves different rests that can and will clash on multiple voices, two voices sharing melodic lines with the same notes on different rhythms and empty rests introduce bar check errors and so on. Which is why I'm not providing examples. Mensagem Original Ativo 24 de

Re: check undefined variable scheme

2018-05-24 Thread David Kastrup
Urs Liska writes: > Am 24.05.2018 um 09:56 schrieb Gianmaria Lari: >> The following function increase a counter by 1 and return it as string >> >> #(define count 0) >> #(define (nextcount) (begin >>                       (set! count (+ 1 count)) >>          

Re: Simple solution for combining an odd number of parts

2018-05-24 Thread crimsonsunrise
There are no downloads available for Windows. The supposed link simply returns a "not found" error. Mensagem Original Ativo 24 de mai de 2018 01:16, Andrew Bernard escreveu: Why wait for 2.19? It's been stable for a long time. You would be unlikely to encounter bugs. [Every

Re: check undefined variable scheme

2018-05-24 Thread Urs Liska
Am 24.05.2018 um 09:56 schrieb Gianmaria Lari: The following function increase a counter by 1 and return it as string #(define count 0) #(define (nextcount) (begin                       (set! count (+ 1 count))                       (number->string count)                  

check undefined variable scheme

2018-05-24 Thread Gianmaria Lari
The following function increase a counter by 1 and return it as string #(define count 0) #(define (nextcount) (begin (set! count (+ 1 count)) (number->string count) ) ) Is my code ok, or I should write it in a different way? Is

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Urs Liska
Am 24.05.2018 um 08:52 schrieb Federico Bruni: Il giorno gio 26 apr 2018 alle 8:48, Urs Liska ha scritto: [...] 3) I think the inclusion in the TeX TOC can (now?) be done in a simpler way using the catchfile package: \documentclass{article}

Re: Make TOC entries available to LaTeX

2018-05-24 Thread Federico Bruni
Il giorno gio 26 apr 2018 alle 8:48, Urs Liska ha scritto: [...] 3) I think the inclusion in the TeX TOC can (now?) be done in a simpler way using the catchfile package: \documentclass{article} \usepackage{pdfpages,catchfile} \newcommand\includelilypond[1]{%