Re: Conditional code in the midi block

2024-05-20 Thread Jean Abou Samra
> nostaffmidi = > #(define-scheme-function () () >(if TrackPerVoice #{ \context { \Staff \remove "Staff_performer" } #})) Ah, that proves me wrong. I didn't recall the parser was smart enough for this. > Although, I don't understand why the contents of the scheme functions cannot > be

Re: Conditional code in the midi block

2024-05-20 Thread Jean Abou Samra
> I would like to include some Staff and Voice context settings in the > \midi block only if a flag is set to ##t and I have not been able to > figure out how to do this.  When I try to wrap the \context blocks > in a code block with #{…#} I get this error: > trackPerVoiceMWE.ly:31:16: error:

Re: One-page PDF cut off after a certain height?

2024-05-20 Thread Jean Abou Samra
> I run into a problem when I create a (very high) single-page PDF file from a > Lilypond score. 'After a certain time', the rest of the page is rendered in > white. > > In my use case, I wanted to make a large system staff, and white-on-black > music, because of readability-reasons.

Re: Looking for documentation for constants

2024-05-19 Thread Jean Abou Samra
> This is a very basic question.  I have see some examples that use > constants like "$SELECTION" or ""$CURSOR'$ANCHOR". but despite doing all the > obvious things (searching the documentation, etc.) I've not found any relevant > information. > > I would sincerely appreciate being pointed in the

Re: vertical spacing per score

2024-05-18 Thread Jean Abou Samra
> Le 19 mai 2024 à 02:53, Walt North a écrit : > > David, thanks, this did indeed accomplish my goal - so I'm happy. Well, \bookpart will work *if* you are happy with having a page break between the two scores.

Re: vertical spacing per score

2024-05-18 Thread Jean Abou Samra
> Le 19 mai 2024 à 01:56, David Wright a écrit : > > Perhaps > > https://lists.gnu.org/archive/html/lilypond-user/2024-04/msg00247.html Indeed, but there was a more technical one, with Lukas I think.

Re: vertical spacing per score

2024-05-18 Thread Jean Abou Samra
> Hi.  I have a case where I want to have different vertical spacing between two > different scores.  I can get system-system spacing to change for both scores > using a \paper variable. But if I'm understanding the documentation correctly > I should be able to use the same variable in a distinct

Re: manual repeat mark syntax question

2024-05-16 Thread Jean Abou Samra
>    \set Score.repeatCommands = #'((volta ,voltaOpt)) ^^^ This should be ` not ' . signature.asc Description: This is a digitally signed message part

Re: Custom colors in fret diagrams

2024-05-15 Thread Jean Abou Samra
> Quick question on coloring dots in fret-diagrams. There is an option to use > predefined colors from normal, CSS or X11 palettes which works perfectly well > in the fret-diagram-verbose with the snippet below: > > >  (place-fret 3 6 3 dodgerblue2) > > For some reason I cannot get it working

Re: italic phrase in lyrics

2024-05-15 Thread Jean Abou Samra
Le mercredi 15 mai 2024 à 17:05 -0400, David Olson a écrit : > Suppose the lyrics contain two contradictory propositions: > >    Ma -- the -- ma -- tics is in -- vent -- ed. >   Ma -- the -- ma -- tics is dis -- cov -- ered. > > Is this the only way to put the second proposition in italics? >

Re: layout problem - new issue

2024-05-14 Thread Jean Abou Samra
> I've tried placing the new bar in 3 different places on the treble > staff.  In the current pdf, the first 2 are commented out and the third > -- which I expected to work -- is active: placement after the >>.  > Somehow a spurious bar is inserted, but I don't know where it's coming from.

Re: Frescobaldi?

2024-05-10 Thread Jean Abou Samra
> I've freshly installed Frescobaldi using mac port. When lauching the > frescobaldi.app, Are you sure that this is the Frescobaldi that was installed by MacPorts? It rather sounds like the (buggy) .app distributed in the Frescobaldi releases. I think the MacPorts-installed Frescobaldi should

Re: \after positioning in voices

2024-05-07 Thread Jean Abou Samra
> >   % \after 2 \< \after 8*7 \!\> \after 2 \! >   s2 d8(c b2) Make that       s2 d8(\< c \after 8 \> b2) <>\! \after doesn't work the way you indented your code suggests you think it does. The syntax is \after DURATION ARTICULATION MUSIC and gives something roughly equivalent to

Re: Frescobaldi?

2024-05-06 Thread Jean Abou Samra
> Regarding MacOs porting, a valid alternative would be to run > the linux version of Frescobaldi from a Docker container Perhaps, but from the perspective of building .app bundles, that replaces a headache (shipping Qt, PyQt, Poppler and python-poppler-qt5) with what sounds like an even larger

Re: Re[4]: Frescobaldi?

2024-05-06 Thread Jean Abou Samra
> I'm an intermediate-level python programmer but I might be able to help with > busy work like typing and documenting functions, with some feedback.  Anything > to give back to a project that I use all the time! Thanks. However, without wanting to stop you from contributing, I'll reiterate that

Re: Re[4]: Frescobaldi?

2024-05-06 Thread Jean Abou Samra
Le lundi 06 mai 2024 à 14:05 +, Steph Phillips a écrit : > Well, I'm glad you asked about feedback because I'm curious what other > folks who contribute to Frescobaldi might think. > > After digging around in the codebase, I'm wondering if the application > might benefit from a more

Re: Re[2]: Frescobaldi?

2024-05-06 Thread Jean Abou Samra
> Hey all, I've been looking over the Frescobaldi codebase for the last > few days, and it seems to be within the realm of something I could pick > up maintenance for. > > There would definitely be a learning curve, so hopefully it doesn't > reach it's EOL too soon... But, I don't know, I

Re: Frescobaldi?

2024-05-06 Thread Jean Abou Samra
> I’m wondering if the Frescobaldi approach is actually working out. Keep in > mind that originally Frescobaldi was just a project for adding support for > Lilypond to KATE, then it became a KDE parts solution, then it started to do > everything itself for more control. And this means you’ll

Re: Frescobaldi?

2024-05-05 Thread Jean Abou Samra
> The technical stuff is way over my head, but this reads like the top- > level description of a GSOC project (in case the mentioned friend > doesn't take the bait)... GSoC projects are nice for doing focused work on some specific part of the code base. For overhauling just about everything,

Re: how difficult would it be to have “auto-correct spacing” (even for just a single measure)?

2024-05-04 Thread Jean Abou Samra
> > If you look at the first measure of the third system, you can see > > that the note spacing is distorted by various things (lyrics, > > accidentals, etc.). But clearly there’s more than enough horizontal > > room to make those eighth notes absolutely even — in fact, that kind > > of thing is

Re: Fw: Frescobaldi ... panic alternatives?

2024-04-30 Thread Jean Abou Samra
> FYI, what I like the most about Frescobaldi are: > >  * Templates and wizards >  * Snippets >  * Point and Click selection >  * Syntax highlighting > > If Frescobaldi for Mac does indeed vanish, what are my alternatives for a > Lilypond editor? Syntax highlighting should be doable in Emacs,

Re: How to manually set MIDI channel # for a staff?

2024-04-29 Thread Jean Abou Samra
Le lundi 29 avril 2024 à 06:31 -0500, Jason Yip a écrit : > Hi, > > Does anyone know how to manually set the midi channel # for a staff to > something other than the default of channel 0/1? Without having to > create dummy staffs with just `s256` as the voice content preceding the > desired

Re: Frescobaldi?

2024-04-29 Thread Jean Abou Samra
> yeah, I just had the package-manager in gentoo downgrade to the previous > version of snappy, and then filed a bug with gentoo. It's a workaround for > now. > > As another workaround, I'm trying to get my latex editor to use lilypond-book, > but since it's on a nonstandard path, I don't seem

Re: Frescobaldi?

2024-04-29 Thread Jean Abou Samra
> It gets a bit more complicated now. See this bug: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278633 > > That bug is for freeBSD, but I expect it applies to other > distros as well (it certainly applies to gentoo, as I'm > getting the exact same error). In short, snappy (an archiver) >

Re: Frescobaldi?

2024-04-29 Thread Jean Abou Samra
> Would it maybe make things a bit easier to leave the whole MacOS > business aside and take care of the Linux-specific stuff first? Linux is not really causing us any specific problems. Packaging is a lot easier, thanks to Linux distributions and Flatpak. The only wrinkle is the oddities on

Re: Frescobaldi?

2024-04-28 Thread Jean Abou Samra
> […] > Well, the explanation wasn't that brief. Sorry that I didn't have > time to write a shorter one, as they say. PS: Maybe I should mention that at the time I went down the rabbit hole of Python packaging in general because of Frescobaldi, I wrote two articles on the LinuxFR site, which may

Re: Frescobaldi?

2024-04-28 Thread Jean Abou Samra
> unfortunately, as I noted above, the problem seems to be that frescobaldi > depends on a now-deprecated version of qtwebengine, and without updating > it we'll eventually reach a point where it no longer runs. I looked into > this because qtwebengine-5.15 failed to compile on my machine this

Re: Frescobaldi?

2024-04-28 Thread Jean Abou Samra
> I own a bunch of Macs. In fact, right here in my studio I have two late-2014 > Mac Minis with fresh Monterey installs which are completely unused. I also > have a *really* excellent [fibre] internet connection — it usually hovers near > 900Mbps up and down (though right now it’s only at 200Mbps

Re: Frescobaldi?

2024-04-28 Thread Jean Abou Samra
> Just had a quick look. It seems to me we need to create a python-poppler-qt6, > port qpageview to Qt6 and of course frescobaldi itself. I would hope that > qpageview and frescobaldi both basically mean moving from PyQt5 to PyQt6 which > I expect to be mostly busy work. The poppler bindings seem

Re: Frescobaldi?

2024-04-28 Thread Jean Abou Samra
> If there is busy work that needs to be done on the project, I can do that, but > I also don't own a Mac. Thanks, but unfortunately the kind of work needed is deeply technical, not busy work. signature.asc Description: This is a digitally signed message part

Re: Frescobaldi?

2024-04-28 Thread Jean Abou Samra
> Is Frescobaldi the most common tool on Linux, or what do the majority of > Lilypond users use? Frescobaldi is the most common LilyPond editor, on all OSes. signature.asc Description: This is a digitally signed message part

Re: Frescobaldi?

2024-04-28 Thread Jean Abou Samra
> Doing some system updates today, I see that frescobaldi is the only program > that requires PyQtWebEngine:5, which in turn requires qtwebengine:5. Looking > at the frescobaldi page, I see a somewhat concerning note that the project is > on the verge of being unmaintained, due to this dependency

Re: Delayed turns etc

2024-04-17 Thread Jean Abou Samra
> That works for the last line of the whole score. The line I want to be > "ragged" is the last line of a page. with more music on the next page. There is no way to make just one system ragged except the last one in the score. I'm afraid you need a second \score block if you want to do this.

Re: score with dynamic beats

2024-04-12 Thread Jean Abou Samra
> I note that in one solution one uses \remove and in the other \omit to > achieve the same thing. > > Is there any prospect of  moving to a situation where only one operator > is used to achieve a result, possibly by having a preferred and > deprecated options first? This is a general point,

Re: Installing 2.24.1

2024-04-11 Thread Jean Abou Samra
> Is there any reason for expecting me to install an unwanted program, in > order to get a program I do want? Or are you trying to force everybody > to use Frescobaldi? Why? The default installation tutorial use Frescobaldi because it's a newcomer-friendly IDE. That doesn't mean we're trying

Re: computer compatible

2024-04-11 Thread Jean Abou Samra
> Is Lilypond compatible with iMac sonoma 14.2? Yes. As written on https://lilypond.org/download.html , current versions of LilyPond are compatible with macOS 10.15 Catalina and higher. signature.asc Description: This is a digitally signed message part

Re: \epsfile and SVG output

2024-04-10 Thread Jean Abou Samra
> Many thanks for the clarification that this approach will not work and > alternative suggestions. > > I presume that /image will only include PNGs in a SVG output and not EPS (the > documentation reads a little unclearly on this as the section on backends is > elided with comments on coloured

Re: \epsfile and SVG output

2024-04-10 Thread Jean Abou Samra
> It would be possible to convert EPS to SVG with pstoedit or via PDF and > Inkscape. Both would avoid rastering vectors into a pixel image. True, but LilyPond so far doesn't support including SVG images either. (It does support \markup \path in SVG though.) signature.asc Description: This

Re: \epsfile and SVG output

2024-04-10 Thread Jean Abou Samra
> An alternative, if you can use raster graphics, would be a PNG file added > with the \image command. P.S. \image is new in 2.25 https://lilypond.org/doc/v2.25/Documentation/notation/graphical-markup (and I remember now that I wrote down what does and doesn't support EPS in the 2.25

Re: \epsfile and SVG output

2024-04-10 Thread Jean Abou Samra
> I am trying to include an epsfile as a top-level markup (it is not in > a score) and then output as SVG. You can't (this should indeed be mentioned in the documentation). EPS files are included by basically inlining them into the PS code that LilyPond generates, which is then converted to

Re: PianoPedalBracket.to-barline doesn't always work as expected

2024-04-10 Thread Jean Abou Samra
Le mardi 09 avril 2024 à 23:55 +0200, Maurits Lamers via LilyPond user discussion a écrit : > Hey all, > > I encountered a situation where the PianoPedalBracket setting to-barline > doesn't always do what you'd expect. Given the following code, the pedal > bracket is not extended to the end of

Re: Minimize flats or sharps in transposed key signature?

2024-04-08 Thread Jean Abou Samra
> I'm using \transpose pretty heavily, and I'm running into an issue I don't > quite know how to solve. I'm aware of the \naturalizeMusic hack described > in the LilyPond documentation. I'm looking for something similar, but for > key signatures. This was discussed in the past, for example I

Re: nested beaming

2024-04-08 Thread Jean Abou Samra
Le lundi 08 avril 2024 à 09:22 -0700, Paul Scott a écrit : > Many years ago I could nest square brackets in Lilypond. How can I write > this now incorrect code: > > a16[[ 16 16] 16[ 16 16]]  i.e. two groups of 3 beamed 16th notes joined > by a single beam. > > I have looked at NR 1,2,4 A

Re: Get name of music object

2024-04-02 Thread Jean Abou Samra
> I know how to get the properties from a music object - but how about the name? > I cannot figure out how to get the name from a music object. (ly:music-property the-object 'name) HTH Jean signature.asc Description: This is a digitally signed message part

Re: nested \set ?

2024-03-25 Thread Jean Abou Samra
> My Lilypond knowledge is small but have you tried the "\unset" command ?? \unset will simply remove the value. Werner is looking for something that resets the previous value. signature.asc Description: This is a digitally signed message part

Re: nested \set ?

2024-03-25 Thread Jean Abou Samra
Le lundi 25 mars 2024 à 07:31 +, Werner LEMBERG a écrit : > LilyPond provides `\temporary` and `\revert` to set a grob property > temporarily, and afterwards the value of the grob property is the same > as before. > > Is there a similar possiblity for `\set` (or something usable in > Scheme)? 

Re: \enablePolymeter not working

2024-03-17 Thread Jean Abou Samra
> https://lilypond.org/doc/v2.23/Documentation/58/lily-fa68165d.ly That's the LilyPond 2.23 documentation. > I am using lilypond 2.22.1 Now you should understand the problem :) signature.asc Description: This is a digitally signed message part

Re: Time measurement

2024-03-15 Thread Jean Abou Samra
> Hi Jean, > > As always… remarkable. > > One question: How hard would it be to have this output more precise > timings (e.g., 1/4 or 1/10th or 1/100th of a second, or SMPTE timecode > in minutes:seconds:frames)? I could imagine this being *very* useful > for film/video/media composers. To get

Re: Time measurement

2024-03-14 Thread Jean Abou Samra
> “This sounds like a job for… Custom Engraver!!”  :) \version "2.24.2" #(define (Custom_engraver!! context) (define (format-time seconds) (let ((minutes (euclidean-quotient seconds 60)) (rest (euclidean-remainder seconds 60))) (string-append (if (zero? minutes) ""

Re: Question regarding ChordNames

2024-03-13 Thread Jean Abou Samra
> Mahalo, X. I am using the naturalizeMusic function and will look into > extending that.  Maybe that has some nuggets to mine. `\naturalizeMusic` is not going to work well on `\chordmode` music (it will destroy the interval in chords, leading to wrong chord names), but you can use code like

Re: Omit TupletNumber problem

2024-03-12 Thread Jean Abou Samra
> I cannot figure out how to revert or reverse "\omit TupletNumber". \undo \omit TupletNumber Best, Jean signature.asc Description: This is a digitally signed message part

Re: Control breaks in staff that I get from a variable?

2024-03-10 Thread Jean Abou Samra
Le dimanche 10 mars 2024 à 18:33 +, Werner LEMBERG a écrit : > > Can you provide some additional sentence or sentences for the > documentation so that we have something to start with? See also https://gitlab.com/lilypond/lilypond/-/issues/6439 signature.asc Description: This is a

Re: search and replace on all included files on compile

2024-03-06 Thread Jean Abou Samra
Try ``` \version "2.24.2" \paper { #(add-text-replacements! '(("1↑" . "1"))) } { c'^\markup "1↑" } ``` Best, Jean signature.asc Description: This is a digitally signed message part

Re: installation

2024-03-01 Thread Jean Abou Samra
Le vendredi 01 mars 2024 à 16:21 -0800, carsonm...@ca.rr.com a écrit : > Went to \users\Mark\lilypond 2.24.3\gs The program you should add is ...\lilypond(.exe), not ...\gs. signature.asc Description: This is a digitally signed message part

Re: slur into a repeat volta 2 section

2024-02-24 Thread Jean Abou Samra
Just replace `4\repeatTie` with `4`? signature.asc Description: This is a digitally signed message part

Re: Music generated by function confuses relative pitch

2024-02-22 Thread Jean Abou Samra
Hi Morten, Le jeudi 22 février 2024 à 23:00 +0100, Morten Lemvigh a écrit : > \version "2.24.1" > > double = > #(define-music-function (music)(ly:music?) >    (let ((notes (ly:music-property music 'elements))) >      (make-music 'SequentialMusic >                  'elements >                  

Re: Position coordinates fail

2024-02-22 Thread Jean Abou Samra
> Do you know how I can solve this problem? Consider that I have no error > messages. We'll need an example where it fails. Preferably  [tiny](https://lilypond.org/tiny-examples.html), but your full score (if you can share it) would work too. Best, Jean signature.asc Description: This is

Re: 5th anniversary conference? :)

2024-02-15 Thread Jean Abou Samra
> I was just waxing nostalgic about that fabulous Salzburg conference in 2020, > and noted that in Jan 2025 — just under a year from now! — it will have been > five years since we got together, talked music/notation, and raised [more > than] a few pints together. > > Any chance for a repeat? :)

Re: Control breaks in staff that I get from a variable?

2024-02-10 Thread Jean Abou Samra
> As some of us know, this does not work: > > << >   \staffIGot >   { s1*5 \break } > >> > > It introduces an extra staff. Not wanted. The classic fix is << \new Devnull { s1*5 \break } \staffIGot >> Best, Jean signature.asc Description: This is a digitally signed message part

Re: Texinfo documentation.

2024-02-10 Thread Jean Abou Samra
> I have recently upgraded from 2.22.2 to 2.24.3. However, as I only use > LTS distributions of ubuntu, I had to download the tar.gz package. No > problem. But how may I obtain the documentation in texinfo format for > use with emacs? In fact, looking through the archive, it does not > appear that

Re: Score overruns page. Bug or something I did?

2024-02-06 Thread Jean Abou Samra
It's not a bug —  by default, LilyPond forbids line breaks on a bar line when there are notes straddling on that bar line. You can change this with ``` \layout { \context { \Voice \remove Forbid_line_break_engraver } } ``` Best, Jean signature.asc Description: This is a

Re: Duration shortcut not working for rests

2024-02-03 Thread Jean Abou Samra
> Am I misunderstanding something, or is this a bug? Since the "r4" at the > start of the second measure is fully qualified, I was expecting the "4"s that > follow it to be quarter rests as well, but I'm seeing "c"s in the rendered > output. > > ``` > \version "2.25.6" > > { >     c'4 r

Re: How to

2024-02-01 Thread Jean Abou Samra
Try ``` #(define (should-not-print-arranger layout props) (equal? "" (chain-assoc-get 'header:arranger props))) ``` For one thing, `'header:arranger` just gives a [symbol](https://extending-lilypond.gitlab.io/en/scheme/quoting.html), it doesn't look up the arranger. A symbol is never

Re: PDF Bookmarks

2024-01-30 Thread Jean Abou Samra
There is a known bug when combining `\tocItem` and `\bookpart`. See [issue #6355](https://gitlab.com/lilypond/lilypond/-/issues/6355). I've just posted a workaround on the issue. signature.asc Description: This is a digitally signed message part

Re: Numérotation des versets

2024-01-27 Thread Jean Abou Samra
Try the code here? https://lists.gnu.org/archive/html/lilypond-user/2022-04/msg00036.html Best, Jean signature.asc Description: This is a digitally signed message part

Re: Numérotation des versets

2024-01-27 Thread Jean Abou Samra
Hello, This is the English-speaking list. You probably meant to send this to the French forum, user-fr@lilypond.community .

Re: zero-duration s to hold marks

2024-01-10 Thread Jean Abou Samra
Raphael: > That strikes me as being a programmer's response, and I speak as a > programmer for over 50 years. Using <> works, but it is unintuitive. If > s0 is more intuitive then that should be considered for future inclusion. s1*0 works and is more or less equivalent to <> . John: > The

Re: Question about \include options

2024-01-08 Thread Jean Abou Samra
Le lundi 08 janvier 2024 à 12:04 -1000, John Helly a écrit : > My default search engine is Google but I've also tried DuckDuckGo and Bing > with similar, but different, results.  So, this problem falls into a use-case > that I usually call 'the completeness and consistency of a search'.   Is

Re: Question about \include options

2024-01-08 Thread Jean Abou Samra
> If you do a web search for > > lilypond "#f" > > is the very first hit not sufficiently helpful? In defense of the OP, the first hit for me on Qwant is http://lilypond.org/doc/v2.25/Documentation/usage/advanced-command_002dline-options-for-lilypond which would not be exactly helpful if I

Re: Output PDF to stdout

2024-01-04 Thread Jean Abou Samra
This doesn't exist, sorry. It wouldn't be *that* straightforward to implement, because there are multiple code paths for output (GhostScript via API, GhostScript via subprocess, SVG backend and Cairo). I'm not even sure that direct PDF output in GhostScript's PS → PDF conversion is not going

Re: Tweak Slur Position or Priority

2023-12-28 Thread Jean Abou Samra
You've mistyped "positions" as "position" (hence the warning “cannot find the property type-check…”). signature.asc Description: This is a digitally signed message part

Re: How to put a big number in the upper left or right corner of a score?

2023-12-28 Thread Jean Abou Samra
Hi, > Thank you Jean. I just now wanted to apply your tip, but it's not quite what > I expected. If I copy your script litterally, the number overlaps with the > \header (piece title, composer etc.). If I delete the \with-outline the > overlap is gone, but the number appears below the header,

Re: Why has `NonMusicalPaperColumn` a width?

2023-12-19 Thread Jean Abou Samra
> I fully agree.  However, what I don't understand is why a zero-width > non-musical paper column has a non-zero ideal spring distance. > Additionally, this 0.5 value is hard-coded and undocumented, > apparently present in the code since the very beginning. Well, it's not zero-width, since it

Re: Why has `NonMusicalPaperColumn` a width?

2023-12-19 Thread Jean Abou Samra
> it's the minimum distance to the last  Correction: the *ideal* distance signature.asc Description: This is a digitally signed message part

Re: Why has `NonMusicalPaperColumn` a width?

2023-12-19 Thread Jean Abou Samra
> Why does the `NonMusicalPaperColumn` grob have a width of 0.5 units? Where it > is defined? Are you referring to the blue arrow from the second-to-last non-musical column to the last rest? That's not a width, it's the minimum distance to the last rest's musical column. Also, why would

Re: Lilypond on Fedora 38 "mostly broken"

2023-12-17 Thread Jean Abou Samra
This is not https://bugzilla.redhat.com/show_bug.cgi?id=2208744 but rather https://bugzilla.redhat.com/show_bug.cgi?id=2253842 , which is being fixed. The updates are in the "Testing" repositories. See https://bugzilla.redhat.com/show_bug.cgi?id=2253842#c3 for how to install the update on

Re: error I can’t figure out

2023-12-16 Thread Jean Abou Samra
See https://lists.gnu.org/archive/html/lilypond-user/2023-11/msg00152.html signature.asc Description: This is a digitally signed message part

Re: property-defaults.fonts not working

2023-12-16 Thread Jean Abou Samra
> What is the minimum x for it to work as documented? It's 6. See https://gitlab.com/lilypond/lilypond/-/commit/1346d30d183e38cb693c7d61f2ac76785130e449

Re: property-defaults.fonts not working

2023-12-16 Thread Jean Abou Samra
What's the exact value of x in 2.25.x?

Re: Running a system command from within Lilypond [Solved]

2023-12-15 Thread Jean Abou Samra
> I am on version Frescobaldi 3.2 and Lilypond 2.22.1 and do not appear > to have that option. At least, I have not found it. Anyway, I have > "automatic engraving" on. It's in Edit > Preferences > LilyPond Preferences > Running LilyPond > Save document if possible, but I don't think it's going

Re: Running a system command from within Lilypond [Solved]

2023-12-15 Thread Jean Abou Samra
> [Later] The error I am getting now is: > Processing `/tmp/frescobaldi-duowk0s5/tmpz726e77a/testGit.ly' >   Parsing...fatal: not a git repository (or any of the parent > directories): .git If the path is in `/tmp/`, it means that you did not save your file before compiling, so

Re: Running a system command from within Lilypond

2023-12-15 Thread Jean Abou Samra
> I keep my Lilypond files in a git repository. I would like to > interpolate the repo's version number in the Lilypond output by running > a command like "git log|head -1". I can  do this from raw Scheme  using > the system() function, but this does not seem to work in Lilypond. How does it

Re: Changes to Notename - lost some functionality

2023-12-13 Thread Jean Abou Samra
> There's may be one extra paren in there because it threw a syntax error. Yes, sorry. > Is that a proper fix, or is something else wrong? I wouldn't call it a “proper” fix because it's a bit too dependent on details that can easily change (specifically, whether the default `NoteName` text is

Re: Changes to Notename - lost some functionality

2023-12-13 Thread Jean Abou Samra
This code is too big for me to digest it, but the basic problem is that  ``` (let* ((default-name (ly:grob-property grob 'text)) (new-name (assoc-get default-name newnames))) ``` is doing a lookup in your `newnames` alist with the value of `text` as the key. In more recent

Re: Continuation slur and key signature with many sharps

2023-12-13 Thread Jean Abou Samra
See [issue #6639](https://gitlab.com/lilypond/lilypond/-/issues/6639). signature.asc Description: This is a digitally signed message part

Re: lilypond "preprocessor"?

2023-12-12 Thread Jean Abou Samra
> One thing occurred to me.  If the original \score did not have a \midi > block, would it be possible to ask lilypond to produce midi output > without modifying the input file? No, this is not currently possible, although it would be a nice addition. signature.asc Description: This is a

Re: lilypond "preprocessor"?

2023-12-12 Thread Jean Abou Samra
> If I can find a way to append to the input file, I can probably get rid > of that scraping/parsing code completely.  I came across -dread-file- > list.  If I understand I would need to create a file: > > ``` > $ cat list-of-files.txt > first.ly > song.ly > last.ly > ``` > > And then > > ``` >

Re: lilypond "preprocessor"?

2023-12-11 Thread Jean Abou Samra
> There is a case where I want to create a narrower page for a narrower > screen.  I can easily append a /paper {} block to the original file to > do this.  However, any manual breaks will probably not work at this > newer width.  How would you recommend dealing with this? Put ``` break = {}

Re: lilypond "preprocessor"?

2023-12-11 Thread Jean Abou Samra
> We need a copy so we can introduce the space time dumper code which > boils down to a simple /include statement at the very top of the file. You can do that via the `-dinclude-settings` option instead. > It looks like ly2video also removes any \break, \noBreak, and > \pageBreak it finds in

Re: ly:set-option png backend broken?

2023-12-11 Thread Jean Abou Samra
> Is there any way to produce png output without --png in the command? No, sorry. signature.asc Description: This is a digitally signed message part

Re: lilypond "preprocessor"?

2023-12-10 Thread Jean Abou Samra
> I know I can run lilypond on song.ly and it will implicitly wrap it in > a \score block, but is that contained in an intermediate file somewhere > I can get access to? No, there is no such file. The implicit wrapping happens at the level of LilyPond's data structures, it's not a textual macro

Re: Lilypond on Linux/Fedora 39 error after system update.

2023-12-10 Thread Jean Abou Samra
Never mind, I can reproduce it after updating my own system. Filed as  [https://bugzilla.redhat.com/show_bug.cgi?id=2253842](https://bugzilla.redhat.com/show_bug.cgi?id=2253842) For now, please try `sudo dnf install ghostscript-10.01.2` signature.asc Description: This is a digitally signed

Re: Lilypond on Linux/Fedora 39 error after system update.

2023-12-10 Thread Jean Abou Samra
There must be some other error message before this one that is causing it. Please include it as well. signature.asc Description: This is a digitally signed message part

Re: ly:set-option png backend broken?

2023-12-10 Thread Jean Abou Samra
The option is working as [documented](https://lilypond.org/doc/v2.25/Documentation/usage/advanced-command_002dline-options-for-lilypond.html) (although the failure mode could be better). There is simply not "png" backend. The three available backends are "ps" (generates PostScript, and PDF or

Re: Video generation from multiple pages

2023-12-09 Thread Jean Abou Samra
 > The line breaks come out before the rest of the measure does. I would > expect the first line break print to appear after the third > ly2videoBar. Are you relying on the order in which after-line-breaking callbacks are run? You shouldn't, as the order is completely undefined and has no

Re: Video generation from multiple pages

2023-12-08 Thread Jean Abou Samra
> The after-line-breaking callback appears to be in stable/2.20 from git. > At least in system.cc. Yes, but it was not called for System specifically until commit 782f5528e014cc3c7f705298a83f777306541e89 Author: Jean Abou Samra Date: Mon Mar 21 21:21:28 2022 +0100 Also call afte

Re: accessing current file name in markup function

2023-12-07 Thread Jean Abou Samra
> Documentation question from trying to understand *location* in David's > solution: > > I found that function in the IR documentation[1], but I could not find the > definition of a sip: > > > > Function: ly:input-file-line-char-column sip > > Return input location in sip as (file-name line

Re: I wrote a MIDI to Lily front end; also questions about video

2023-12-06 Thread Jean Abou Samra
> Thanks for your reply. Regarding scheme code: it seems to me that the > simplest solution would be to modify event-listener.ly so that instead of > storing point-and-click data (row and column within the lily file), it > instead stores the pixel coordinate X, Y of the note’s (or rest’s)

Re: I wrote a MIDI to Lily front end; also questions about video

2023-12-06 Thread Jean Abou Samra
Hi, > I spent much of the last week converting my compositions from MIDI files to > Lily format. I tried midi2ly first, but found it lacking, and decided to roll > my own in C++. I gather there are other converters around, as I saw at least > one on GitHub. I may put mine on GitHub too, after

Re: accessing current file name in markup function

2023-12-06 Thread Jean Abou Samra
> OK, thanks.  But what about accessing the `input-file-name` variable? > Shouldn't this work within `delay-stencil-evaluation`? delay-stencil-evaluation or not, during backend processing, input-file-name is set to the filename of the main file, not the filename of the file where the markup

  1   2   3   4   5   6   7   8   9   10   >