Re: Copy variable by value in a current-module.

2021-10-16 Thread Robert Kubosz
at's the reason. > The other way is to use ly:music-deep-copy and it's not like this isn't mentioned in the "LilyPond — Extending" guide of LilyPond You know, David, I just got lost. I wish I had more time to work with my project. Many many thanks! Robert sob., 16 paź

Copy variable by value in a current-module.

2021-10-16 Thread Robert Kubosz
I want to make a copy of a variable defined in a separate file, but run in the same current-module. The copy I make is a copy-by-reference, and in result any modifications I apply to the copy also appear in the original. How do I make a copy-by-value in a current-module? More detailed example is a

Re: set variable

2021-02-19 Thread Robert Kubosz
Aaron, thank you! This is something I was looking for. On 19.02.2021 21:42, Aaron Hill wrote: On 2021-02-19 12:21 pm, Robert Kubosz wrote: Hello The default way to override an existing variable in scheme is: #(define foo 2) #(set! foo 3) #(display foo) %--> output is 3 I want to overr

set variable

2021-02-19 Thread Robert Kubosz
Hello The default way to override an existing variable in scheme is: #(define foo 2) #(set! foo 3) #(display foo) %--> output is 3 I want to override the foo with use of another variable storing the foo's varname: #(define foo 2) #(define bar 'foo) %variable storing the foo's varname

Re: pitch argument for transpose function

2021-02-18 Thread Robert Kubosz
Thank you, it works perfectly! :-)

pitch argument for transpose function

2021-02-18 Thread Robert Kubosz
es and I want to keep the code maintainable. Best regards Robert Kubosz

Set up label in add-toc-item!

2020-02-07 Thread Robert Kubosz
Hello! I have a question that bothers me. Can I put a label in a markup function/add-toc-item! ? I'll explain: I have scores, that obviously use a \header {} block. I use a custom scoreTitleMarkup, that obviously manages each piece's title markup and also calls add-toc-item! that puts an item

Re: Repository with color themes for Frescobaldi

2019-08-06 Thread Robert Kubosz
Hi Andrew, this theme repo was originally meant to be a part of base16 . Maintainer of base16 required, that all linked repos should be using MIT license or other compatible one. For me personally MIT license is a first choice for a small projects like f

Re: Repository with color themes for Frescobaldi

2019-08-06 Thread Robert Kubosz
> > Best regards. > > -- > > “Happiness is the meaning and the purpose of life, the whole aim and end > of human existence.” > > ― Aristotle > > On Mon, Aug 5, 2019, 11:24 AM Robert Kubosz > wrote: > >> I know that not all Lilyponders use Frescobaldi, bu

Repository with color themes for Frescobaldi

2019-08-05 Thread Robert Kubosz
I know that not all Lilyponders use Frescobaldi, but certainly all Frescobaldiers use Lilypond ;-) so please don't be mad at me that I created this post here. Due to lack of proper colorschemes for Frescobaldi I created a repository with them on github: https://github.com/rkubosz/base16-frescobal

Re: get space left in markup function

2019-05-04 Thread Robert Kubosz
Thanks for your response, Andrew. I really hoped that somehow I could create the snaking columns in my book just using lilypond. It was the very last thing I needed to create a nice book and to finish my typesetting work. I know LaTeX, I wrote some things in it. I will check out lyluatex. -- Sen

Re: get space left in markup function

2019-05-02 Thread Robert Kubosz
Hmm, maybe I will introduce you to the problem I am now tackling and why I need to know the available free space in markup command. I'm modifying the book template shared by Nicolas Sceaux. Now I'm working on table of contents. The table of contents looks beautiful on one condition: sections don't

get space left in markup function

2019-05-01 Thread Robert Kubosz
Hello! I have a markup function and inside this function I need to know how much free space is left on page. (The space left parameter displayed with annotate-spacing = ##t). Can anyone tell me how to get this parameter in markup function? -- Sent from: http://lilypond.1069038.n5.nabble.com/Use

Re: Polymetric(?) time signature

2019-04-29 Thread Robert Kubosz
Thanks Rick, your idea is closest to what I wanted. Definetely I will adapt this in my scores! :-) Brian, Kieren -- thank you for your responses. On 29.04.2019 16:17, Rick Kimpel wrote: > >I have a piece of music where measures have 4/4 time and 5/4  > > Robert,  > Do you intend to print the tim

Polymetric(?) time signature

2019-04-28 Thread Robert Kubosz
Hello Lilyponders! I have a piece of music where measures have 4/4 time and 5/4 and it looks like this: { \time 4/4 c4 c c c \time 5/4 c c c c c \time 4/4 c c c c \time 5/4 c c c c c } and the pattern goes on like that to the very end of piece. I have a question: can I declare th

Re: \cadenzaOn: clefs, key signatures on line breaks

2018-05-13 Thread Robert Kubosz
Hi Thomas! I added the post via web page with use of markup. It looks like the mail engine ignored it. Nevermind, I repost the example: \version "2.19.81" \relative f' { \clef treble \key f \major \repeat unfold 10 f4 \break \repeat unfold 10 g4 \

\cadenzaOn: clefs, key signatures on line breaks

2018-05-13 Thread Robert Kubosz
Hello! I write a music piece with \cadenzaOn and \cadenzaOff. The example below produces output without the clef and key signature after line break. Is there a possibility to display them? Also, I have second question: can the lines auto break in cadenza mode? With best regards Robert -- Sen

Re: Apply markup-command to every element of markuplist

2017-12-12 Thread Robert Kubosz
It works perfectly. It's a shame that I did not try that. Thanks David a lot! On Dec 12, 2017 09:35, "David Kastrup" wrote: > Robert Kubosz writes: > > > Hello everyone! > > > > I want to apply markup-command to every element of markup list, for &g

Apply markup-command to every element of markuplist

2017-12-12 Thread Robert Kubosz
Hello everyone! I want to apply markup-command to every element of markup list, for example to make every element bold in \markuplist {foo bar}. I've followed the documentation, found the \map-markup-commands and I don't really understand how it works. I've tried \map-markup-commands \bold \mark

Re: Switch back a \voiceOne to \oneVoice

2017-10-15 Thread Robert Kubosz
Thanks, David, I will definitely use tagGroup. I see some possible application for it in my work. It is revolutionary for me, that I can tag not only _music_, but also a music command. This idea never crossed my mind. ___ lilypond-user mailing list l

Re: Switch back a \voiceOne to \oneVoice

2017-10-15 Thread Robert Kubosz
d will give you the expected result. > >   > > HTH > >   > > Rémy > >   > >   > > > Message du 15/10/17 16:21 > > De : "Robert Kubosz" > > A : lilypond-user@gnu.org > > Copie à : > > Objet :

Switch back a \voiceOne to \oneVoice

2017-10-15 Thread Robert Kubosz
Hi everyone! I have a project with many music pieces for brass orchestra. I wrote a score template with tags, so I can easily extract parts from it. I works almost perfectly, but a extracted voice is still engraved as \voiceOne or \voiceTwo instead of default engraving like \oneVoice. I really dig

Get the paper size in scheme

2017-08-10 Thread Robert Kubosz
Hi everyone! I am currently creating a template for a book. I want to create a scheme function, which adapts markup according to paper size. The problem is, that I don't know how to get current paper size. AFAIK there is #(set-default-paper-size "paper-size") and I could not find a variable holdi

Lilypond.org is down

2017-06-24 Thread Robert Kubosz
Hi everyone! I just wanted to inform you that lilypond.org is down. Have a nice day! Robert ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user