Re: Change a string in to a identical list

2020-06-04 Thread Jean Abou Samra
t "-3 31 A -6 B -8"))) That said, I don't really understand why you are mixing numbers and letters in your strings. As David suggested, it would be more natural to start with a list. And if you provide context about what you're trying to achieve, we likely can give more helpful answers. Best, Jean Abou Samra

Re: Vertical gap between two simultaneous pedals

2020-06-14 Thread Jean Abou Samra
or the precise consequences it would actually entail. Best, Jean Abou Samra

Re: Pedal cautionary after a line break (current status and improvements)

2020-06-23 Thread Jean Abou Samra
Hi Paolo, Le 23/06/2020 à 21:09, Carl Sorensen a écrit : Paolo, On Tue, Jun 23, 2020 at 12:33 PM Paolo Prete wrote: 2) Considering that a Pedal cautionary is *essential* in *every* serious score, I really encourage the developers to fix this in the development branch. I forward this post to t

Re: Pedal cautionary after a line break (current status and improvements)

2020-06-23 Thread Jean Abou Samra
Paolo, Le 23/06/2020 à 21:32, Paolo Prete a écrit : On Tue, Jun 23, 2020 at 9:09 PM Carl Sorensen wrote: Paolo, On Tue, Jun 23, 2020 at 12:33 PM Paolo Prete wrote: 2) Considering that a Pedal cautionary is *essential* in *every* serious score, I really encourage the developers to fix this

Re: Pedal cautionary after a line break (current status and improvements)

2020-06-25 Thread Jean Abou Samra
Le 25/06/2020 à 00:58, Paolo Prete a écrit : Hi Harm, Then Pierre, who is the creator of the snippet and joined this thread, will decide what to do. Best, P Hi Paolo, I still highly encourage you to fill an issue at https://gitlab.com/lilypond/lilypond/-/issues

Re: Pedal cautionary after a line break (current status and improvements)

2020-06-25 Thread Jean Abou Samra
Hi Paolo, Le 25/06/2020 à 16:10, Paolo Prete a écrit : On Thursday, June 25, 2020, Jean Abou Samra <mailto:j...@abou-samra.fr>> wrote: Hi Paolo, I still highly encourage you to fill an issue at https://gitlab.com/lilypond/lilypond/-/issues <https://gitlab.

Combine Text/Lyrics with bass figures

2020-06-25 Thread Jean Abou Samra
Hi all, there's a method of harmonic analysis (»Bassstufen« in German) that works by having numbers in a main layer plus option bass figures on top. There are at least two flavours or this analysis markup: the original one from the 18th century with bare numbers for the bass steps, and at least o

Conditional segmentation faults

2020-08-30 Thread Jean Abou Samra
st why this apparently inconsistent behaviour might be occurring? David Hi David, A problem that looks similar to this one was fixed by Dan Eble in LilyPond 2.21.5: https://gitlab.com/lilypond/lilypond/-/merge_requests/271 Could you try out that version? Best, Jean Abou Samra

Re: Future of openLilyLib

2020-09-22 Thread Jean Abou Samra
Hi all, I guess the problem raised here is tough (is LilyPond a markup language or a programming library, since you in fact mix notes and Scheme programs?). Nevertheless, I'd like to make a point that seems to have been overlooked so far: it's absolutely impossible to change the licensing of Lil

Dimensions vs outline

2020-10-04 Thread Jean Abou Samra
Hi List, I'm trying to understand the difference between "outline" and "dimensions": \version "2.20.0" \markup {    "1234"     \combine     \filled-box #'(-1 . 4) #'(-1 . 2.5) #1     \override #'(style . outline)     \override #'(thickness . 3)     \whiteout     \with-outline "555"  "5" "6789"

Re: Future of openLilyLib

2020-10-07 Thread Jean Abou Samra
Well, despite two of today's statements arguing otherwise I must say I have come to a different conclusion. I have given myself exactly two weeks to make a determination, and I realized I have obviously overestimated the value and impact of my pet project openLilyLib. The two weeks until yesterday

Re: Future of openLilyLib

2020-10-07 Thread Jean Abou Samra
Le 07/10/2020 à 16:30, Federico Bruni a écrit : Il giorno mer 7 ott 2020 alle 16:24, Jean Abou Samra ha scritto: PPS: I see you shut down openlilylib.org. Is the source archived somewhere  so I can better understand openLilyLib? I think it's here: https://github.com/openli

repeat volta and \barNumberCheck

2020-10-07 Thread Jean Abou Samra
whole measure. That's the behavior I'd expect as a musician. You can still override it if you so like, by starting the music with     \set Score.currentBarNumber = 2 Best, Jean Abou-Samra

Re: Dimensions vs outline

2020-10-07 Thread Jean Abou Samra
Le 05/10/2020 à 22:32, Pierre Perol-Schneider a écrit : Yes Jean, this  is exactly the type of example I was looking for. Thank you! It should be added to: https://lilypond.org/doc/v2.20/Documentation/notation/other#index-_005cwith_002ddimensions and to: https://lilypond.org/doc/v2.20/Document

feature requests: scalable \shape values; (stem) for \shapeII

2020-10-07 Thread Jean Abou Samra
Now that we’ve been talking about \shape and \shapeII, I would like to ask if it’s possible that values put for \shape(II) could scale according to staff size. Whenever I have a smaller staff, whatever values work for a 20 points staff are too much for smaller staves (either with a smaller font

Re: feature requests: scalable \shape values; (stem) for \shapeII

2020-10-07 Thread Jean Abou Samra
Le 07/10/2020 à 18:58, Martín Rincón Botero a écrit : Hello Jean, thanks for further exploring the first request. In my experience with Lilypond 2.20 \shape doesn’t scale with set-global-staff-size either. I’m already kinda “used” to writing smaller values —my primitive math only cooperated

Re: feature requests: scalable \shape values; (stem) for \shapeII

2020-10-07 Thread Jean Abou Samra
Le 07/10/2020 à 19:50, Jean Abou Samra a écrit : Le 07/10/2020 à 18:58, Martín Rincón Botero a écrit : Hello Jean, thanks for further exploring the first request. In my experience with Lilypond 2.20 \shape doesn’t scale with set-global-staff-size either. I’m already kinda “used” to

Re: Repeat signs not working for me

2020-10-09 Thread Jean Abou Samra
Newbie... I suspect I may be doing something very stupid. Thank you in advance for your patience. Piers. Hello, Welcome here. \version "2.16.2" indicates that you are using an old version of LilyPond. Everything seems fine over here with version 2.20.0. Attached is the output. LilyPond 2

Re: Repeat signs not working for me

2020-10-09 Thread Jean Abou Samra
Thanks again... I think I'm going to have to stick with my current version until someone with better expertise puts together a package for Linux Mint, whose software manager *still* points at 2.16.2.  Someone will get around to it sooner or later.  I've tried building from source, but the con

Tremolo slope

2020-10-09 Thread Jean Abou Samra
lo is for tremolos on a single note, which are printed over the stem. Yours is just a special case of Beam, so here you go: \version "2.20.0" \score { \new Staff { \override Beam.positions = #'(-1 . 1) \repeat tremolo 16 { c'32 c'' } } } Best, Jean Abou-Samra

Re: How to run Lilypond programatically from Python instead of calling the Lilypond executable to generate sheet music?

2020-10-10 Thread Jean Abou Samra
On 2020-10-09 18:00, Matthew Moisen wrote: Hello, The normal way to run Lilypond is to create a text file and then call the lilypond executable to convert it into a PDF. Is it possible to instead from python programmatically call Lilypond APIs to generate PDFs? I know that I

OLL

2020-10-10 Thread Jean Abou Samra
Hello All, Since Urs has stepped down from OLL work for personal reasons, as somebody who has written code for OLL, and contributed some snippets of some utility, I have been considering taking it all over. I have proposed to make a new domain openlilylib.space, move to Gitlab. establish a websit

Re: OLL

2020-10-10 Thread Jean Abou Samra
Le 10/10/2020 à 19:11, Jean Abou Samra a écrit : And now suddenly the thread about licencing has risen again, a topic which I find absurd and I would refuse to countenance it for any OLL work ongoing that I would be doing. It seems that thread is trying to actively discourage OLL use. Like Urs

Re: Tremolo slope

2020-10-11 Thread Jean Abou Samra
Thanks Jean. This is indeed a beginning. However, you have to change the positions each time the notes change. And and if you want to shorten the beams, it becomes really very tedious (see below)! Could it be possible to specify vertical AND horizontal positions relative to notes rather than sta

grace notes spacing

2020-10-11 Thread Jean Abou Samra
Using \override Score.SpacingSpanner.strict-grace-spacing = ##t seems only useful when no grace notes are used immediately after the bar line and no accidentals are used, which seems like a function for a very limited use case This is a known issue: https://gitlab.com/lilypond/lilypond/-/issu

Re: grace notes spacing

2020-10-12 Thread Jean Abou Samra
Le 12/10/2020 à 08:46, Martín Rincón Botero a écrit : Thanks for the link Jean. 8 years old issue? Ouch! We work hard to fix all bugs found in LilyPond. Sometimes that's just difficult, and sometimes we just have too many of them. Also, LilyPond is so complex that nobody understands all of i

Re: grace notes spacing

2020-10-12 Thread Jean Abou Samra
I would be a happy man if the notorious Issue 34 could be resolved. I spend a lot of time having to put grace note spacers in complex scores to get the vertical alignment working. Each one I do, I wish I knew enough about lilypond internals to contribute a fix. It's not clear to me why this one is

Re: Markup Between Systems

2020-10-12 Thread Jean Abou Samra
Hi Xavier, >/One lead would be to "hack" the system-separator-markup./ >/See NR 1.6.1 Displaying staves > Separating systems/ >/https://lilypond.org/doc/v2.21/Documentation/notation/displaying-staves.html#separating-systems/ I was considering that… but can one change the separator mid-score? I t

font construction

2020-10-15 Thread Jean Abou Samra
Hi all, Is there any documentation floating around on how fonts for LilyPond are actually built? I know Abraham Lee has successfully made some new ones, but is he the only guy now that knows the process? I tried fiddling with working on one, but that was just by opening an extant font and rep

Re: headers, and what include doesn't do

2020-10-16 Thread Jean Abou Samra
Hello, (Sorry if this message appears in another thread; this will be fixed soon.) Thank you guys. I tried the way Mark suggested before and I get the same result of III. being shown on the first page. So still not seeming to understand. I have also tried the include-all-headings=##t which

Re: linux install problem virtualbox

2020-10-16 Thread Jean Abou Samra
Hi all I'm getting these install errors when trying to install the most recent lily .sh I get this far Untarring lilypond-2.21.7-1.linux-64.sh bzip2: Data integrity error when decompressing. Input file = (stdin), output file = (stdout) It is possible that the compressed file(s) have become

Re: headers, and what include doesn't do

2020-10-16 Thread Jean Abou Samra
Le 16/10/2020 à 21:41, Mark Stephen Mrotek a écrit : Jean, With respect, I disagree. See my attached code for a Mozart Sonata. What do you have in E:/Music/K 310-1.ly, etc.? Best, Jean

Re: headers, and what include doesn't do

2020-10-16 Thread Jean Abou Samra
Hi Mark, Le 16/10/2020 à 21:51, Mark Stephen Mrotek a écrit : Jean, They are the individual movements. M I mean, how are they structured? Where do you have \header, for example? Could you attach one of these files? So far I don't understand how this contradicts what I wrote earlier, that's

Re: headers, and what include doesn't do

2020-10-16 Thread Jean Abou Samra
Le 16/10/2020 à 21:51, Mark Stephen Mrotek a écrit : Jean, They are the individual movements. M I mean, how are they structured? Where do you have \header for example? So far I don't understand how this example contradictswhat I wrote earlier, that's why I ask for details. Best, Jean

Re: headers, and what include doesn't do

2020-10-16 Thread Jean Abou Samra
Le 17/10/2020 à 00:16, Mark Stephen Mrotek a écrit : Jean, I have sent all four files to you. Mark Hi, Sorry about my last message; it was a mistake -- a draft that eventually got sent twice. Regarding your files, I believe this does not invalidate the structure described earlier. You have

Re: headers, and what include doesn't do

2020-10-17 Thread Jean Abou Samra
Hi David, Le 17/10/2020 à 05:45, David Wright a écrit : On Fri 16 Oct 2020 at 15:50:55 (+0200), Jean Abou Samra wrote: The reason for that is that \version, like \include, has nothing to do with LP's functionality. \version is just a syntax property of the file containing it. Used sensibl

Re: headers, and what include doesn't do

2020-10-17 Thread Jean Abou Samra
Um, then why does this work? \version "2.18.2" \score { \header { piece = asdf } { \time 3/4 a'2 b'4 \bar "|." } } -- Aaron Hill D'oh! This doesn't work if you try 2.18.0 (“unexpected \header”). It does work in 2.18.1 and onwards, thanks to commit d5aee802bf252155f4c31ef8a

Re: Measure Number Collision

2020-10-17 Thread Jean Abou Samra
Le 17/10/2020 à 18:28, Marc Shepherd a écrit : Kieren's example does indeed work with LP 2.21.2. However, the distribution for 2.21.2 seems to "break" a number of other functions; for instance, \fermataMarkup no longer works. Use \fermata. http://lilypond.org/doc/v2.21/Documentation/changes

Re: Scheme help request: How can else of an if-statement be made to do nothing?

2020-10-17 Thread Jean Abou Samra
Hi, Le 17/10/2020 à 19:27, Matthew Fong a écrit : Hello Richard, I just discovered your explanation is in fact the case, and also concluded cond wouldn't work either. I might have to settle for an empty markup block for now. The point of interpret-markup is to turn a markup into a stencil

Re: LilyPond MIDI and sustain pedal

2020-10-18 Thread Jean Abou Samra
Le 18/10/2020 à 10:17, Aaron Hill a écrit : On 2020-10-17 11:33 pm, Andrew Bernard wrote: I think it is the case that LilyPond can't output sustain pedal information in MIDI files. So, how do people work with this? For piano, or vibraphone, for example. Which version are you using?  The Pian

Re: headers, and what include doesn't do

2020-10-18 Thread Jean Abou Samra
Hi, On Sat 17 Oct 2020 at 10:27:10 (+0200), Xavier Scheuer wrote: Thank you Jean, I was not aware either, that it is now (actually since many years now!) possible to use \header before music within \score. This is great and makes more sense (corresponds to user expectation). It would be nice t

Re: Scheme: Syntax for storing a variable in an alist

2020-10-18 Thread Jean Abou Samra
Le 18/10/2020 à 21:42, Matthew Fong a écrit : Hello everyone, I am having a bit of an issue storing a variable in an alist, and I was wondering if you all could point out what I am doing wrong. If I write the string directly, there's no issue retrieving it ... my-alist = #'((1  . "A") (2 .

Re: Scheme: Syntax for storing a variable in an alist

2020-10-18 Thread Jean Abou Samra
Le 18/10/2020 à 22:10, Matthew Fong a écrit : Hello Aaron and Jean, Many thanks for pointing out the finer points of syntax of Scheme vs. LilyPond. I appreciate the Scheme quoting reference, and the syntactic sugar. Still so much more to learn here! You live and learn; I learnt about the

Re: How To Selectively Show a Staff

2020-10-18 Thread Jean Abou Samra
Le 18/10/2020 à 17:40, Marc Shepherd a écrit : In a score where "RemoveAllEmptyStaves" is set, a staff will normally not show in a system where it has all rests. Sometimes, you may /want/a staff (temporarily) to appear on a specific system, even though it contains all rests. What’s the comman

Re: showLastLength/Score.skipTypesetting

2020-10-19 Thread Jean Abou Samra
Le 19/10/2020 à 17:32, Martín Rincón Botero a écrit : Hello, I wanted to ask if there's a way to prevent showLastLength/Score.skipTypesetting from showing tempo and time signature (and header information if possible). Regards, Martín. Hi, I don't know an obvious way to do this, though yo

Re: Scheme expressions on lilypond command line (-e)

2020-10-19 Thread Jean Abou Samra
Le 19/10/2020 à 23:14, Dave Seidel a écrit : Hi all, I am trying to define a variable on the command line that I can use within the .ly file. I've tried both -e "(define-public part 1)" and -e "(define part 1)" In the .ly file, I have a Scheme expression #(if (= part 0)

Re: A Beam and a Slur in a Bracketed Tuplet

2020-10-19 Thread Jean Abou Samra
Le 19/10/2020 à 23:43, Marc Shepherd a écrit : In the example shown below, notice that the slur is incorrectly pointing upward, and "crashing" into the tuplet bracket. It only happens with both the slur and the beam present. With slur only or beam only, it engraves correctly. Is this a known

Re: A Beam and a Slur in a Bracketed Tuplet

2020-10-20 Thread Jean Abou Samra
Le 20/10/2020 à 01:08, Marc Shepherd a écrit : The reason the tuplet is up, is that — in the actual music, there is a lower voice, so the tuplet /has to be/ up. I left out the lower voice in my example, because it is not relevant to the behavior I am asking about. In the real score, I have n

Re: Some wild considerations and a question

2020-10-20 Thread Jean Abou Samra
Greetings everybody, - rely only on C++, flex, bison and the extension language. Eliminating the need for GUB and Python would greatly simplify porting LilyPond to various environments, including web sites, phones and tablets. GUB will be history soon, thanks to the work mainly of Jo

Re: showLastLength/Score.skipTypesetting

2020-10-20 Thread Jean Abou Samra
ation for large scores: \paper {   page-breaking = #ly:minimal-breaking } www.martinrinconbotero.com On 19. Oct 2020, 22:11 +0200, Jean Abou Samra , wrote: Le 19/10/2020 à 17:32, Martín Rincón Botero a écrit : Hello, I wanted to ask if there's a way to prevent showLastLength/Scor

Re: Vertical spacing inside the music

2020-10-20 Thread Jean Abou Samra
Le 20/10/2020 à 14:06, Павел a écrit : Hello. I'm looking for the "right" way to control vertical spacing within music. The example below doesn't work. Now I know only explicit vertical spacing via NonMusicalPaperColumn, and dirty hacks like a very low invisible note. <<     \new Staff {   

Re: LilyPond MIDI and sustain pedal

2020-10-20 Thread Jean Abou Samra
Le 20/10/2020 à 16:32, Andrew Bernard a écrit : Hi Jean, This is totally great. I never heard of this tool. How would a user know it exists - as far as I can see there is nothing in the NR (I may be wrong)? It never occurred to me as a user to look at the programs in the usr/bin areas as I tho

Re: trying to define microtonal note names and accidentals

2020-10-21 Thread Jean Abou Samra
Hello, Le 21/10/2020 à 12:43, Stefan Thomas a écrit : Dear community, I'm trying to define microtonal note names and accidentals with the HE-font. Unfortunately, I get the following error message when I compile the below quoted file: error: wrong type for argument 2.  Expecting mu

Re: restating clef and StaffGroup brace after \startStaff

2020-10-21 Thread Jean Abou Samra
Le 21/10/2020 à 18:21, Gilberto Agostinho a écrit : Hello, Does anyone know if it would be possible to restate a staff's clef and a StaffGroup's brace after the \startStaff command? I am again trying to create a diagram showing non-consecutive measures side by side. I am able to set the bar

Re: MIDI ties

2020-10-22 Thread Jean Abou Samra
Le 22/10/2020 à 10:40, Andrew Bernard a écrit : Hmm. That example, using explicit ties like e.g. now works fine for me, exactly duplicating your MIDI piano roll. Needs further investigation by me. However, using ~ is the answer I was unaware of for years! I never thought to _not_ put a directi

Re: managing large documents with many snippets

2020-10-22 Thread Jean Abou Samra
Le 23/10/2020 à 00:11, Dan McMahill a écrit : Hello, I'm trying to sort out what will be the best flow for me to type up what may grow into a fairly large LaTeX based document that has lots of musical snippets from lilypond.  Apologies for the long email that follows. The normal way I mi

Re: feasibilty question: simple GUI for web-based Lilypond instance

2020-10-23 Thread Jean Abou Samra
Le 23/10/2020 à 02:45, Kieren MacMillan a écrit : Hi all, I’m teaching a musical theatre creation course at a college. I’ve been teaching the course for about 4 years, but the philosophy recently changed from one where I was a co-creator with the students (and hence did all of the engraving

Re: ! Please answer interesting functionality question for PhD Diss

2020-10-23 Thread Jean Abou Samra
Le 23/10/2020 à 19:21, Michael Blankenship a écrit : Dear Lilypond Power-users, I have a question in the form “can lilypond do this?” And I’m desperate for a clear answer. I know nothing about using LilyPond, but I do have some experience with Music21. I have a very complex (but super intere

Re: ! Please answer interesting functionality question for PhD Diss

2020-10-24 Thread Jean Abou Samra
Hi, Thank you all for your encouragements − it's a pleasure to know that your work is appreciated. This prompted me to rewrite the thing … Le 23/10/2020 à 21:30, Carl Sorensen a écrit : This is a beautiful quick hack! To avoid the semicircles on the the end of each staff line, you'd likel

Re: Feature request: Alternative G clef

2020-10-24 Thread Jean Abou Samra
Le 24/10/2020 à 11:47, Martín Rincón Botero a écrit : Hello all, a few months ago in some forum I found the following snippet of a beautiful G clef (I think by Pierre Perol-Schneider) that I've been extensively using since then. Right now in the NR we have \clef G, \clef treble, \clef "G2" a

LilyPond learning curve (was: feasibilty question: simple GUI for web-based Lilypond instance)

2020-10-24 Thread Jean Abou Samra
[Starting a new thread to avoid hijacking the other one.] Le 24/10/2020 à 17:09, Kieren MacMillan a écrit : More to the point: I’m a Lilypond power-user, and I don’t currently suggest Lilypond for any of my college or private students. If there were a free, web-accessible, "code-free" GUI for

Re: ! Please answer interesting functionality question for PhD Diss

2020-10-25 Thread Jean Abou Samra
Hi Harm, Le 25/10/2020 à 11:40, Thomas Morley a écrit : Hi Jean, Am Sa., 24. Okt. 2020 um 11:55 Uhr schrieb Jean Abou Samra : The problem so far is that I didn't find a proper way to set the chord configuration at a given musical moment (note heads placed at the left or at the right o

Re: can bendAfter be made to skip over notes?

2020-10-27 Thread Jean Abou Samra
Le 27/10/2020 à 17:21, 98123981293 1293812397123 a écrit : Hi Aaron, I tried all three of your solutions and get the same error: Unsupported SCM value for format: (rmoveto 2.777338 1/2 rcurveto 1.81180552352106 0 5.43541657056318 -1 5.43541657056318 -3/2) Converting to `document.pdf'... wa

Re: OTF text font family with optical sizes : unable to access regular font

2020-10-27 Thread Jean Abou Samra
Le 27/10/2020 à 20:15, Daniel Tobias Johansen Langhoff a écrit : Sorry, no change. A workaround is to make a copy of the regular size font files and rename the family of those files to something else (e.g. from "Arno Pro" to "Arno Pro Regular") using a font renaming script, like https://github

Re: \unfoldRepeats

2020-10-27 Thread Jean Abou Samra
Le 27/10/2020 à 20:08, Marc Shepherd a écrit : According to the documentation, the default behavior of the MIDI block is not to “unfold” repeats (other than those that are explicitly \repeat unfold). If you want repeats unfolded inside of a MIDI block, you have to requote the music within the

Re: OTF text font family with optical sizes : unable to access regular font

2020-10-27 Thread Jean Abou Samra
old Italic,Bold Italic Display family Arno Pro Subhead Arno Pro Subhead,Arno Pro:style=Bold Italic,Bold Italic Subhead family Arno Pro Arno Pro:style=Italic On Tue, Oct 27, 2020 at 8:28 PM Jean Abou Samra wrote: Le 27/10/2020 à 20:15, Daniel Tobias Johansen Langhoff a écrit : Sorry, no change. A

Re: how to give more horizontal space to the voice follower

2020-11-02 Thread Jean Abou Samra
Looking up the e-mail archive for 'lilypond-devel' I couldn't find relevant info. Do you have a link? Have a look at https://lilypond.org/doc/v2.21/Documentation/notation/spanners.fr.html Apparently some spacing calculations need to be triggeredby hand. Jean

Re: how to give more horizontal space to the voice follower

2020-11-02 Thread Jean Abou Samra
Le 02/11/2020 à 20:16, Werner LEMBERG a écrit : Looking up the e-mail archive for 'lilypond-devel' I couldn't find relevant info. Do you have a link? Have a look at https://lilypond.org/doc/v2.21/Documentation/notation/spanners.fr.html Apparently some spacing calculations need to be triggere

Re: Getting back the dynamically coloured freboard dots on L2.20

2020-11-03 Thread Jean Abou Samra
I can access the value of the first override from inside `make-fret-diagram` , ok. The second override does not work and I currently don't know why not. I can access the value of this override from inside make-fret-diagram as well. Though, it's the procedure not it's return value. Cheers, Har

Re: Help a newb: Formatting custom instrument names

2020-12-08 Thread Jean Abou Samra
Lukas, Hi Michael, I think, going by this description, that maybe an InstrumentName is actually the simplest solution. In order to right-align the instrument names, try the attached diff (using git apply). It's basically a matter of - adding an \override InstrumentName.self-alignment-X =

Stencil rubber

2020-12-12 Thread Jean Abou Samra
Hi, Is there a way to restrict the drawing of a stencil to certain parts? For example, suppose that I want to join the letters A and B in a custom letter that is half an A in the left half and half a B in the right half. How can I do that in a markup? I can add a white box to hide part of th

Re: how to move a clef horizontally

2020-12-28 Thread Jean Abou Samra
Folks, How about: [... very elegant solution ...] While Harm's solution is great, I'm under the impression that it shouldn't be needed, i.e., that LilyPond's behaviour classifies as a bug. I tried to boil the example down to its essentials: \version "2.20.0" \new PianoStaff <<   \new St

LSR 1118 "Double bar line as system start" currently unapproved

2020-12-28 Thread Jean Abou Samra
To the author of said snippet lsr.di.unimi.it/LSR/Item?u=1&id=1118 Thanks for your snippet. Though, wouldn't it be much more elegant (and shorter) to get rid of the stencil-override by setting `systemStartDelimiter` and simply adjusting some other stuff? Leading to: \version "2.18.2" \layout

Re: keyAlterationOrder

2020-12-28 Thread Jean Abou Samra
Hello, [...] And they have it wrong.    I believe it should read:  … /step /is a number from 0 to 6 and /alter /from  -2 (flat) to 2 (sharp)? (Not -2 (sharp) to 2 (flat).) This sounds wrong indeed. FLAT is -1/2 and SHARP is 1/2. Could you write the bug-lilypond list to report this bug? See ht

Re: keyAlterationOrder

2020-12-29 Thread Jean Abou Samra
Hi, I know that the alist cannot be read with assoc, at least in its simple form. Why not? assoc would read the first key of a given value none of the others keys of the same value would be read in the chain. It is at best a stretch to call this

Call for help on Lyric Notation project

2021-01-01 Thread Jean Abou Samra
Hello, Some time ago, Michael Blankenship asked for assistance on this list (https://lists.gnu.org/archive/html/lilypond-user/2020-10/msg00497.html) for custom phonetic notation of lyrics as music, something that he is working on as part of his Ph.D. I ended up writing some code (roughly a thous

Re: Repeats with bar-engraver removed

2021-01-04 Thread Jean Abou Samra
Hi Pierre, Maybe it's a silly question but why not simply something like: \version "2.18" { c'1 \bar ".|:" c' c' c' \bar ":|." c' c'  } Cheers, Pierre It is not at all silly. The path to the answer is a bit convoluted. The issue is breaks. A \bar command needs a Bar_engraver to listen to i

Stems push things away

2021-01-22 Thread Jean Abou Samra
Hello, Sometimes stems push things that are outside-staff further outside, even with things like TabStaff, which removes the Stem stencil. Take this, for example: \version "2.23.0" \new TabStaff \with {   \revert Stem.stencil   \revert TextScript.stencil   \consists "Timing_translator" % \o

Fwd: list of accordion registers as a single markup

2021-01-23 Thread Jean Abou Samra
Hi! I need to obtain a list of accordion registers. I know I can engrave them using: #(use-modules (scm accreg)) \markup \line { \discant "1" \discant "10" \discant "101" \discant "121" \discant "21" \discant "11" \discant "120" \discant "110" \discant "1+0" \discant "100" \discant "11+0" }

Using circles in \tabFullNotation

2021-01-29 Thread Jean Abou Samra
Hello, I'm trying to have an output similar to the attached images when using \tabFullNotation: half-notes and chords circled with a single stem and whole notes and chords circled with no stem. Reading the source code for \tabFullNotation, I think I need to \override TabStaff.Stem.stencil wit

errors when updating syntax

2021-01-29 Thread Jean Abou Samra
I got a .ly file claiming to be version 2.18.0 and opened it in LP version 2.22.0-1. When I did “Update syntax” I got these errors, and the version in the file did not change. [Image showing AttributeError: 'file' object has no attribute 'detach' I can typeset the file with no problems. I th

avoid alignment of hairpin and dynamic text

2021-01-29 Thread Jean Abou Samra
How can I avoid the vertical alignment of a hairpin and a dynamic text that starts or stops the hairpin? For example, in this situation { f1\< | e''\p } I want to make LilyPond position the `\p` independently of the the crescendo – in particular, I don't want to fiddle with `padding`, `extra

Issues when setting the staff size for a single staff

2021-01-29 Thread Jean Abou Samra
(cross-posting this, because I don't know if it's more appropriate for the user or for the devel ml) Hi everyone, I'm experiencing issues with the magnification of single staves. In the following snippet, if I modify the line with: # (set-global-staff-size 10) with \new Staff \with { \magnify

Re: Stems push things away

2021-01-29 Thread Jean Abou Samra
Le 23/01/2021 à 02:59, Brian Bartling a écrit : Thank you, Jean. That does fix this example. I still suspect the root cause of my problem lies in how the lengths and positions of stems that are attached to beams are calculated. I'm guessing that your idea of removing the Stem_engraver and the

Re: errors when updating syntax

2021-01-30 Thread Jean Abou Samra
Le 30/01/2021 à 08:08, James B. Wilkinson a écrit : MacBook Pro Mavericks. I picked "Update Syntax" from the Lilypond Compile menu. I added a line of code in the offending file asking it to print the Python version. It’s 2.6.6 and was created by Apple. Just now I ran this: /Applications/Lil

Re: errors when updating syntax

2021-01-30 Thread Jean Abou Samra
Le 30/01/2021 à 23:49, James B. Wilkinson a écrit : As a slightly related aside, can somebody point me to an explanation of the line of code that is cited in the error message? sys.stdin = codecs.getreader('utf8')(sys.stdin.detach()) My Python skills don’t reach far far enough to grok that sy

Re: Using circles in \tabFullNotation

2021-01-30 Thread Jean Abou Samra
Hi, (Also forwarding to the list, please keep it in CC.) Le 30/01/2021 à 16:57, Kuredant a écrit : Thanks a lot! I wouldn't have been able to come up with that myself. The code works very well, especially for chords. I have two minor issues: – The stem is right below the lowest fret number,

Re: avoid alignment of hairpin and dynamic text

2021-01-30 Thread Jean Abou Samra
Le 30/01/2021 à 07:59, Werner LEMBERG a écrit : Thanks a lot! Note that `spanner-broken` is an internal property, not to be modified by the user. A search in the code yields the command `\breakDynamicSpan` as user syntax – introduced more than 10 years ago in version 2.13.23... I will docume

LilyPond 2.22.0 exits with an error if DEBUG option is not given

2021-01-31 Thread Jean Abou Samra
Dear List. LilyPond 2.22.0 exits with error for one of my projects. Starting lilypond 2.22.0 [RV_381+BWV_980_score.ly]... Processing `/Users/tamura/Documents/LilyPond/Vivaldi RV 381 + Bach BWV 980/RV_381+BWV_980_score.ly' Parsing... Interpreting music... Exited with return code 11. In order t

Re: Using circles in \tabFullNotation

2021-01-31 Thread Jean Abou Samra
Sorry, this line:     \override Stem.Y-extent = #grob::always-Y-extent-from-stencil should have been commented out. Also, I now believe that the behavior of X-offset here is a bug: https://lists.gnu.org/archive/html/bug-lilypond/2021-01/msg00014.html Jean

Re: avoid alignment of hairpin and dynamic text

2021-02-01 Thread Jean Abou Samra
Le 31/01/2021 à 11:09, Werner LEMBERG a écrit : At least I have not found a way to fix it easily :-( To answer my own question: No, it can't be fixed as outlined above. Reason is that the order of events at a given moment is not specified. This means that it is not possible to make a reliable

Re: avoid alignment of hairpin and dynamic text

2021-02-01 Thread Jean Abou Samra
Le 01/02/2021 à 18:10, Werner LEMBERG a écrit : [we are actually on the wrong e-mail list, but...] Reason is that the order of events at a given moment is not specified. [...] Are you sure about the order of events not being guaranteed? Yes, see David's response to something similar syntax-

Re: avoid alignment of hairpin and dynamic text

2021-02-01 Thread Jean Abou Samra
breakDynamicSpan = \tweak spanner-broken ##t Correction:   breakDynamicSpan = \tweak spanner-broken ##t \etc

lilypond-book.py can hang on Windows 10; I know why; I need help to fix it

2021-02-04 Thread Jean Abou Samra
Back on January 12, 2021, I wrote to this forum about a problem I was having running the example from https://lilypond.org/doc/v2.19/Documentation/usage/an-example-of-a-musicological-document for embeddi

Re: Using circles in \tabFullNotation

2021-02-04 Thread Jean Abou Samra
Le 05/02/2021 à 06:15, Kuredant a écrit : On 1/31/2021 10:41 PM, Jean Abou Samra wrote: Sorry, this line:     \override Stem.Y-extent = #grob::always-Y-extent-from-stencil should have been commented out. Also, I now believe that the behavior of X-offset here is a bug: https

Pic of score

2021-02-07 Thread Jean Abou Samra
I have a question that I would like to ask, but first can I send pics of scores with it or do i have to send pics as attachments? Thank you, ƒg Hello, It is not entirely clear to me how you could send pictures in a way different from attaching them to the e-mail. If you mean inline posting, t

Re: Text Spanner auto expand to end of duration

2021-02-07 Thread Jean Abou Samra
((finalize this-engraver) ;; house keeping (set! trill-spanner #f) (set! rhythmic-events '()) (set! bar-line #f) Hi Harm, Is there a reason to reset variables in 'finalize' methods like this? I've done without so far and never had any problem; en

Re: Text Spanner auto expand to end of duration

2021-02-08 Thread Jean Abou Samra
Le 08/02/2021 à 01:59, Thomas Morley a écrit : Am Mo., 8. Feb. 2021 um 00:29 Uhr schrieb Jean Abou Samra : ((finalize this-engraver) ;; house keeping (set! trill-spanner #f) (set! rhythmic-events '()) (set! bar-line #f) Hi Harm, Is th

Re: Text Spanner auto expand to end of duration

2021-02-08 Thread Jean Abou Samra
Le 08/02/2021 à 13:32, Jean Abou Samra a écrit : Le 08/02/2021 à 01:59, Thomas Morley a écrit : Well, I seem to remember that there was a problem, if a custom-engraver was consisted in various files all compiled in one go like lilypond file-1.ly file-2.ly. Some bleed over, iirc. I didn&#

Custom music notation?

2021-02-08 Thread Jean Abou Samra
- Please note that I am personally not currently interested in   or available for furthering this idea. - Also, since this is a mailing list, deleting posts is impossible ;-) I wish you to either manage to code the system yourself or find interested people. The path to success is most probably a combination of the two. Notice that is not necessary to be a software developer to extend LilyPond − I am not, and I think most helpers on this list aren't. Best regards, Jean Abou Samra

  1   2   3   4   5   6   7   8   9   10   >