Re: Testers wanted

2021-07-29 Thread Knut Petersen
On 29.07.21 02:41, Michael Hendry wrote: Hi, Knut. Now that I’ve settled in to my new iMac (64-bit, X86 processor, Mac OS 11,5.1) I’ve got all my usual utilities running in the new environment except lilypond and Frescobaldi. Pre-compiled binaries for this computer aren’t available, so I’ve

Re: Centering staves on the page

2021-07-15 Thread Knut Petersen
Hi Mark, I want to be able to centre staves, which have varying lengths, on the page, as if they were centre-justified. Can anyone help me with the code for this? Put scores into a markup, e.g. \version "2.23.4" \markup   \fill-line {     \center-column {   \line

Re: Testers wanted

2021-07-14 Thread Knut Petersen
Hi Knute! (define-public (output-framework basename book scopes fields) (let* ((port (%make-void-port "w")) (outputter (ly:make-paper-outputter port stencil-dispatch-alist)) Knut With the above change, Windows LilyPond works fine. I don't have any complex source files to try, but

Re: Testers wanted

2021-07-14 Thread Knut Petersen
On 13.07.21 22:54, Knut Petersen wrote: Hi everybody, below you find links to four lilypond installers. These installers contain LilyPond version git ee4513cb238cc (2.23.4) plus an additional patch that implements a new backend based on cairo. All installers were built with a modified version

Re: Testers wanted

2021-07-14 Thread Knut Petersen
(x86)/LilyPond-2.23.4/usr/share/lilypond/current/scm/lily/framework-cairo.scm:262:16: No such file or directory: "/dev/null" Background: ly:make-paper-outputter assumes that every backend will need an output file,  I thought choosing /dev/null would be ok as (most of) the output files are 

Re: Testers wanted

2021-07-14 Thread Knut Petersen
On 14.07.21 16:09, Knute Snortum wrote: I had problems with a basic ly file. It looks like the program is trying to open /dev/null and that doesn't work on a windows machine. lilypond --pdf -dbackend=cairo bach_first_lesson_minuet.ly GNU LilyPond 2.23.4 Processing

Re: Testers wanted

2021-07-14 Thread Knut Petersen
Hi Harm, I'm on Ubuntu 64-bit 20.04 and used your lilypond-2.23.4-1.linux-64.sh with the attached file. I got: $ lilypond -dbackend=cairo filename_名字♯.ly GNU LilyPond 2.23.4 Processing `filename_名字♯.ly' Parsing... Finding the ideal number of pages... Fitting music on 1 page... Drawing systems...

Re: Testers wanted

2021-07-14 Thread Knut Petersen
Hi Harm, If possible send also the fonts used on your system. Do you mean the output of $ lilypond -dshow-available-fonts &> fonts ? Of course not ;-) Ok. Compile the test file without the cairo backend : LANG=c bin/lilypond  -l DEBUG filename_名字♯.ly &> nocairotrace In nocairotrace you

Re: Testers wanted

2021-07-14 Thread Knut Petersen
Hi Michael, Mac OS X 10.4–10.14, Intel x86 CPU, 32 bit I’m currently using a late-2012 27” iMac with macOS Catalina 10.15.7, but this can’t be upgraded to macOS Big Sur, and a recent whiff of overheated circuit-board when I leant over the back of my monitor prompted me to order a

Testers wanted

2021-07-13 Thread Knut Petersen
Hi everybody, below you find links to four lilypond installers. These installers contain LilyPond version git ee4513cb238cc (2.23.4) plus an additional patch that implements a new backend based on cairo. All installers were built with a modified version of GUB. Cairo 1.16.0 with Pixman 0.40 are

Re: slurs and ties to end of bar

2019-07-25 Thread Knut Petersen
Hi Werner! Attached is a lilypond source that shows how to  use postscript to crop parts from a lilypond page. Obviously you still need to find a way to pass the right corner coordinates to the postscript code ... Knut \version "2.21.0" \pointAndClickOff #(set-global-staff-size 18)

Re: LilyPond 2.20 or 2.21 on Ubuntu 18.04

2019-07-18 Thread Knut Petersen
On 18.07.19 14:37, Ralph Palmer wrote: Has any progress been made in making a process available to install LilyPond 2.20 or 2.21 on Ubuntu 18.04? Back in March of this year (2019), there was a brief discussion about installing Guile 1.8 on Ubuntu 18.04, so that ly 2.20 could run. I tried to

Re: Please test new lilypond installers

2019-02-04 Thread Knut Petersen
On 05.02.19 00:36, Karlin High wrote: On 1/29/2019 3:19 AM, Knut Petersen wrote: lilypond-2.21.0-1.freebsd-x86.sh Intel Core i5-3450 3.10 GHz Windows 7 Pro 64-bit SP1 VirtualBox 5.2.22r126460 VM with 2 cores and 4 GB RAM $ uname -a FreeBSD freebsd32-vbox 12.0-RELEASE FreeBSD 12.0-RELEASE

Re: Please test new lilypond installers

2019-02-03 Thread Knut Petersen
Hi Karlin! Maybe, installing compat6x package is required. # pkg install compat6x-amd64 ...and it did indeed fix the issue. LilyPond seems fully functional. Next, I want to make a FreeBSD 32-bit VM, and see about reviving an iMac G5 to test the PowerPC installers. Although I doubt there's a

Re: Please test new lilypond installers

2019-01-30 Thread Knut Petersen
Hi everybody! Thanks for testing the installers. Below I try to summarize your results: *lilypond-2.21.0-1.linux-64.sh* OK: * Ubuntu 18.04.1 LTS (bionic), running under Windows Subsystem for Linux  Windows 10 Version 1803 (OS Build 17134.523) [Aaron Hill] * [Johan Vromans]

Please test new lilypond installers

2019-01-29 Thread Knut Petersen
Hi everybody Urs Liska provides installers for branch master of lilypond, generated by an updated version of our build system GUB: https://cloud.ursliska.de/s/QPINwLqJNeVslCu There you'll find lilypond-2.21.0-1.darwin-ppc.tar.bz2 lilypond-2.21.0-1.darwin-x86.tar.bz2

Re: Compiling LilyPond on Linux Mint 19.1

2018-12-21 Thread Knut Petersen
On 20.12.18 12:21, Lukas-Fabian Moser wrote: Folks, this is mostly to give a reference to those who might hit the same problems that I had: I decided to switch from my ancient Linux Mint 17.3 to Linux Mint 19.1 yesterday. In order to set up a working build environment, I had to provide a

Re: Lilypond fails after system upgrade.

2018-07-15 Thread Knut Petersen
Am 16.07.2018 um 02:37 schrieb Peter Terpstra: Upgraded my the pc to opensuse leap 15. On many documents (not all) i get now this error: warning: `(gs -q -dSAFER -dDEVICEWIDTHPOINTS=612.00 -dDEVICEHEIGHTPOINTS=792.00 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite

Re: Interactive PDF Link to Notes in Preview

2018-07-04 Thread Knut Petersen
Am 03.07.2018 um 18:47 schrieb Zone Dremik: Hello, After a recent upgrade to my computer, the function that links music notes (and lyrics) in the PDF viewer, to the text in the Lilypond files, has stopped working. The ability to click on notes and lyrics in the preview screen, and have the

Re: Different time signature on different staff

2018-04-16 Thread Knut Petersen
Hi Ming! Question: how to align bar lines for the above lilybin sample. Well, as long as your MelodyA starts with \partial 8 \time 6/8 and your MelodyB starts with \partial 4 \time 4/4, bars will never happen at the same moment in time and thus bars will not be aligined ... Knut

Re: Different time signature on different staff

2018-04-16 Thread Knut Petersen
Hi Ming! My code did not produce the expecting of time 6/8 on the first staff. What shall I code to correct this. After reading the manual location pointed out by Brian you might have a look at my edition of Hugo Distles polymetric "Er ist's". PDF

Re: bookparts

2018-03-05 Thread Knut Petersen
Hi Joram et al! *What I want to achieve* is to have ~10 independent pieces and concatenate all of them into one book as well as printing everyone on its own. The separate pieces should have taglines etc. on the first/last page as usual. But the book should not repeat them for every piece. Each

Re: bookparts

2018-03-05 Thread Knut Petersen
Hi Kieren! %%% tempTest.ly \version "2.19" testing = { c''4 4 4 4 } %%% file2.ly \version "2.19" \bookpart { \include "tempTest.ly" \score { \testing } } throws several errors. Because the definition of testing is invalid at that point of the main source file. If tempTest.ly would

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: lilypond code in (pdf/lua/xe)latex documents

2017-12-08 Thread Knut Petersen
Am 06.12.2017 um 20:40 schrieb Jacques Peron: Here is a modified version, that calls `lilypond` only when needed by computing a md5 hash of the content. A good idea. What about making a package out of that and putting it on CTAN ? It would be more universal than lyluatex, so I think many

Re: lilypond code in (pdf/lua/xe)latex documents

2017-12-06 Thread Knut Petersen
Am 06.12.2017 um 10:20 schrieb Mark Knoop: The file should be translated with either * pdflatex --shell-escape lyInLatex * lualatex --shell-escape lyInLatex * pdflatex --shell-escape lyInLatex Thanks for this Knut, very helpful. Presumably the 3rd of these should be xelatex. Yes.

lilypond code in (pdf/lua/xe)latex documents

2017-12-06 Thread Knut Petersen
Hi everybody! Some years ago I published example code how to integrate lilypond code in latex documents. The attached file is an extended update, it might be used with pdflatex, lualatex or xelatex, and it demonstrates how to use the new command line options that replaced --bigpdf in master.

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

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

2017-11-06 Thread Knut Petersen
Am 06.11.2017 um 10:02 schrieb 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 Peters

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-04 Thread Knut Petersen
ypond code for picking up tips and inspiration, but in this case my mediocre lilypond skills got drowned while trying to understand all the different \book outputs at the end. I couldn't easily tell which code was needed for video projects and which was just the Knut Petersen standard for co

Re: Any other Thunderbird users have messages never post? (WAS: Hide slur?)

2017-10-26 Thread Knut Petersen
Am 25.10.2017 um 05:58 schrieb Bob Proulx: At the Mailman layer if the sender address has not posted to the mailing before then the message will be held for moderation. This only happens *once* for the *first* messages from a new address until the modertors approve it. After that point

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

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

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

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

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

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 ___

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

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

  1   2   >