Re: Hairping length

2014-04-21 Thread Jan-Peter Voigt
Hello Helge, just a shorty \relative c'' { c4 b\ bes\! \override Hairpin.to-barline = ##f a\ | g\! } HTH Jan-Peter On 21.04.2014 09:43, Helge Kruse wrote: So here comes the Lilypond related problem: \version 2.18.0 \relative c'' { \time 2/4 \key e\major r8 r r e(\ | fis4)\!

Re: Pull in external LilyPond files into a score of movements

2014-04-27 Thread Jan-Peter Voigt
Hi All, to use a file for including definitions and also to compile it stand-alone, I use a command to conditionally create the score. It is integrated in a system to execute templates: https://github.com/openlilylib/snippets/tree/master/templates/lalily Attached is a short example, which

Re: Transposing instruments in orchestra score

2014-05-12 Thread Jan-Peter Voigt
Hi there, ... now, who's late ;) I read a few of the messages regarding the given subject. I don't have a once-and-for-all-solution, but I want bring in another scheme-engraver: It uses context-properties 'instrumentTransposition, (newly defined) 'music-concert-pitch' and 'print-concert-pitch'.

Re: Transposing instruments in orchestra score

2014-05-12 Thread Jan-Peter Voigt
{}-constructs needed and \instrumentSwitch may set 'instrumentTransposition. Cheers, Jan-Peter Am 12.05.2014 11:16, schrieb Jan-Peter Voigt: Hi there, I read a few of the messages regarding the given subject. I don't have a once-and-for-all-solution, but I want bring in another scheme-engraver

Re: Transposing instruments in orchestra score

2014-05-12 Thread Jan-Peter Voigt
Hello, I added a snippet to open-lily-lib: https://github.com/openlilylib/snippets/tree/master/editorial-tools/auto-transpose README follows. Best, Jan-Peter ___ lilypond-user mailing list lilypond-user@gnu.org

Re: set-global-staff-size from inside Scheme function

2014-05-16 Thread Jan-Peter Voigt
Hi Urs, this constellation compiles, if you wrap the scheme-call to set-global-staff-size into a void-function. But if it is called, when the book is already opened, the staff-size is already initialized and can't be changed (for this book). It probably works, if you place #(set-global-staff-size

Re: set-global-staff-size from inside Scheme function

2014-05-16 Thread Jan-Peter Voigt
Hi Urs, the last statement the include returns is not music: #(ly:set-option 'preview #t) so the parser complains. Those warnings can be avoided with void-functions, which wrap the statement. (A bit in a hurry, so no example for noew ;) ) Cheers, Jan-Peter Am 16.05.2014 12:05, schrieb Urs

Re: combining cue notes and full measure rests….

2014-05-20 Thread Jan-Peter Voigt
Hi Paul, I suspect, there is something wrong with spacer rests. At least this snippet works: \version 2.18.2 \addQuote musi \relative c'' { R1 c4 b a g f e d c R1 } { \compressFullBarRests { R1*4 } \\ { s1*2 \cueDuring musi #UP { s2. } } } But

Re: adding new staff on the fly in a staff group

2014-05-22 Thread Jan-Peter Voigt
Hi Orm, if you name the Staff contexts and apply a context-mod with alignBelowContext=top, it should work: % \new StaffGroup \new Staff = top \repeat unfold 6 { c''2 } \new Staff = bottom { c''1 c''1 \new Staff \with { alignBelowContext = top } { c''1 } c''1 }

Re: Changing default font size

2014-06-06 Thread Jan-Peter Voigt
Hi Kevin, I did this together with Kieren ... it didn't make its way into the lilypond-codebase ... I should create a path. Anyway - I attached the file, we developed last year(?). The allowGrobCallback is needed to allow callbacks in the font-interface. \absFontSize creates a procedure, which

Re: Lyrics in a piano staff with { ... } \\ { ... } s

2014-06-11 Thread Jan-Peter Voigt
Hi Samuel, the lyrics are bound to one voice with addlyrics, but {}\\{} creates and starts two new voice contexts, which are not known by the lyrics context. One way to circumvent this is to explicitly create one extra voice: { \voiceOne \uppermusic \oneVoice } \new Voice { \voiceTwo \lowermusic

Re: Page headings

2014-06-18 Thread Jan-Peter Voigt
Hi Peter, Am 18.06.2014 13:57, schrieb Peter Meanwell: How do I put the name of the piece at the top of each page (except the first page)? \markup \on-the-fly is what you need: %% \paper { oddHeaderMarkup = \markup \fill-line

Re: Determine event at the same time in other voice

2014-06-20 Thread Jan-Peter Voigt
Hi Urs, as David mentioned, there are solutions on the list. And in LSR you find: http://lsr.di.unimi.it/LSR/Item?id=336 And some time ago somebody posted the solution for multi-measure-rests ... I am ashamed, that I forgot to note the name - I use it quite often. You can either use \layout {

Re: Determine event at the same time in other voice

2014-06-21 Thread Jan-Peter Voigt
Am 20.06.2014 15:42, schrieb Knute Snortum: Is it good practice to post an example to the LSR too? It is :) ... as long it is postable. Right now LSR is based on current stable 2.18 (?) And AFAIK LSR can't handle multiple files for one snippet. But for all one-ly-file-snippets it is the place to

Re: Determine event at the same time in other voice

2014-06-21 Thread Jan-Peter Voigt
Am 21.06.2014 09:08, schrieb Urs Liska: Hi Jan-Peter, thanks for that hint. I tracked it down to Wilbert's contribution to https://code.google.com/p/lilypond/issues/detail?id=1228 (comment #1) and I will add it to the openLilyLib snippets repository soon. :) great ah, OK. I will update my

Re: where to put \partcombine for it to work

2014-07-01 Thread Jan-Peter Voigt
Hi Ming, partcombine takes two parameters of music. The difference is, that you wrap your music in Voice contexts. These Voice context are also created from within the voices partcombine creates, so the partcombinig effect is overridden. To have partcombine work and also have lyrics aligned to

Re: [SPAM] Re: [openlilylib] Discuss restructuring

2014-07-07 Thread Jan-Peter Voigt
Hi Urs and all, I followed the discussion only roughly, but I think it is a step in the right direction. I'd like to bring up the scheme-modules, I came up with. They need a fixed folder-structure and need to be updated according to the path they are stored in. Should we have a dedicated folder

Re: [SPAM] Re: [openlilylib] Discuss restructuring

2014-07-07 Thread Jan-Peter Voigt
Am 07.07.2014 11:46, schrieb Urs Liska: I followed the discussion only roughly, but I think it is a step in the right direction. I'd like to bring up the scheme-modules, I came up with. They need a fixed folder-structure and need to be updated according to the path they are stored in. Should

Re: Dot-separated list as music function argument

2014-07-09 Thread Jan-Peter Voigt
Hi Simon, I also stumbled sometimes ove this behaviour, but I think it is not a real bug. If the parser has a list? predicate, it looks for dot-notation. But if it gets a custom predicate, it will not do so. Am I right, David? IIUC some predefined predicates (list?, string?, ly:duration?,

Re: Dot-separated list as music function argument

2014-07-09 Thread Jan-Peter Voigt
... o dear ... my mail was delayed one day. But thats not too bad, as the other answers are much more helpful. Still, wrapped predicates do not get any special handling by th parser. Cheers, Jan-Peter On 08.07.2014 13:58, Jan-Peter Voigt wrote: I also stumbled sometimes ove this behaviour

Re: Dot-separated list as music function argument

2014-07-10 Thread Jan-Peter Voigt
Am 09.07.14 15:15, schrieb David Kastrup: No. If we have some Word in the place of a function argument, LilyPond tries interpreting it as a string first. If the predicate refuses to accept that, the next try is as a one-element symbol list. If that gets accepted, the parser checks whether

Re: LilyPond meeting 2014?

2014-07-17 Thread Jan-Peter Voigt
Hi all, I'd also like to join the party, but I am quite busy in the next time. I would like to join in for a session via skype or google-hang-out or similar - I could talk about and discuss the edition-engraver. Online-participation might be an option for users outside europe? Cheers, Jan-Peter

Re: [openlilylib] generated docs, HTML/CSS help desired

2014-07-17 Thread Jan-Peter Voigt
Hi Urs, this looks very nice indeed! I am working my blog-posts and will likely not be able to provide much help on this (right now) - the scheme-part of snippet reorganization is also waiting ... But I will see, what I can do. Just one thought, jQuery(-ui/-mobile) might be a good tool to make

Re: Refrain and Verse SATB - Bug?

2014-07-17 Thread Jan-Peter Voigt
Hi Chris, its actually not a bug. You create new Lyrics contexts in the middle of the piece. They are place below all other contexts, if you don't set the alignment: - \new Staff \with { instrumentName = Soprano } \new Voice = soprano { \SopranoNotes } % give the first

Re: thanks again for the editionEngraver

2014-07-20 Thread Jan-Peter Voigt
Hi Kieren, I almost missed your mail ... right now I am on a rehearsal and concert trip. On 18.07.2014 21:02, Kieren MacMillan wrote: Hello all, This is just another note of thanks to everyone (especially Jan-Peter) who makes things like the editionEngraver possible in Lilypond. The power

Re: thanks again for the editionEngraver

2014-07-28 Thread Jan-Peter Voigt
Hi Kieren, I thought of a change - or addition - like your proposal. At least the counter should be exchangable by the context-id. That way partcombined voices can be addressed by up, down and so on. I can't say, if it is managable to omit the context-name (Voice or Staff or else). But we will

Re: thanks again for the editionEngraver

2014-07-29 Thread Jan-Peter Voigt
Hi Janek, your predefined context are cool :) I see them in context with my lalily templates -- they will of course benifit. And the editionEngraver can indeed take advantage from specific context names. But still there need to be a way to separate (for example) violin 1 and 2. So I will try to

Re: Feeling stupid about markup functions

2014-08-28 Thread Jan-Peter Voigt
Hi Urs, or you define an event-function, as that is what you want in the end: \version 2.18.2 % I only have stable here right now ... playing = #(define-event-function (parser location text)(markup?) #{ -\markup { \italic \with-color #blue #text } #}) %% { c''4 c''\playing

Re: How to handle changing transpositions

2014-09-09 Thread Jan-Peter Voigt
Hi Urs, I see a lot of action on the Fried-Crowd-Project :) ... it is great luck to me but also a pity that I started my new job ... well, I don't have a key-turn-solution, but just a hint on the auto-transpose snippet in OLL

Re: How to handle changing transpositions

2014-09-09 Thread Jan-Peter Voigt
Hi Urs, On 09.09.2014 14:29, Urs Liska wrote: What are the most straightforward approacges to dealing with instruments that actually change transposition, e.g. clarinets in A and B or an oboe/englishhorn part? may I again mention the auto-transpose snippet. If music is either entered in

Re: How to handle changing transpositions

2014-09-09 Thread Jan-Peter Voigt
Hi Kieren, On 09.09.2014 14:55, Kieren MacMillan wrote: Hi Jan-Peter, may I again mention the auto-transpose snippet. Does the key signature get changed automatically, even if the key-signatures are defined “externally” (i.e., in a variable) and change DURING THE TIME the player is on the

Re: How to handle changing transpositions

2014-09-09 Thread Jan-Peter Voigt
Hi Kieren, I modified the example for the auto-transpose engraver a bit, so it uses a music and a global variable. I merged them in one Voice, so that the cue names are not printed twice. But that is not necessary for the transposition. If the music is in concert-pitch and transposed to

Re: Engraver Programming Question

2014-09-24 Thread Jan-Peter Voigt
Hi Jay, to output something, you have to display it. The format function returns the formatted string. If you insert #t (true) prior the format string, it will output the result to stdout: (format #t length ~a position ~a note-names ~a ~% measure-len measure-pos note-names) HTH

Re: How to handle changing transpositions

2014-10-07 Thread Jan-Peter Voigt
Hi Urs, I will see, what I can do about it. If you don't see an answer within the next week, don't hesitate to contact me again. For now best, Jan-Peter On 07.10.2014 12:03, Urs Liska wrote: Sorry about the premature sending ... Am 09.09.2014 13:18, schrieb Jan-Peter Voigt: Hi Urs, I see

Re: How to handle changing transpositions

2014-10-09 Thread Jan-Peter Voigt
Hi Urs, I updated the snippet in oll (master). It compiles with 2.9.15 (and should with 2.9.16). There was an old try to automatically insert a timesignature, when the transposition changed. I tried with broadcast-stream-event (or thelike), which didn't do the trick. That part is not essentially

Re: How to parse location

2014-10-24 Thread Jan-Peter Voigt
Hi Urs, you can use ly:input-file-line-char-column to get a list containing the file-path and line- and column-number. In openlilylib I placed a function inside /scheme-lib/lalily/parser-location.scm - location-extract-path - which returns the absolute path of the location. With lalily I

Re: thanks again for the editionEngraver

2014-10-29 Thread Jan-Peter Voigt
looking at adding or removing measures in this gargantuan score, and imagining the cascading chaos. Thanks! Kieren. On Jul 28, 2014, at 4:31 AM, Jan-Peter Voigt jp.vo...@gmx.de wrote: I thought of a change - or addition - like your proposal. At least the counter should be exchangable

Re: edition-engraver and partcombine

2014-12-16 Thread Jan-Peter Voigt
Hi all, I know about this issue and will hopefully have time to fix it soon. I have to work until friday - lets see, how much I can do between the upcoming holydays. So, hopefully I'm back with lily after christmas. Best, Jan-Peter Am 16.12.2014 um 18:46 schrieb Kieren MacMillan: Hi Urs,

Re: edition-engraver and partcombine

2014-12-16 Thread Jan-Peter Voigt
Hi Urs, Am 16.12.2014 um 22:28 schrieb Urs Liska: Hi Jan-Peter, that would be great. I intend to write a post about the tool soon - from a user's, not from the developer's perspective. that would great :) Maybe I should wait with this some more. BTW: I'm still not completely convinced

Re: musicxml2ly

2015-02-07 Thread Jan-Peter Voigt
Hi Urs, thank you, I will have a look at neoscores. Cheers, Jan-Peter Am 06.02.2015 um 13:21 schrieb Urs Liska: Am 06.02.2015 um 11:57 schrieb Jan-Peter Voigt: Hi list, in the project, Iam currently working on, I am importing music-xml-files created by Score Perfect. I have to repair all

Re: musicxml2ly

2015-02-07 Thread Jan-Peter Voigt
schrieb Richard Shann: On Fri, 2015-02-06 at 11:57 +0100, Jan-Peter Voigt wrote: Hi list, ... I'm very interested in musicxml output created by programs other than finale, as the musicxml specification is open to a very wide interpretation. If you send me a failing example I would like to test

musicxml2ly

2015-02-06 Thread Jan-Peter Voigt
Hi list, in the project, Iam currently working on, I am importing music-xml-files created by Score Perfect. I have to repair all of the files and remove the work-part. That way most files can be converted, but some files fail with the message: AttributeError: PartGroupInfo instance has no

Re: musicxml2ly

2015-02-06 Thread Jan-Peter Voigt
Tank you :) I'll send one later Cheers, Jan-Peter Am 6. Februar 2015 12:08:09 MEZ, schrieb pls p.l.schm...@gmx.de: Hi Jan-Peter, I’m very familiar with musicxml2ly. I can offer to have a look at your files (tomorrow or sunday). Cheers, Patrick On 06.02.2015, at 11:57, Jan-Peter Voigt jp.vo

Re: editionEngraver

2015-01-19 Thread Jan-Peter Voigt
Dear Kevin, thanks for this hint! There is an error in the description ... The editionEngraver is part of openLilyLib. To use it, you have to download the whole library and add the path to the list of include paths. Then you can \include editorial-tools/edition-engraver/definitions.ily and use

Re: Putting a natural sign on a note

2015-02-10 Thread Jan-Peter Voigt
Hi William, you can use the exclamation or question mark: b! b? or you place a markup as a text script above the note: b^\markup \natural HTH Jan-Peter Am 10.02.2015 um 16:13 schrieb William Marchant: Hi all, The following two bars of code result in the music correctly written, however, I

Re: Symlinks on Windows

2015-01-28 Thread Jan-Peter Voigt
Hi Urs, AFAIK GIT doesn't handle symlinks at all. It won't override them, but if you clone the repo, there should be copies of the file. Best, Jan-Peter P.S.: ... and now for something completely different ... I am rebuilding the edittion-engraver from scratch to allow suggested modifications -

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Jan-Peter Voigt
Hi Kieren, Am 10.01.2015 um 16:20 schrieb Kieren MacMillan: Hi Jan-Peter, TimeSignature grobs are another kind, I'd like to add conditionally or with the edition-engraver, if the instrument-transposition changes. Um… you mean KeySignature? =) In any case, YES — this would let me remove

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Jan-Peter Voigt
) programmaticly, I can easily add it to the edition-engraver. Best, Jan-Peter Am 10.01.2015 um 11:35 schrieb Jan-Peter Voigt: Hi Urs, hi list, as I am the inventor of the edition-engraver, I'd like to try some explanation ... The edition-engraver is a scheme-engraver, which looks at most

Re: Add \mark entries with edition-engraver?

2015-01-10 Thread Jan-Peter Voigt
Hi Urs, hi list, as I am the inventor of the edition-engraver, I'd like to try some explanation ... The edition-engraver is a scheme-engraver, which looks at most of the defined hooks, if there are mods for its id on the current time (= measure + position-in-measure). They are: * initialize

Re: Add \mark entries with edition-engraver?

2015-01-11 Thread Jan-Peter Voigt
Hi Harm, thank you for this snippet! I will work on it next week :) Cheers, Jan-Peter Am 10.01.2015 um 19:21 schrieb Thomas Morley: 2015-01-10 15:44 GMT+01:00 Jan-Peter Voigt jp.vo...@gmx.de: So, if one can show a scheme-engraver, that produces marks (or time-sigs) programmaticly, I can

Re: instrumentSwitch and addInstrumentDefinition use

2015-01-12 Thread Jan-Peter Voigt
Hi Keith, thanks for that snippet! It should be possible to add KeySignatures to the edition-engraver ... and to automatically create a KeySig on change of instrument transposition ... Cheers, Jan-Peter Am 12.01.2015 um 06:28 schrieb Keith OHara: ... \version 2.19.15 transpositionUpdateKey

Re: suppress one bar number

2015-03-18 Thread Jan-Peter Voigt
Hi David, you might try \once \override Score.BarNumber.stencil = ##f HTH Jan-Peter Am 18.03.2015 um 08:14 schrieb bobr...@centrum.is: I have a situation where a cadenza begins on one system, continues on the following system, and ends at the end of that system. I have to use \bar for the

Re: Slur into alternatives

2015-03-04 Thread Jan-Peter Voigt
Sorry ... I was too fast ;) I meant { a'1\repeatTie } Am 04.03.2015 um 15:01 schrieb Jan-Peter Voigt: Hi Markus, you can use { a'1\repeatSlur } HTH Jan-Peter Am 04.03.2015 um 14:58 schrieb lyuser.theg...@spamgourmet.com: Hello, Being quite a rookie in music notation and lilypond

Re: Slur into alternatives

2015-03-04 Thread Jan-Peter Voigt
Hi Markus, you can use { a'1\repeatSlur } HTH Jan-Peter Am 04.03.2015 um 14:58 schrieb lyuser.theg...@spamgourmet.com: Hello, Being quite a rookie in music notation and lilypond in general, I have a problem: \version 2.18.2 { % I want a slur from the b to the c in 1) and to the a in 2)

Re: Difference between ~ and ( ) ?

2015-03-04 Thread Jan-Peter Voigt
Hi Markus, there is a difference between slurs and ties. A tie means concat two notes (they have to be of the same pitch). A slur says, move from one note to another and keep them tight. Hm, this is not really accurate ;) And yes, that means, the recommendation of the repeatTie is a misuse

Re: Slur into alternatives

2015-03-04 Thread Jan-Peter Voigt
\fontsize #-2 { Here with a hidden grace note: } } } } Cheers, Pierre 2015-03-04 15:04 GMT+01:00 Jan-Peter Voigt jp.vo...@gmx.de mailto:jp.vo...@gmx.de: Sorry ... I was too fast ;) I meant { a'1\repeatTie } Am 04.03.2015 um 15:01 schrieb Jan-Peter Voigt: Hi

Re: Paper size survey

2015-04-20 Thread Jan-Peter Voigt
Hi Andrew, I use A4 for most small or normal scores (SATB choir). Sometimes A5 But full scores for the director with an orchestral score I use B4 - sometimes A3. Cheers, Jan-Peter Am 20.04.2015 um 08:45 schrieb Andrew Bernard: So Ponders, What size paper do you print scores on? Andrew

Re: Questions about the edition engraver

2015-04-29 Thread Jan-Peter Voigt
Am 29.04.2015 um 08:45 schrieb Jan-Peter Voigt: Hi Joram, some of you questions havebeen answered by Kieren and Urs, but for completeness, I shall do it once more: ... and Simon of course ;) ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Questions about the edition engraver

2015-04-29 Thread Jan-Peter Voigt
Hi Joram, some of you questions havebeen answered by Kieren and Urs, but for completeness, I shall do it once more: Am 28.04.2015 um 23:03 schrieb Noeck: ... So far I have this structure (simplified) and ~30 \editionMods: \score { \new PianoStaff \new Staff = md \with {

Re: Questions about the edition engraver

2015-04-30 Thread Jan-Peter Voigt
Hi Joram, one question left to answer ;) Am 29.04.2015 um 22:52 schrieb Noeck: To be a list, must there be always a dot in this name? Like 'mytest.id'? Or is 'edition' equally fine? The (scheme-)function \editionEngraver makes use of a predicate 'list?'. So 'edition' or anything else without

Re: Concepts that may be missing (or are at least hidden) in LilyPond

2015-04-27 Thread Jan-Peter Voigt
Hi there, after just reading all these important threads partially, I want to jump in. I want to encourage Urs' position - and if I understand correctly, Carl does not object ;) The lilypond way of working made it easy for me, to spot errors in a score I received as musicXML. There where

Re: Color tweaks (edition engraver)

2015-04-27 Thread Jan-Peter Voigt
Hi Joram, hi Urs, I shall add this to my todo list. Hope to be able to work on it. Cheers, Jan-Peter Am 27. April 2015 17:51:31 MESZ, schrieb Noeck noeck.marb...@gmx.de: Hi Urs, thanks. I hoped it was easier. But then I will just color them by hand. Cheers, Joram

Re: Survey: Large scores

2015-04-16 Thread Jan-Peter Voigt
Hi Urs and all, I recently created a full score (and parts for instruments, solists and choir) for a new reconstruction of J.S.Bachs Passionsmusik nach Marco, BWV 247. That was a bit more than 200 pages on B4 paper size. The setting is flute I+II, oboe I+II (with parts da caccia, d'amore),

Re: (hypothetical) Availability of LilyPond engravers

2015-04-16 Thread Jan-Peter Voigt
Hi Urs, well at times I try to earn some money with lilypond. And sometimes I do. But it is far less than it needs to be, so that I don't need to work in other fields. But you can count me in, if you need someone ;) Best, Jan-Peter Am 16.04.2015 um 20:03 schrieb Urs Liska: Hi all,

Re: undefined

2015-04-17 Thread Jan-Peter Voigt
Hi Calixte, it should be possible to create an engraver that solves this. The following things to keep in mind for that: You can set the properties, which trigger melismas \set melismaBusyProperties = #'(melismaBusy slurMelismaBusy tieMelismaBusy beamMelismaBusy) If slurMelismaBusy and

vero vio MEI to SVG

2015-06-12 Thread Jan-Peter Voigt
Hello list-members, this is just a short note about something, I came across these days. There is a library to convert MEI-xml to SVG: http://www.verovio.org/index.xhtml Lilypond can of course produce SVG by itself. But as mentioned on the website, the verovio-API invites to produce other

Re: problem to code page-numbers

2015-08-14 Thread Jan-Peter Voigt
Hi Harm, the markup-code in the footer and header is called several times for each page. I can't tell you why and how often, (but I think it should be 3 times ;) ) but you might keep track of the processed page. So you might check, if you checked the current page. Cheers, Jan-Peter Am

Re: music function with access to context properties like currentBarNumber?

2015-07-16 Thread Jan-Peter Voigt
Hi Malte, Abraham, if I knew how to achieve it, it would already be part of the edition-engraver. The problem is, that one has to unfold the music expression during iteration, so he may need to build a parallel music iterator, that creates the needed grobs. That sounds misleading. Another

Re: [feature-request] optional duration for temporary

2015-11-11 Thread Jan-Peter Voigt
Hi Kieren, et.al., David came up with a nice solution :) To get such a function with the edition-engraver, we will have to integrate some other piece. The proposed solution works horizontal in time, while the edition-engraver is triggered "vertically" in time. So there has to be an event,

Re: RFC: new location for openLilyLib repository

2015-11-12 Thread Jan-Peter Voigt
Hi Urs, this is a great idea! This would mean development of an API for plugins/modules - and anybody can develop against that API ... I am at work right now, so now for short: The solution c would be nice, but I would say, we should stay on github ... we have other work to do and life

Re: RFC: new location for openLilyLib repository

2015-11-12 Thread Jan-Peter Voigt
Am 12.11.2015 um 19:38 schrieb Urs Liska: Am 12. November 2015 17:56:51 MEZ, schrieb Jan-Peter Voigt <jp.vo...@gmx.de>: Hi Urs, this is a great idea! This would mean development of an API for plugins/modules - and anybody can develop against that API ... Well, actually this is more o

Re: Printing movement titles in page header

2015-07-09 Thread Jan-Peter Voigt
Hi Mark, I know this issue and wrote and use some code which tracks the current toc entry. The bad thing - of course this is a good thing ;) - I am employed in a full time job with absolutely no relation to lilypond, so I can't say, when I am able to discover the magic ... Just for

Re: Apply \editionMod to grace note

2015-12-31 Thread Jan-Peter Voigt
Hi Urs and Kieren, why it doesn't work on voice-level, I can't tell (right now), but at least I also came across that issue (is it an issue?). But addressing partials and grace-notes in time works the that way. There are two (for me) workable edition-engraver-versions, which are able to

Re: can a \tweak be applied via the edition-engraver?

2015-12-30 Thread Jan-Peter Voigt
Hi Kieren, the state of this issue is - sadly - the same as months ago ... I thought about it the last weeks and have code in my head, but I can't offer a usable solution right now. For now all the best for you and all readers on this list for 2016! You will hear more on this topic ASAP!

Re: Apply \editionMod to grace note

2015-11-26 Thread Jan-Peter Voigt
Hi there, late to the party ;) Yes, the edition-engraver waits for a moment in time! In fact all notations like 1/4 are just shortcuts, which are directly converted to a ly:make-moment statement. And of course it also accepts direct input of a moment. So, as you already noticed, you can address a

Re: Apply \editionMod to grace note

2015-11-26 Thread Jan-Peter Voigt
Hi Kieren, the context-id thing is in my lalily-version. There have been issues, which prevented it from appearing in openLilyLib. This relative moment feature would be a thing, I also really like to have/implement. I don't typeset that much polymetric pieces, but it would be very helpful ... I

Re: Apply \editionMod to grace note

2015-11-26 Thread Jan-Peter Voigt
Am 26.11.2015 um 17:26 schrieb Kieren MacMillan: > Hi Jan-Peter, > >> the context-id thing is in my lalily-version. There have been issues, >> which prevented it from appearing in openLilyLib. > > Anything I can test or help with? I have to update the branch, in which I included the change. And

Re: Testing requested: new manuscript viewer tool for Frescobaldi

2015-11-18 Thread Jan-Peter Voigt
Hi Urs, this is indeed a nice feature :) For now, I will run from that branch, until its merged ... But still I won't open frescobaldi that often until xmas, when my current job is done. Thanks for this tools! Best, Jan-Peter Am 17.07.2015 um 16:41 schrieb Urs Liska: > Hi all, > > Peter Bjuhr

Re: Problem understanding subdivided beam

2015-11-19 Thread Jan-Peter Voigt
Hi Urs, I don't have a solution, but a hint: in 2.18.2 stable, the beaming is correct - maybe its a bug in 2.19.x? Cheers, Jan-Peter Am 19.11.2015 um 09:42 schrieb Urs Liska: Hi, I have a problem getting a beam subdivision right, and I can't seem to find a solution in the manual: I have

Re: MIDI and template for dynamics

2016-05-30 Thread Jan-Peter Voigt
Hi Kaj, perhaps it doesn't matter that its named, but dynamics are in a separate voice context? You might try instead: \new Voice = "SA" << \Music \Dynamics >> Just a thought ... HTH Jan-Peter Am 30.05.2016 um 10:28 schrieb 70147pers...@telia.com: Hi all, Using a template for dynamics

Re: MIDI and template for dynamics

2016-05-30 Thread Jan-Peter Voigt
taff, and also other things. The question remains however, if the first attempt with the dynamics as a separate voice is working for the printed score, why does not this information go into the MIDI file, when any of the voices is named. /Kaj Den 2016-05-30 10:34, skrev Jan-Peter Voig

Re: MIDI and template for dynamics

2016-05-31 Thread Jan-Peter Voigt
Hello Kaj, while writing my last message, I was distracted and in a hurry ;-) Am 31.05.2016 um 08:33 schrieb Kaj Persson: Sorry, I do not exactly understand the intention of your proposal. I am almost always using two \score sections, one for the midi and one for the layout (pdf). There are

Re: feature request: abs-fontsize available for all text grobs

2016-02-03 Thread Jan-Peter Voigt
Dear Kieren, sorry for the delay. I am organising school - holiday for my kids I think, mainly I have been distracted from preparing a patch. I feel a little bit like a minister of finance seeing debts grow ;-) So this mail serves pushing it on the agenda again. Regards, Jan-Peter Am 1.

Re: Storing a bookpart in a variable

2016-02-25 Thread Jan-Peter Voigt
Hi Vaughan, you have to wrap the scheme-expression in another \bookpart{} statement and use "instant" scheme expressions with a '$'-sign for this to work: %% ... \book { \bookpart { $(if (string-contains compileTheseMovements "1")

Re: Edition-engraver: Multiple editions in same file

2016-01-24 Thread Jan-Peter Voigt
Hi Ben, I was about to write about the three dimension to watch. But I have to think about it, if I can change this. For now there will one set of editiontags per compilation. So every call to \addEdition and \removeEdition will affect the list of active modification-layers for the whole run.

Re: variables in \book { }

2016-02-17 Thread Jan-Peter Voigt
Hi Graham, I didn't went through the whole thread, but IIUC, the problem is about defining variables inside a pair of braces. Sometimes I use a helper function to define variables: %%% snip %%% \version "2.19.35" % a little helper function using ly:parser-define! pdefine =

Re: variables in \book { }

2016-02-17 Thread Jan-Peter Voigt
... better to use define-void-function %%% snip %%% pdefine = #(define-void-function (sym val)(symbol? scheme?) (ly:parser-define! sym val)) %%% snip %%% Cheers Jan-Peter Am 17.02.2016 um 10:56 schrieb Jan-Peter Voigt: > Hi Graham, > > I didn't went through the whole thread,

Re: Alternative notation and lilypond

2016-03-09 Thread Jan-Peter Voigt
Hello Philip, the engravers are consisted in different contexts. You can remove them in a layout block in the Staff context (not PianoStaff). HTH Jan-Peter \version "2.19.38" %Piano_Tab template \header { title =

Re: Voices and Edition Engraver

2016-03-11 Thread Jan-Peter Voigt
Hi Graham, polymetric scores are supported right now. The EE uses the current Timing-Context to get the currentBarNumber and measurePosition. So the problem is, to find the right barnumber/measure-pos for the editionMods. Kieren and Urs suggested to enter mods with a timing info like two

Re: Voices and Edition Engraver

2016-03-11 Thread Jan-Peter Voigt
... I wrote an engraver, that displays the currentBarNumber for the current Staff. I once used that as an interim solution to get the needed timing info. I am going to send it after the weekend. Best Jan-Peter Am 12. März 2016 08:38:51 MEZ, schrieb Jan-Peter Voigt <jp.vo...@gmx.de>: >

Re: Voices and Edition Engraver

2016-03-11 Thread Jan-Peter Voigt
Hi Samuel, I am aware of this issue and hope to find a solution, while rewriting the EE. Most times, I can address the Staff context to apply the tweak. It seems, that the "start-timestep" slot is not called in some circumstances. For now, best Jan-Peter Am 11. März 2016 21:48:27 MEZ, schrieb

Re: Controlling compilation

2016-04-11 Thread Jan-Peter Voigt
Hi David, compileA is not compiled, because it is just a music-expression inside a scheme-expression. But if you add it to the current book, it will appear. So your example will work with a tiny extension: #(if sectionA (add-score #{ \compileA #} )) But you should look around for templating

grace-note spacing and triplets

2016-03-22 Thread Jan-Peter Voigt
Hi all, I have a problem spacing grace notes under a series of triplets. In the example, the grace notes produce a big gap between the tuplets or collide with the accidentals. As this situation is evident a few times, I will probably use extra-offset and place either the grace notes or the

Re: Spacing with \new Lyrics and a full measure rest.

2016-03-01 Thread Jan-Peter Voigt
Hi Simon, great snippet :-) just a comment - you can make the BarLine transparent: \override BarLine.transparent = ##t HTH cheers Jan-Peter Am 01.03.2016 um 11:37 schrieb Simon Albrecht: \layout { \context { \Lyrics \override BarLine.bar-extent = #'(-0.0001 . 0.0001) } }

Re: Consist engraver within loop

2016-03-09 Thread Jan-Peter Voigt
Hi Urs, try this line: #(eval ctx (current-module)) Of course normally eval is evil, but in this case you just evaluate the name - the symbol - to the definition, which is stored under that name inside the scope of the layout block. HTH Jan-Peter Am 09.03.2016 um 09:02 schrieb Urs Liska:

optimizing ties

2016-04-05 Thread Jan-Peter Voigt
Hi list, I am working on a large score with several ties. You might have read about Janek's thoughts on a tie-crusade and maybe this is related. I don't have a perfect solution on this topic, but I could reduce the needed shape-tweaks significantly. I want to share it - probably it helps one

Re: grace-note spacing and triplets

2016-03-23 Thread Jan-Peter Voigt
Simon Albrecht: Hi Jan-Peter, On 22.03.2016 15:10, Jan-Peter Voigt wrote: Hi all, I have a problem spacing grace notes under a series of triplets. In the example, the grace notes produce a big gap between the tuplets or collide with the accidentals. It’s an annoying bug that this isn’t

Re: grace-note spacing and triplets

2016-03-23 Thread Jan-Peter Voigt
4' instead of '\once \omit Rest r16*3/2'. Thank you for these thoughts/snippet! Cheers Jan-Peter Am 23.03.2016 um 01:31 schrieb Thomas Morley: 2016-03-22 15:10 GMT+01:00 Jan-Peter Voigt <jp.vo...@gmx.de>: Hi all, I have a problem spacing grace notes under a series of triplets. In the ex

Re: Using strings and other types to return markup

2016-05-11 Thread Jan-Peter Voigt
Hi Phil, you just need to remove the parens around 'theText'. Also inside (markup ...) everything is interpreted as a parameter for the function (macro or whatever) 'markup' and evaluated as a scheme-expression for thet purpose. HTH Jan-Peter #(define-markup-command (do-tilde layout props

Re: Generating music expressions from within \applyContext?

2016-07-25 Thread Jan-Peter Voigt
Hi, I haven't a working solution, but some thoughts: The \applyContext is one event in time, so you can set context-properties *once*. This might be a case for a midi-performer. This is an engraver inside the midi-block, so it should be possible to create a scheme-performer to set the

<    1   2   3   4   5   6   >