Re: Library to embed LilyPond in other programs

2023-05-31 Thread Richard Shann
On Wed, 2023-05-31 at 11:46 +0200, Jean Abou Samra wrote: > Le mercredi 31 mai 2023 à 13:31 +1000, Andrew Bernard a écrit : > > I'd still be interested to know in rough outline how Denemo lets > > you add single notes in a GUI and have the feedback from lilypond > > so quickly. > > As far as I kno

Re: Library to embed LilyPond in other programs

2023-05-31 Thread Jean Abou Samra
Le mercredi 31 mai 2023 à 13:31 +1000, Andrew Bernard a écrit : > > I'd still be interested to know in rough outline how Denemo lets you add > single notes in a GUI and have the feedback from lilypond so quickly. As far as I know, it does not use LilyPond for the GUI preview that you edit on t

Re: Library to embed LilyPond in other programs

2023-05-30 Thread Andrew Bernard
I'd still be interested to know in rough outline how Denemo lets you add single notes in a GUI and have the feedback from lilypond so quickly. Frescobaldi is a different matter as it compiles the whole score and then just displays the generated PDF. And I wonder what the OP wants to achieve?

Re: Library to embed LilyPond in other programs

2023-05-30 Thread Jean Abou Samra
Le mercredi 31 mai 2023 à 11:00 +1000, Andrew Bernard a écrit : > How does Denemo do it? Mr Shann? > It generates LilyPond code (which you can also export if I'm not mistaken). signature.asc Description: This is a digitally signed message part

Re: Library to embed LilyPond in other programs

2023-05-30 Thread Andrew Bernard
How does Denemo do it? Mr Shann? Andrew On 30/05/2023 4:22 pm, Jean Abou Samra wrote: There is no liblilypond, but it is naturally possible, and common, to spawn LilyPond in a subprocess.

Re: Library to embed LilyPond in other programs

2023-05-30 Thread Lucas Monteiro
Thank you very much. On Tue, May 30, 2023 at 3:22 AM Jean Abou Samra wrote: > > > Le 30 mai 2023 à 07:22, Lucas Monteiro a > écrit : > >  > Hello everyone. > > I'd like to know if there is any way of embedding a LilyPond interpreter > in a C/C++ program (For example: A library that provides th

Re: Library to embed LilyPond in other programs

2023-05-29 Thread Jean Abou Samra
> Le 30 mai 2023 à 07:22, Lucas Monteiro a écrit : > >  > Hello everyone. > > I'd like to know if there is any way of embedding a LilyPond interpreter in a > C/C++ program (For example: A library that provides the functionality to the > regular downloaded executable). Welcome. For your in

Library to embed LilyPond in other programs

2023-05-29 Thread Lucas Monteiro
Hello everyone. I'd like to know if there is any way of embedding a LilyPond interpreter in a C/C++ program (For example: A library that provides the functionality to the regular downloaded executable). Thanks in advance

Re: Is there a SIMPLE way to embed an href in a title?

2022-07-21 Thread Werner LEMBERG
>> Thanks all. (Searches for URL, href, hypertext, etc, were failing >> to turn up \with-url and kept pointing me at much more complicated >> stuff that didn't seem to do what I wanted.) > > I used the index entry "inserting URL link, into text" > > Admittedly, Emacs Info makes it rather easy t

Re: Is there a SIMPLE way to embed an href in a title?

2022-07-21 Thread David Kastrup
Kevin Cole writes: > Thanks all. (Searches for URL, href, hypertext, etc, were failing to > turn up \with-url and kept pointing me at much more complicated stuff > that didn't seem to do what I wanted.) I used the index entry "inserting URL link, into text" Admittedly, Emacs Info makes it rathe

Re: Is there a SIMPLE way to embed an href in a title?

2022-07-21 Thread Kevin Cole
Thanks all. (Searches for URL, href, hypertext, etc, were failing to turn up \with-url and kept pointing me at much more complicated stuff that didn't seem to do what I wanted.)

Re: Is there a SIMPLE way to embed an href in a title?

2022-07-21 Thread Aaron Hill
On 2022-07-21 8:07 pm, Kevin Cole wrote: Hi, The subject line pretty much says it all (or most). Ideally, I'd like to be able to do something like: \header { title = "This is the title" } and have Lilypond generate a PDF with the tile linking to wherever I point it/ I'm hoping to avoid l

Re: Is there a SIMPLE way to embed an href in a title?

2022-07-21 Thread William Rehwinkel
There is, \with-url, seen here: https://lilypond.org/doc/v2.22/Documentation/notation/graphic (ctrl-f "with-url"). As long as you want to have a PDF output. -William On 7/21/22 23:07, Kevin Cole wrote: Hi, The subject line pretty much says it all (or most). Ideally, I'd like to be able to

Re: Is there a SIMPLE way to embed an href in a title?

2022-07-21 Thread David Kastrup
Kevin Cole writes: > Hi, > > The subject line pretty much says it all (or most). > > Ideally, I'd like to be able to do something like: > > \header { > title = "This is the title" > } > > and have Lilypond generate a PDF with the tile linking to wherever I point it/ > > I'm hoping to avoid lots

Is there a SIMPLE way to embed an href in a title?

2022-07-21 Thread Kevin Cole
Hi, The subject line pretty much says it all (or most). Ideally, I'd like to be able to do something like: \header { title = "This is the title" } and have Lilypond generate a PDF with the tile linking to wherever I point it/ I'm hoping to avoid lots of Scheme, lilypond-book, TeX, etc, etc.

Re: How to embed a hairpin inside markup?

2020-12-22 Thread Kenneth Wolcott
Thank you, Pierre! It seems so obviously simple, why I couldn't figure it out without your help, I don't know. Sometimes I'm a bit dense :-) Thanks, Ken On Sat, Dec 19, 2020 at 11:00 PM Pierre Perol-Schneider wrote: > > Hi Kenneth, > Tiny example? Version? > How about: > > \version "2.20" > >

Re: How to embed a hairpin inside markup?

2020-12-19 Thread Pierre Perol-Schneider
Hi Kenneth, Tiny example? Version? How about: \version "2.20" sfb = #(make-dynamic-script #{ \markup { \dynamic "sf" \normal-text\italic "bell-like" } #}) niente = #(make-dynamic-script #{ \markup { \normal-text\italic "niente" } #}) \layout { indent = 0 ragged-right = ##f

Re: How to embed a hairpin inside markup?

2020-12-19 Thread Kenneth Wolcott
Ah!!! Use \dimHairpin and \crescHairpin inside the markup! Now I just have to figure out how long to make the overall markup object. On Sat, Dec 19, 2020 at 10:08 PM Kenneth Wolcott wrote: > > Hi; > > I've looked in Learning, Notation and Snippets. > > I have attached a screenshot containi

How to embed a hairpin inside markup?

2020-12-19 Thread Kenneth Wolcott
Hi; I've looked in Learning, Notation and Snippets. I have attached a screenshot containing the markup that I need. Basically, a dynamic, followed by the hairpin, and sometimes, some text at the right side of the hairpin. This needs to be all on the same horizontal line, so I know all n

Re: How to embed conditional non-music code

2006-03-10 Thread Erik Sandberg
Citerar Alan Stern <[EMAIL PROTECTED]>: > How can I make a non-music part of my .ly file conditional? For example, > suppose I want to add something like > > between-system-padding = 0.3 \in did you try something like this? between-system-padding = #(if (eq? partNum 0) (* 0.3 inch-multipli

Re: How to embed conditional non-music code

2006-03-05 Thread Nicolas Sceaux
Erik Sandberg <[EMAIL PROTECTED]> writes: > Citerar Alan Stern <[EMAIL PROTECTED]>: > >> How can I make a non-music part of my .ly file conditional? For example, >> suppose I want to add something like >> >> between-system-padding = 0.3 \in > > did you try something like this? > > between-sy

How to embed conditional non-music code

2006-03-04 Thread Alan Stern
How can I make a non-music part of my .ly file conditional? For example, suppose I want to add something like between-system-padding = 0.3 \in to the \paper{} section, but only if the Scheme variable "partNum" is equal to 0. There doesn't seem to be any way to do it. The #{ ... #} syntax d

Re: to embed

2004-05-24 Thread Mats Bengtsson
If you consider a web server where the users also can run lilypond on the files, I hope you have thought about the possible security problems. There is a flag --safe-mode to lilypond, but you should be aware of that it (at least not yet) provides full security. /Mats Aaron wrote: Hi all, I am lo

Re: to embed

2004-05-17 Thread Blake Garretson
On Mon, May 17, 2004 at 02:40:34PM +0300, Aaron wrote: > I remember someone posting an editor which was a few windows that you > click on a notes, clef etc and it writes the page. While this isn't > really what I am thinking of it might be an idea. I can't remember what > its called or a find a li

to embed

2004-05-17 Thread Aaron
Hi all, I am looking for a web based solution (editor) to access lilypond files the more userfriendly the better. I am building a web application based on Zope (read python) and need a way to let users of my project create lilypond files, edit them, correct them etc. This is all from a web appli