Re: min size svg, how to

2021-02-25 Thread David Pirotte
> 1-crop > I am trying to produce 'min sized' svg images, but I fail. As an > example: > ... > which I compile using this command: > lilypond -dcrop --svg test-2.ly I am sorry for the 'noise', I actually missed that lilypond creates a test-2-cropped.svg, so everything is fine wrt 1-

min size svg, how to

2021-02-25 Thread David Pirotte
Hello 1- crop I am trying to produce 'min sized' svg images, but I fail. As an example: \version "2.22" \paper{ indent=0\mm oddFooterMarkup=##f oddHeaderMarkup=##f bookTitleMarkup = ##f scoreTitleMarkup = ##f page-breaking = #ly:one-line-breaking } \layout { } \relative {

Re: Replace sub-string

2020-05-23 Thread David Pirotte
Hello, > On 2020-05-22 8:38 pm, Freeman Gilmore wrote: > > Is there a procedure, to replace 'all' occurrences of a sub-string > > within a string. with a string? > > If so please give an example. > regexp-substitute/global [1] should do the job. > [1]: >

Re: scheme-question about accumulating lists of lists

2019-04-22 Thread David Pirotte
Hello THomas, > ... > Now `core-guile-condition´ feels like a case for `match´, but I > couldn't make it work. > Is this a bad use case and alist searching is always preferable? I would do this: (define (is-spanner? grob) (match grob ((g-key . g-vals) (let ((meta (assq-ref g-vals

Re: scheme-question about accumulating lists of lists

2019-04-21 Thread David Pirotte
Hi Thomas, > ... > Thanks again! You're welcome. I used 'funny' (weird) procedure and variable names, but if the procedure is to be exposed to your users, and with the objective of making it simple to use, read and maintain, as you described later in your answer, you could write it as - using

Re: scheme-question about accumulating lists of lists

2019-04-20 Thread David Pirotte
Hi Thomas, > ... > Thanks pointing me to this possibility, in my use-case I then could do: > (define (p) (cons '(1 2 3) '(4 5 6))) > (define l1 '(a b c)) > (define l2 '(x y z)) > (cons* l1 l2 (car (p)) (cdr (p)) '()) > => > ((a b c) (x y z) (1 2 3) (4 5 6)) Yes, if you can (you mentioned the

Re: scheme-question about accumulating lists of lists

2019-04-19 Thread David Pirotte
Hi again, Replying twice to myself in a row, how is that :) A little tired I guess ... > > Note that the above will only work if the last 'blue item' has 3 elements, > > you'd > > need to adapt for other use case (which also 'speak' in favor of the cleaner > > approach. >

Re: scheme-question about accumulating lists of lists

2019-04-19 Thread David Pirotte
Hi again, > Note that the above will only work if the last 'blue item' has 3 elements, > you'd > need to adapt for other use case (which also 'speak' in favor of the cleaner > approach. Actually, I didn't like what I wrote, here is a slightly better code: (use-modules (ice-9 match)) (define

Re: scheme-question about accumulating lists of lists

2019-04-19 Thread David Pirotte
Hi Thomas, > Failing example: > (map > car > (cons '(a b c) (cons '(1 2 3) '(x y z > One way to make it work is to convert the initial pair (cons '(1 2 3) > '(x y z)) to a list of lists, i.e (cons '(1 2 3) (list '(x y z))) > The question is: is it the only and/or best way? It sounds a

Re: Which Linux distro for Lilypond

2017-01-13 Thread David Pirotte
Hello, > I never tried to compile lilypond with a guile version higher than > 2.0.13, so I can't say anything about it. I (really) recommend you to do so: guile 2.2 is due to be released in a month or two, at the very most. 2.1.5 beta is the latest [1], 2.1.6 will be released in a few days (and

Re: Which Linux distro for Lilypond

2017-01-07 Thread David Pirotte
Hello, > ... > I already had the vague thought how much work it might be to explore > other scheme-dialects, adjust whole lilypond to use them and drop > guile entirely. > ... For info, someone claimed on irc (#guile, freenode) that he/she is closed to compile/use lilypond using guile-2.1:

Re: Bach - Brahms Chaconne ... for left hand

2016-11-18 Thread David Pirotte
Mark, > http://www.free-scores.com/download-sheet-music.php?pdf=1288 Thank you, And to Gilles and SoundsFromSound as well David. pgpmBYLJJH6RB.pgp Description: OpenPGP digital signature ___ lilypond-user mailing list lilypond-user@gnu.org

Bach - Brahms Chaconne ... for left hand

2016-11-17 Thread David Pirotte
Hello, Does anyone know if a lilypond free score exists for this piece: Bach - Brahms Chaconne (Violin Partita - V) No. 2 in D minor, BWV 1004: arranged for piano left hand I couldn't find it, but I'm not [by far] the best when it comes to searching for something on the web...

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

2016-11-16 Thread David Pirotte
> We'll wait while you whip that right out and show that png file to us. > Remember, it is a poor carpenter who blames his tools. So you finally admit it: you are a poor carpenter pgpORFobQUwMQ.pgp Description: OpenPGP digital signature ___

Re: Potential improvements to the homepage?

2016-08-28 Thread David Pirotte
Hello David, > > I was talking about the source code of these web sites, > The "source code of these web sites" is also written in Texinfo. Nope, Guile, Guix and the other examples I gave all have their web-site source code written in scheme. > That's because Guile does not have its web

Re: Potential improvements to the homepage?

2016-08-27 Thread David Pirotte
Hello Urs, > ... > >> Still needs to be tied into the translation process and means another > >> technology the translators need to master. > > > >Translators would edit the strings , then run 'make www' > > ... > So that explains something. > You think LilyPond's website and docs are

Re: Potential improvements to the homepage?

2016-08-27 Thread David Pirotte
> > Don't be! You'll get use to it a lot faster then you think! It > > actually reads almost as if it was English [and *nod* a lot easier > > then the corresponding html page], here is a simplified example. The > > schema is the same for all pages: > > > > import > > utils > > shared >

Re: Potential improvements to the homepage?

2016-08-27 Thread David Pirotte
> > ... or rather strings in a scheme file? Here's a scary example: > > http://git.savannah.gnu.org/cgit/guix/guix-artwork.git/tree/website/www/about.scm > > > This approach, at least this example, is totally missing CSS/JavaScript > integration that makes (and, unfortunately, often breaks)

Re: Potential improvements to the homepage?

2016-08-26 Thread David Pirotte
Hi Federico, > Il giorno mer 24 ago 2016 alle 0:00, David Pirotte <da...@altosw.be> ha > scritto: > > The first thing, imo, would be to have these pages rewritten in > > scheme, Guile scheme > > I mean of course :), with the portion of the code that holds the &

Re: Potential improvements to the homepage?

2016-08-23 Thread David Pirotte
Hello, > >>> Would a CMS like WordPress be a good candidate for a complete rewrite? I would not do that. The first thing, imo, would be to have these pages rewritten in scheme, Guile scheme I mean of course :), with the portion of the code that holds the content being expressed using sxml,

Re: Please how to use the Scheme debugger?

2014-05-28 Thread David Pirotte
Mark, (use-modules (ice-9 readline)) readline is not provided in this Guile installation The Guile Reference Manual version 2.0.11 says: 4.4.2 Readline To make it easier for you to repeat and vary previously entered expressions, or to edit the expression that you’re

Re: Problem: incompatible Lilypond and Guile

2014-05-23 Thread David Pirotte
Mark, Then I downloaded Guile 2.0.11 from the gnu.org website and tried to build it. Configure failed (also off topic). This step is tells you that there is a dependency problem, and that guile 2.0.11, which is _very_ _very_ stable :), won't compile, don't even try :) If you can't find out

Re: MusicXML

2013-04-25 Thread David Pirotte
, if there still is, and if, how far is lilypond from effectively being built upon guile-2 ? (david pirotte) ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: fyi - https://wiki.ubuntu.com/UbuntuFreeCultureShowcase

2010-06-24 Thread David Pirotte
Hi, If you think it serves well lilypond, you may use mine too [it's a small piece], which by the way is already used in the lilypond manual [2.3 Unfretted string instruments] [someone in this list did ask to ear it, now one interpretation is available - on this page too]:

Re: an output question

2008-05-21 Thread David Pirotte
evince [gnome document viewer] will do that for you as well, i am using it a lot and i am quite happy, it's been improved a lot recently [i am using version 2.20.2] http://www.gnome.org/projects/evince David ;; -- Le Wed, 21 May 2008 09:55:35 +0200, Mats Bengtsson [EMAIL PROTECTED] a

Re: A440 Notation System

2005-01-23 Thread David Pirotte
On Sun, 23 Jan 2005 16:55:44 +0100 [EMAIL PROTECTED] wrote: Quoting Erik Sandberg [EMAIL PROTECTED]: On Friday 21 January 2005 10.54, John Boyle wrote: Hello, Lilypond users. I'd be very grateful to hear your comments on the A440 System which you can access on

Re: Font problem, Xdvi, quite urgent.

2001-10-15 Thread David Pirotte
Amelie Zapf wrote: Amelie, if you are using a distribution that includes tetex, then the following suggestion might help you: 1. get the latest xdvi-22.48 ftp://ftp.math.berkeley.edu/pub/Software/TeX/ 2. ./configure --with-tetex (or --with-tetex=PATHLIST)

LilyPond 1.4.8: ly2dvi error

2001-10-09 Thread David Pirotte
Hi, i've installed, as recommanded, both guile-1.4 in $HOME/usr/guile-1.4 LilyPond 1.4.8 PATH=$HOME/usr/guile-1.4/bin:$PATH ./configure i still can not compile simple lily file, such as the following one (below error message) i tried to modify the

Re: LilyPond 1.4.8: ly2dvi error

2001-10-09 Thread David Pirotte
Jan Nieuwenhuizen wrote: ... Well, scm_make_gsubr should be in guile-1.4. Did you adjust your library load path to look for guile 1.4 first? (Hint: see what ldd lilypond says.) ahhhrch! yes, thanks. so, for other users who would want to run several guile versions, it is important to change

page numbering

2001-10-09 Thread David Pirotte
anyone know how to ask page numbering to be centered in the footer? thanks david ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user

Re: not too bad for a beginner ... but i need help

2001-10-09 Thread David Pirotte
,note $\\leq$ 42 % #(define init `((lines lent: sans réelle pulsation, % (columns simplement ,note ou = à 42 \header { title = Prélogique subtitle = à Leila Bouzalgha composer = David PIROTTE opus = Opus 1 piece = ~ poet = ~ % instrument = `,title-instr instrument = pour

lilypond-1.5.15

2001-10-07 Thread David Pirotte
Hello, just for information, i installed lilypond-1.5.15, but it does not compile my prelogique.ly (mentionned and sent in a previous mail) and does not compile the example that i copy-paste from http://lilypond.org/wiki/?LilyPondHacks guile 1.7.0 (latest cvs version (Changelog

Re: lilypond-1.5.15

2001-10-07 Thread David Pirotte
Han-Wen Nienhuys wrote: try removing the semi-colons. yes, i thought about it, here is 'another' error output: david@faust:~/alto/projects/lilypond/tests 54 $ ly2dvi bars-1.ly Running LilyPond... GNU LilyPond 1.5.15 Now processing: `/usr/alto/projects/lilypond/tests/bars-1.ly' Parsing...

latest guile cvs gives me problems

2001-10-04 Thread David Pirotte
hello, i just downloaded the latest guile cvs for guile-core and since can not use lilypond anymore, here is the ly2dvi output david david@faust:~/alto/projects/lilypond/prelogique 19 $ ly2dvi prelogique.ly Running LilyPond... GNU LilyPond 1.5.14.jcn1 Now processing:

Re: lilypond-1.5.14 compilation problem

2001-10-01 Thread David Pirotte
Jan Nieuwenhuizen wrote: try this patch I tried, but the content of the patch seems to have a little problem, could you send me an attached patch file ? Thanks David ;; -- patch output david@faust:~/ftp/lilypond-1.5.14 29 $ patch -E -p1 lilypond-1.5.14.jcn1.diff patching file CHANGES

Re: lilypond-1.4.8 compilation problem

2001-10-01 Thread David Pirotte
Jan Nieuwenhuizen wrote: David Pirotte [EMAIL PROTECTED] writes: hello, lilypond-1.4.8 compilation problem SuSE 7.2 Linux 2.4.4 checking for guile-config... guile-config checking Guile version... 1.7.0 Lots of things have changed in GUILE since 1.4. Han

Re: make web-doc

2001-10-01 Thread David Pirotte
Mats Bengtsson wrote: http://www.s3.kth.se/~matsb/lilypond/lilypond.ps.gz (using Type1 fonts throughout the document!) great! thanks ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user

clusters: note spacing problem and other things

2001-09-30 Thread David Pirotte
Hello ;; -- I am new user of lilypond. I am a composer, a young composer, and I hope that I will be able to write my music with lilypond. But modern music is quite demanding and so much more difficult to typeset then ancient music. Is there any other composers of classical contemporary

make web-doc

2001-09-28 Thread David Pirotte
Hello, i could compile install lilypond-1.5.13 and it seems to work fine however, i am a new user and need the doc to build, which does not - can anyone help me with this problem? or - is there a lilywebdocsite.tar.gz somewhere I could download? thanks, david