Re: rhythm marks

2010-10-26 Thread Jan-Peter Voigt
Hello Ole, Xavier missed a pair of braces {}. But it is a very interesting example, so I made it compilable in 2.12.3 (stable) - see below. In this snippet I use a rehearsal \mark instead of \tempo, because with \tempo the alignement fails in 2.12.3 ... it is left aligned to the start of

markup fromproperty footer

2010-10-27 Thread Jan-Peter Voigt
Hello List, I wish to fill the footer of a book containing several pieces with Composer, Title *and* Piece. I do this regularly without the piece-info ... --snip-- \paper { oddFooterMarkup = \markup { \fill-line { \concat { \fromproperty #'header:composer , \bold \fromproperty

Re: markup fromproperty footer

2010-10-30 Thread Jan-Peter Voigt
Hello Michael, thanks for your answer! I wish to set several scores in one bookpart, because sometimes there should be more than one score on a page. So my question should be, how can I access header fields in a distant/different scope. I found one snippet:

Re: markup fromproperty footer

2010-11-01 Thread Jan-Peter Voigt
Hello Michael, If I could extent that to the scope of the current typesetted score, it might do what I want. Here I do not understand how this can help you. What is a big deal to access (to read) upper header in your case? I want to read the score-header on a level - the footer -

footnote example

2010-11-05 Thread Jan-Peter Voigt
Hello list, here is a snippet, wich creates footnotes. It is not tested very much!!! If you like, try it and tell me how it works! If you have improvements, tell the list :-) I don't know what happens, when you use it extensibly in a large book with several pages - if there are X pages and Y

Re: footnote example

2010-11-05 Thread Jan-Peter Voigt
fine? But it points to an inherent problem. The markup-stencil is of a fixed size. If it is filled with too many notes on one page, the markup might cross stencil/page borders. Regards, Jan-Peter On 05.11.2010 16:30, -Eluze wrote: Jan-Peter Voigt wrote: Hello list, here is a snippet

Re: footnote example

2010-11-06 Thread Jan-Peter Voigt
Hi Eluze, wouldn't it anyway be nicer to have each item on an own line, as well as the composer and title? you can achieve this with \column { {note1} {note2} {note3} … } and - if necessary - add a \wordwrap for each item. the problem is the fixed spacing. Lily can't change

do it once in scheme if you include twice

2010-11-16 Thread Jan-Peter Voigt
Hello folks, I searched a little bit, to get something like the #ifndef stuff in a C-Header into some lily-files I include regularly. Now I worked it out myself and I'd like to share it: --snip-- % % included from somewhere #(if (not

Re: lyrics notgoing with triplet

2010-11-25 Thread Jan-Peter Voigt
Hello Jay, with \autoBeamOff the melismaBusyProperty is set beam sensitive, so your manual beams span a melisma. But you can control this behaviour with \set melismaBusyProperties = #'() In this vector you can specify any of #'(melismaBusy slurMelismaBusy tieMelismaBusy beamMelismaBusy)

Re: Problem with ragged-last and verse numbers

2010-12-01 Thread Jan-Peter Voigt
Hello Athanasius, this is an interesting problem! I first thought, you just had to change ragged-last to ##f . This is what Lilypond says to *not* compress or rag the last line - so it stretches to the end. This does not help. And you probably tried this already. I found a workaround-solution

Re: Problem with ragged-last and verse numbers

2010-12-01 Thread Jan-Peter Voigt
Hello once again, I forgot to mention to add an empty \markup in the last verse. Otherwise the amen-extender will not look nice and complain while compile. And I misunderstood your stanza question first. I saw Wilbert answered that this minute. I copied \set stanza in every line, so every

Re: Problem with ragged-last and verse numbers

2010-12-01 Thread Jan-Peter Voigt
Hello Eluze, it seems that ragged-last shoul be used in the \layout block! thanks. So my solution with the hidden note is an unneeded hack! I often underestimate the layout block ;-) Regards, Jan-Peter ___ lilypond-user mailing list

Re: Problem with ragged-last and verse numbers : Slight Return

2010-12-02 Thread Jan-Peter Voigt
Hello Athanasius, I removed the hidden notes ... then I changed the verse-number-function: verseNumber = #(define-music-function (parser location number name shortname) (string? string? string?) #{ \set stanza = \markup \smaller \italic $number \set vocalName =

Re: Problem with ragged-last and verse numbers : Slight Return

2010-12-02 Thread Jan-Peter Voigt
Nice :) You're welcome! Jan-Peter Am 02.12.2010 um 15:13 schrieb Br. Athanasius Pelletier athp...@gmail.com: Thanks for your help! I now have it exactly how I wanted it. Ath On Thu, Dec 2, 2010 at 5:20 AM, Jan-Peter Voigt jp.vo...@gmx.de wrote: Hello Athanasius, I removed

Re: Unexpected \markup behavior

2010-12-13 Thread Jan-Peter Voigt
Hello Ralph, the \halign aligns all markups and stacks them. If you want to align the whole dynamic expression, make it a single markup with \line or \concat: d4_\markup { % negative value to right align, so that the forte is near the corresponding note \halign #-0.5 {

dynamic alignment

2010-12-13 Thread Jan-Peter Voigt
Hello list, I wrote a script to align dynamics centered on the corresponding note: --snip-- \version 2.12.3 % calculate x-alignment based on attribute text + dynamic text #(define-markup-command (center-dyn layout props atr-text dyn)(markup? string?) x-align on center of dynamic (let* (

Re: dynamic alignment

2010-12-16 Thread Jan-Peter Voigt
Thank you Neil, so I applied this to my little script and will post this to LSR :-) The question of Ralph Palmer (Unexpected \markup behavior) made me think of this. So my next step is to build this with a whiteout-option. Simple whiteout is trivial, but with padding, there has to more

Re: ways of using Lilypond?

2010-12-19 Thread Jan-Peter Voigt
Yes, Frescobaldi is a great tool! Also for advanced users! It made me change my main working system from Mac to Ubuntu. On my netbook, I sometimes use vim. My wishlist this christmas would be ;-) Frescobaldi or something comparable on Mac Git-Integration in Frescobaldi - well, using the console

Re: ties through parallel construction

2011-01-11 Thread Jan-Peter Voigt
Hello, like Phil already wrote, ties can't change voices. The ... \\ ... construct creates two new voices. If you have { ... } \new Voice { ... } the first part continues the current voice and you can tie notes: { d a'2 ~ cis a' ~ { \voiceTwo \stemDown d a' } \new Voice { \voiceOne

Re: instrumentName in StaffGroup

2011-01-14 Thread Jan-Peter Voigt
does not consist the instrument name engraver. Is here odc update needed? Or is this covered e.g. in the learning manual? Regards, Jan-Peter Am 14.01.2011 um 09:58 schrieb Federico Bruni: 2011/1/14 Jan-Peter Voigt jp.vo...@gmx.de Hello Frederico, a StaffGroup does not contain an instrument

label and page-ref within music

2011-01-14 Thread Jan-Peter Voigt
Hello List, I stumbled across a thing with label and page-ref. Labels are used to create the table of contents and I use them in my little footnote snippet ( http://lsr.dsi.unimi.it/LSR/Item?id=728 ) If the label is created on a barline, everything is fine. if it is created somewhere within a

when/where/wy is a label for page-ref created?

2011-01-17 Thread Jan-Peter Voigt
barline. How do I avoid this? Or is there a better solution? Best regards, Jan-Peter On 14.01.2011 14:27, Jan-Peter Voigt wrote: Hello List, I stumbled across a thing with label and page-ref. Labels are used to create the table of contents and I use them in my little footnote snippet ( http

Re: Using lyrics in a markup

2011-01-18 Thread Jan-Peter Voigt
Hello List, this is a very cool snippet! I also thought of trying this excersize ... perhaps tomorrow ;-) I think it should be posted to LSR! There is one thing I tried: If you have markups in your lyrics: words = \lyricmode { This is my ex -- am -- ple \markup { \italic text } } this

Re: how to add punctuation mark (or other things) at the end of lyricextender?

2011-01-18 Thread Jan-Peter Voigt
Hello Janek, I once had a situation where I wanted to put a closing 'n' somewhere on the extender. This is used in some more modern choir-pieces I typesetted. So this is a little bit off your topic but perhaps its still related. I wrote a little function: --snip-- freetext =

Re: Using lyrics in a markup

2011-01-19 Thread Jan-Peter Voigt
Hello scheme-gurus, nr. 744 is bookmarked ;-) There's one more thing. I tried the verse-command and it works nicely, but it will wrap lines: say you have a stanza like this --snip-- strI = \lyricmode { \set stanza = 1. Toch -- ter Zi -- on, freu -- e dich, jauch -- ze laut, Je -- ru -- sa

Re: Using lyrics in a markup

2011-01-20 Thread Jan-Peter Voigt
Congratulations and thank you very much! :-) The first desired output would be nice, but in that case one has to use line by line input of the lyrics. I think thats OK for church songs like this one. But there are many cases, where I just want a justified markup of the lyrics. Best regards,

Re: Using lyrics in a markup

2011-01-20 Thread Jan-Peter Voigt
What do you think of allowing to define a additional line break character, for example ¶, which could be filtered out within \lyricsmode, and used as a newline in the \verse? Thats a good idea! So your input will look like \override Lyrics #'ignore-chars= #'(¶) % this is pseudo code! Lets

Re: Using lyrics in a markup

2011-01-21 Thread Jan-Peter Voigt
a variable with the lyrics including the newlines. Then use it filtered with \lyricsto and markedup with \verse. Best regards, Jan-Peter. Am 20.01.2011 um 16:35 schrieb jakob lund: 2011/1/20 Jan-Peter Voigt jp.vo...@gmx.de: What do you think of allowing to define a additional line break character

Re: Using lyrics in a markup

2011-01-23 Thread Jan-Peter Voigt
Hello and thank you Jakob, hello list, this piece is a great work. It compiles well in 2.13(.47 lilybuntu) and adds a very useful function to lily! The .ly is attached again, because I think it is good to have it on the devel-list. I would like to add it to LSR to have it in the main distro

Re: Using lyrics in a markup

2011-01-24 Thread Jan-Peter Voigt
Hi Jakob, hello list, I was about to answer with my 2.12-version ;-) It is essentially like your version (using let and assoc props ...) but yours is open for override extension ... Now its posted to LSR and has to be approved. Best regards and cheers! Jan-Peter On 24.01.2011 10:35, jakob

Re: Using lyrics in a markup

2011-01-24 Thread Jan-Peter Voigt
Hi, On 24.01.2011 13:22, jakob lund wrote: By the way, the first version (no line breaks) is here http://lsr.dsi.unimi.it/LSR/Item?id=744 might as well just update that entry if possible? This has to be done by an LSR-administrator ;-) If someone is able and willing to do this, go ahead and

Re: Using lyrics in a markup

2011-01-24 Thread Jan-Peter Voigt
Hello Phil, I posted the improved version this morning with a bit more text about the possible overrides. So you can approve that and delete the old one or copy either the code of the new snippet (or the attached one) to the old and delete the new one. ... huh??? OK, I try once more ;-) -

Re: Using lyrics in a markup

2011-02-08 Thread Jan-Peter Voigt
: Am 24.01.2011 15:33, schrieb Jan-Peter Voigt: Hello Phil, I posted the improved version this morning with a bit more text about the possible overrides. So you can approve that and delete the old one or copy either the code of the new snippet (or the attached one) to the old and delete the new

Re: Scheme : compiling text and score sequences

2011-02-09 Thread Jan-Peter Voigt
Hello Bertrand, I reworked this snippet a little bit to display asterisks instead of numbers. This is the way we usually see those little footnotes in published notes - but it still faces a similar problem: If you have several staffs, the remarks are ordered first in system- *then* in

Re: Scheme : compiling text and score sequences

2011-02-09 Thread Jan-Peter Voigt
It may be totally unrelated but that reminds me of this: http://lists.gnu.org/archive/html/bug-lilypond/2010-12/msg00425.html Cheers, Xavier Hi Xavier, this is related to the footnote snippet ... if you have footnotes at a pagebreak, the footnote might be on the wrong page. For these

Re: modular markup and arguments

2013-11-06 Thread Jan-Peter Voigt
Hello all, I didn't follow the discussions about temporary and push-+-pop. Is there a simple explanation for the indroduction of \temporary? Why does \override-\revert now has to be \temporary\override-\revert? AFAICS it was introduced sometime in the 2.17 development and it will be for better

Re: modular markup and arguments

2013-11-06 Thread Jan-Peter Voigt
ah, thank you, now I see. I didn't ran into this before or probably just wondered, why it doesn't work as I expected and then did something else. Best, Jan-Peter Am 06.11.2013 10:33, schrieb David Kastrup: If you use \override/\revert as previously, the behavior will be as previously: any

Re: modular markup and arguments

2013-11-06 Thread Jan-Peter Voigt
Aha, thank you! I wasn't aware of this before. Best, Jan-Peter Am 06.11.2013 10:29, schrieb Urs Liska: \override and \revert a property will result in the default value of that property \temporary\override and \revert will result in the value the property had before the override, but not

Re: Learn from Finale 2014 (seriously)?

2013-11-14 Thread Jan-Peter Voigt
Hi Urs, there is a snippet in LSR: http://lsr.dsi.unimi.it/LSR/Item?id=336 which did this for a long time. To me it seems, that finale learned from lilypond ;) I adapted it and integrated it in my own always-to-load-extensions and use it in all my choral transcriptions. Best, Jan-Peter Am

Re: Learn from Finale 2014 (seriously)?

2013-11-14 Thread Jan-Peter Voigt
Hi Joseph, Am 14.11.2013 14:45, schrieb Joseph Rushton Wakeling: Please note that multi-measure rests are not automatically combined. there is an update of this snippet in the mail archives and I will post my version later. In addition, it hardly matches the ease of the Sibelius/Finale

Re: Move accidental closer to the note

2013-11-18 Thread Jan-Peter Voigt
Am 18.11.2013 12:31, schrieb Janek Warchoł: Accidentals look good, but they spacing won't improve as this is using extra-offset :-( Hi guys, this is just a short try: the lowest cautionary is slightly moved down and *important* the Y-extent of the middle cautionary is tweaked. This way, the

Re: columns in markup-command

2013-11-18 Thread Jan-Peter Voigt
Hi Kevin, you can make it a bit easier, if you enter the markup in a #{#} construct: %% #(define-markup-command (extender layout props) () #:properties ((xLength 4)) (interpret-markup layout props #{ \markup \concat { V

Re: The ultimate slur shaping function.

2013-11-24 Thread Jan-Peter Voigt
Hi Janek, this looks really great. I use some shortcuts, wrapping \shape, in my typesettings - this might move it foreward a lot! And probably I have an idea. Best, Jan-Peter Am 25.11.2013 01:42, schrieb Janek Warchoł: Hi all, I'm proud to announce the beginning of a new era in tweaking

Re: Discussion: automatic engraving and single-source publishing

2013-11-26 Thread Jan-Peter Voigt
Hello all, I am used to this topic. And I made up my own tool, which is working for me, but should be called experimental. I always hesitate to post my github link, because its not well formed/documented and a mixup of totally different things ... but there is one engraver, which actually deals

Re: Discussion: automatic engraving and single-source publishing

2013-11-26 Thread Jan-Peter Voigt
Am 26.11.2013 11:31, schrieb Jan Nieuwenhuizen: Sure. For that reason, I consider much of the time spent on tweaking and tweaking tools a waste of lifetime better spent on trying to get the automatisms right. Of course, that option is harder and requires different resources. But it only

Re: Discussion: automatic engraving and single-source publishing

2013-11-26 Thread Jan-Peter Voigt
Am 26.11.2013 14:28, schrieb Urs Liska: In what way do you consider it experimental? I don't like the current way of addressing the contexts. I still have to first look in the created *.edition.log file, to see, under which path the context is addressed. This is OK for me, but I don't know, how

Re: Discussion: automatic engraving and single-source publishing

2013-11-26 Thread Jan-Peter Voigt
Am 26.11.2013 14:41, schrieb Carl Sorensen: In my former answer to Urs' post, I talked about the engraver I use. Here's the idea behind it again: - I have my music stored, to recall it when I actually engrave it. - I want to be able to say: Modify item x in measure n on moment m with

Re: Discussion: automatic engraving and single-source publishing

2013-11-26 Thread Jan-Peter Voigt
Am 26.11.2013 15:04, schrieb Jan-Peter Voigt: and right docs sooon I meant write docs soon ... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Discussion: automatic engraving and single-source publishing

2013-11-26 Thread Jan-Peter Voigt
Hi Kieren, On 26.11.2013 15:38, Kieren MacMillan wrote: As someone who is experimenting with polymetric music (i.e., with non-aligned bar lines), please consider — and try to handle gracefully — such situations. (That is to say, “measure-moment-context” must be Voice-, or at least Staff-,

Re: Default bar numbers

2013-11-26 Thread Jan-Peter Voigt
Hi, the break happens in the middle of a measure. The break is possible here, because there is an implicit repeat barline. To let the barnumber show up, you can do an override at the next barline. Am 26.11.2013 20:32, schrieb Patrick or Cynthia Karl: Even though the default is for bar

Re: Hook like \AtEndDocument

2013-12-03 Thread Jan-Peter Voigt
Hi Urs, Am 03.12.2013 11:12, schrieb Urs Liska: OK, trying to digest this. Do I get this right when I say: - write a function annotate to be used in the main input file. This function saves some information (say location plus a comment) to an internal structure that is defined

Re: type of location argument

2013-12-04 Thread Jan-Peter Voigt
Am 04.12.2013 14:58, schrieb Urs Liska: Hi, next helpless question: what Scheme type is the location argument used for Scheme functions? (write)ing location gives Hi, its: ly:input-location? HTH ___ lilypond-user mailing list

Re: type of location argument

2013-12-04 Thread Jan-Peter Voigt
Am 04.12.2013 15:04, schrieb Urs Liska: Hi, its: ly:input-location? HTH Unfortunately not (TH). This is what redirects me to Input * unsmob_input (SCM s) { if (SCM_IMP (s)) return 0; if (SCM_CAR (s) == (SCM)input_tag) // ugh. return (Input *) SCM_CDR (s); else

Re: Get context in Scheme function (determining current moment)

2013-12-04 Thread Jan-Peter Voigt
Am 04.12.2013 17:01, schrieb Urs Liska: My \annotate function should also store the position in the score (to print that out and to sort by it). So when I use the function in the input file it should store location elements and current measure and measure position in several variables. so yout

Re: Extending LilyPond with packages

2013-12-06 Thread Jan-Peter Voigt
Hi Urs and all, I really have to document, what I did with my packages and what ideas are behind them. It would need /some/ way to make them a public usable product, meaning, it has to be documented and a little bit restructured, but it has a lot of the mentioned features. So I try to summarize

Re: Unaccepted #t

2013-12-09 Thread Jan-Peter Voigt
Hi Tom, Am 09.12.2013 14:05, schrieb Tom van der Hoeven: \override NonMusicalPaperColumn #'line-break-permission = #'force \override NonMusicalPaperColumn #'page-break-permission = #'allow this solves the problem, but is is strange that \override NonMusicalPaperColumn

Re: centering title and THEN adding something to the left of it

2013-12-16 Thread Jan-Peter Voigt
Hi Kieren, this is how I might do it: use combine to place the number above the title line, so it doesn't disturb its centering. %%% \version 2.17.29 \paper { bookTitleMarkup = \markup \fill-line { \abs-fontsize #18 \fromproperty #'header:title } scoreTitleMarkup = \markup \center-column {

Re: calling all opera/musical engravers

2013-12-17 Thread Jan-Peter Voigt
Hi Kieren, I did a lot of choral pieces. In November there was a public performance of Der einhundertvierte Psalm of Engelhard Barthe (1906-1977, musician at St.Katharinen in Hamburg, Germany, until destruction in world war II) in Hamburg, where I produced (co-working with Barthe's family) all

Re: snippet: standard staff sizes

2014-01-06 Thread Jan-Peter Voigt
Am 06.01.2014 13:37, schrieb Kieren MacMillan: Just in case it helps anyone else, here’s a little snippet I made up to generate the standard staff sizes (as per Gould p. 483). Thank you :) ... and a happy new year! ___ lilypond-user mailing list

Re: multi-column markup function/macro?

2014-01-06 Thread Jan-Peter Voigt
Hi Kieren, I usually use [xe]latex, to produce the text needed for a preface or foreword. That way I can use latex input with its own commands - in this case: \twocolumn - and use hyphenation. It is integrated in https://github.com/jpvoigt/lalily (latex.scm, latex-init.scm). If you are

Re: how close are we to having an addAt or insertAt feature?

2014-01-15 Thread Jan-Peter Voigt
-Peter Voigt wrote: Hi Kieren and all, I use an engraver for this task, that looks for overrides, sets and clefs at the current measure (of the context consisting this engraver) and at the current moment inside this measure. So this is a little bit different from your example in that it listens

Re: multi-column markup function/macro?

2014-01-15 Thread Jan-Peter Voigt
Hi Kieren, I have extracted the latex-markup commands. At the end of the file is a little example. There are three ways to produce the latex source: 1. use a markup-list, which is converted with markup-tex: \xelatex { ... } 2. include a file with tex-content: \xelatexInclude #filename 3. use a

Re: multi-column markup function/macro?

2014-01-15 Thread Jan-Peter Voigt
On Wed, Jan 15, 2014 at 4:12 PM, Jan-Peter Voigt jp.vo...@gmx.de mailto:jp.vo...@gmx.de wrote: Hi Kieren, I have extracted the latex-markup commands. At the end of the file is a little example. There are three ways to produce the latex source: 1. use a markup-list

Re: how close are we to having an addAt or insertAt feature?

2014-01-16 Thread Jan-Peter Voigt
Hi Kieren, Am 16.01.2014 03:16, schrieb Kieren MacMillan: 1. What — if any — drawbacks are there? - if you use it without any template mechanism, you have to assign proper edition-engraver id-paths - I can't say, what that means in production. - right now it is just ripped out of my working

Re: multi-column markup function/macro?

2014-01-16 Thread Jan-Peter Voigt
So the tex-template doesn't suit (well) other environments then mine. Another thing I have to look at is: I use system to call the xelatex process. It might be better to use execp or exece. I'll investigate. It should be possible to use pandoc in the same manner. Pandoc can make use of

Re: how close are we to having an addAt or insertAt feature?

2014-01-20 Thread Jan-Peter Voigt
Hi Keith, Am 21.01.2014 05:56, schrieb Keith OHara: There is, of course, the simultaneous music construction with music = \global { s1*4 s8 s8 \once\override Score.RehearsalMark #'X-offset = #-1 \mark A } { s1*11 \mark12 } { s1*29 \mark30 }

running latex with system or execle

2014-01-22 Thread Jan-Peter Voigt
Hi list, I use xelatex (with fontspec to synchronize fonts with lilypond-pango) to create text-pages in my lilypond files. This is working quite well (for my needs), but with the update to 2.18, the styles of the century schoolbook font are lost. If I (don't remove and) compile the created

Re: bar-check warning when generating rehearsal midi soprano, alto, tenor etc

2014-01-23 Thread Jan-Peter Voigt
Hi MING TSANG, I think, there is just a typo. You give \sopranoVoiceI as last argument lyrics to the rehaersalMidi function. But that is the melody. \verseSopranoVoiceI are the lyrics. I changed that and the barcheck erros disappeared. HTH Jan-Peter On 23.01.2014 16:08, MING TSANG wrote: 1- I

Re: bar-check warning when generating rehearsal midi soprano, alto, tenor etc

2014-01-24 Thread Jan-Peter Voigt
Hello, yesterday I wrote about your variables, using the melody for lyrics, for example \sopranoVoiceI instead of \verseSopranoVoiceI \partial and rests in a Lyrics context lead to unexpectable(?) behaviour. I came on something else, which does not affect your file, but I just want to note it

Re: Auto-panner

2014-01-27 Thread Jan-Peter Voigt
Hi Vaughan, if global is a music-function calling autopan, it will evaluate it everytime. If global is a variable, its value is set, once it is assigned. So if you have to wrap it in music-function. If you always have a variable global containing all you need, you can wrap that in a function:

Re: Auto-panner

2014-01-27 Thread Jan-Peter Voigt
the order autopan is called. It might be a good idea to either use a performer (engraver in midi context) and/or to track context id's, so that each context is counted once. HTH, Jan-Peter On 27.01.2014 15:15, David Kastrup wrote: Jan-Peter Voigt jp.vo...@gmx.de writes: Hi Vaughan, if global

Re: Auto-panner

2014-01-27 Thread Jan-Peter Voigt
On 27.01.2014 16:54, David Kastrup wrote: autopan = #(define-scheme-function (parser location)() Why define-scheme-function when returning music? Perhaps this function had another meaning in the first place? I overlooked this, when injecting my ApplyContext lines. (begin (set!

Re: Auto-panner

2014-01-27 Thread Jan-Peter Voigt
On 27.01.2014 20:51, David Kastrup wrote: What about a closure? Won't be able to distinguish being called another time from the same output (\layout, \midi, \musicxml (this one's hypothetical yet), \addQuote...) or the next one. of course not ... I see Vaughans idea as a first draft ... and

Re: Repeat volta puzzle

2014-02-01 Thread Jan-Peter Voigt
Am 01.02.14 15:07, schrieb David Kastrup: Try upgrading LilyPond. Current versions get this right. You'll also need to remove the bar checks at the end of the alternatives as they are _not_ placed on a proper bar boundary. do they? If I compile this example with 2.18 (after using

Re: Repeat volta puzzle

2014-02-01 Thread Jan-Peter Voigt
On 01.02.2014 15:37, David Kastrup wrote: 2.19.0 captures the timing at the start of the first alternative and restores it at the end of each alternative (issue 355 in the tracker). Obviously, that's not a good idea at the end of the last alternative. 2.19.1 fixes that (issue 3792 in the

Re: Scorio and GPL

2014-02-19 Thread Jan-Peter Voigt
Hi Martin, I know scorio and talked to the developers at musicfair (Musikmesse) 2011 in Frankfurt (am Rhein, Germany). They do in fact use lilypond. But AFAICS they do not violate the GPL, because lilypond is not selled, just there service of engraving on scorios servers - or better, the

Re: Scorio and GPL

2014-02-19 Thread Jan-Peter Voigt
Am 20.02.2014 08:20, schrieb Martin Tarenskeen: Then at least I would say it would be more *gentleman-like* if they at least would mention LilyPond prominently on their website. +1 ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Lyrics formatting issue

2014-02-24 Thread Jan-Peter Voigt
Hello, I have a questions: Why are the hyphens between the syllables sysllables by itself with a text of -? I don't know, if this actually looks like you wish, but I think, you will come closer, if you use hyphens and melismata (see attached) HTH Jan-Peter On 24.02.2014 05:53, Antara-Prabhat

Re: how close are we to having an addAt or insertAt feature?

2014-02-27 Thread Jan-Peter Voigt
Hi Kieren, Am 27.02.2014 04:44, schrieb Kieren MacMillan: Hi Jan-Peter, ... Are you interested in taking up that challenge? =) yes, I am :) And I will answer more , when I left all infections behind, which my children brought from school and kindergarten ... I would love a dead-simple,

Re: how close are we to having an addAt or insertAt feature?

2014-02-28 Thread Jan-Peter Voigt
On 28.02.2014 09:43, David Kastrup wrote: Although my 3½ year old daughter has had several bouts of “day-care-itis” — and my wife picked it up several times — I’ve fortunately avoided all sickness this season. Well, as long as it isn't the six-legged variant of day-care-itis... ;)

Re: how close are we to having an addAt or insertAt feature?

2014-02-28 Thread Jan-Peter Voigt
Hi Kieren, On 28.02.2014 02:53, Kieren MacMillan wrote: Although my 3½ year old daughter has had several bouts of “day-care-itis” — and my wife picked it up several times — I’ve fortunately avoided all sickness this season. Best wishes, that it stays that way and that your wife is not

Re: how close are we to having an addAt or insertAt feature?

2014-02-28 Thread Jan-Peter Voigt
Hi Kieren, Am 28.02.14 17:01, schrieb Kieren MacMillan: Hi again, Any explanation for why \editionMod edition-engraver-name 2 1/4 edition-name.Staff.A \break I thought, it should work also in the Staff context. But it should at least work, if you address the Score context. \editionMod

Re: how close are we to having an addAt or insertAt feature?

2014-02-28 Thread Jan-Peter Voigt
Hi Kieren, sorry, I missed to mention the zero-based counting. We will propably find more of those black spots ... you are the first one, with whom I talk about using it ;) Well, fever is decending and I will have a cup of hot tea and some aspirin. In my first versions, I used one-based

Re: how close are we to having an addAt or insertAt feature?

2014-03-01 Thread Jan-Peter Voigt
Hi Kieren, I added a function editionMMod, which takes a list of positions. Function name and argument order should be chenged ... For now, the position-list replaces measure and moment. So \editionMod FTE-vocalbook 5 0/4 FTE-vocalbook-A.Score.A \break should be equal to \editionMMod

Re: Is this reasonable/playable (guitar)?

2014-03-07 Thread Jan-Peter Voigt
Hi Kevin, Am 07.03.2014 08:40, schrieb Kevin Tough: What application/software is used on linux to play the generated midi file. I have tried Movie Player, Tux Guitar, KGuitar and they all are missing components or crash. you might need to install a soundfont. For example fluid-soundfont-gm.

Re: markuplist and markup

2014-03-10 Thread Jan-Peter Voigt
Hi Simon, you can simply use column: \override #'(baseline-skip . 0) \column \table-of-contents (or left-column) and before that you can override line-width as needed. HTH, Jan-Peter Am 10.03.2014 14:52, schrieb Simon Albrecht: Hello, is there any possibility to include \markuplist

Re: Oskar Fried: the Big Bang

2014-03-12 Thread Jan-Peter Voigt
Hi Urs and Janek, congratulations! This will be recognized outside the oss-lilypond-world! For now, best wishes for friday, Best, Jan-Peter Am 11.03.2014 12:07, schrieb Urs Liska: Our edition of Oskar Fried's songs was elected BEST EDITION 2014 by the German Music Publishers' Association,

Re: short Musikmesse minutes

2014-03-20 Thread Jan-Peter Voigt
Hi Johan and all, this reminds me of an idea I had quite some time ago: A program like MuseScore might import lilypond either by a stream, created by lilypond, or via module calls made by a scheme-module which makes use of the musescores API. Now this is just an idea for the archives (who knows,

Re: short Musikmesse minutes

2014-03-20 Thread Jan-Peter Voigt
Am 20.03.2014 00:18, schrieb Kieren MacMillan: In my opinion, here — in order of importance — are the things we need to make established houses sit up and take notice: 1. Flawless MusicXML import and export. 2. Better “pixel-level” control of objects. 3. A finely-tuned stylesheet system.

edition-engraver and templates

2014-03-28 Thread Jan-Peter Voigt
Hello list, today I want to announce the edition-graver and lalily-templates in openLilyLib: https://github.com/openlilylib/snippets/tree/master/templates/lalily https://github.com/openlilylib/snippets/tree/master/editorial-tools/edition-engraver I invite you to test it. The examples compile

Re: The pleasantry of Lilyponding

2014-04-01 Thread Jan-Peter Voigt
Am 01.04.2014 16:41, schrieb Simon Albrecht: It’s like a mixture of a logical puzzle and a strategy game, with the pleasant side effect that it is not just for fun, but you get a result which can be ported to real life and has an actual use for other people! +1 IMO it is not only lilypond, but

Re: trouble with RemoveEmptyStaffContext

2014-04-01 Thread Jan-Peter Voigt
Hi Graham, you will most likely have a PianoStaff for the keys and a ChoirStaff or StaffGroup (or the like) for the choir. You can consist a grouping context (ChoirStaff,StaffGroup,...) with: \consists Keep_alive_together_engraver That way the whole group disappears only, if all

detecting current voice number (voiceOne/voiceTwo/...)

2014-04-03 Thread Jan-Peter Voigt
Hello list, I'd like to detect the current voice-number for the voice-context: for example it might be something like: \oneVoice - 0 \voiceOne - 1 \voiceTwo - 2 \voiceThree - 3 If I look at the horizontal-shift for the NoteColumn, I get \oneVoice - #f \voiceOne - 0 \voiceTwo - 0 \voiceThree - 1

Re: cleanly dealing with variables and reducing code duplication in multimovement works

2014-04-03 Thread Jan-Peter Voigt
Hi Saul, I faced the same situation you describe here. In a first ending there is my personal framework lalily: https://github.com/jpvoigt/lalily There are templates, which are the score blocks to instantiate, which reference the music in music-folders - or namespaces, if you like. And there are

Re: Fixed number of Systems on page

2014-04-03 Thread Jan-Peter Voigt
Hi Urs, Am 03.04.2014 11:54, schrieb Urs Liska: is it possible to enforce a specific number of systems on a specific page? For example to say: I want a given music (e.g. between two manual page breaks) on that page, but I also want to have it on 5 systems? with lilypond anything should be

Re: Fixed number of Systems on page

2014-04-03 Thread Jan-Peter Voigt
Great!!! Am 03.04.2014 15:03, schrieb David Nalesnik: I actually wrote another engraver which handles measures per line/systems per page. It looks like development found its way into a private thread, so I'm enclosing the result here. Hopefully the example in the file should give an idea

Re: Interspersed Staffs and ChoirStaffs

2014-04-10 Thread Jan-Peter Voigt
Hello Michael, On 10.04.2014 17:43, Michael Welsh Duggan wrote: I guess I now need some scheme that will determine the duration of a music expression and fill in rests in a particular voice (or voices) to suit. If anyone knows how to do that off-hand, please let me know. you can use the

Re: How to insert a number for fingering in embedded LilyPond?

2014-04-12 Thread Jan-Peter Voigt
Hi Thomas, I assume, you want to use this in some music-function ... (?) you can insert the displayed scheme-expression: %%% finger = #(define-event-function (parser location n)(integer?) (make-music 'FingeringEvent 'direction -1 'digit n)) { c''4\finger 2 } #(let ((n 4))

Re: How to insert a number for fingering in embedded LilyPond?

2014-04-12 Thread Jan-Peter Voigt
Hi Harm, I assume, you want to use this in some music-function ... (?) you can insert the displayed scheme-expression: %%% finger = #(define-event-function (parser location n)(integer?) (make-music 'FingeringEvent 'direction -1 'digit n)) { c''4\finger 2 } #(let ((n 4))

Re: Global tempo change

2014-04-14 Thread Jan-Peter Voigt
Hi, you just have to write out the tempo completly: global = { \tempo Allegro s1*2 \tempo Largo s1*2 \tempo Allegro } You can add this variable to any Staff by wrapping it in \new Staff \global { the music } You can use it in parts and add \key and \time commands, to have one global

<    1   2   3   4   5   6   >