Ambitus-Bug

2012-09-15 Thread Knut Petersen
Have a look at the attached source and the png, the problem is obvious. The first appearance dictates which of the two enharmonic equivalents is chosen for the ambitus. cu, Knut attachment: amtest.png\version 2.16.0 \header { tagline = ##f} \layout{ \context { \Voice \consists Ambitus_engraver

font definition/usage in make-dynamic-script?

2012-10-21 Thread Knut Petersen
Hi everybody! How can I feed the equivalent of \override #'(font-name . FOOBAR) to make-dynamic-script? The #:typewriter below should be replaced with a special font. make-pango-font-tree is not an option because of the known issues. foo = #(make-dynamic-script (markup #:line (#:hspace -2.6

How to set LyricHyphen #'minimum-distance globally?

2012-10-21 Thread Knut Petersen
Hi everybody! Is there a way to replace the LyricHyphen override with a global definition? basWordsAA = \lyricmode { \override LyricHyphen #'minimum-distance = #0.8 foo -- bar } cu, Knut ___ lilypond-user mailing list lilypond-user@gnu.org

Documentation bug: LyricHyphen

2012-10-21 Thread Knut Petersen
As far as I can see, the documentation of minimum-distance and some other standard settings parameters in http://lilypond.org/doc/v2.17/Documentation/internals/lyrichyphen is copied from somewhere else and is at least misleading. cu, Knut ___

Re: [ANNOUNCE] ly2video 0.4.1

2013-03-06 Thread Knut Petersen
On 08.02.2013 03:07, Adam Spiers wrote: Hi all, I'm happy to announce the release of ly2video 0.4.1. ly2video is a Python script which converts music represented by a GNU LilyPond file into a video containing a horizontally scrolling music staff which is synchronized with a MIDI-generated

Re: [ANNOUNCE] ly2video 0.4.1

2013-03-06 Thread Knut Petersen
On 06.03.2013 10:44, Adam Spiers wrote: It sounds like your .ly input file is not 8-bit clean - is it UTF-encoded? And it seems that ly2video does not support that yet. Probably you have an accent somewhere in the text; if you could remove that it will probably work. It's also worth trying

Re: [ANNOUNCE] ly2video 0.4.1

2013-03-06 Thread Knut Petersen
On 06.03.2013 15:53, Adam Spiers wrote: On Wed, Mar 6, 2013 at 2:46 PM, Knut Petersen knut_peter...@t-online.de wrote: On 06.03.2013 10:44, Adam Spiers wrote: It sounds like your .ly input file is not 8-bit clean - is it UTF-encoded? And it seems that ly2video does not support that yet

Re: [ANNOUNCE] ly2video 0.4.1

2013-03-08 Thread Knut Petersen
--- ly2video.py.orig2013-03-07 09:40:54.675565398 +0100 +++ ly2video.py2013-03-07 09:52:19.787389048 +0100 @@ -1723,7 +1723,7 @@ fSanitisedLyFile.write(\\header {\n tagline = ##f composer = ##f\n}\n) headerPart = True -if

Re: speed

2013-04-30 Thread Knut Petersen
On 07.02.2013 13:52, Carlo Stemberger wrote: $ time make [...] real0m14.519s user0m14.276s sys0m0.192s i7-3770K (3rd generation), Debian Wheezy. cpu/men: Pentium-M Dothan, 1.86 GHz, 2GB mobo: AOpen i915GMm-HFS os: openSuSE 12.3, kernel 3.9 lilypond: 16.2 time make [...] real

Re: Issue 1255 - Fraktur hyphen glyph

2012-02-25 Thread Knut Petersen
Am 25.02.2012 16:48, schrieb Shane Brandes: Have you checked the font itself in a regular text editor to see if the advance on the fraktur hyphen glyph is not somehow subtly different from the average hyphen. If the bounding is off on that then lilypond will look off too. Well, lilypond never

Re: Issue 1255 - Fraktur hyphen glyph

2012-02-26 Thread Knut Petersen
cf54a3b00ed03070c3a4739b0c1d528d9cd7afca Mon Sep 17 00:00:00 2001 From: Knut Petersen knut_peter...@t-online.de Date: Mon, 27 Feb 2012 00:25:13 +0100 Subject: [PATCH] quick 'n very dirty hack to allow Fraktur hyphen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Well, I don´t know C

broken build of 2.16.2 (git 11cdcc31caf00b9b4931bcda846e14fdfddcfd41)

2014-11-08 Thread Knut Petersen
I tried to rebuild lilypond 2.16.2 (git 11cdcc31caf00b9b4931bcda846e14fdfddcfd41), but make doc fails: /home/knut/git/lily/build/scripts/build/out/run-and-check cd ./out-www; texi2pdf -I ./out-www -I /home/knut/git/lily/build/Documentation/out -I /home/knut/git/lily/Documentation -I

Re: broken build of 2.16.2 (git 11cdcc31caf00b9b4931bcda846e14fdfddcfd41)

2014-11-08 Thread Knut Petersen
On 08.11.2014 13:58, Knut Petersen wrote: I tried to rebuild lilypond 2.16.2 (git 11cdcc31caf00b9b4931bcda846e14fdfddcfd41), but make doc fails: /home/knut/git/lily/build/scripts/build/out/run-and-check cd ./out-www; texi2pdf -I ./out-www -I /home/knut/git/lily/build/Documentation/out -I

remove the 1.0 basic-dist white space above and below a score

2014-11-28 Thread Knut Petersen
To get a score of exactly height h it is necessary to define paperheight to be h + 0.5 global-staff-size as there is always 1.00 basic-dist above and 1.00 space left below the score unused by lilypond. Then pdfcrop can be used to get the desired result. At least this is true for a source file

Re: Lua/LaTeX assistance

2014-12-01 Thread Knut Petersen
On 06.11.2013 09:34, Urs Liska wrote: Am 06.11.2013 07:05, schrieb Joshua Nichols: I guess in the end I didn't understand anything at all, and my hard head saw LaTeX and didn't see preprocessed with lilypond-book. Maybe this is a good opportunity to hook in. If there is anybody out there

Re: Lua/LaTeX assistance

2014-12-02 Thread Knut Petersen
lualatex is a good engine as it has native utf8 support. I don't think that you do need lua, TeX is enough That would be great of course. Just recently I discovered that there are packages to use Python from within LaTeX. I think I'll have a look at that too. Not only is that a language I

size of pdf files

2014-12-04 Thread Knut Petersen
Hi everybody! When a lot of lilypond pdfs are included in a *TeX document, a significant amount of the resulting pdf document is wasted for differing subsets of fonts. Identical subsets of fonts can be eliminated by ghostscript, and ghostscript is also capable to construct an optimal subset

Re: size of pdf files

2014-12-05 Thread Knut Petersen
On 05.12.2014 00:25, Werner LEMBERG wrote: How can I force lilypond to include the full emmentaler-design-size font instead of only a subset? LilyPond itself only produces PS files, *always* embedding complete fonts, AFAIK. Thus ghostscript's `-dSubsetFonts=false' option should work for

Re: size of pdf files

2014-12-07 Thread Knut Petersen
On 05.12.2014 20:51, Werner LEMBERG wrote: Now I thought a bit and added -dSubsetFonts=false to the gs parameter list in backend-library.scm. I also changed lilyponddefs.ps to include white-on-white print commands for all the emmentaler glyphs used in the four examples (hint: grep, sed, sort

Re: Automatically add empty pages at the end of a book

2014-12-09 Thread Knut Petersen
On 09.12.2014 17:38, Urs Liska wrote: Hi all, if I produce scores that are to be printed on double-sided, folded sheets (i.e. four A4 pages on one A3 sheet) I need to find a way to add empty pages to the end of the score. pdfjam is part of the pdfpages package. Try something like pdfjam

Re: Automatically add empty pages at the end of a book

2014-12-10 Thread Knut Petersen
On 09.12.2014 22:45, Urs Liska wrote: Am 09.12.2014 22:07, schrieb Knut Petersen: On 09.12.2014 17:38, Urs Liska wrote: Hi all, if I produce scores that are to be printed on double-sided, folded sheets (i.e. four A4 pages on one A3 sheet) I need to find a way to add empty pages to the end

Re: Automatically add empty pages at the end of a book

2014-12-10 Thread Knut Petersen
On 10.12.2014 10:29, Knut Petersen wrote: On 09.12.2014 22:45, Urs Liska wrote: Am 09.12.2014 22:07, schrieb Knut Petersen: On 09.12.2014 17:38, Urs Liska wrote: Hi all, if I produce scores that are to be printed on double-sided, folded sheets (i.e. four A4 pages on one A3 sheet) I need

Re: size of pdf files

2014-12-12 Thread Knut Petersen
On 08.12.2014 07:53, Knut Petersen wrote: On 05.12.2014 20:51, Werner LEMBERG wrote: Now I thought a bit and added -dSubsetFonts=false to the gs parameter list in backend-library.scm. I also changed lilyponddefs.ps to include white-on-white print commands for all the emmentaler glyphs used

Re: size of pdf files

2014-12-15 Thread Knut Petersen
you can't suppress subsetting for the Emmentaler fonts. Can you send a bug report to the gs people? After a first look at the gs code I filed a bugreport: http://bugs.ghostscript.com/show_bug.cgi?id=695728 And I think the comments to that are quite interesting. AFAICT (which isn't very

Re: size of pdf files

2014-12-15 Thread Knut Petersen
On 15.12.2014 11:05, Johan Vromans wrote: On Mon, 15 Dec 2014 10:18:21 +0100 Knut Petersen knut_peter...@t-online.de wrote: Shall we open a lilypond bug report? I don't know - the generated ps code is valid and works, so there is no real bug. I think it would be a feature request. It's a bit

Re: size of pdf files

2014-12-17 Thread Knut Petersen
On 15.12.2014 14:21, Knut Petersen wrote: Well, I did some very ugly things to a few postscript / low level scm files this morning. Nothing for release, only a proof of concept. These are the results from a luatex test page including four small lilypond snippets: Update: I generalized my

Re: Generation of Notation Videos with Lilypond Tool Chain

2016-06-14 Thread Knut Petersen
Three months ago you wrote: A weakness of the approach is that the page turning times for the score are gained by parsing the Postscript output file of lilypond. This approach is fragile and might break when the font set is changed or whenever lilypond changes its rendering philosophy. David

Re: ragged-first-top effect

2016-06-30 Thread Knut Petersen
Am 29.06.2016 um 18:31 schrieb Urs Liska: Hi all, is there an automatic way to produce the opposite effect of ragged-last-bottom? I don't think so. I'm entering music from parts and have configured LilyPond to copy the original line and page breaking so I can easily navigate visually between

Re: Back in the Pond

2017-01-20 Thread Knut Petersen
Hi everybody! +1. A personal wish: I think that \lyricsto ChoirStaff = "ctx" { ... } has the potential to be a killer feature w.r.t. usability for choir literature (especially combined with the upcoming automatic extenders). Unfortunately, assignment of lyrics to *container* contexts does not

Re: Back in the Pond

2017-01-20 Thread Knut Petersen
The autoextender patch only adds extenders at places where extenders can be added without it. That does not sound like we should remove __ from lyrics to me. I don't understand that comment. With the autoextender patch there will be an extender if a melisma is detected and there is enough

Video generation, bash script, keeps sync in spite of tempo changes

2016-09-06 Thread Knut Petersen
" page)) ) (iota (length pages) 1 1) sys-moment-location)) ) (if (not (null? sys-moment-location)) (begin (for-each (lambda (i) (display i out)) formatted-output)) (for-each display formatted-output #(format out "~a~a~a" "

intercepting implicit/explicit page breaks

2016-09-04 Thread Knut Petersen
Hi everybody! I use #(define (display-breaks grob) (if (and (grob::has-interface grob 'paper-column-interface) (eq? #t (ly:grob-property grob 'non-musical))) (if (eq? 1 (ly:item-break-dir grob)) (let* ((moment (ly:grob-property grob 'when))(m moment)

Re: intercepting implicit/explicit page breaks

2016-09-04 Thread Knut Petersen
Hi Thomas! I once made: [...] Thanks a lot, that was exactly what I was looking for. Knut ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

polymetric music with mensuration lines

2016-09-09 Thread Knut Petersen
Hi everybody! Polymetric music is no problem, neiter are mensural lines. But: Any idea to combine both with lilypond to achieve something close to the attached example from Hugo Distler? cu, Knut ErIstsProblem.pdf Description: Zip archive ___

Re: Write a custom backend?

2016-09-14 Thread Knut Petersen
Am 14.09.2016 um 12:19 schrieb David Kastrup: Of course it is not "necessary to rewrite the code in Scheme first" before making changes to it. But for one thing, not a lot will happen without it, for another, without some generally useful output definition possibilities, backends like Braille,

Re: Video generation, bash script, keeps sync in spite of tempo changes

2016-09-14 Thread Knut Petersen
rors are ignored most of the time ... cu, Knut #!/bin/bash ## # Copyright (C) 2016 Knut Petersen (knut_peter...@t-online.de) # # This is free software: you can redistribute it and/or modify # it under the terms of the GNU Ge

Re: Write a custom backend?

2016-09-14 Thread Knut Petersen
Am 13.09.2016 um 14:04 schrieb David Kastrup: I believe the output backend principle is a good sign of extensibility but is it really the case? How to instruct Lilypond to use a custom one, then? You'd have to make use of one of the existing translator groups (like Engraver_group or

Re: polymetric music with mensuration lines

2016-09-11 Thread Knut Petersen
2: There needs to be some more space between the clefs and the first notes The solution to that problem is to increase first-note minimum-fixed-space, e.g.: \override Staff.Clef #'space-alist = #'( (ambitus extra-space . 2.0) (staff-bar extra-space . 0.7)

Re: polymetric music with mensuration lines

2016-09-11 Thread Knut Petersen
the score ( or something that looks like it ;-) ) 2: There needs to be some more space between the clefs and the first notes Cheers, Knut \version "2.19.48" % git 5944d20489bb5b8e4c4907fa3b3bcae9ec275ccb % % Engraved 2016-09, Knut Petersen % global= { \key c \major \override NoteHe

Re: moving notes in cue-voice must not influence dot after notehead in main voice

2016-09-16 Thread Knut Petersen
Am 16.09.2016 um 13:48 schrieb Malte Meyn: Ok it was to M ;-) It's from bar 26/27 of this score. Attached: snippet from the original score. \version "2.19.49" mezmus = { \key c \major \autoBeamOff \relative b' { \time 2/4

moving notes in cue-voice must not influence dot after notehead in main voice

2016-09-16 Thread Knut Petersen
Hi everybody! I used << \new Voice {\voiceTwo e'4. 8 4} \new CueVoice { \voiceOne \override NoteColumn.force-hshift = 0.4a,4. \override NoteColumn.force-hshift = 1.2 8 \override NoteColumn.force-hshift = 0.4 h4} >> to

Re: Lyric tie inside word?

2016-09-16 Thread Knut Petersen
Am 06.05.2015 um 01:08 schrieb Thomas Morley: I had a hard time to find that code, I needed some kind of tunable \undertie for Hugo Distler: Mausfallensprüchlein I think that "ratio" should probably be tunable.

Re: Lyric tie inside word?

2016-09-16 Thread Knut Petersen
Am 16.09.2016 um 21:59 schrieb Thomas Morley: 2016-09-16 13:20 GMT+02:00 Knut Petersen <knut_peter...@t-online.de>: Am 06.05.2015 um 01:08 schrieb Thomas Morley: I had a hard time to find that code, I needed some kind of tunable \undertie Well,

Re: Horizontal alingment of lyrics hyphens?

2016-09-27 Thread Knut Petersen
Am 25.09.2016 um 11:34 schrieb Simon Albrecht: Simon showed how to whiteout barlines, but Krzysztof also asked about aligning hyphens in verses. Have a look at the attached pdf and compare Lilyponds output to the hand-engraved original. Seems like a good feature request. Could you please

Re: Video generation, bash script, keeps sync in spite of tempo changes

2016-09-28 Thread Knut Petersen
Am 27.09.2016 um 23:43 schrieb Dr. Thomas Tensi: There is also another python script written by me and mentioned in a message in this group from March 6th. Funnily it seems to be a mixture of the approaches of Knut Petersen and ly2video. the python file plus some demos can be downloaded

Re: Horizontal alingment of lyrics hyphens?

2016-09-28 Thread Knut Petersen
Am 27.09.2016 um 16:34 schrieb David Kastrup: Urs Liska writes: But in general the advantage of a feature being solvable in the Scheme domain is that it can be done in the "user space", that is, without having to compile LilyPond yourself. This is not only lowering the

Re: Horizontal alingment of lyrics hyphens?

2016-09-25 Thread Knut Petersen
Hi Simon! I use the following in my standard style sheet: \override LyricExtender.whiteout-style = #'outline I recommend to use whiteout-box here as it will translate to much smaller ps/pdf code and should give identical results. \override LyricHyphen.whiteout-style =

Re: Horizontal alingment of lyrics hyphens?

2016-09-25 Thread Knut Petersen
Am 19.09.2016 um 19:01 schrieb Phil Holmes: Generally, songs with lyrics are set with a ChoirStaff rather than a StaffGroup. These do not have barlines spanning the space between the staves, and so the problem does not occur. IMHO: The LyricHyphen code in lilypond is able to handle only

Re: Skyfonts

2016-11-06 Thread Knut Petersen
Am 07.11.2016 um 06:44 schrieb Andrew Bernard: The question is, since they are not in the standard sort of location, is lilypond able to make use of such fonts at all? So far, I have been unable to persuade it to do so. You should be able to produce a pdf containing either a subset or a

Re: Getting a new computer

2016-11-17 Thread Knut Petersen
Hi Vaughan! I’ve included a large project if anyone with a newish computer would like to test their compilation time. The main file is MDSM.ly. It takes my computer between 4 and 5 minutes to compile. My system: = mainboard: asus h97 pro gamer cpu: i7-4790K, 4.00 Ghz (turbo

Re: Trolling and unacceptable behaviour on the list

2016-11-18 Thread Knut Petersen
Hi Andrew! As long as he uses his identity mclaren, you need to remember to ignore that one name. If mclaren would be banned, there probably would be a ferrari to ignore ... now you would need to ignore two names. The list administrator could also excommunicate ferrari ... maybe a porsche

Re: Solution to 7 over sqr(71) time against integer polyrhythms

2016-11-18 Thread Knut Petersen
Hi Carl! There is a GNU library for arbitrary precision rationals. It may be possible to replace the LilyPond Rational type with an arbitrary precision rational type. Then the ability to go to big nested tuplets would be limited by the amount memory (perhaps the amount on the heap or the

Re: Getting a new computer

2016-11-21 Thread Knut Petersen
Am 17.11.2016 um 16:19 schrieb Knut Petersen: Hi Vaughan! I’ve included a large project if anyone with a newish computer would like to test their compilation time. The main file is MDSM.ly. It takes my computer between 4 and 5 minutes to compile. I tried my old computer ... Pentium-M

Re: exchange LyricHyphen with a "proper" hyphen

2016-12-10 Thread Knut Petersen
Am 10.12.2016 um 00:36 schrieb Alexander Kobel: Maybe minimum-distance may help here, not tested though. AFAICS for now: Works like a charm. Thanks a ton again. And with this, all of this week's issues of mine are worked around, and I can proudly present a beautiful little setting of a

Re: exchange LyricHyphen with a "proper" hyphen

2016-12-10 Thread Knut Petersen
Am 07.12.2016 um 23:59 schrieb Thomas Morley: So here a very first shot. Thanks for your work. I think the attached code shows a problem of your code ... Knut \version "2.19.53" #(define (lh-test-stencil arg) (lambda (grob) (if (ly:stencil? (ly:lyric-hyphen::print grob)) (let*

Re: exchange LyricHyphen with a "proper" hyphen

2016-12-10 Thread Knut Petersen
Hi Joram! Would it be possible to have automatic extender lines? For every melisma there is an extender line if it would be longer than the minimum-length? Currently lyrics are attached to one voice, but you use them for up to four voices in a staff like "SA combined, lyrics, TB combined". A

Re: exchange LyricHyphen with a "proper" hyphen

2016-12-10 Thread Knut Petersen
t needs it ;-) In principle, the information about where to put extender lines is already given by the number of notes per syllable. You don't want extenders and hyphens at the same time ... cu, Knut >From 62bfdf5eba38e4ff09830b81a17ac6eeed798785 Mon Sep 17 00:00:00 2001 From: Knut Petersen <

Re: exchange LyricHyphen with a "proper" hyphen

2016-12-11 Thread Knut Petersen
gth do not agree in current master, so we have some freedom ;-) cu, Knut >From e37b3eeaca692db26a2384548c71d180f090c4a1 Mon Sep 17 00:00:00 2001 From: Knut Petersen <knut_peter...@t-online.de> Date: Sun, 11 Dec 2016 12:30:38 +0100 Subject: [PATCH] Better lyric extender handling --- lily/ly

Re: Automatic lyric extenders

2016-12-13 Thread Knut Petersen
Hi Alexander! add-lyric-extenders = #(define-music-function (parser location lyrics) (ly:music?) You don't need "parser location". cu, Knut ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: Automatic lyric extenders

2016-12-13 Thread Knut Petersen
Am 13.12.2016 um 22:43 schrieb Alexander Kobel: On 2016-12-12 13:48, Knut Petersen wrote: Hi everybody! Please test and comment, patch and examples attached. Hi Knut, works beautifully, as far as your code is concerned. But I found a bug in my function (add-lyric-extenders): Unintuitively

Automatic lyric extenders

2016-12-12 Thread Knut Petersen
Hi everybody! Please test and comment, patch and examples attached. Cheers, Knut >From 456cee254df6133a611f108d2e9ca3671b01886f Mon Sep 17 00:00:00 2001 From: Knut Petersen <knut_peter...@t-online.de> Date: Mon, 12 Dec 2016 13:13:13 +0100 Subject: [PATCH] Enhance and clean lyric-ex

Re: exchange LyricHyphen with a "proper" hyphen

2016-12-07 Thread Knut Petersen
Hi Alexander! every now and then, I use a font for lyrics where the hyphen is quite different from Lilypond's LyricHyphen (in particular, sometimes it's slightly slanted). That combined with lyrics where a hyphen has to appear looks, well, ugly. (Recent example: a repetition of part of a word

Re: exchange LyricHyphen with a "proper" hyphen

2016-12-11 Thread Knut Petersen
Am 11.12.2016 um 09:05 schrieb Simon Albrecht: On 11.12.2016 08:37, Knut Petersen wrote: The attached patch should solve your problem. Thanks for having a look into it! Would you mind posting your patch as reply under issue 4509, to keep the information in one place? No. Now and here's

Re: exchange LyricHyphen with a "proper" hyphen

2016-12-11 Thread Knut Petersen
Hi Alexander! Here's a first shot. Please test thoroughly... #(define (has-hyphen? event) (let* ((art (ly:music-property event 'articulations)) (is-hyphen? (lambda (ev) (eq? (ly:music-property ev 'name) 'HyphenEvent (find is-hyphen? art))) [] Thanks a lot for

Re: exchange LyricHyphen with a "proper" hyphen

2016-12-11 Thread Knut Petersen
Hi Alexander IIUC (I didn't compile it in), your patch inhibits extenders on a single note, correct? Yes. Is that really what we want unconditionally, Currently we get a short extender ... that is imho of no use and should be killed. or are there reasonable use cases where one might

Re: Which Linux distro for Lilypond

2017-01-14 Thread Knut Petersen
OK, thanks for working on this. However, it would be still valuable to know why module loading fails with a static version of guile. This might be either a bug or missing information in the documentation. It's a known problem ... there already is a related thread in guile-user that should

Re: Which Linux distro for Lilypond

2017-01-12 Thread Knut Petersen
Hi Werner et al.! *If* we bundle guile 1.8 with lilypond, I strongly prefer static linking of the library (this is, adding `--disable-shared' to guile's configure script, together with a proper argument to the `--datarootdir' option to install the .scm files under a lilypond directory). This

Re: Which Linux distro for Lilypond

2017-01-11 Thread Knut Petersen
Hi Werner! *If* we bundle guile 1.8 with lilypond, I strongly prefer static linking of the library (this is, adding `--disable-shared' to guile's configure script, together with a proper argument to the `--datarootdir' option to install the .scm files under a lilypond directory). This avoids

Re: Creating marginal comments?

2016-11-30 Thread Knut Petersen
Am 29.11.2016 um 13:02 schrieb tapani: I am producing a hymnal, using Lilypond and lilypond-book with xelatex. I would like to insert biblical references in the margin of the page, parallel with the lyrics. For example, in "Hark, the Herald Angels Sing", the lyrics "Ris'n with healing in his

Re: Creating marginal comments?

2016-12-05 Thread Knut Petersen
Hi Tapani! Two problems: 1. I'm producing a hymnal with 100s of entries. To keep things tidy, those hymns are in separate .ly files, and I then use lilypond-book to compile them into one document. To embed every music file in a single (massive) .tex document is not realistic at this stage of the

Re: Which Linux distro for Lilypond

2017-01-07 Thread Knut Petersen
Am 07.01.2017 um 21:50 schrieb H. S. Teoh: I think that the most promising way of attack is to make sure that Guile-2.0 and Guile-1.8 libraries can be installed in parallel, and with parallel architectures (most libraries can, Guile-1.8 was not multiarch-capable when it was removed). When

Re: Which Linux distro for Lilypond

2016-12-24 Thread Knut Petersen
Am 24.12.2016 um 04:06 schrieb Craig Dabelstein: Hi Lilyponders, Just a quick question. I'm taking the plunge and moving to Linux. Which distro would you recommend for running Lilypond and Frescobaldi? OpenSuSE, I'd recommend to use the Tumbleweed variant. It's a good distribution, and a

Re: Specify output directory *in* the file

2017-08-01 Thread Knut Petersen
Hi Thomas #(format #t "\nCurrent output-filename: \"~a\"\n" (paper-variable (ly:parser-lookup '$current-book) 'output-filename)) Thanks for that snippet. I spent hours to find a way to get the current output filename and suffix. $current-book and similar variables definitely should be

Video generation on linux systems: Note and rests change color

2017-07-21 Thread Knut Petersen
(lambda (m) (if (and (not (null? m)) (ly:grob? (car m))) (- 0 (format-moment (grob::when (car m #f)) systems) (list maxstop))) (moments (append startlist (li

Re: Video generation on linux systems: Note and rests change color

2017-07-23 Thread Knut Petersen
Hi Karlin! I got some font errors during the lilypond compile: "warning: no glyph for character U+9F in font [...] ./texgyreschola- [*]" (Square brackets with placeholders for brevity.) Looks my setup is choking on the German ß sharp-S thing. Lilypond handles utf-8 characters, and the texgyre

Re: Video generation on linux systems: Note and rests change color

2017-07-23 Thread Knut Petersen
Hi David! But contributing code to lilypond is complex and time-consuming. Maintaining your own changes tends to be a permanent time drain and makes it harder to share experience and join efforts with other users. Probably both is correct. I experienced that it is easier, faster and

Re: .ly file partially compiles, then LP crashes

2017-07-29 Thread Knut Petersen
Hi Guy! Starting lilypond-windows.exe 2.19.56 [Leloupgarou_transformationscene-pianoReduction.ly]... Processing `[filename].ly' Parsing... Interpreting

Re: .ly file partially compiles, then LP crashes

2017-07-29 Thread Knut Petersen
Am 29.07.2017 um 09:01 schrieb David Kastrup: Uh, the proper way to throw in the towel is not a segfault. If you can find a reproducible manner of segfaulting on a hard page break problem, that warrants fixing. I remember segfaults that looked exactly like Guys, but those scores have

Re: GS error on somewhat large score

2017-10-16 Thread Knut Petersen
Am 16.10.2017 um 19:23 schrieb Simon Albrecht: On 16.10.2017 18:50, David Kastrup wrote: Simon Albrecht writes: On 16.10.2017 17:13, David Kastrup wrote: Simon Albrecht writes: Hello everybody, I’ve just noticed a problem when compiling a

Re: Getting absolute position of objects

2017-09-10 Thread Knut Petersen
I also need to output the absolute coordinates of all objects on the page, to generate training data for optical music recognition. I'm trying to print some information in \applyOutput, and I see that NoteHead X-offset and Y-offset are 0, and X-parent, Y-parent, X-positions, and Y-positions all

Re: Gotlandstoner

2017-09-01 Thread Knut Petersen
3) The song files are run through lilypond to produce pdf files 4) The text information from the abc source is extracted and inserted into a book template, again using the config file, to produce a ”book document” in latex format, which also includes the individual song pdf files 5) The

Re: different notation fonts and LilyPond’s -b option

2017-09-01 Thread Knut Petersen
Am 01.09.2017 um 17:03 schrieb Malte Meyn: Hi list, I wanted to try Knut’s advice from the Gotlandstoner thread (https://lists.gnu.org/archive/html/lilypond-user/2017-09/msg00013.html) but the -b option doesn’t seem to work with different notation fonts; You are right, it only works with the

Re: video generation

2017-09-03 Thread Knut Petersen
Am 03.09.2017 um 19:36 schrieb Adam Spiers: However please don't write off ly2video just because I haven't done much with it recently (except for today). The most annoying bugs should really be fixed. One example: The problem that ly2video needs pure 7-bit ascii as input has been discussed on

Re: video generation

2017-09-01 Thread Knut Petersen
Am 01.09.2017 um 23:26 schrieb Flaming Hakama by Elaine: > I am not top posting I've been wanting to generate videos from lilypond, and so far it seems like the best approach (scrolling, rather than paginated) is: https://github.com/aspiers/ly2video It does not allow anything but 7-bit

Re: Gotlandstoner

2017-09-01 Thread Knut Petersen
Am 01.09.2017 um 22:42 schrieb Erik Ronström: Nice work, but your pdf includes many different subsets of the lilypond fonts and is several MB to big because of this. Use the --bigpdfs option of lilypond in step 3. The resulting pdfs are _much_ bigger because all glyphs from the fonts are

Re: Gotlandstoner

2017-09-03 Thread Knut Petersen
Am 02.09.2017 um 13:08 schrieb Erik Ronström: If I apply the attached patch to a cloned git archive I get the following results with ghostscript 9.06: bok2: Original size 9.996.691 bytes, optimized size 2.043.380 bytes bok3: Original size 13.706.324 bytes, optimized size 2.447.232 bytes

Re: Video generation on linux systems: Note and rests change color

2017-09-03 Thread Knut Petersen
Hi Adam! Two questions: 1. Please can you put the source files in a git repository and publish it somewhere (e.g. GitLab.com), to reduce barrier to collaboration? Well, not now. 2. Would it be possible to generate video which is perfectly synchronised with a live performance with variable

Re: Video generation on linux systems: Note and rests change color

2017-11-15 Thread Knut Petersen
Yes, but it's a factor of a million, not a thousand, so sleep 0.00025 would be appropriate as a replacement for usleep 250. Any short sleep is ok at that place of the script  ... Knut ___ lilypond-user mailing list lilypond-user@gnu.org

Re: Video generation on linux systems: Note and rests change color

2017-11-15 Thread Knut Petersen
Am 15.11.2017 um 09:36 schrieb Christian Alpen: Hi, hm, I thought I had used the appropriate mkvideo version... However, now it seems to work in both constellations: With lilypond 2.19 in a regular Debian system, and with lilypond 2.21 in lilydev and with the corrected mkvideo-lily-diff. The

Re: Security problem: lilypond-invoke-editor

2017-11-23 Thread Knut Petersen
Am 23.11.2017 um 10:23 schrieb David Kastrup: Stupid question: what does run-editor do to be inherently safer than run-browser, and what would prevent run-browser from doing the same? Your suspicion is correct. Also textedit URIs are vulnerable to a very similar attack. So EVERYBODY should

Security problem: lilypond-invoke-editor

2017-11-23 Thread Knut Petersen
Hi everybody! 12 years ago a security problem was introduced into lilypond-invoke-editor. On 2017/11/15 the problem was reported to the bug-lilypond mailing list by Gabriel Corona. If you decided to install lilypond-invoke-editor helper as a general URI helper, you _are_ affected. If you

Re: Security problem: lilypond-invoke-editor

2017-11-23 Thread Knut Petersen
Am 23.11.2017 um 17:53 schrieb Stanton Sanderson: Is this Windows-specific or is there a potential threat for other platforms? It definitely affects linux systems. I suspect that also Windows/Mac systems are affected, but I cannot verify that. Knut

Re: "\includepdf" in LilyPond

2017-12-18 Thread Knut Petersen
Am 18.12.2017 um 21:50 schrieb k...@aspodata.se: Urs: ... OTOH: is it possible to have LilyPond trigger an external program *after* the PDF has been created? I recall getting an answer for a hook that works at the very end of the engraving process (this should allow me to write out data into a

Re: [OT] Grammatic gender

2017-11-17 Thread Knut Petersen
Am 17.11.2017 um 08:55 schrieb Henning Hraban Ramm: The wrong use of an apostrophe in German is called "Deppen-Apostroph" (Deppostroph?), it shows only that you don’t master your mother language. Sometimes an apostrophe completely changes the meaning of a sentence: "Der Vogelsberg, wo's

Re: [OT] Linux Users

2017-11-18 Thread Knut Petersen
Am 17.11.2017 um 23:59 schrieb Brett M. Gilio: How many Linux users are out there in the Lilypond community? Do any of you use other type-setting software such as LaTeX or Csound rather than graphical tools? I completely switched to Linux more than 20 years ago and use *TeX for more than 25

Re: Video generation on linux systems: Note and rests change color

2017-11-16 Thread Knut Petersen
se repeats, it is not supported. Knut #!/bin/bash ## # Copyright (C) 2016-2017 Knut Petersen (address@hidden) # # This is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by

Re: double time signature problem

2017-11-15 Thread Knut Petersen
Am 15.11.2017 um 00:26 schrieb Noeck: The diminutive of „Magd“ is „Mägdelein“ or maybe „Mägdchen“ (nobody would use the latter), but not „Mädchen“. But still "Mädchen" seems to be derived from "Magd": http://www.wissen.de/wortherkunft/maedchen Yes, Grimm agrees

Re: Video generation on linux systems: Note and rests change color

2017-11-06 Thread Knut Petersen
Am 21.07.2017 um 10:00 schrieb Knut Petersen: Hi everybody! To generate score videos like Bach: Invention 1 <https://www.youtube.com/watch?v=EqWYmrwTcqQ>, Wolf: Resignation <https://www.youtube.com/watch?v=IonPmbdY7ME> and Peterson-Berger: I Fyrreskoven <https://www.yout

Re: Video generation on linux systems: Note and rests change color

2017-11-06 Thread Knut Petersen
 This thing really needs a Tiny Example. Could you make a video project with just a C-major scale or something? See attached file. Knut \version "2.21.0" % Minimal video example #(set! paper-alist (cons '("video" . (cons (* 21 cm) (* 11.8125 cm))) paper-alist)) % You have to define a

Re: Video generation on linux systems: Note and rests change color

2017-11-06 Thread Knut Petersen
Am 05.11.2017 um 10:41 schrieb Christian Alpen: Hi, thanks for the fast response! Everything worked fine, even the patch command without extra installation (don't know what happened before) Like you I was able to make the video from "Wolf_Resignation"and "JSBI1" from here:

  1   2   >