Re: Openlilylib

2022-08-12 Thread Jan-Peter Voigt
Hi Mark, thank you! Due to a change in work, I haven't gotten around to testing your changes in depth yet, but I assume that as an OLL user, you've solved the problems so that it works. When I have it running here, I may approach you with a call for a pull request. Best Jan-Peter Am 17.07.22

Re: ANN: Spontini-Editor version 1.12-alfa

2022-02-19 Thread Jan-Peter Voigt
> command. If we find a shorter way to obtain a HTTPS setup it would be much > better. > I don't know if a sort of duckdns plugin can be a solution... > Please let me know if you have any idea about this. > > Cheers > Paolo > > > > > > On Saturday, Februa

Re: ANN: Spontini-Editor version 1.12-alfa

2022-02-19 Thread Jan-Peter Voigt
Hello Paolo, I really like Spontini and created a docker setup to test it. I just started it again. It takes some time to build, but then one can use it from http://localhost:8000/spontini-editor/. Best Jan-Peter Am 11.02.22 um 00:33 schrieb Paolo Prete: > Hello, > > I have published a new

Re: Export from LilyPond to MusicXML (Thomas Morley)

2021-10-08 Thread Jan-Peter Voigt
> Am 08.10.2021 um 12:04 schrieb David Kastrup : > > Jan-Peter Voigt writes: > >> Hi all, >> >> probably what I am writing now is not new to most of you. About a year >> ago there was a discussion regarding the license of Lilypond, triggered >>

Re: Export from LilyPond to MusicXML (Thomas Morley)

2021-10-08 Thread Jan-Peter Voigt
Hi all, probably what I am writing now is not new to most of you. About a year ago there was a discussion regarding the license of Lilypond, triggered by Urs' question about the future of OLL. Again and again the documentation was referred to, which says that Lilypond is a compiler that

Re: Export from LilyPond to MusicXML (Thomas Morley)

2021-10-08 Thread Jan-Peter Voigt
or comment that block (ll. 274-281). Cheers, Jan-Peter Am 07.10.21 um 11:49 schrieb Jan-Peter Voigt: > Hello Peter, > > yes, I still receive the messages from the list, but since I have > changed jobs, my commitment to Lilypond has fallen behind a bit. > But I hope to curate and upda

Re: Export from LilyPond to MusicXML (Thomas Morley)

2021-10-07 Thread Jan-Peter Voigt
Hello Peter, yes, I still receive the messages from the list, but since I have changed jobs, my commitment to Lilypond has fallen behind a bit. But I hope to curate and update my code soon so that it can serve as a starting point for further development. Of course, Jacque's work should not be

Frescobaldi and Lilypond on Apple Silicon

2021-01-12 Thread Jan-Peter Voigt
Hi list, at the beginning of this year, I received a MacBookPro with Apple Silicon. Have any of you used Lilypond and Frescobaldi successfully on this hardware? A preview version of Docker is running on the machine and with an ARM Ubuntu it is indeed possible to start an ARM Lilypond. I will test

Re: OLL and git

2020-10-12 Thread Jan-Peter Voigt
Thank you, Andrew! Of course I can assist especially with the edition-engraver and the lalily-templates ;-) Jan-Peter Am 11.10.20 um 11:19 schrieb Andrew Bernard: > To all interested in OLL. as I am starting this anew, in effect, I am > at the moment considering moving to Gitlab instead of

Re: openLilyLib git

2020-10-07 Thread Jan-Peter Voigt
Am 07.10.20 um 02:18 schrieb Andrew Bernard: > Urs and all, > > What happens to orphaned git repos? Not a case I am familiar with. > > I'd be happy to fork the OLL repo and take over the management and > development. Should I do that? Are you going to delete the existing > repo? > > Andrew > Hi

Re: Future of openLilyLib

2020-10-06 Thread Jan-Peter Voigt
Hi all, I would like to repeat Urs' call to participate in the work of OLL. I share the opinion that it is a very versatile and powerful toolbox. My own contributions are mainly the edition-engraver and the lalily-templates. If you have any questions about what they are and how they work, feel

Re: Poster for music engraving conference

2020-01-12 Thread Jan-Peter Voigt
Hi Klaus, this poster looks appealing and complete. The only comment I'd like to give is what Urs already mentioned. Du you think the font-sizes are big enough for A0 paper? Jan-Peter Am 12.01.20 um 00:54 schrieb Klaus Blum: > Hi Jan-Peter, hi Werner, > > in cooperation with Urs Liska and Joram

Re: Poster for music engraving conference

2020-01-10 Thread Jan-Peter Voigt
Hello Fellows, in December Werner asked for a poster for the conference. Did somebody actually produce something? The last days I tried something based on the baposter-LaTeX-class. I'll not be able to finish the poster on my own until monday ... , but if you'd like to collaborate on this topic or

Re: Display the control points of a slur

2019-11-13 Thread Jan-Peter Voigt
Hi Aaron, thank you for this nice snippet! Jan-Peter Am 13.11.19 um 16:00 schrieb Aaron Hill: > On 2019-11-13 6:32 am, Paolo Prete wrote: >> Hello, >> I wonder if is there a script or a snippet for doing that without >> using Frescobaldi > > Probably not perfect, but here's something you can

Re: 'Compressing' a 1 bar full bar rest

2019-11-06 Thread Jan-Peter Voigt
Am 06.11.19 um 09:43 schrieb Malte Meyn: > > > Am 06.11.19 um 09:38 schrieb Jacques Menu: >> Hello folks, >> >> I’d like to show that explicitly with a number, i.e. to have a ‘1’ >> above measure 2 in this example: >> >> \version "2.19.83" >> >> { >>    \time 4/4 >>    \compressFullBarRests >> >>  

Re: Scoped variables

2019-11-04 Thread Jan-Peter Voigt
Peter, in the article Kieren mentioned, I tried to summarize some thoughts around the multi-movement issue and some more. You can find the corresponding templating engine at: https://github.com/openlilylib/lalily-templates That framework does a lot to do things automagically. But probably this

Re: Edition Engraver master vs refactor override branch: changing bound-details

2019-05-05 Thread Jan-Peter Voigt
nc...@gmail.com>>) escribió: > > Hi Jan Peter, I'll update and let you know if I find any problems > with the updated refactor-override branch. > > Thank you for all your work in the Edition Engraver! > > El vie., 3 may. 2019 a las 3:37, Jan-Peter Voigt ( <

Re: Edition Engraver master vs refactor override branch: changing bound-details

2019-05-03 Thread Jan-Peter Voigt
ter, > > Sure! Please let me know if you manage to solve it so I can update. > > Thank you! > > El dom., 28 abr. 2019 a las 16:05, Jan-Peter Voigt ( <mailto:jp.vo...@gmx.de>>) escribió: > > Hi Stefano, > > sorry for the delay. I've been away for several d

Re: MIDI instrument for oboe d'amore

2019-04-30 Thread Jan-Peter Voigt
Hi Aaron, just a question: Did you set "\transposition a"? (http://lilypond.org/doc/v2.19/Documentation/notation/displaying-pitches.html#instrument-transpositions) HTH Jan-Peter Am 30.04.19 um 09:33 schrieb Jacques Menu: > Thanks Lukas and Aaron for your help. > > In fact, my use case is merely

Re: Edition Engraver master vs refactor override branch: changing bound-details

2019-04-28 Thread Jan-Peter Voigt
Hi Stefano, sorry for the delay. I've been away for several days. I have to look into this deeper ... I guess it is related to the grob-property-path 'bound-details.left.text'. Hopefully I can solve this issue soon. Best Jan-Peter Am 21.04.19 um 20:42 schrieb Stefano Troncaro: > Hi all, long

Re: Edition engraver verbosity

2019-03-18 Thread Jan-Peter Voigt
Hi Andrew, Urs, Am 17.03.19 um 13:07 schrieb Urs Liska: > Hi Andrew, > > Am 17.03.19 um 12:34 schrieb Andrew Bernard: >> Voluminous output of >> >> trying >> \break >> >> hundreds of lines. yes, this message is annoying ... >> > > OK, now I see what you mean. > > >> I just commented out the

Re: Creating custom articulation using regular text font

2019-02-20 Thread Jan-Peter Voigt
Hi Urs, in an articulation event the font is emmentaler and not a normal one. So in the trill-list part you have to switch back to normal text with \markup \normal-text "T" HTH Jan-Peter Am 20.02.19 um 17:23 schrieb Urs Liska: > Hi, > > I haven't got any further, but ... > > Am 20.02.19 um

Re: Rotated StaffGroup InstrumentName?

2019-01-28 Thread Jan-Peter Voigt
Hi Andrew, you might try something like this: \new StaffGroup = "Staff_soloists" \with { \consists "Instrument_name_engraver" instrumentName = \markup \rotate #90 "Solo" } << ... >> HTH Jan-Peter Am 28.01.19 um 15:38 schrieb N. Andrew Walsh: > Hi List, > > quick general question: > > if

Re: edition-engraver and \cadenzaOn

2019-01-18 Thread Jan-Peter Voigt
Hi Urs, happy new year! This is on my agenda for quite some time. It will be possible and I have an idea how to make it possible, but ... I try to push the priority a little bit. Jan-Peter Am 18.01.19 um 14:04 schrieb Urs Liska: > Hey all, > > it seems that after \cadenzaOn all events have

Re: lilypond.org Productions page

2018-12-05 Thread Jan-Peter Voigt
Hi there, 2017/2018 Ortus published the "Markus Passion" by Johann Sebastian Bach in a reconstructed version by Andreas Fischer: http://www.ortus-musikverlag.de/en/musik-elbe-oder/om212 (right now the introduction is only available in german, sorry) LilyPond is not mentioned there, but I created

Re: Use String to reference Variable

2018-12-04 Thread Jan-Peter Voigt
Hello Pedro, Am 04.12.18 um 04:28 schrieb Pedro Pessoa: > Hello! > I want a function that takes a string as arg an from that produces a valid > variable reference, as follows: > > %%% pseudo > Nabc={a1 d e f} > Nxyz={b1 e a d} > > fun= > #(define-music-function (x)(string?) >#{ > << >

Re: simple scheme in lilypond

2018-11-27 Thread Jan-Peter Voigt
Hello, the $ sign has a special meaning of "instant scheme-expression". An instant scheme expression is evaluated instantly *and* the result is observed so that lilypond can decide what to do with it. When lily receives something that can be treated as a markup from an instant scheme expression

Re: Edition Engraver in 2.19

2018-11-18 Thread Jan-Peter Voigt
Hello Carlo, yes it is possible to add fingerings with the EE: \editionMod theTarget 1 2/4 path.to.context.Voice <>-3 So if you enter the fingering with a single editionMod command you just have to add it to an empty chord. To make it convenient you should create a shortcut for the editionMod

Edition Engraver in 2.19

2018-11-13 Thread Jan-Peter Voigt
Hi all, just a few hours away ... ;-) Kieren already mentioned, the edition engraver is an external library. It is part of my own toolchain, but once made its way into public, because it fitted a question/a use case of Kieren. So I started to make it available. Now there came Urs' OpenLilyLib

Re: Spacing lyrics to avoid visible bar lines only

2018-10-31 Thread Jan-Peter Voigt
Hello Joel, when I typeset choir scores, which I do most often, I use the self-alignment-X override for long syllables: words = \lyricmode { Breathes | \once \override LyricText.self-alignment-X = #-.5 \markup { \with-color #red breathes } | br | \markup { \with-color #green breathes } |

Re: Edition Engraver regex/wildcard bug

2018-10-26 Thread Jan-Peter Voigt
Hi Mark, thank you for bringing this up! Until now I wasn't aware of this issue, but in fact it is one. And I have an idea where the problem is buried. For now I opened an issue: https://github.com/openlilylib/edition-engraver/issues/26 Hope to solve it soon! Jan-Peter Am 25.10.18 um 21:28

Re: Edition Engraver suppress log files

2018-10-16 Thread Jan-Peter Voigt
> > On Mon., 15 Oct. 2018, 7:19 pm Jan-Peter Voigt, <mailto:jp.vo...@gmx.de>> wrote: > > Am 15.10.2018 um 11:13 schrieb Urs Liska: > > > > > > Am 15.10.2018 um 11:07 schrieb Jan-Peter Voigt: > >> Hi Ur

Re: Edition Engraver suppress log files

2018-10-15 Thread Jan-Peter Voigt
Am 15.10.2018 um 11:13 schrieb Urs Liska: > > > Am 15.10.2018 um 11:07 schrieb Jan-Peter Voigt: >> Hi Urs, >> >> I combine the answers: >> The *.edition.log file might be named differently - not .log - as this >> file has a purpose outside the debug-log re

Re: Edition Engraver suppress log files

2018-10-15 Thread Jan-Peter Voigt
I've just arrived back at my computer. > > > Am 15.10.2018 um 10:40 schrieb Jan-Peter Voigt: >> Hi Urs and all, >> >> I created a branch 'addOptionHandling' for the edition-engraver. It >> contains an option 'write-log', which is true by default, but can be set >&

Re: Edition Engraver suppress log files

2018-10-15 Thread Jan-Peter Voigt
it. If someone could have a look and test it I can merge this change soon. Jan-Peter Am 14.10.2018 um 08:32 schrieb Urs Liska: > > > Am 14. Oktober 2018 08:29:46 MESZ schrieb Jan-Peter Voigt : >> Hi Craig, >> >> not right now, but I will implement a switch ASAP! >&g

Re: Edition Engraver suppress log files

2018-10-14 Thread Jan-Peter Voigt
Hi Craig, not right now, but I will implement a switch ASAP! Jan-Peter Am 14. Oktober 2018 07:30:44 MESZ schrieb Craig Dabelstein : >Hi all, > >Quick question: Is it possible to stop the edition-engraver creating >log >files? > >Craig > > >-- >*Craig Dabelstein* >Maxime's Music

Re: Markup and Score from scheme function

2018-10-12 Thread Jan-Peter Voigt
Hello Sebastian, what do you mean with "return"? Do want to add the score immediatly or do you want to return an object containing both? You used the parser-location arguments in your scheme-function, so I guess you are using stable (2.18). I created an example for 2.18 (incomplete) and one for

Re: 3/2 unusual writing

2018-10-04 Thread Jan-Peter Voigt
Hello, an engraver can set the duration-log property conditionally as a tweak: %% \version "2.19.82" \layout { \context { \Voice \consists #(make-engraver (listeners ((note-event engraver event)

crash running translator

2018-09-17 Thread Jan-Peter Voigt
Dear all, I stumbled over something that looks like a bug. If one uses ly:run-translator to process some music a dotted rest crashes lilypond: \version "2.19.82" #(ly:run-translator #{ r2. #} #{ \layout {} #}) The error message is: Wrong number of arguments to # Does anybody know a way to

Re: Edition Engraver and staff changes

2018-09-05 Thread Jan-Peter Voigt
Am 05.09.2018 um 15:01 schrieb Urs Liska: > > > Am 5. September 2018 14:27:06 MESZ schrieb Simon Albrecht > : >> On 15.08.2018 07:50, Jan-Peter Voigt wrote: >>> yes you are right, \change Staff cannot be used with the EE. Some >> time >>> ago I

Re: Edition Engraver and \markLengthOn

2018-08-30 Thread Jan-Peter Voigt
Hi Craig, it should work. \markLengthOn just consists of some overrides, which are directed to the Score Context. So Maybe you should address the Score context with \editionMod parts 626 0/4 hallager.partIII.Score \markLengthOn or you use (I don't know your current setup, so this is a guess)

Re: Edition Engraver and staff changes

2018-08-14 Thread Jan-Peter Voigt
Hello Auke, yes you are right, \change Staff cannot be used with the EE. Some time ago I tried to make it possible, but it results in a fatal crash of lilypond if the EE sends such an event. I add this to the issues. Jan-Peter Am 14.08.2018 um 21:51 schrieb Partitura Organum: > Hello all, >

Re: Is it possible to replace a number with variable inside a pair?

2018-07-26 Thread Jan-Peter Voigt
Hi Risto, you might go this way: lineThickness = 5 \markup \override #`(thickness . ,lineThickness) \draw-hline That is semi-quote the pair with ` (instead of ') and then "unquote" the variable to retrieve the value with a comma (,) HTH Jan-Peter Am 26.07.2018 um 09:35 schrieb Risto

Re: how to refer to partial first bar using edition-engraver

2018-07-23 Thread Jan-Peter Voigt
Hello Mason, once again I have to dive deep into this. It is an issue I thought it was solved, but obviously it isn't. The right way to address a time in a partial bar would be \editionMod all 1 #(ly:make-moment -1/8) score.Score \mark "mark3" but this doesn't work here (anymore) ... I hope to

Re: Some openLilyLib packages/modules open for testing

2018-07-15 Thread Jan-Peter Voigt
Hi Urs, Am 13.07.2018 um 17:59 schrieb Urs Liska: > In recent weeks (as you'll have noticed) I had the wonderful opportunity > to work on it on a partially paid basis: I had to implement some > functionality and was in essence paid to work on that for 7x8 hours. > What had to be created amounted

Re: Software playing lilypond's music sheets

2018-07-13 Thread Jan-Peter Voigt
Hi Sam, thanks a lot for sharing this! Best Jan-Peter Am 12.07.2018 um 23:48 schrieb Samuel DA MOTA: > Hi everyone! > > I wrote a software a while ago that would play a music sheet generated > by lilypond. It shows the music sheet and follows it with a cursor. I > made a video to demo the

Re: Global Variable vs Edition Engraver

2018-07-09 Thread Jan-Peter Voigt
Hi Craig, Kieren, I actually use kind of a global variable for the global time line. So all repeat signs, time-signatures *and* key-signatures there. Before I implemented the EE I started with a template-engine where the tamplates take care of creating the simultaneous music ( << \getMusic meta

Re: edition-engraver: multiple editions

2018-07-01 Thread Jan-Peter Voigt
Hi Mason, thank you for the hint what has to be explained more concisely in the docs that are still waiting for there incarnation. In you examples activation of the editions is done with `\addEdition first`. To only apply edition `second` you can omit `\addEdition first` or comment that out. The

Re: openLilyLib

2018-06-27 Thread Jan-Peter Voigt
Hi Urs, Aaron, Am 27.06.2018 um 08:35 schrieb Urs Liska: Hi Aaron, thank you for the interest in openLilyLib. > ... > pre-alpha state, which does explain things. Unfortunately this is true, and basically because the project didn't really gain traction. Progress is usually been made when

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Jan-Peter Voigt
Am 27.06.2018 um 11:15 schrieb Urs Liska: Am 27.06.2018 um 11:09 schrieb Urs Liska: Hi Jan-Peter, Am 27.06.2018 um 10:48 schrieb Jan-Peter Voigt: Hi Urs, you might import the SRFI-1 span-function and give that a new name. The counterpart-function to span is break, which "conf

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Jan-Peter Voigt
Am 27.06.2018 um 11:09 schrieb Urs Liska: Hi Jan-Peter, Am 27.06.2018 um 10:48 schrieb Jan-Peter Voigt: Hi Urs, you might import the SRFI-1 span-function and give that a new name. The counterpart-function to span is break, which "conflicts with the break binding established by while

Re: music-function name shadowing a Scheme keyword

2018-06-27 Thread Jan-Peter Voigt
Hi Urs, you might import the SRFI-1 span-function and give that a new name. The counterpart-function to span is break, which "conflicts with the break binding established by while (see while do). Applications wanting to use break from within a while loop will need to make a new define under a

Re: Function template (or whatever it's called)

2018-06-20 Thread Jan-Peter Voigt
) and unquote splice ,@code Jan-Peter Am 20.06.2018 um 11:42 schrieb Urs Liska: Hi Jan-Peter, thanks for the quick response! Am 20.06.2018 um 11:35 schrieb Jan-Peter Voigt: Hi Urs, define-macro is the method you are looking for: Indeed, that's what I need. I might have managed to look that up

Re: Function template (or whatever it's called)

2018-06-20 Thread Jan-Peter Voigt
Hi Urs, define-macro is the method you are looking for: %%% \version "2.19.80" % define macro #(define-macro (define-my-custom-function code) ; all wrapping code is (semi)quoted `(define-music-function (mus)(ly:music?) (let* ((elts

Re: avoid orphan

2018-06-20 Thread Jan-Peter Voigt
Hi Gianmaria, like Malte already pointed out, you can use the header field piece. If your intention is something else, I guess you are looking for \noPageBreak: \score { {a b c' d'} \layout {} \header { piece = "Etude" } } \markup "Etude" \noPageBreak {a b c' d'} HTH Jan-Peter Am

Re: Binary Search Tree in Scheme

2018-06-18 Thread Jan-Peter Voigt
Am 18.06.2018 um 11:16 schrieb Urs Liska: Am 18.06.2018 um 10:57 schrieb Jan-Peter Voigt: Hi Urs, there are self balancing trees like AVL or Red-Black, but I'd say implementation cost is quite for this purpose to sort n<1000 elements. I might be wrong, but I'd prefer the sort method.

Re: Binary Search Tree in Scheme

2018-06-18 Thread Jan-Peter Voigt
Hi Urs, there are self balancing trees like AVL or Red-Black, but I'd say implementation cost is quite for this purpose to sort n<1000 elements. I might be wrong, but I'd prefer the sort method. The EE uses a tree that sorts by measure on the first level, by moment on second and then by the

Re: MusicXML

2018-05-29 Thread Jan-Peter Voigt
ah yes ofcourse, I forgot to mention that. Am 29.05.2018 um 14:53 schrieb Karlin High: On 5/29/2018 7:45 AM, David Kastrup wrote: Varun Soontornniyomkij writes: Is it possible, using Lilypond, to save/export a score as a MusicXML file? Not at the current point of time. No MusicXML

Re: MusicXML

2018-05-29 Thread Jan-Peter Voigt
Hello Varun, currently this is not natively supported. I have been working on some code that is able to write some XML for simple scores and I am going to extend that: https://github.com/jpvoigt/lilypond-export/ To try it you have to prepare/install open-lilylib:

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 = #(define-scheme

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: 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: 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: Need edition-engraver-compatible extended glissandi, will pay for solution if necessary

2018-05-19 Thread Jan-Peter Voigt
Hello Mason, I just have an idea how I *would* try to approach a solution. Once I needed a lyrics syllable attached to an extender line at a given time. So I used the extender stencil and first attached the syllable on top of it at a given x-offset. Then I added a property to the

Re: Is there a way to generate a QR code inside a \markup block?

2018-05-16 Thread Jan-Peter Voigt
Hi Vinicius, I did it once. I am on Linux so it is straightforward to install imagemagick, qrencode, potrace and idn. These are used to create an EPS-file to include in the markup. If you on a different OS with other tools to create the EPS then you have to adjust the commands. The base idea

Re: Need someone testing XML file in Finale and Sibelius (and Dorico)

2018-05-11 Thread Jan-Peter Voigt
ned by Urs Liska, u...@openlilylib.org % % lilypond-export is maintained by Jan-Peter Voigt, jp.vo...@gmx.de % % % % Copyright Jan-Peter Voi

Re: disabling \break

2018-05-08 Thread Jan-Peter Voigt
Hi Herbie, this is *the* use case for the edition-engraver: https://github.com/openlilylib/edition-engraver/ or the page-layout package https://github.com/openlilylib/page-layout (which is using the edition-engraver for the conditional breaks) If you install openLilyLib

Re: alternative and slur

2018-05-04 Thread Jan-Peter Voigt
Hi, you might use \repeatTie. That is a tie, not a slur, but it looks OK. HTH Jan-Peter Am 04.05.2018 um 09:57 schrieb Gianmaria Lari: Have a look to this code and the resulting engraving: \version "2.19.81" {   \repeat volta 2 {a( a a a}   \alternative { {b1)} {c'1}} } Is there any way

Re: Make TOC entries available to LaTeX

2018-04-20 Thread Jan-Peter Voigt
Hi Urs, the OLY way is the way to go, but for inspiration I share my little hack that was doing its job quite well on short notice. Jan-Peter Am 19.04.2018 um 23:23 schrieb Thomas Morley: 2018-04-19 16:19 GMT+02:00 Urs Liska : Hi all, I'm preparing an automated

Re: Make TOC entries available to LaTeX

2018-04-19 Thread Jan-Peter Voigt
Hi Urs, I don't know either how to extract the toc from the PDF. But it should be easy to write the toc into some text file. Recently I did something similar to provide that info to those who compiled a book in inDesign. I will extract it later, when I am back at my Workstation. Jan-Peter Am

Re: Edition Engraver -- Bar 1

2018-04-10 Thread Jan-Peter Voigt
Hi Craig, hi Stéfano, like Stéfano already pointed out this is related to an issue I still have to fix. I hope the hints given are already helpful to work around it! The example didn't compile in my setup either. This was happening in the development branch for this issue (refactor-override).

Re: Edition Engraver -- Bar 1

2018-04-07 Thread Jan-Peter Voigt
Hi Craig, I'll investigate that on Monday. I thought I fixed this issue a while ago, but if you are facing it now there still needs to be something to be done. Jan-Peter Am 7. April 2018 08:22:52 MESZ schrieb Craig Dabelstein : >Hi all, > >Is there something

Re: edition-engraver and multiple scores

2018-04-04 Thread Jan-Peter Voigt
... there is a function ly:score-add-output-def! to add layout- and midi-blocks to a score object. Cheers Jan-Peter Am 3. April 2018 11:34:58 MESZ schrieb Urs Liska : >I ran into an issue with the edition-engraver, targeting individual >scores when multiple scores are

Re: edition-engraver and multiple scores

2018-04-03 Thread Jan-Peter Voigt
... and to add the editionID with ly:make-score there are parameters to achieve that. The editionID is also a context prop. You might look up the code of editionID. And maybe the lalily templates give some inspiration. (I moved it oll recently) Am 3. April 2018 11:34:58 MESZ schrieb Urs Liska

Re: edition-engraver and multiple scores

2018-04-03 Thread Jan-Peter Voigt
Hi Urs, I am not at my desk right now, but IISC you named the right thing: Every score needs its own ID so that the EE is able to target the right score. We might *additionally* store mods as a Score context prop. for certain use cases. But still I strongly vote for IDs per score. Jan-Peter

Re: an open question

2018-03-28 Thread Jan-Peter Voigt
        I’m not at ease enough currently with the Scheme/Lilypond interaction to be of any help, unfortunately. JM Le 26 mars 2018 à 07:29, Jan-Peter Voigt <jp.vo...@gmx.de <mailto:jp.vo...@gmx.de>> a écrit : Hello Jacques, last year I have been working on an export module for

Re: Writing score definition in Scheme

2018-03-26 Thread Jan-Peter Voigt
. März 2018 15:35:42 MESZ schrieb Jan-Peter Voigt<jp.vo...@gmx.de>: Hi Urs, I assume you know to build the music-expression for the score in scheme. No, not really. I can replace \score {} with (ly:make-score) but that doesn't really help me. I have no idea how to map the nesting of the pa

Re: Writing score definition in Scheme

2018-03-26 Thread Jan-Peter Voigt
Hi Urs, I assume you know to build the music-expression for the score in scheme. With that you can make use of #(scorify-music mymusic). That creates a score object *and* creates the necessary music for << \\ >> constructs an thew like. If you don't need that you can simply use

Re: an open question

2018-03-25 Thread Jan-Peter Voigt
day! JM Le 24 mars 2018 à 06:48, Jan-Peter Voigt <jp.vo...@gmx.de <mailto:jp.vo...@gmx.de>> a écrit : Hello Joe, this is touching a subject I have been working on last year. I created some kind of proof of concept to export other file formats from lilypond. I can export musicXML

Re: an open question

2018-03-23 Thread Jan-Peter Voigt
Hello Joe, this is touching a subject I have been working on last year. I created some kind of proof of concept to export other file formats from lilypond. I can export musicXML and Humdrum with some limitations. It is based on an infrastructure that exports via format-plugins so it should be

Re: get current bar number

2018-03-23 Thread Jan-Peter Voigt
Hi Kevin, yes, you need to get a context object. If you want to use it inside some music expression \applyContext is the key: doSomething = \applyContext #(lambda (context) (display

Re: predicate for \lyricmode

2018-03-20 Thread Jan-Peter Voigt
Yes, but you might write one that checks if the music expression does contain elements of a certain type. It is possible, but I can't tell if its reasonable. Am 20. März 2018 17:35:44 MEZ schrieb David Kastrup : >Urs Liska writes: > >> Hi all, >> >> is

Re: Edition Engraver bug?

2018-03-15 Thread Jan-Peter Voigt
it results. 2018-03-13 7:47 GMT-03:00 Jan-Peter Voigt <jp.vo...@gmx.de <mailto:jp.vo...@gmx.de>>: Am 13.03.2018 um 11:37 schrieb David Kastrup: Jan-Peter Voigt <jp.vo...@gmx.de <mailto:jp.vo...@gmx.de>> writes:

Re: Edition Engraver bug?

2018-03-13 Thread Jan-Peter Voigt
Am 13.03.2018 um 11:37 schrieb David Kastrup: Jan-Peter Voigt <jp.vo...@gmx.de> writes: Hi Stefano, I have been looking into the issue and created a branch 'refactor-override' for the edition-engraver. The following is changed in there: * Overrides are not applied "by han

Re: Edition Engraver bug?

2018-03-13 Thread Jan-Peter Voigt
Hi Stefano, I have been looking into the issue and created a branch 'refactor-override' for the edition-engraver. The following is changed in there: * Overrides are not applied "by hand" but send as a StreamEvent so that once is handled by lily and not the EE * Override (and Revert, Set,

edition-engraver commit error (was Re: Edition Engraver tweak error)

2018-03-06 Thread Jan-Peter Voigt
Hi Craig, Kieren already answered, but I want to assure that you where not caught by I mistake I made on Monday: There is a commit that ought to be in its own branch for development that accidentally disabled overrides. So please do switch to the previous commit (Feb 1 "issue #19") if this is

Re: bookparts

2018-03-06 Thread Jan-Peter Voigt
Am 06.03.2018 um 13:12 schrieb David Kastrup: IISC a major change to the codebase would be needed to allow something like this: \bookpart { music = { c''4 } { \music } } but there are a lot users who would like to use it this way. I don't want to talk about scopes and coding style, but want to

Re: bookparts

2018-03-06 Thread Jan-Peter Voigt
Hi all, in this mail the thing with defining variables inside of curly brackets popped up the first time in this thread - so I hook here. (If it was mentioned in the former mails it doesn't matter ;-) ) IISC a major change to the codebase would be needed to allow something like this:

Re: Edition Engraver bug?

2018-03-05 Thread Jan-Peter Voigt
David Kastrup: Jan-Peter Voigt <jp.vo...@gmx.de> writes: Hi David, Am 05.03.2018 um 10:42 schrieb David Kastrup: This is a failure that can happen whenever there are (implicit) overrides in the music. I'll try to track/fetch overrides generated outside the EE to avoid this issue. Any

Re: Edition Engraver bug?

2018-03-05 Thread Jan-Peter Voigt
Hi David, Am 05.03.2018 um 10:42 schrieb David Kastrup: This is a failure that can happen whenever there are (implicit) overrides in the music. I'll try to track/fetch overrides generated outside the EE to avoid this issue. Any chance to actually use the equivalent of "\once" here? It's

Re: Edition Engraver bug?

2018-03-05 Thread Jan-Peter Voigt
Hi Stefano, thanks again for bringing up this issue! Now I identified it an EE-bug and I was able to reproduce the failure with: -- \version "2.19.80" \include "oll-core/package.ily" \loadPackage edition-engraver \consistToContexts #edition-engraver

Re: Including tweaks in a variable

2018-03-01 Thread Jan-Peter Voigt
Hello Michael, it works if you add \etc to the variable (in lily-dev 2.19.x IIRC): smNote = \tweak font-size #-2 \etc That way smNote becomes a music-function that takes the note as argument and the tweak is applied. If you are using 2.18 you have to create the function like this: smNote =

Re: Edition Engraver -- multiple editions

2018-03-01 Thread Jan-Peter Voigt
Hi Craig, you remind me to rethink wording/naming of the different identifiers! In your example you point on two different ID-types. With \addEdition you add one target-ID to the current compilation. You can add multiple targets like fullscore, global-mods, original-page-breaks at once.

Re: Edition Engraver bug?

2018-02-26 Thread Jan-Peter Voigt
Hi Stefano, thanks a lot for researching this issue! Sometimes I also noticed "rebel ties", but I didn't identified it as an EE bug. So your research file looks meaningful. I hope to have a deeper look into it next week. Best Jan-Peter Am 26.02.2018 um 15:26 schrieb Stefano Troncaro: Hi

Re: A couple of questions about Edition Engraver

2018-02-20 Thread Jan-Peter Voigt
henEvent) As far as I know something like that could be done, although admittedly it's not as minimalistic as your desired example with brackets. It does have the logical structure you seem to prefer though. 2018-02-19 11:34 GMT-03:00 Jan-Peter Voigt <jp.vo...@gmx.de <mailto:jp.vo...@gmx.d

Re: A couple of questions about Edition Engraver

2018-02-19 Thread Jan-Peter Voigt
Hi David, Urs already answered. I understand your concerns about the input and I am always open for ideas to ease the input for the edition-engraver. Like Urs already mentioned your proposal will be difficult to implement because it doesn't use the standard parser schemes. But it sheds light

Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Jan-Peter Voigt
Am 02.02.2018 um 17:55 schrieb David Kastrup: Jan-Peter Voigt <jp.vo...@gmx.de> writes: Hello Harm, Stéfano, I always underestimate the usability of before/after-line-breaking ... Based on Harms code I scratched a music-function to conditionally omit the accidental. This one can b

Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Jan-Peter Voigt
Hello Harm, Stéfano, I always underestimate the usability of before/after-line-breaking ... Based on Harms code I scratched a music-function to conditionally omit the accidental. This one can be used with the EE. It smells a bit hacky, but it seems to work and is extendable for other use

Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Jan-Peter Voigt
Hello Harm, Stéfano, I always underestimate the usability of before/after-line-breaking ... Based on Harms code I scratched a music-function to conditionally omit the accidental. This one can be used with the EE. It smells a bit hacky, but it seems to work and is extendable for other use

Re: Function or command to omit only certain accidentals of a chord?

2018-02-02 Thread Jan-Peter Voigt
Hello Harm, Stéfano, I always underestimate the usability of before/after-line-breaking ... Based on Harms code I scratched a music-function to conditionally omit the accidental. This one can be used with the EE. It smells a bit hacky, but it seems to work and is extendable for other use

  1   2   3   4   5   6   >