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

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

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 ___ lily

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 audio

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 with

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 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. Probably you have an accent

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.search("ti

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

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 /home/kn

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/o

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 ex

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

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
rom cf54a3b00ed03070c3a4739b0c1d528d9cd7afca Mon Sep 17 00:00:00 2001 From: Knut Petersen 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++ and scheme,

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 <>\version "2.16.0" \header { tagline = ##f} \layout{ \context { \Voice \consists "Ambitus_engraver" }} \score { \n

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 fro

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 Emmenta

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 to

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 g

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 au

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 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 of both. Pos

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

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 u

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 replacem

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 s

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
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 `bach_first_lesson_minuet.ly

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  cr

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
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: 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 {\score

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

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 lilypond-2.21.

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] *

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 v

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

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) #(set-defa

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

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 co

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 l

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 co

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 pi

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

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

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 nic

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 Debi

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 *an

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 avo

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 b

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 w

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 pl

Video generation on linux systems: Note and rests change color

2017-07-21 Thread Knut Petersen
rob-property l 'system-grob))) (if (not (null? system-grob)) (list system-grob) system-grob))) line)) lines)) (firstmoments (append (map (lambda (m

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 involve

Re: .ly file partially compiles, then LP crashes

2017-07-28 Thread Knut Petersen
Hi Guy! Starting lilypond-windows.exe 2.19.56 [Leloupgarou_transformationscene-pianoReduction.ly]... Processing `[filename].ly' Parsing... Interpreting music...[8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][128][136][144][152][160][168][176][184][192][200][208][216][224][232

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 changed

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 do

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 late

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

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 char

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 Unfort

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 te

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: 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: 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 medium to large score (44 pages of output) with 2.1

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 message

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

2017-11-04 Thread Knut Petersen
#x27;s lilypond 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 stan

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

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
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 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: http://lilypond.1

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: 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
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 https://li

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

2017-11-16 Thread Knut Petersen
Don't use 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

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 Vögel

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 yea

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 deci

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 co

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

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

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

2016-09-06 Thread Knut Petersen
(format #f "page ~a contains no music\n" 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))

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 ___ lilypo

Re: polymetric music with mensuration lines

2016-09-11 Thread Knut Petersen
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: 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) (key-can

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

2016-09-14 Thread Knut Petersen
Missing : -> errors 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

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 Performer_

  1   2   >