(scheme-)engraver in 2.20/21

2020-09-24 Thread Jan-Peter Voigt
Hi all, after some other very involving projects I can now refocus on lilypond :-) I probably missed a change in 2.20/21. If I create a scheme-engraver the "start-translation-timestep" slot is not called, if the "initialize" slot has been called in this particular timestep. If this the intended b

Re: (scheme-)engraver in 2.20/21

2020-09-24 Thread Jan-Peter Voigt
Am 24.09.20 um 13:40 schrieb Aaron Hill: > On 2020-09-24 2:51 am, Jan-Peter Voigt wrote: >> Hi all, >> >> after some other very involving projects I can now refocus on lilypond >> :-) >> >> I probably missed a change in 2.20/21. If I create a scheme-engr

Re: (scheme-)engraver in 2.20/21

2020-09-24 Thread Jan-Peter Voigt
Hi Dan, Am 24.09.20 um 13:42 schrieb Dan Eble: > On Sep 24, 2020, at 05:51, Jan-Peter Voigt wrote: >> >> Hi all, >> >> after some other very involving projects I can now refocus on lilypond :-) >> >> I probably missed a change in 2.20/21. If I create a sc

private ly:version?

2020-09-24 Thread Jan-Peter Voigt
Hi all, I now have a use case for ly:version? documented in http://lilypond.org/doc/v2.21/Documentation/usage/writing-code-to-support-multiple-versions But the function is module-private in lily. The example on that page does not compile and so doesn't any external file. I can work around it wit

Re: (scheme-)engraver in 2.20/21

2020-09-24 Thread Jan-Peter Voigt
Am 24.09.20 um 16:28 schrieb Aaron Hill: > I doubt this is the sort of thing convert-ly could patch, so the > proposed change in behavior would break user-created engravers that > expect to always get a pair of (start|stop)-translation-timestep calls.  > As such, it makes far more sense that LilyPo

Re: music21

2020-10-14 Thread Jan-Peter Voigt
Am 13.09.20 um 22:57 schrieb Jean Abou Samra: > The Net is a surprisingly vast place. Did you ever hit this link? > > http://web.mit.edu/music21/ > > It's a Python library that, among musicological tasks, features > import from a dozen of different file formats, including MusicXML, > MIDI and AB

Re: Export from LilyPond to MusicXML (Thomas Morley)

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

Re: Export from LilyPond to MusicXML (Thomas Morley)

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

Re: Binaries of LilyPond 2.23.5 with Guile 2.2

2021-12-05 Thread Jan-Peter Voigt
Hi Jonas, your version works on my MXLinux Laptop. Tomorrow I am going to try Ubuntu and MacOS Monterey on Apple Silicon. Thanks for these works to you and all others engaged in this endeavor! Jan-Peter Am 03.12.21 um 19:17 schrieb Jonas Hahnfeld via Discussions on LilyPond development: > Hi all

Re: Scheme in LilyPond

2017-06-01 Thread Jan-Peter Voigt
Hi Charles, the make-note-ev function is hidden inside a closure and therefore not publicly visible. It depends on the duration defined in that closure. To create NoteEvents you should create them like this: (make-music 'NoteEvent 'pitch root 'duration some-duration) where 'some-duration' is

calc stem direction

2017-06-14 Thread Jan-Peter Voigt
Hi list, in a scheme-engraver I want to get the stem-direction in the acknowledger-slot. When I use ly:stem::calc-direction the calculated direction is not always the visible one, when autobeaming is in effect. A manual beam crashes lily. So my question is: How can I retrieve the actual/curr

lilypond export

2017-06-14 Thread Jan-Peter Voigt
Hi list-members, I have been working on an export module for lilypond. The last month there was no time to work on it. So I send you this link despite its pre-alpha state, because otherwise the project might fall asleep ;-) https://github.com/jpvoigt/lilypond-export It is designed as an open

triggering translation from engraver

2017-08-23 Thread Jan-Peter Voigt
Hi developers, I have difficulties to find the right words for this question, but I'll try: The edition-engraver comes into action, when it finds a mod (tweak/override) for the current spot in time, that is measure/barNumber and moment/measurePosition. These mods are applied in one of the eng

Re: triggering translation from engraver

2017-08-23 Thread Jan-Peter Voigt
Hi David, thank you for your work on this! I will try/investigate it later this evening or tomorrow in the morning. Best Jan-Peter Am 23. August 2017 18:33:15 MESZ schrieb David Kastrup : >David Kastrup writes: > >> David Kastrup writes: >> >>> Jan-Peter Voigt w

Re: triggering translation from engraver

2017-08-24 Thread Jan-Peter Voigt
translated. If all mods are known before translation a SequentialMusic expression for each Context might be created and then added to the music. ... this is not thought to the end. Jan-Peter Am 23.08.2017 um 19:09 schrieb David Kastrup: Jan-Peter Voigt writes: Hi David, thank you for your work

TupletNumber.avoid-slur regression?

2017-10-19 Thread Jan-Peter Voigt
Hi developers, I just stumbled over a regression 2.19.80. The following code works as expected in 2.18 but kills the beam in 2.19.80: { \override TupletNumber.avoid-slur = #'outside \voiceOne \tuplet 3/2 { c''16[( b' a']) } } Or is there an undocumented change without a convert-ly rule?

Workaround for Issue 5001? (TupletNumber.avoid-slur)

2017-11-05 Thread Jan-Peter Voigt
Hi list, I just ran into issue 5001 (https://sourceforge.net/p/testlilyissues/issues/5001/) Does anybody know about a workaround? Jan-Peter ___ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel

Re: Workaround for Issue 5001? (TupletNumber.avoid-slur)

2017-11-05 Thread Jan-Peter Voigt
Number.Y-offset = #4.5 \tuplet 3/2 {a8^( g a)} } Jan-Peter Am 05.11.2017 um 14:52 schrieb James Lowe: Hello, On Sun, 5 Nov 2017 13:02:43 +0100, Jan-Peter Voigt wrote: Hi list, I just ran into issue 5001 (https://sourceforge.net/p/testlilyissues/issues/5001/) Does anybody know about a wo

Re: Workaround for Issue 5001? (TupletNumber.avoid-slur)

2017-11-05 Thread Jan-Peter Voigt
Hi Harm, thanks alot, this is really helpful! Cheers Jan-Peter Am 05.11.2017 um 16:28 schrieb Thomas Morley: Hi Jan-Peter, 2017-11-05 15:44 GMT+01:00 Jan-Peter Voigt : Hello James, thanks for pointing this out! The mentioned case also occurs in my current score, but most times I deal with

OLL-core and Win10 [was Re: edition-editor usage]

2017-12-26 Thread Jan-Peter Voigt
nd 2.19.80.  Are there any such users? Alternatively, any ideas what I might be doing wrong? Trevor ------ Original Message -- From: "Jan-Peter Voigt" mailto:jp.vo...@gmx.de>> To: lilypond-u...@gnu.org <mailto:lilypond-u...@gnu.org>; "Mason Hock" mailto:masonh...@gma

broadcasting override-events (was [Re: Edition Engraver bug?])

2018-03-07 Thread Jan-Peter Voigt
procedure. What might be the error in this procedure. Is there something missing? TIA Jan-Peter Am 05.03.2018 um 13:01 schrieb Jan-Peter Voigt: * I will refactor the EE to also broadcast overrides. \version "2.19.80" % this is a broadcast-function for single events like \p or c&#

Re: broadcasting override-events (was [Re: Edition Engraver bug?])

2018-03-07 Thread Jan-Peter Voigt
Am 07.03.2018 um 11:25 schrieb David Kastrup: Check the source code in lily/property-iterator.cc to see what to generate here for the various events (Push/Pop correspond to override/revert). Thank you David! This allows me to refactor the code. Jan-Peter __

Re: broadcasting override-events (was [Re: Edition Engraver bug?])

2018-03-07 Thread Jan-Peter Voigt
Am 07.03.2018 um 15:30 schrieb David Kastrup: Jan-Peter Voigt writes: Am 07.03.2018 um 11:25 schrieb David Kastrup: Check the source code in lily/property-iterator.cc to see what to generate here for the various events (Push/Pop correspond to override/revert). Thank you David! This allows

crash running translator

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

Re: crash running translator

2018-09-17 Thread Jan-Peter Voigt
Hi David, wow, thank you! I will try to follow your explanations soon and read the mentioned code. Jan-Peter Am 17.09.2018 um 16:38 schrieb David Kastrup: > Jan-Peter Voigt writes: > >> Dear all, >> >> I stumbled over something that looks like a bug. >> If

Re: Export to MusicXML

2018-10-16 Thread Jan-Peter Voigt
Hello Alex, you don't have to apologize for this question! It comes up every now and then, but has not been answered satisfyingly yet. My answers to your questions are: 1. Yes 2. I wrote a rudimentary engraver-based solution last year which is waiting for clean-up and completion to support MEI, Mu

Re: Export to MusicXML

2018-10-16 Thread Jan-Peter Voigt
to > get my hands dirty with that. Would it be OK to bug you with questions every > now and then? Is this list a good place, or should I just email you > privately? I promise I won’t abuse your kindness :-) > > Alex > >> On Oct 16, 2018, at 2:04 AM, Jan-Peter Voigt wr

Re: Export to MusicXML

2018-10-16 Thread Jan-Peter Voigt
... by the way: what is the current state of guile2 in lilypond? I recently noticed some mails on the list. Jan-Peter Am 16.10.18 um 17:32 schrieb David Kastrup: > Paul Morris writes: > >> For Google Summer of Code 2015 David Garfinkle worked on MusicXML export. >> >> (See mailing list archives

Re: Export to MusicXML

2018-10-16 Thread Jan-Peter Voigt
Hi Kieren, Am 16.10.18 um 16:54 schrieb Kieren MacMillan: > Hi Jan-Peter, > >> 2. I wrote a rudimentary engraver-based solution last year which is >> waiting for clean-up and completion to support MEI, MusicXML > >> The code in the project is able to export a MusicXML-File for a simple >> lilyp

Re: guilev1/2 musing

2019-01-25 Thread Jan-Peter Voigt
unctionality to >Guile2-only at this moment. > >> Then at some future point... either LilyPond moves to a future guile >> or we back-port the guile2 procedures to guile1. > >"some future point" is just going to cause additional work. We don't >really have th

Re: guilev1/2 musing

2019-01-26 Thread Jan-Peter Voigt
xport doesn't need to be blocked waiting >on >guile2. > >>> Then at some future point... either LilyPond moves to a future guile >>> or we back-port the guile2 procedures to guile1. >> "some future point" is just going to cause additional work. We

Re: Poster for music engraving conference

2019-12-05 Thread Jan-Peter Voigt
Hi Werner, hi Bernhard, and especially Urs ;-), what about using a LaTeX a0poster-template together with lyluatex? That would make collaboration with GIT straightforward. A quick search brought up these templates: https://www.cfd.tu-berlin.de/~panek/tex/poster/poster.html http://www.latextemplates

Re: Poster for music engraving conference

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

Re: Context paths (and the Edition Engraver)

2020-01-21 Thread Jan-Peter Voigt
Hi there, > [Single-level quotes are David Kastrup’s; double-level quotes are Dan Eble’s.] > >> Comments from the EE crowd? > > Not sure how much of a "crowd" we are… ;) at least we are 2 :) >>> One of the things in Kieren's intro to the Edition Engraver (EE) that >>> resonated with me was the

Re: Context paths (and the Edition Engraver)

2020-01-22 Thread Jan-Peter Voigt
Am 21.01.20 um 18:50 schrieb Dan Eble: > On Jan 21, 2020, at 11:31, Jan-Peter Voigt wrote: >> I'd like that, though it would be a quite invasive change. >> And if we stay with the string for the context id and then use >> lists/paths in the \context statement like >&

Re: shape and chords

2012-06-26 Thread Jan-Peter Voigt
Hi David, On 25.06.2012 18:23, David Nalesnik wrote: I tried to fix what was amiss in your adaptation of \shape, but I didn't get very far. This problem seems very complex, and I was only able to get results by "starting from the ground up" -- namely, adding to the function I initially sent.

Re: shape and chords

2012-06-27 Thread Jan-Peter Voigt
Hi David, On 26.06.2012 20:27, David Nalesnik wrote: Hi Jan-Peter, First of all, I agree with David Kastrup that this is a situation where a deep fix is in order so that simultaneous ties may be tweaked directly. +1 In my short test, I thought of having tie-configuration and shape

Re: Waltrop meeting outline

2012-08-19 Thread Jan-Peter Voigt
Wow, this sounds very interesting and I am really sad, that I can not join this meeting. Will you record and publish parts on video or audio? Well, of course there has to be a somewhat recordable prepared presentation ... someone preparing and presenting. I hope you have a somewhat successful m

Re: [proposal] easy triplets and tuplets - was [talk] easy tuplets

2012-10-05 Thread Jan-Peter Voigt
Hello James, Ian and list, On 05.10.2012 09:10, James wrote: Hello, On 5 October 2012 00:19, Ian Hulin wrote: This is a proposal to move the triplet/tuplet discussion forward. There will be new commands to supplement (or eventually replace) the current \times command. 1. \tuplet n/m {} % d

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 hav

BUG? simultaneous Music and Lyrics

2013-02-08 Thread Jan-Peter Voigt
Hello list, while trying to create a cueDuringWithLyrics command, I stumbled over an issue: To make the mentioned command, I create SimultaneousMusic containing 1. the music of the main voice (usually rests) 2. a named CueVoice containing quoteDuring 3. a Lyrics context, associated to the CueVo

Re: BUG? simultaneous Music and Lyrics

2013-02-08 Thread Jan-Peter Voigt
I think this may be http://code.google.com/p/lilypond/issues/detail?id=2010> \lyricsto may turn into a voice-mangling zombie when both parents die at the same time thanks Please reduce this to a tiny example. http://www.lilypond.org/website/tiny-examples.html -- Phil Holmes OK? Best, Jan

Re: segfault when making grob in scheme engraver

2013-03-01 Thread Jan-Peter Voigt
Hi Rekado, I think, this is expectable. The stop-translation-step is too late ... you should create grobs in process-music. If you want this to happen as a last action, you should look at the order of all engravers. The last instanciated engraver should be processed last, IIRC HTH, Jan-Peter

Re: R shorthand

2013-03-20 Thread Jan-Peter Voigt
Am 20.03.2013 02:16, schrieb David Kastrup: Kieren MacMillan writes: Hi Shane, What happens when we need an awkward length R like R1*12/8*14? I'm not sure what you mean by "awkward length"… I'm suggesting that R (with no duration given) should give you a one-measure multi-measure rest, r

Re: R shorthand

2013-03-20 Thread Jan-Peter Voigt
Am 20.03.2013 09:55, schrieb David Kastrup: Jan-Peter Voigt writes: [...] (ly:make-duration (inexact->exact (/ (log den)(log 2))) ... That's a terribly broken thing to do. inexact->exact does not change the value one bit, only its interpretation. A number consi

[issue 1482] \caps \fromproperty and markup->string

2011-10-06 Thread Jan-Peter Voigt
http://code.google.com/p/lilypond/issues/detail?id=1482 Hello lists, using \fromproperty, \smallCaps (=\caps) and markup->string leads into some pitfalls: 1. if you want to use custom (self written) markup-commands, the default "markup->string" function will drop the content of them. 2. if you

music variables and music templates - an idea

2011-10-18 Thread Jan-Peter Voigt
terest, I'd like to get respond and suggestions to improve it. Cheers, Jan-Peter \version "2.14.2" %%%%%% %%% t

"include" music-function

2012-01-05 Thread Jan-Peter Voigt
Dear lily-list-members, first of all: A happy new year! In my projects I often combine several files, each containing one piece, to a book. In fact, I store the music in a scheme-based structure to instantiate it later. The included files shall intentionally not create a PDF, so that instanti

Re: "include" music-function

2012-01-05 Thread Jan-Peter Voigt
Hello David, Any reason you don't just do #{ \include #file #} here? yes there is: --snip-- \version "2.15.21" #(define-public includeLocal (define-music-function (parser location file)(string?) (let ((outname (format "~A.ly" (ly:parser-output-name parser))) (locname (car (ly:i

Re: "include" music-function

2012-01-05 Thread Jan-Peter Voigt
Hello David, Am 05.01.2012 13:50, schrieb David Kastrup: Ah yes. ly:parse-file does not help either? yes it does, thanks ... but ... --snip-- #(define-public includeLoc (define-music-function (parser location file)(string?) (let ((outname (format "~A.ly" (ly:parser-output-name parser)

Re: "include" music-function

2012-01-06 Thread Jan-Peter Voigt
quentialMusic 'void #t --snip-- Now I will look, if this is working also with ly:parser-include-string while resetting filename and fileline at the end, so that definitions in the included file get into the current parser. Cheers, Jan-Peter Am 05.01.2012 17:14, schrieb David Kast

Re: "include" music-function

2012-01-06 Thread Jan-Peter Voigt
Am 06.01.2012 09:35, schrieb Jan-Peter Voigt: Hello David, the \sourcefilename hint is helpful! Thank you! If I use this in my function and do a ly:parser-clone, the location is up to date: ... Now I will look, if this is working also with ly:parser-include-string while resetting filename

Re: "include" music-function

2012-01-06 Thread Jan-Peter Voigt
Am 06.01.2012 10:17, schrieb Jan-Peter Voigt: Am 06.01.2012 09:35, schrieb Jan-Peter Voigt: Hello David, the \sourcefilename hint is helpful! Thank you! If I use this in my function and do a ly:parser-clone, the location is up to date: ... Now I will look, if this is working also with

Re: "include" music-function

2012-01-07 Thread Jan-Peter Voigt
Hello Carl, Hello David, thanks for your replies! I will read through those threads next week. This might help me understand what is happening under the hood. The basic include is working as expected. But I think it would be a nice feature if one could search for files to include using scheme.

Re: "include" music-function

2012-01-07 Thread Jan-Peter Voigt
Ah, yes ... I will rewrite this, when I'm in my machine again Cheers, Jan-Peter Am 07.01.2012 um 09:42 schrieb David Kastrup : > Jan-Peter Voigt writes: > >> Am 06.01.2012 10:17, schrieb Jan-Peter Voigt: >>> Am 06.01.2012 09:35, schrieb Jan-Peter Voigt: >&g

Re: "include" music-function

2012-01-09 Thread Jan-Peter Voigt
Hello again, Am 07.01.2012 09:42, schrieb David Kastrup: Actually, this is quite too complicated... (ly:parser-include-string parser (format #f "\\include ~S" file)) should likely be all that is needed here. Sorry for thinking too complicated. so its just: --snip-- #(define-public includ

Re: book-predicate

2012-03-02 Thread Jan-Peter Voigt
p-- Is this helpful for lily-devel? And is there another (better) way of creating a module (for header generation) on the fly in scheme? Cheers, Jan-Peter On 27.02.2012 10:10, David Kastrup wrote: Jan-Peter Voigt writes: Am 24.02.2012 um 16:24 schrieb: Jan-Peter Voigt writes: Hello

ly:book-set-header!

2012-03-02 Thread Jan-Peter Voigt
#x27;(define title "Hallo") bh) (ly:book-set-header! bk bh)) \book { \bk } --snip-- Is this helpful for lily-devel? And is there another (better) way of creating a module (for header generation) on the fly in scheme? Cheers, Jan-Peter >From 40a1419a051402ee4bac6d8f7fa65e5b8353b8

Re: a Lyric Report (-> my GSoC project)

2012-03-31 Thread Jan-Peter Voigt
Dear Janek, what a great list of improvements to look forward to. I solve these issues most times with lengthy overrides boxed in music-functions ... if there is a way of helping (testing?), let me know! Cheers, Jan-Peter Am 30.03.2012 um 20:17 schrieb Janek Warchoł: > Dear Team, > > i've j

templates and a little bit more

2012-04-05 Thread Jan-Peter Voigt
Dear community, I bundled some extensions in a little package to try out. Some of these ideas might be interesting to include in lily. Here is a start of some docs, but just a little bit. I am working on it ... http://www.xn--schne-noten-tfb.de/?tabs=3,1 and here are the files to include. http:

Re: templates and a little bit more

2012-04-06 Thread Jan-Peter Voigt
Am 06.04.2012 um 13:17 schrieb Janek Warchoł: > On Thu, Apr 5, 2012 at 7:37 PM, Jan-Peter Voigt wrote: >> Dear community, >> >> I bundled some extensions in a little package to try out. Some of these >> ideas might be interesting to include in lily. >> Here is

Re: templates and a little bit more

2012-04-10 Thread Jan-Peter Voigt
On 06.04.2012 13:17, Janek Warchoł wrote: On Thu, Apr 5, 2012 at 7:37 PM, Jan-Peter Voigt wrote: Dear community, I bundled some extensions in a little package to try out. Some of these ideas might be interesting to include in lily. Here is a start of some docs, but just a little bit. I am

Re: templates and a little bit more

2012-04-11 Thread Jan-Peter Voigt
ction (getcwd). http://www.xn--schne-noten-tfb.de/lalily.tgz Cheers, Jan-Peter On 10.04.2012 13:52, Jan-Peter Voigt wrote: On 06.04.2012 13:17, Janek Warcho? wrote: On Thu, Apr 5, 2012 at 7:37 PM, Jan-Peter Voigt wrote: Dear community, I bundled some extensions in a little package to try out.

Re: shape and chords

2012-06-20 Thread Jan-Peter Voigt
Hi David, ... moving this to devel ... I had a look into "tie-column.cc": In the scheme-callback "calc_positioning_done" all ties in a chord are assigned control-points in a loop. So it might be possible to define a scheme-callback "calc_control_point_column", that returns a list of a list of

Re: GSOC: change XY-extent to outer-XY-extent and inner-XY-extent (design - feedback requested)

2012-06-20 Thread Jan-Peter Voigt
Hi Janek, there has been discussion on your patch. I see your point, that you want to discriminate graphical, logical and perhaps some other extents. I also agree with Keith, that we shouldn't fill our RAM with redundant or unused data. What about an extent-map, where extents can be stored by k

Re: shape and chords

2012-06-25 Thread Jan-Peter Voigt
Hi David, this is a solution for unbroken TieColumns - great! This will be useful! On 25.06.2012 00:42, David Nalesnik wrote: Hi Jan-Peter, On Wed, Jun 20, 2012 at 2:46 AM, Jan-Peter Voigt <mailto:jp.vo...@gmx.de>> wrote: Hi David, ... moving this to devel ... I had a

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 m

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

2011-01-17 Thread Jan-Peter Voigt
ded the 'wichbar-part and now I can create the label anywhere. But this may lead to unwanted breaks or override an exisitng 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 t

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

2011-01-17 Thread Jan-Peter Voigt
deeper insight of the whole concept. These are first steps in lily/*.cc ;-) best regards, Jan-Peter On 17.01.2011 18:24, Neil Puttock wrote: On 17 January 2011 14:53, Jan-Peter Voigt wrote: I searched for an explanation in my lilybuntu VM for label creation and referencation. There are se

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 once

Re: markup to string function?

2011-01-27 Thread Jan-Peter Voigt
Hello Reinhold, I'm a bit in a hurry, so this is not finished but an idea: I thought of my fine conversation about extracting lyrics with Jakob Lund a few days ago. I understand that markups are also lists and the strings are somewhere in this tree-list-structure. This doesn't get you the de

Re: markup to string function?

2011-01-28 Thread Jan-Peter Voigt
Hello again, maybe my answer is a bit off your topic, because I think you are looking for a C function. But still, markups are lists in scheme, so you might use libguile to access this function in C: --snip-- #(define (markup->string mup conc) (let ((result "")) ;;(displa

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 endnot

Re: Scheme : compiling text and score sequences

2011-02-10 Thread Jan-Peter Voigt
Hello, to work with foot- or end-notes its good to know the current position in music - of course this doesn't make sense for a paragraph of pure text ;-) So I digged for a way to fetch the current position in music - these are only some hints for me to remember and perhaps for you to try: --s

scheme system stdout and markup predicates

2011-08-23 Thread Jan-Peter Voigt
Hello List, I am using the scheme system command (on linux) to generate barcodes to include in the PDF: --snip-- \version "2.14.2" % use barcode command to produce temporary eps and include it #(define-markup-command (barcode layout props type str size nums)(string-or-symbol? string? number-p

Re: scheme system stdout and markup predicates

2011-08-23 Thread Jan-Peter Voigt
Hi David I have two questions: To (system "...") 1: There are several commands, wich can write the generated EPS to stdout. Is there a possibility to catch that and integrate it without creating a temporary file? See the guile documentation, node "Pipes". OK, thanks! 2: Is there a way to get t

xelatex text block in markups

2011-09-01 Thread Jan-Peter Voigt
Hello lists, I made up a markup command, to include latex-formatted text. Well, I don't want to "get rid of lilypond-book" like some people wrote on this list, but I want the oppertunity, to include a well formatted text on my first page of a book with several pieces of music. I used to take h

Re: maintaining advanced power-user Scheme functions

2013-08-20 Thread Jan-Peter Voigt
Hi there, well, I didn't read all messages of this thread, but I see two points of discussion: 1. we already have LSR 2. who likes to use git? 1.: Well, we have LSR, but the current implementation needs a tomcat-server with mysql. I did use tomcat sometimes and created some webapps, but as a

Re: enhancement request - new header field: movement

2013-09-25 Thread Jan-Peter Voigt
Hi David, lilypond has a header field "piece", which is meant for movement names. To have this field centered - default is left above the score - one has to modify scoreTitleMarkup in paper. Perhaps other markups would be nice. (a markup is a template by itself, because it gets its title/copose

Re: enhancement request - new header field: movement

2013-09-26 Thread Jan-Peter Voigt
Hi Janek, Am 26.09.2013 09:53, schrieb Janek Warchoł: You mean it would be nice to add a few predefined header styles to choose from? I agree, and i have something that i could share, me too ;) but i'd like to first sort out our contribution policies (the "github discussion"). yes ... I do u

Re: enhancement request - new header field: movement

2013-09-26 Thread Jan-Peter Voigt
Hi David, Am 26.09.2013 10:08, schrieb David Kastrup: Well, there is movement in there, where we'll explore the technical tools that Savannah might provide us with and see where we might want to take our infrastructure based on that. I suppose it's more efficient to stall discussion until we a

Re: converting music stream back to ly code

2013-11-16 Thread Jan-Peter Voigt
Hi Janek, David, I have a fading memory, that Graham used the term "music stream" in the context of his virtual violin: http://percival-music.ca/usage.html If you want to use that stream, you need to parse text ... hm, should be possible to build some lilypond code from that ... If you want to u

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

2014-01-13 Thread Jan-Peter Voigt
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 during compilation, wh

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

2014-01-15 Thread Jan-Peter Voigt
4/01/14 07:17, Jan-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 l

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 fram

Re: multi-column markup function/macro?

2014-01-17 Thread Jan-Peter Voigt
t on the existance of BASH. On linux, bsd and mac this should always be the case - I don't know, what happens on windows here. I know, this is a very hackish solution ... but I am interested in comments anyway. Cheers, Jan-Peter Am 17.01.2014 07:50, schrieb Jan-Peter Voigt: > Another thing I

running latex with system or execle [was: multi-column markup function/macro?]

2014-01-20 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 .tex-fi

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 .tex-f

Re: GSoC 2014

2014-02-20 Thread Jan-Peter Voigt
Hi Janek, David, Urs, I agree, that the shape-project in fact is a project *and* IMO it is a very important one. But if I understand Davids concerns correctly, I agree, that it will be difficult to define boundaries for this project. You showed a lot of shapes, which are not "publication ready". A

Re: GSoC 2014

2014-02-20 Thread Jan-Peter Voigt
Am 20.02.2014 10:58, schrieb David Kastrup: > I have already been told by the Mageia maintainer that LilyPond would > likely stop getting distributed by them if it continues to require > GUILEv1. While I'm not sure if and when this threat will come true, we > _are_ pissing off distribution maintai

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, d

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 suffe

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 e

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 counti

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 FTE-vocalb

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 with

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

2014-04-02 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 \voiceThre

Re: Serious feedback and improvement headroom

2014-04-04 Thread Jan-Peter Voigt
Am 04.04.2014 14:24, schrieb David Kastrup: > Urs Liska writes: > >> The most interesting aspect of the meeting was that Henle's (only) >> in-house engraver was present too, and this may become a fruitful >> contact. He is using Amadeus, a Linux (!) program he bought for 20.000 >> Euro in 1988 >

Re: Partial compilation

2014-04-04 Thread Jan-Peter Voigt
On 04.04.2014 16:32, Urs Liska wrote: > But lilypond probably could assist a frontend with a map from musical >> flow to paper-flow. If the GUI knows that on page 3 are measures 27-42 >> and the front end tracks an action, where I modified one slur-shape or >> one pitch, the front-end could trigger

  1   2   >