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.

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: 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: 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: 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: 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-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: 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: 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: 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: 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: 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: 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

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: 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 }

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-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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: Globally disable transposition

2013-11-03 Thread Jan-Peter Voigt
Hello Joseph, I see, you just came up with your own solution. Just one thought: transpose is defined as a function with three arguments, pitch A and B and the music to transpose. I don't know if it is a problem. To avoid it you might use a function like this one: transpose =

Re: New, more powerful version of \shape!

2013-10-18 Thread Jan-Peter Voigt
Hi all, while I am not that active with lilypond these days (distracted from family and work ;) ), I'd like to be ... just my opinion on this topic: How can lilypond create the publication-quality slurs I or whoever wants? Yes, of course there is always room for making it better ... but IMO we

Re: How to get Staff context-id from a grob?

2013-10-11 Thread Jan-Peter Voigt
Hi Jan, AFAICS its not possible to get the context from a grob. It only points to the originating music-expression, which might be used in several contexts. You can get the current context-id, whenever you have a context, like in an engraver or in an applyContext statement: --snip-- % find a

Re: variables tied with slurs

2013-09-27 Thread Jan-Peter Voigt
Hello Alexander, the \drums command implicitly creates a new DrumStaff, so I recommend using \drummode for this purpose. If you have basic patterns, which shall receive random ties, you can create SimultaneousMusic with a construct and overlay the patterns with the needed ties: --snip--

Re: How to modify a syllable, if ~ (or _) is involved?

2013-09-27 Thread Jan-Peter Voigt
Hi Harm, this seems to be tricky, because the corresponding engraver seems to look for strings containig '~'. So a markup would have to be split ... a custom engraver might do it ... If the syllable is not a string, but a markup containing a string, containing ~, then put the right stencil in

Re: How to modify a syllable, if ~ (or _) is involved?

2013-09-27 Thread Jan-Peter Voigt
Am 27.09.2013 11:42, schrieb David Kastrup: Check the definition of \tied-lyrics in scm/define-markup-commands.scm ... so its easy ... \markup { \italic \tied-lyric #foo~ bar } and the documentation doesn't need improvement (IMO) http://www.lilypond.org/doc/v2.16/Documentation/notation/music

Re: convert-ly on Mac?

2013-09-25 Thread Jan-Peter Voigt
Hi Steve, if LilyPond.app is installed (copied) into /Applications/, you can call convert-ly directly from the console: /Applications/LilyPond.app/Contents/Resources/bin/convert-ly or you add /Applications/LilyPond.app/Contents/Resources/bin/ to your search PATH. HTH Cheers, Jan-Peter Am

Re: Reminder: LilyPond meeting in Waltrop, Germany, 2013-09-20 to 2013-09-24

2013-09-16 Thread Jan-Peter Voigt
Hello out there, I am not able to take the journey, though I'd like to. But are there possibilities to join in via skype, google or some webrtc link? Cheers, Jan-Peter Am 14.09.13 13:36, schrieb David Kastrup: This is a reminder that next weekend, Sept 20th to 24th, there will be a LilyPond

Re: printing actual ~ character in lyrics?

2013-08-20 Thread Jan-Peter Voigt
interesting ... markup \char ##x7e works for 2.16.2. HTH Jan-Peter Am 20.08.2013 10:15, schrieb Mark Polesky: I know it's an odd request, but what if I actually want the ~ character to print in lyrics? None of these work: ~ '~' \~ #~ ##\~ #(string #\~) Thanks. - Mark

Re: Text markup: vspace with negative number

2013-08-15 Thread Jan-Peter Voigt
Hi Jethro, you can use \override #'(baseline-skip . 0) \center-column {} to change the spacing. HTH Jan-Peter Am 15.08.2013 16:39, schrieb Jethro Van Thuyne: 'm trying to reduce the line width in a custom header template, having several lines combined in \center-column. I tried using the

Re: SMuFL

2013-08-09 Thread Jan-Peter Voigt
standard - IMHO this is a good thing - it is an open standard and lilypond might use any SMuFL compliant font. And that we don't forget it ;) musicXML export would also open lilypond for other uses. Jan-Peter Voigt ___ lilypond-user mailing list

Re: Steinberg's progress report on new notation software

2013-08-09 Thread Jan-Peter Voigt
Am 08.08.2013 14:09, schrieb David Kastrup: Well, if enough people only slightly overstep a line, it will disappear. I think it would make sense to expand on most followup thoughts in our own blog, once they can't be expected to be of much interest to Daniel. While he will be able to answer

Re: Steinberg's progress report on new notation software

2013-08-08 Thread Jan-Peter Voigt
I'm not that surprised. During the last few years I became something nerd-like. After beeing a Mac-User for a long time, I now only use Ubuntu or Debian and all its related tools for my everyday work. So for me using lilypond is a quite natural thing and I am getting better and quicker using

Re: Steinberg's progress report on new notation software

2013-08-08 Thread Jan-Peter Voigt
Am 08.08.2013 14:02, schrieb Richard Shann: On Thu, 08 Aug 2013 12:06:36 +0200 Jan-Peter Voigt jp.vo...@gmx.de wrote: If I import some musicXML the virtual instruments sound much better than the standard midi output of either timidity or mac-quicktime. Isn't this just a question of which

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

2013-08-04 Thread Jan-Peter Voigt
Am 02.08.2013 19:15, schrieb David Kastrup: Kieren MacMillan kieren_macmil...@sympatico.ca writes: Hi, Kieren reported inconsistent sizes depending on how the absolute font size was arrived at. Particularly when I used e.g., #(set-global-staff-size 25.5) Do you have a complete example

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

2013-08-02 Thread Jan-Peter Voigt
Am 01.08.2013 15:40, schrieb David Kastrup: Jan-Peter Voigt jp.vo...@gmx.de writes: Hi Kieren, I did some checks on the absolute font-sizes: - If you do a stencil-add on a stencil created via grob-interpret-markup and interpret-markup inside a normal markup, they exactly match- - If you do

Re: Create different pdf layers

2013-08-01 Thread Jan-Peter Voigt
Hi Urs, isn't the layer grob property what you want? This is what I use to interrupt ties (or slurs) if they collide with a time signature: % to have the time sig behind the staff symbol \override Staff.TimeSignature #'layer = #-5 % whiteout anything behind the time sig \override

Re: Create different pdf layers

2013-08-01 Thread Jan-Peter Voigt
Am 01.08.2013 11:07, schrieb Jan-Peter Voigt: isn't the layer grob property what you want? no, it isn't ... but if one comes up with the right pdfmark ps command, there has to be a check of this layer property to avoid inconsistent lily- and pdf-layers. Best, Jan-Peter

Re: Create different pdf layers

2013-08-01 Thread Jan-Peter Voigt
Am 01.08.2013 15:01, schrieb Urs Liska: I could imagine declaring a specific lilypond layer as a pdf layer at the top of the file and later look for elements of this layer. That way I would be responsible myself and by default there wouldn't be any matching inconcistencies. Something like

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

2013-08-01 Thread Jan-Peter Voigt
... maybe this is related to this issue: https://codereview.appspot.com/12242043/ Am 01.08.2013 15:21, schrieb Jan-Peter Voigt: Hi Kieren, I did some checks on the absolute font-sizes: - If you do a stencil-add on a stencil created via grob-interpret-markup and interpret-markup inside

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

2013-08-01 Thread Jan-Peter Voigt
I will try later That's what a quick googling showed up for me too. Cheers, jp Am 01.08.2013 um 15:40 schrieb David Kastrup d...@gnu.org: Jan-Peter Voigt jp.vo...@gmx.de writes: Hi Kieren, I did some checks on the absolute font-sizes: - If you do a stencil-add on a stencil created via

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

2013-07-30 Thread Jan-Peter Voigt
Hi David, you gave at least two essential clues/hints and the result wouldn't be there now without them - so I would not call it a wrong direction. Cheers, Jan-Peter Am 29.07.2013 um 17:14 schrieb David Kastrup d...@gnu.org: Kieren MacMillan kieren_macmil...@sympatico.ca writes: Hi

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

2013-07-23 Thread Jan-Peter Voigt
Hello David, thanks for your hint :) Hello Kieren, how do you like this solution? It uses an engraver which acknowledges text-interface and font-interface (maybe we only need font-interface) and then wraps found markups in 'text and 'long-text (for InstrumentName grob) in (markup

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

2013-07-23 Thread Jan-Peter Voigt
Thank you again, David ... nice ... one more question: The symbol list is meant for (list /interface/ /property/)? I still use (ly:grob-set-property! grob sym val) and catch interface and property with car and cadr respectivly. Or is there another way/use in 2.17? Cheers, Jan-Peter Am

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

2013-07-22 Thread Jan-Peter Voigt
Hi Kieren, now I am looking at this feature request and maybe have an idea ... later more on that. Your snippet here fails, because the InstrumentName grob has two properties 'long-text and 'text, which may or may not be set. The 'text property is only set, when you define a

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

2013-07-22 Thread Jan-Peter Voigt
Hi Kieren and list, now I tried to add a feature to ly:grob-interpret-markup - this is working for instrumentName, but not for TextScript. So one has to look into text-interface.cc ... AFAICS But before using a property 'font-size-mode (or whatever you name it), would'nt it might be more

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

2013-07-22 Thread Jan-Peter Voigt
be calculated as needed based on the grob-layout-settings. Then the lambda could be hidden in a scheme-function, so it might look like \override TextScript #'font-size = \absolute 30 Best, Jan-Peter Am 22.07.2013 11:49, schrieb David Kastrup: Jan-Peter Voigt jp.vo...@gmx.de writes: Hi Kieren and list

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

2013-07-22 Thread Jan-Peter Voigt
On 22.07.2013 12:31, David Kastrup wrote: Jan-Peter Voigt jp.vo...@gmx.de writes: as one can read in http://www.lilypond.org/doc/v2.17/Documentation/extending/callback-functions.html you can use callback-functions on /all/ grob-properties ... so why doesn't this work? \override TextScript

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

2013-07-22 Thread Jan-Peter Voigt
On 22.07.2013 12:31, David Kastrup wrote: The settings of font-interface and text-interface become part of the props alist list for markup interpretation. At the time a markup is interpreted, no information about a possibly responsible grob is available, so no callbacks can be executed. OK, so

Re: Pattern-generating Scheme function challenge

2013-07-16 Thread Jan-Peter Voigt
Hi there, I am not at home ... so here is not a solution, but here is a little snippet, that includes two functions, that may be helpful: \version 2.16.1 musA = \relative c'' { bes4 a c b } musB = #(music-map (lambda (m) (let* ((mus m) (dur (ly:music-property mus 'duration))) (if

Re: Pattern-generating Scheme function challenge

2013-07-16 Thread Jan-Peter Voigt
OK, sorry ... I missed the point, you want pattern generation ;) --snip-- #(use-modules (srfi srfi-60)) #(define-public pattern (define-music-function (parser location n pitch dur) (integer? ly:pitch? ly:duration?) (let ((l (list))) (define (pat i) (if ( i n) (append (pat (* 2 i))

Re: quotes and commas in lyrics

2013-06-20 Thread Jan-Peter Voigt
Hi Gerard, isn't \Some -- day\, what you want? HTH Cheers, Jan-Peter Am 20.06.2013 10:26, schrieb Gerard McConnell: Hello, the following: \Some -- day\, produces: syntax error, unexpected ',' and \Some -- day,\ gets Some-day, however the result I want is: Some-day, What

Re: concatenating/converting string variables ?

2013-05-17 Thread Jan-Peter Voigt
Hi Paul, Am 17.05.2013 09:45, schrieb Paul Malcolm: excuse me, just a trivial question, but I cannot seem to find the answer. I want to add the date variable to one element of text in my title. I have this in the preamble date = #(strftime %d-%m-%Y (localtime (current-time))) What I want to

Re: \shape question

2013-04-24 Thread Jan-Peter Voigt
Hi Urs, the order of the arguments changed in 2.17: \shape #'((0 . 0)(0 . 0)(0 . 0)(0 . 0)) Slur should work. The second argument now also may be music, so that you can use in a tweak fashion: c-\shape #'((0 . 0)(0 . 0)(0 . 0)(0 . 0)) ( d) HTH best, Jan-Peter Am 24.04.2013 10:57, schrieb

Re: Finale and Sibelius files

2013-04-23 Thread Jan-Peter Voigt
Am 23.04.2013 10:09, schrieb David Kastrup: Phil Holmes m...@philholmes.net writes: - Original Message - From: Urs Liska u...@openlilylib.org To: lilypond-user@gnu.org Sent: Monday, April 22, 2013 9:09 PM Subject: Finale and Sibelius files could somebody be so kind and send me Finale

Re: LilyPond Linux distro?

2013-04-23 Thread Jan-Peter Voigt
Hi Ryan, like Frederico mentioned, you don't need more than damn small linux, lilypond and frescobaldi. But one thing, I would like to ask in this context is, what would it mean, to set up a repository - in ubuntu it probably would be a PPA on launchpad - where you can install the current

Re: How to get dynamics centred on a piano staff?

2013-04-22 Thread Jan-Peter Voigt
Hello Peter, you can use a Dynamics context in the middle of the PianoStaff: \new PianoStaff \new Staff = RH \relative c' { c8 d e f g a bes b | c1 } \new Dynamics = dyn { s1\p\ s1\f } \new Staff = LH \relative c { \clef bass c8 d e f g a bes b | c1 } HTH, Jan-Peter Am 22.04.2013 17:54,

Re: Macro not working with 2.16

2013-04-10 Thread Jan-Peter Voigt
Hello Alberto, the change was introduced in 2.13 or 2.15(?). If you remove the dollar signs inside the scheme expression ($nom - nom) (but not inside the lily code $mus), it should work: #{ \set Score.measurePosition = #(ly:make-moment (- nom) den) $mus #} HTH Jan-Peter Am 10.04.2013 14:50,

Re: How to get a book twice with different page-footers?

2013-03-22 Thread Jan-Peter Voigt
Hello Harm, I don't have a solution, but I found, that not-first-page is not defined in the global space. You can't access it with $(display not-first-page). If you (re-)define a procedure #(define (not-first-page layout props arg) (interpret-markup layout props arg)) the example compiles. So

Re: change barline type with time signature change

2013-02-27 Thread Jan-Peter Voigt
Hi Kieren, hi David K., applyContext is good for doing somethind conditionally anywhere in the music stream: cond = ##t mod = \with { \override NoteHead #'color = #red } \relative c' { c4 e g b \applyContext #(lambda (context) (if cond (ly:context-mod-apply! context mod))) c a f d c1 }

Re: change barline type with time signature change

2013-02-27 Thread Jan-Peter Voigt
Am 27.02.2013 12:45, schrieb David Kastrup: Jan-Peter Voigt jp.vo...@gmx.de writes: Hi Kieren, hi David K., applyContext is good for doing somethind conditionally anywhere in the music stream: cond = ##t mod = \with { \override NoteHead #'color = #red } \relative c' { c4 e g b

Re: Compile twice with different includes

2013-02-15 Thread Jan-Peter Voigt
Hello Urs, On 14.02.2013 20:50, Urs Liska wrote: Hi list, maybe it's an academic question, but maybe it also triggers the curiosity of some Scheme-hackers ;-) I wouldn't call it academic - if want to build some kind of workflow, you will face the need for creating several pdfs from one

Re: Compile twice with different includes

2013-02-15 Thread Jan-Peter Voigt
Am 15.02.2013 11:40, schrieb Urs Liska: After a few test I have one further question. I managed to tweak your functions to my needs (i.e. make it _less_ generic, because I need it for a specific purpose). Attached you'll find my version of the function with example. I created a function that

Re: Compile twice with different includes

2013-02-15 Thread Jan-Peter Voigt
)) )) ; close let *and* define-void-function Am 15.02.2013 12:50, schrieb Urs Liska: Am 15.02.2013 12:39, schrieb David Kastrup: Urs Liska li...@ursliska.de writes: Am 15.02.2013 12:18, schrieb Jan-Peter Voigt: Am 15.02.2013 11:40, schrieb Urs Liska: You can create an adhoc-book in scheme

Re: Compile twice with different includes

2013-02-15 Thread Jan-Peter Voigt
o dear, thunderbirds always destroys any formatting done in frescobaldi ... here my working example as an attachment. Am 15.02.2013 13:01, schrieb Jan-Peter Voigt: OK, copypaste lost a paren ... but not in the let-line, but in the end of the whole function. let opens a new scope, so you start

cue lyrics

2013-02-07 Thread Jan-Peter Voigt
Hello lists, I am trying to get cued lyrics. There has been a mail of Rainhold Kainhofer: http://lilypond.1069038.n5.nabble.com/Obtaining-the-current-staff-s-context-id-from-withing-a-voice-td115463.html I can fetch the cueVoices parental Staff-ContextId ... see attached file ... but now I

<    1   2   3   4   5   6   >