tempo markup problem

2022-08-10 Thread Craig Dabelstein
Hi all,

I know this is not difficult but I just can't get it to work.

I want the tempo to look like:

Allegro moderato
die *[image of crotchet] *etwa 108 M.M.

I have this so far:

\tempo \markup \left-column { "Allegro moderato"
\smaller "die etwa 108 M.M."  }

To produce the crotchet I have:

\note {4} #1

but I can't get it all combined to actually work.

Any help?

All the best,

Craig
-- 

[image: Craig Dabelstein]
Craig Dabelstein
Owner, Maxime's Music

<https://www.facebook.com/concertbandmusicstore>
<https://www.instagram.com/maximes_music/>
<https://www.linkedin.com/company/20441607/>
<https://www.youtube.com/channel/UCxo8uqqcwzrQtCIbJ9Ea5Xg>
Mobile   0404884173
Website   concertbandmusicstore.com
Email   cr...@concertbandmusicstore.com
Address   19 Twelfth Ave, Kedron, QLD <https://maps.google.com/?q=19
Twelfth Ave, Kedron, QLD>
Free eBook: Right Hemisphere Conducting  Just sign up to our newsletter
<https://mailchi.mp/e15429808530/right-hemisphere-ebook>
[image: App Social Buttons Image]
<https://www.linkedin.com/in/concert-band-music/>


Re: Enharmonically override key signature

2021-03-29 Thread Craig Dabelstein
Thanks Kieren. That worked for my over-simplified MWE. But here's my
real-world problem with multiple key changes. There are only some that need
to be over-ridden enharmonically. See bar 2 of the Alto Sax where I'd like
to override this key signature without changing the whole global setup. Is
this possible?

All the best,

Craig

%%%

\version "2.20.00"
\language "english"

\include "enharmonic.ly"

fluteNotes = { \repeat unfold 3 { c'4 d' e' f' } }

altosaxNotes = \transpose c' ef
{ \repeat unfold 3 { c'4 d' e' f' } }

global = {
  \key bf \major
  s1
  \key b \major
  s1
  \key ef \major
  s1
}

\score {
  <<
\new Staff {
  \set Staff.instrumentName = "Flute"
  <<
\global
\fluteNotes
  >>
}
\new Staff {
  \set Staff.instrumentName = "Alto Sax"
  \transpose ef c'
  <<
    \global
\altosaxNotes
  >>
  }
  >>
}

%%


Craig Dabelstein
Owner, Maxime's Music
cr...@concertbandmusicstore.com
19 Twelfth Ave, Kedron QLD 4031 <https://maps.google.com/?q=19 Twelfth Ave,
Kedron QLD 4031>
[image: App Social Buttons Image]
<http://www.linkedin.com/in/concert-band-music/>   [image: App Social
Buttons Image] <http://www.facebook.com/craig.dabelstein>
Maxime's Music [image: arrow] <https://concertbandmusicstore.com>
Create your own email signature
<https://www.wisestamp.com/create-own-signature/?utm_source=promotion_medium=signature_campaign=create_your_own=>

On Tue, 30 Mar 2021 at 09:23, Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Craig,
>
> > In this snippet, how can I override the Alto Sax key signature so it
> displays as A-flat major instead of G-sharp major?
>
> \transpose ds c'
>
> But then you’ll probably want the old “naturalize notes” snippet (wherever
> that is…).
>
> Hope that helps!
> Kieren.
> 
>
> Kieren MacMillan, composer (he/him/his)
> ‣ website: www.kierenmacmillan.info
> ‣ email: kie...@kierenmacmillan.info
>
>


Enharmonically override key signature

2021-03-29 Thread Craig Dabelstein
Hi all,

In this snippet, how can I override the Alto Sax key signature so it
displays as A-flat major instead of G-sharp major?

\version "2.20.00"
\language "english"

fluteNotes = { c'4 d' e' f' }

altosaxNotes = \transpose c' ef
{ c'4 d' e' f' }

global = {
  \key b \major
}

\score {
  <<
\new Staff {
  <<
\global
\fluteNotes
  >>
}
\new Staff {
  \transpose ef c'
  <<
\global
    \altosaxNotes
  >>
}
  >>
}


Craig Dabelstein
Owner, Maxime's Music
cr...@concertbandmusicstore.com
19 Twelfth Ave, Kedron QLD 4031 <https://maps.google.com/?q=19 Twelfth Ave,
Kedron QLD 4031>
[image: App Social Buttons Image]
<http://www.linkedin.com/in/concert-band-music/>   [image: App Social
Buttons Image] <http://www.facebook.com/craig.dabelstein>
Maxime's Music [image: arrow] <https://concertbandmusicstore.com>
Create your own email signature
<https://www.wisestamp.com/create-own-signature/?utm_source=promotion_medium=signature_campaign=create_your_own=>


Re: Openlilylib status

2021-03-17 Thread Craig Dabelstein
Hi Lilyponders,

Andrew, I feel your pain. I offered to help Urs a number of times but he
was way out of my league with the coding side of things and I was virtually
useless to help.

I use the Edition Engraver and Scholarly sporadically. What I think is that
Urs was way ahead of most of us, and he had projects and needs that most of
us don't. I would like to see all his work continue because I think it's
amazing and Lilypond is far better suited to some of those high-level
demands and projects than the other engraving software.

Other than share a virtual beer with you and sympathise I don't know what
else I can do to help.

All the best,

Craig


On Fri, 12 Mar 2021 at 03:12, Damian leGassick 
wrote:

> Hi Andrew
>
> I was just waiting for an update (and feeling your pain about the server)
> before using OLL in a ‘real’ project. I’ve gotten familiar with most of it
> now and it is certainly worth keeping alive. I would use it but I worry
> about fragility. My python skills are too limited for the deeper tasks, but
> my offer for testing and documentation help stands.
>
> I hope that more help is forthcoming - it does strike me as too big for
> one person.
>
> Best
>
> Damian
>
>
>
> > On 10 Mar 2021, at 22:21, Andrew Bernard 
> wrote:
> >
> > Hello All,
> >
> > Some time ago I took over the management of the Openlilylib project from
> Urs Liska, who was forced to cease the work for personal reasons. I created
> a server to host a new website, a Git repository and a Discourse forum and
> Openlilylib specific mailing list. The old git repository remains
> untouched, but it is no longer taking pull requests. I was in the process
> of refactoring the whole git repo to make it easier to use, but have not
> yet completed that work.
> >
> > To cut to the point, in a moment of complete stupidity I deleted the
> server this was running on without thinking to take a backup of the OLL
> systems. So the work has currently been put on hold until I make a new
> server and setup all the work again. Sadly, nobody has noticed the loss of
> the website or forum, which did have a few members, so I wonder if this is
> worth pursuing anyway.
> >
> > Just letting you know where we are with OpenLilyLib.
> >
> > If anybody else is interested in taking over the work, please write and
> let me know.
> >
> >
> > Andrew
> >
> >
> >
> >
> >
>
>


oll-core log files

2021-03-10 Thread Craig Dabelstein
Hi Lilyponders,

Is it possible to turn off the log files created by oll-core?

I'm using this code:

\include "oll-core/package.ily"
\setLogLevel #'nolog

but still getting a log file created (an empty one) for every lilypond file.

All the best,

Craig


-- 


Craig Dabelstein
Owner, Maxime's Music
cr...@concertbandmusicstore.com
19 Twelfth Ave, Kedron QLD 4031

[image: App Social Buttons Image]
<http://www.linkedin.com/in/concert-band-music/>   [image: App Social
Buttons Image] <http://www.facebook.com/craig.dabelstein>
Maxime's Music [image: arrow] <https://concertbandmusicstore.com>


Re: Better support for Bravura in LilyPond

2020-06-27 Thread Craig Dabelstein
All looks good! Thanks Daniel.

On Sun, 28 Jun 2020 at 06:06, Daniel Benjamin Miller 
wrote:

> I've updated the fonts and support to correct the issue. Download the new
> version (at the same GitHub link) and you'll see the issue resolved. Thanks
> for the report!
> On 6/27/20 3:39 PM, Craig Dabelstein wrote:
>
> Hi Daniel,
>
> Thanks for all your work on this. I've followed all your instructions and
> it is all working perfectly, however, now my hairpins that start or end on
> a dynamic are not centered on the opening or closing dynamic. Any idea why
> this would happen?
>
> All the best,
>
> Craig
>
>
> On Thu, 25 Jun 2020 at 19:23, Daniel Benjamin Miller <
> dbmil...@dbmiller.org> wrote:
>
>> I agree. Having choice in this respect is wonderful and important.
>> Abraham's work in this regard was great, though, as I am a staunch user of
>> what is free and open-source (in large part because I want *anyone* to
>> be able to modify and re-compile my scores), I am a bit saddened that he
>> moved to proprietary fonts. You will notice that I use his (still OFL,
>> though old) Profondo brace font (a conversion of Bravura; I replaced his
>> Profondo music font because it was out of date, being based on an early
>> pre-release of Bravura).
>>
>> Adding SMuFL support will enhance our ability to add new fonts by a lot.
>> Right now a big issue is that it is extremely difficult to create the
>> proper special tables (LILY and so on) in fonts so that LilyPond can
>> actually use them. And most fonts are not METAFONT-designed like
>> Emmentaler, so the accessible infrastructure for font building for LilyPond
>> is abysmal. So to me the advantage of SMuFL is not only that we'll be able
>> to use fonts from elsewhere, but the creation of fonts becomes orders of
>> magnitude less difficult too (as the tools for developing SMuFL fonts are
>> in place).
>>
>> Of course, between Abraham Lee's conversion of the pre-release Bravura,
>> and the existing Bravura support that had been put together before, this is
>> not the first time that Bravura was made to be used in LilyPond. But I
>> think it's finally ready for actual publication-quality usage now! So while
>> Owen does his work on SMuFL support, we have another good choice for the
>> present!
>> On 6/25/20 5:16 AM, Urs Liska wrote:
>>
>> Am Donnerstag, den 25.06.2020, 04:37 -0400 schrieb Daniel Benjamin
>> Miller:
>>
>> You're right, it does essentially replicate Dorico's style.
>>
>> I don't think LilyPond should change what its default style is;
>>
>> I think what you suggested with this wasn't to change the defaults. But
>> I really like the idea of having choice. It is good that out-of-the-box
>> scores are immediately recognizble (although I have the impression that
>> the *text* font is even more notable in this respect).
>>
>> But people shouldn't be limited to that "personality" but have the
>> option to tweak the output to what they like. Generally speaking scores
>> shouldn't necessarily have the personality of the program but that of
>> the author/editor/publisher. Abraham Lee's efforts in making
>> alternative fonts properly available at all, and his collection of
>> fonts, was a huge step forware IMHO, and I really hope that Owen Lamb's
>> work of making LilyPond SMuFL-compliant will make that possibility of
>> choice even more fundmental.
>>
>> Urs
>>
>>
>> I don't
>> like the Emmentaler font myself (Simon Tatham put it best, though I
>> actually feel the same about Gonville: 
>> https://www.chiark.greenend.org.uk/~sgtatham/gonville/ - "I designed
>> it
>> because Lilypond's standard font (Feta) was not to my taste: I found
>> it
>> to be (variously) over-ornate, strangely proportioned, and subtly
>> not
>> like the music I was used to reading. Music set in Feta looks to me
>> like
>> strangely stylised music; music set in Gonville just looks to me
>> like
>> music, so I can read it without being distracted so much.)
>>
>> But I also think that we should not try to change the defaults. But
>> I
>> also think that almost nobody actually cares much about music
>> typography, really: only LilyPond and Dorico have really put effort
>> into
>> creating their default fonts and appearances; MuseScore borrows its
>> fonts from both, and Finale and Sibelius' fonts are really clearly
>> not
>> that seriously taken.
>>
>> LilyPond is not static, but it should not really change in terms of
>> its
>> defaults either.

Re: Better support for Bravura in LilyPond

2020-06-27 Thread Craig Dabelstein
 a more philosophic question. Do we want LilyPond
> scores
> to have an immediately recognizable "personality" or are we slowly
> moving to a situation where everyone, including LilyPond, is trying
> to
> look the same (when using default settings), and it will be hard
> to
> see if a score was typeset in LilyPond, MuseScore, Dorico, Finale,
> or
> Sibelius?
>
> I hope LilyPond will always try to keep a distinct personality in
> the
> default output, which is not a static thing but can be discussed
> in
> the Lilypond user and developers community, changed, and improved
> continuously. But let not all our efforts go to looking as much as
> possible like "the other ones".
>
> I know LilyPond is (almost) flexible and tweakable enough to have
> it
> all, but what I am talking about is the default output.
>
>
>

-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Re: Syntax highlighting

2020-01-25 Thread Craig Dabelstein
Hi all,

This is what I've been doing to test, after cloning the repo. Instructions
start halfway down this page: https://pygments.org/docs/lexerdevelopment/

You probably don;t even have to `make mapfiles` on this LilyPond branch.


   1.

   Run make mapfiles
   2.

   Run the lexer to convert the LilyPond file to html: python -m pygments
   -O full -f html -o /tmp/example.html tests/examplefiles/example.ily
   3.

   Open the html file: /tmp/example.html


On Sat, 25 Jan 2020 at 23:50, Henning Hraban Ramm 
wrote:

>
> > Am 2020-01-25 um 10:45 schrieb Urs Liska :
> >
> > Am Samstag, den 25.01.2020, 17:48 +1000 schrieb Craig Dabelstein:
> >> Hi everyone,
> >>
> >> I've written a LilyPond syntax highlighter for pygments. It's not
> perfect but it's mostly working. Is there anyone out there who could test
> it?
> >>
> >> https://github.com/craigdab/pygments/tree/LilyPond
> >
> > Thank you for working on it.
> >
> > How does one test it?
> > First clone the repository and install pygments from there (its
> `setup.py`) I suppose. The README suggests using `pip`, which surely
> wouldn't work, isn't it?
> >
> > I have installed Pygments through pip3, is there a way to avoid a
> conflict, e.g. by *not* installing your pygments clone but directly invoke
> the proper executable?
>
> It would make sense to create a virtualenv, activate it and install
> Craig’s pygments there via setup.py
>
>
> Greetlings, Hraban
> ---
> fiëé visuëlle
> Henning Hraban Ramm
> https://www.fiee.net
>
>
>
>
>
>

-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Syntax highlighting

2020-01-24 Thread Craig Dabelstein
Hi everyone,

I've written a LilyPond syntax highlighter for pygments. It's not perfect
but it's mostly working. Is there anyone out there who could test it?

https://github.com/craigdab/pygments/tree/LilyPond

I'm sure there is lots that could be improved on it. It is running without
errors, but it is failing the pull request tests and I don't know why. I'm
not experienced enough to work it out.

Thanks everyone,

Craig




-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Syntax-highlighter

2020-01-19 Thread Craig Dabelstein
Hi LilyPonders,

To help with the documentation of future LilyPond projects I have tried to
write a syntax highlighter to be used by Pygments (which can then be used
by many other programs for presenting code examples).

I'm inexperienced at this sort of thing so I would really appreciate any
advice or suggestions you could give me on any part of the project: what
works or doesn't work, the regex examples, even the git commit messages and
the readme.md -- literally anything at all.

You can find the repo here:
https://github.com/craigdab/pygments-lilypond-test

It is very easy to test (see the README.md doc):
[1] clone Pygments
[2] add my two python files to pygment's lexer folder
[3] add a LilyPond file to the tests/examplefiles folder
[4] run: python -m pygments -O full -f html -o /tmp/example.html
tests/examplefiles/example.ily

All the best,

Craig




-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Re: Syntax highlighting

2020-01-16 Thread Craig Dabelstein
The pygments LilyPond lexer is actually going ok. I'm still copying over
the info from python-ly, but I've worked it out and so far it's working
without errors. I will have to learn some regex tricks in the next few
days. Perhaps another week and it will be ready for some testing.

Craig

On Wed., 15 Jan. 2020, 12:16 pm Craig Dabelstein, <
craig.dabelst...@gmail.com> wrote:

> Federico,
>
> Is it just me or is the documentation for Pygments really hard to
> understand? I can't even find anywhere they discuss the setup.py file.
>
> I've opened a repo (https://github.com/craigdab/pygments-lilypond-test)
> and cut and paste from other peoples repositories as a start, but I really
> have no idea what I'm doing.
>
> Craig
>
>
> On Wed, 15 Jan 2020 at 10:38, Craig Dabelstein 
> wrote:
>
>> Thank you gentlemen,
>>
>> I'll have a go at taking the python-ly work and seeing if I can use it
>> work to make syntax highlighting with pygments. It's highly possible that I
>> will totally fail, but I'll give it a try.
>>
>> Craig
>>
>>
>> On Tue, 14 Jan 2020 at 23:38, Federico Bruni  wrote:
>>
>>> Il giorno mar 14 gen 2020 alle 12:34, Urs Liska 
>>> ha scritto:
>>> > Pygments is also what Pandoc uses for its syntax highlighting, so that
>>> > would also make sense for that (e.g. generating PDF documentation from
>>> > Markdown).
>>>
>>> Are you sure?
>>> I think that pygments is the name of the default style in Pandoc, but
>>> the highlight library is a Haskell library called skylighting:
>>> https://pandoc.org/MANUAL.html#syntax-highlighting
>>> https://github.com/jgm/skylighting
>>>
>>> It seems Wilbert contributed the definitions for lilypond syntax:
>>>
>>> https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/lilypond.xml
>>>
>>> About 10 days ago I wanted to share this in the open issue in
>>> Frescobaldi tracker but I forgot to do it.
>>> I remember I found the lilypond file definition somewhere else...
>>>
>>>
>>>
>>>
>>
>> --
>> Craig Dabelstein
>> Owner
>> Maxime's Music
>> M: 0404884173
>> A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
>> W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
>> cr...@concertbandmusicstore.com 
>> <https://www.facebook.com/maximesmusic.com.au>
>> <https://www.linkedin.com/in/maximes-music>
>>
>> <https://www.designhill.com/email-signature-generator>
>>
>>
>
>
> --
> Craig Dabelstein
> Owner
> Maxime's Music
> M: 0404884173
> A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
> W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
> cr...@concertbandmusicstore.com 
> <https://www.facebook.com/maximesmusic.com.au>
> <https://www.linkedin.com/in/maximes-music>
>
> <https://www.designhill.com/email-signature-generator>
>
>


Re: Syntax highlighting

2020-01-14 Thread Craig Dabelstein
Federico,

Is it just me or is the documentation for Pygments really hard to
understand? I can't even find anywhere they discuss the setup.py file.

I've opened a repo (https://github.com/craigdab/pygments-lilypond-test) and
cut and paste from other peoples repositories as a start, but I really have
no idea what I'm doing.

Craig


On Wed, 15 Jan 2020 at 10:38, Craig Dabelstein 
wrote:

> Thank you gentlemen,
>
> I'll have a go at taking the python-ly work and seeing if I can use it
> work to make syntax highlighting with pygments. It's highly possible that I
> will totally fail, but I'll give it a try.
>
> Craig
>
>
> On Tue, 14 Jan 2020 at 23:38, Federico Bruni  wrote:
>
>> Il giorno mar 14 gen 2020 alle 12:34, Urs Liska 
>> ha scritto:
>> > Pygments is also what Pandoc uses for its syntax highlighting, so that
>> > would also make sense for that (e.g. generating PDF documentation from
>> > Markdown).
>>
>> Are you sure?
>> I think that pygments is the name of the default style in Pandoc, but
>> the highlight library is a Haskell library called skylighting:
>> https://pandoc.org/MANUAL.html#syntax-highlighting
>> https://github.com/jgm/skylighting
>>
>> It seems Wilbert contributed the definitions for lilypond syntax:
>>
>> https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/lilypond.xml
>>
>> About 10 days ago I wanted to share this in the open issue in
>> Frescobaldi tracker but I forgot to do it.
>> I remember I found the lilypond file definition somewhere else...
>>
>>
>>
>>
>
> --
> Craig Dabelstein
> Owner
> Maxime's Music
> M: 0404884173
> A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
> W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
> cr...@concertbandmusicstore.com 
> <https://www.facebook.com/maximesmusic.com.au>
> <https://www.linkedin.com/in/maximes-music>
>
> <https://www.designhill.com/email-signature-generator>
>
>


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Re: Syntax highlighting

2020-01-14 Thread Craig Dabelstein
Thank you gentlemen,

I'll have a go at taking the python-ly work and seeing if I can use it work
to make syntax highlighting with pygments. It's highly possible that I will
totally fail, but I'll give it a try.

Craig


On Tue, 14 Jan 2020 at 23:38, Federico Bruni  wrote:

> Il giorno mar 14 gen 2020 alle 12:34, Urs Liska 
> ha scritto:
> > Pygments is also what Pandoc uses for its syntax highlighting, so that
> > would also make sense for that (e.g. generating PDF documentation from
> > Markdown).
>
> Are you sure?
> I think that pygments is the name of the default style in Pandoc, but
> the highlight library is a Haskell library called skylighting:
> https://pandoc.org/MANUAL.html#syntax-highlighting
> https://github.com/jgm/skylighting
>
> It seems Wilbert contributed the definitions for lilypond syntax:
>
> https://github.com/KDE/syntax-highlighting/blob/master/data/syntax/lilypond.xml
>
> About 10 days ago I wanted to share this in the open issue in
> Frescobaldi tracker but I forgot to do it.
> I remember I found the lilypond file definition somewhere else...
>
>
>
>

-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Syntax highlighting

2020-01-13 Thread Craig Dabelstein
Hi all,

I'd like to add LilyPond syntax highlighting to highlight.js (
https://highlightjs.readthedocs.io/en/latest/ ) so that I can experiment
with documentation tools such as mkDocs/readthedocs. Does anyone have
any experience with this? Would it just be a matter of getting one of
the current syntax packages (such as https://github.com/yrammos/SubLilyPond
 or https://github.com/yrammos/AtLilyPond , and trying to modify them?

All the best,

Craig


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Re: Custon MMR engraver - another issue

2020-01-10 Thread Craig Dabelstein
Hi all,

Harm, I'm getting the below error when I use the MMR. When I switch  the
\override MultiMeasureRestNumber.details.print-range to false the error
goes away. I tried to make a MWE but couldn't reproduce the problem.

Any ideas?

Craig


/Applications/LilyPond
2.19.83.app/Contents/Resources/share/lilypond/current/ly/init.ly:56:2 <0>:
error: wrong type for argument 1. Expecting integer, found 65/4

#

(let ((book-handler (if (defined? 'default-toplevel-book-handler)

/Applications/LilyPond
2.19.83.app/Contents/Resources/share/lilypond/current/ly/init.ly:56:2 <1>:
error: wrong type for argument 2. Expecting integer, found 53/4

#

(let ((book-handler (if (defined? 'default-toplevel-book-handler)

On Wed, 8 Jan 2020 at 15:26, Craig Dabelstein 
wrote:

> Brilliant work! Thanks Harm.
>
> Craig
>
> On Wed, 8 Jan 2020 at 07:21, Thomas Morley 
> wrote:
>
>> Am Di., 7. Jan. 2020 um 16:25 Uhr schrieb Kieren MacMillan
>> :
>> >
>> > Hi Harm,
>> >
>> > As always, great work — thanks for this fabulous addition to the ’Pond!
>> >
>> > Best,
>> > Kieren.
>>
>>
>> Glad you like it :)
>>
>> Probably I should put it into LSR, if I can solve the remaining problems:
>> grob::name doesn't exist in 2.18.2 (could be replaced by the older
>> custom `grob-name´, which is somewhere in LSR already)
>> Solve the TODO
>>
>> Cheers,
>>  Harm
>>
>
>
> --
> Craig Dabelstein
> Owner
> Maxime's Music
> M: 0404884173
> A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
> W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
> cr...@concertbandmusicstore.com 
> <https://www.facebook.com/maximesmusic.com.au>
> <https://www.linkedin.com/in/maximes-music>
>
> <https://www.designhill.com/email-signature-generator>
>
>


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Re: Custon MMR engraver - another issue

2020-01-07 Thread Craig Dabelstein
Brilliant work! Thanks Harm.

Craig

On Wed, 8 Jan 2020 at 07:21, Thomas Morley  wrote:

> Am Di., 7. Jan. 2020 um 16:25 Uhr schrieb Kieren MacMillan
> :
> >
> > Hi Harm,
> >
> > As always, great work — thanks for this fabulous addition to the ’Pond!
> >
> > Best,
> > Kieren.
>
>
> Glad you like it :)
>
> Probably I should put it into LSR, if I can solve the remaining problems:
> grob::name doesn't exist in 2.18.2 (could be replaced by the older
> custom `grob-name´, which is somewhere in LSR already)
> Solve the TODO
>
> Cheers,
>  Harm
>


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Re: Custon MMR engraver - another issue

2020-01-06 Thread Craig Dabelstein
Ok Harm. Thanks for the engraver. It's brilliant.

All the best,

Craig


On Mon, 6 Jan 2020 at 20:05, Thomas Morley  wrote:

> Am Mo., 6. Jan. 2020 um 04:16 Uhr schrieb Craig Dabelstein <
> craig.dabelst...@gmail.com>:
>
>> Hi again,
>>
>> When using lilypond on the command line, and trying to engrave multiple
>> files, the multi measure rest engraver is giving this error when it moves
>> to the second file on the list:
>>
>> /Applications/LilyPond\ 2.19.83.app/Contents/Resources/bin/lilypond
>> -dpoint-and-click -ddelete-intermediate-files --pdf *.ly
>>
>> fatal error: symbol printMmrRange redefined
>>
>>
>> I've been using trial and error to try to find the problem but I really
>> don't know where to look. Anh ideas?
>>
>>
>> Many thanks,
>>
>>
>> Craig
>>
>>
>>
> Well, I defined a custom context-property for this engraver and
> implemented a fatal error, if this property is redefined  Following the
> method in define-context-properties.scm.
> You trigger this error if you compile multiple files containing the
> definition.
> This is a security-net, we shouldn't throw it away.
> We could avoid it, if we actually reset `all-translation-properties´,
> though, some time ago David K. warned to do so, iirc.
> I have to admit I don't remember the reasoning, though usually he has good
> ones...
>
> I'll think about how to circumvent the problem.
>
> Cheers,
>   Harm
>
>
>
>

-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Custon MMR engraver - another issue

2020-01-05 Thread Craig Dabelstein
Hi again,

When using lilypond on the command line, and trying to engrave multiple
files, the multi measure rest engraver is giving this error when it moves
to the second file on the list:

/Applications/LilyPond\ 2.19.83.app/Contents/Resources/bin/lilypond
-dpoint-and-click -ddelete-intermediate-files --pdf *.ly

fatal error: symbol printMmrRange redefined


I've been using trial and error to try to find the problem but I really
don't know where to look. Anh ideas?


Many thanks,


Craig






-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Re: Custom MMR Range engraver problem under 2.19.83

2020-01-05 Thread Craig Dabelstein
Thank you everyone.

Craig


On Mon, 6 Jan 2020 at 11:23, David Kastrup  wrote:

> David Kastrup  writes:
>
> > Thomas Morley  writes:
> >
> >> Am Mo., 6. Jan. 2020 um 00:53 Uhr schrieb Malte Meyn <
> lilyp...@maltemeyn.de>:
> >>>
> >>>
> >>>
> >>> Am 06.01.20 um 00:02 schrieb Craig Dabelstein:
> >>> > Hi all,
> >>> >
> >>> > I've been using the custom mmr-range-engraver (from this thread:
> >>> >
> https://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00505.html).
> >>> > It was working perfectly under 2.19.82 but won't work under 2.19.83.
> No
> >>> > error messages at all. Just mmr bar numbers not displaying. Has
> anyone
> >>> > else experienced this?
> >>> >
> >>> > Craig
> >>>
> >>> Could you please give a minimal working example (or at least link to
> the
> >>> message containing a compilable code, not to the start of the thread)?
> >>>
> >>
> >> It's
> >> https://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00543.html
> >>
> >> A minimal for the problem:
> >>
> >> \markup
> >> \center-column {
> >>foo
> >>\translate #'(0 . 3)
> >>\with-dimensions #empty-interval #empty-interval
> >>bar
> >> }
> >>
> >> With 2.19.82 "bar" is printed, it completely disappears with 2.19.83
> >> No clue what happens and why.
> >> Probably a bug, to tired to do further research, thoug.
> >
> > Bisecting.
>
> 06be909202d2ced6e651e4420bc8068eafae023e is the first bad commit
> commit 06be909202d2ced6e651e4420bc8068eafae023e
> Author: Thomas Morley 
> Date:   Sat May 26 23:45:55 2018 +0200
>
> Issue 5331 Let general-column deal reliable with empty args
>
> Previously an args-list of empty-stencils issued a programming error:
>   Improbable offset for stencil: -inf staff space
> This patch removes empty stencils from the args-list.
> If args-list is empty, an empty stencil is returned.
>
> :04 04 1f7b4bbaa3a3fb2614daa9b9a58ac279aded4998
> 2a55b8acbf49de4695c9afd37f1d60768084d8e1 M  scm
>
>
> --
> David Kastrup
>
>

-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Custom MMR Range engraver problem under 2.19.83

2020-01-05 Thread Craig Dabelstein
Hi all,

I've been using the custom mmr-range-engraver (from this thread:
https://lists.gnu.org/archive/html/lilypond-user/2016-02/msg00505.html). It
was working perfectly under 2.19.82 but won't work under 2.19.83. No error
messages at all. Just mmr bar numbers not displaying. Has anyone else
experienced this?

Craig



-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


bar numbers at top of score

2019-11-26 Thread Craig Dabelstein
Hi everyone,

I remember a thread where someone had posted a score and along the top on
its own line was every bar numbered in a large size. Does anyone remember
this? I can't locate it.

Craig


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Re: In other news ...

2019-11-16 Thread Craig Dabelstein
Bravo Urs! Amazing work as usual!

Craig


On Fri, 15 Nov 2019 at 18:03, Urs Liska  wrote:

> Since our post announcement function doesn't seem to work anymore, I'll
> just use this thread to point you to the second issue in this post
> series:
>
> http://lilypondblog.org/2019/11/leopold-mozart-violin-school-2-lilypond-structure-and-organization/
>
> Thank you David Olson for copy-editing!
>
> The remaining two posts will take more time because the underlying stuff
> will have to be tidied-up.
>
> Have fun
> Urs
>
> Am 12.11.19 um 17:26 schrieb Urs Liska:
> > ... may I for once engage in some self-advertisment and point you to
> > this post:
> >
> http://lilypondblog.org/2019/11/leopold-mozart-violin-school-1-the-project/
> > ?
> >
> > Is there any way we can make this (the project, not the post) more
> > prominently advertise for LilyPond than putting it on
> > http://lilypond.org/productions.html?
> >
> > With best regards and many thanks to all who helped me get this over
> > the goal line. As usual, I wouldn't have managed without the expertise
> > on this list.
> >
> > Urs
> >
> >
>
>

-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


Quarter Tone notation

2019-10-28 Thread Craig Dabelstein



Re: glissando problem

2019-09-11 Thread Craig Dabelstein
Dear Toine,

That's fantastic! Thank you so much. I've been using Lilypond for ages but
still so much I don't know.

All the best,

Craig


On Wed, 11 Sep 2019 at 20:12, Toine Schreurs  wrote:

> > I'm typesetting a percussion part where the composer wants a
> > glissando on both sets of bars of the glockenspiel; i.e. all the
> > white notes and all the black notes.
>
> > I'm not getting the expected result, which should show two
> > glissandos between each note, one between the two Bb's and one
> > between the two Cb's.
>
> What about using chords instead of two voices, and a little bit of
> tweaking?
>
> \version "2.19.82"
> \language english
>
> \score {
>   \relative c' {
> \time 6/4
> %\override Glissando.style = #'zigzag
> \override Glissando.minimum-length = #4
> \override Glissando.springs-and-rods = #ly:spanner::set-spacing-rods
> \override Glissando.breakable = ##t
> \override Glissando.after-line-breaking = ##t
> \override Glissando.bound-details.left.padding = #1.5
> \override Glissando.bound-details.right.padding = #1.5
> \override Glissando.bound-details.right.end-on-accidental = ##f
> \override Glissando.bound-details.right-broken.padding = #0.5
>
> % 6 bars of 3 patterns of 2 quarter notes  = 18
> % 1 bar of 2 patterns of 2 quarter notes   = 2
> % and a final pattern without the last glissando
>
> <>^"Glk. gliss. on both rows of bars"
> \repeat unfold 20 { 4 \glissando  \glissando }
> 4 \glissando 
>   }
> }
>
> Toine Schreurs
>


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


glissando problem

2019-09-10 Thread Craig Dabelstein
Dear Lilyponders,

I'm typesetting a percussion part where the composer wants a glissando on
both sets of bars of the glockenspiel; i.e. all the white notes and all the
black notes.

I'm not getting the expected result, which should show two glissandos
between each note, one between the two Bb's and one between the two Cb's.

MWE attached. Thanks for any help you could give me.

Craig


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>


glock test.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Dynamic Line Spanner question

2019-09-10 Thread Craig Dabelstein
Thanks everyone. That's been a big help.

Craig


On Tue, 10 Sep 2019 at 22:34, Flaming Hakama by Elaine <
ela...@flaminghakama.com> wrote:

> -- Forwarded message --
>>
> From: Mark Knoop 
>> To: lilypond-user@gnu.org
>> Cc:
>> Bcc:
>> Date: Tue, 10 Sep 2019 08:06:40 +0100
>> Subject: Re: Dynamic Line Spanner question
>> At 01:35 on 10 Sep 2019, Craig Dabelstein wrote:
>> > Hi all,
>> >
>> > In the following MWE, how do I get the dashed line to finish before
>> > the barline instead of after it. I've had no success with
>> > \endSpanners.
>>
>> See Internals Reference 3.2.111 spanner-interface:
>>
>> to-barline (boolean)
>> If true, the spanner will stop at the bar line just before it would
>> otherwise stop.
>>
>> Thus:
>>
>> \version "2.19.82"
>> \score {
>>   \relative c' {
>> c2 -\tweak to-barline ##t \cresc c c c
>> R1*4 \!
>>   }
>> }
>>
>>
>> --
>> Mark Knoop
>>
>
> If you want the dotted line to end before, not at the barline,
> another approach is to make the last note look like the value you want,
> but scale it down, and add a spacer where you the line to end:
>
> \version "2.19.81"
> \score {
> \relative c' {
> R1 \break
>
> c2 \cresc c c c2*1/2 s4\!
> R1 \break
>
> c2 \cresc c c c2*3/4 s8\!
> R1 \break
>
> c2 \cresc c c c2*7/8 s16\!
> R1 \break
>
> c2 -\tweak to-barline ##t \cresc c c c
> R1\! \break
>
> c2 \cresc c c c
> R1\!
> }
> }
>
>
> HTH,
>
> Elaine Alt
> 415 . 341 .4954   "*Confusion is
> highly underrated*"
> ela...@flaminghakama.com
> Producer ~ Composer ~ Instrumentalist ~ Educator
>
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Dynamic Line Spanner question

2019-09-09 Thread Craig Dabelstein
Hi all,

In the following MWE, how do I get the dashed line to finish before the
barline instead of after it. I've had no success with \endSpanners.

All the best,

Craig

\version "2.19.82"
\score {
  \relative c' {
c2 \cresc c c  c
R1*4 \!
  }
}


-- 
Craig Dabelstein
Owner
Maxime's Music
M: 0404884173
A: 19 Twelfth Ave,  Kedron QLD 4031, Australia
W: concertbandmusicstore.com <https://concertbandmusicstore.com/>E:
cr...@concertbandmusicstore.com 
<https://www.facebook.com/maximesmusic.com.au>
<https://www.linkedin.com/in/maximes-music>

<https://www.designhill.com/email-signature-generator>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Flipbook style score

2019-07-29 Thread Craig Dabelstein
The flip doesn't really matter. I'm aware of the ly2video but how effective
it would be for full orchestral/band scores I don't know.

Craig


On Tue, 30 Jul 2019 at 07:11, Karlin High  wrote:

> On 7/29/2019 4:03 PM, Craig Dabelstein wrote:
> > Does anyone have any advice on creating a video of a flipbook style PDF
> > of a lilypond score?
>
> How important is the "flip" effect for this use case? I'm aware of 2
> independent methods to produce video scores from LilyPond, but neither
> one shows flips.
> --
> Karlin High
> Missouri, USA
>


-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Flipbook style score

2019-07-29 Thread Craig Dabelstein
Hi all,

Does anyone have any advice on creating a video of a flipbook style PDF of
a lilypond score? Like the stuff the big publishing companies are putting
on YouTube (https://www.youtube.com/watch?v=Q0T4rWl-iW4)

I've experimented quite a bit but thought someone here might already have a
quick way of doing it.

All the best,

Craig


-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Multiple issues

2019-06-30 Thread Craig Dabelstein
Great advice as always. Thanks guys.

Craig


On Mon, 1 Jul 2019 at 02:58, Ben  wrote:

> On 6/29/2019 7:42 PM, Craig Dabelstein wrote:
>
> Hi everyone,
>
> In the attached screenshot of the last bars of my score you can see a
> couple of problems:
>
> [1] The tempi are not horizontally aligned
> [2] The last two bars aren't wide enough to accommodate the tempi
>
> I'm using markLengthOn
>
> What's the consensus on the best way to fix these?
>
> All the best,
>
> Craig
> [image: Screen Shot 2019-06-30 at 9.38.13 am.png]
>
>
> If you want to widen the measures, you could always do something like this:
>
> {
>   c4 d e f \tempo "Lento" \newSpacingSection
>   \once \override Score.SpacingSpanner.shortest-duration-space = #6
>   R1
>   \newSpacingSection \tempo "Subito Allegro"
>   c8 d e f c d e f
>
>
> }
>
>
> (see attached)
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Multiple issues

2019-06-29 Thread Craig Dabelstein
Hi everyone,

In the attached screenshot of the last bars of my score you can see a
couple of problems:

[1] The tempi are not horizontally aligned
[2] The last two bars aren't wide enough to accommodate the tempi

I'm using markLengthOn

What's the consensus on the best way to fix these?

All the best,

Craig
[image: Screen Shot 2019-06-30 at 9.38.13 am.png]

-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Modification of Flam, Drag, Ruff snippet

2019-06-29 Thread Craig Dabelstein
Absolutely perfect! Thank you Harm.

All the best,

Craig

On Sat, 29 Jun 2019 at 21:37, Thomas Morley 
wrote:

> Am Sa., 29. Juni 2019 um 11:06 Uhr schrieb Craig Dabelstein
> :
> >
> > Hi all,
> >
> > Is there a way to modify the Flams, Drags and Ruff snippet from the LSR (
> http://lsr.di.unimi.it/LSR/Item?id=566) so that there can be open
> versions of the drag and ruff (that's what exists now), and also a closed
> version of the drag and ruff; i.e. joining the two or three notes with a
> slur.
> >
> > At the moment, to write a closed drag takes this code:
> > \grace { sn16 ( sn ) }
> >
> > Could the snippet be modified so that one could type: \dragclosed or
> \dragopen. The same for the ruffs.
> >
> > All the best,
> >
> > Craig
>
> Do you mean like below (2.19.x required):
>
> \version "2.19.82"
>
> %% http://lsr.di.unimi.it/LSR/Item?id=566
>
>
> %% Return repeated single notes or chords, depending on @var{print-chord?}
> %% If @var{print-chord?} is set @code{#f}, the first written note is taken.
> %% The Number of repeats is set by @var{lngth}
> %% Only notes are returned. Other stuff like @code{Script},
> @code{Fingering}
> %% is thrown away.
> #(define (grace-from-main-note print-chord? lngth music slurred?)
>   (let* ((elts (ly:music-property music 'elements))
>  (has-duration?
>(lambda (x) (ly:duration? (ly:music-property x 'duration
>  ;; If the whole chord should be printed catch Notes only.
>  ;; If the first written note should be printed catch it.
>  ;; Otherwise, don't touch the music.
>  (mus (cond ((and (music-is-of-type? music 'event-chord)
> print-chord?)
>  (make-event-chord (event-chord-notes music)))
> ((music-is-of-type? music 'event-chord)
>  (first (event-chord-notes music)))
> (else music)))
>  ;; Set duration of note, clear 'articulations.
>  (note (map-some-music
>   (lambda (m)
> (and (has-duration? m)
>  (begin
>(set! (ly:music-property m 'duration)
>  (ly:make-duration (if (> lngth 1) 4 3) 0
> 1 1))
>(set! (ly:music-property m 'articulations) '())
>m)))
>   (ly:music-deep-copy mus)))
>  (next-note (ly:music-deep-copy note))
>  (last-note (ly:music-deep-copy note))
>  ;; Create a list of notes for use with (> lngth 1)
>  (m-list
>(flatten-list
>  (list note
>(make-list (max 0 (- lngth 2)) next-note)
>last-note
>   ;; Return a single note if (= lngth 1 ).
>   ;; Insert Beam for (> lngth 1) and return the result.
>   (cond ((= lngth 1 )
>note)
> ((> lngth 1)
>(list-set!  m-list 0
>  (begin
> (ly:music-set-property!
> note
> 'articulations
> (cons
>   (make-music
>'BeamEvent
>'span-direction -1)
>   (if slurred?
>   (list
> (make-music
>  'SlurEvent
>  'spanner-id
>  'drag+ruff
>  'span-direction
>  -1))
>   '(
>  note))
>(list-set!  m-list (- lngth 1)
>  (begin
> (ly:music-set-property!
> last-note
> 'articulations
> (cons
>   (make-music
>'BeamEvent
>'span-direction 1)
>   (if slurred?
>   (list
> (make-music
>  'SlurEvent
>  'spanner-id
>  'drag+ruff
>  'span-direction
>  1))
>   '(
> last-note))
> (make-sequential-music m-list))
>  ;; fall back
>  (else (make-sequential-music '())
>
> graceRepeat =
> #(define-music-function (chord-repeat? how-much note)
>   ((boolean? #f) integer? ly:music?)
>   "Return @var{note} preceded by repeated and

Modification of Flam, Drag, Ruff snippet

2019-06-29 Thread Craig Dabelstein
Hi all,

Is there a way to modify the Flams, Drags and Ruff snippet from the LSR (
http://lsr.di.unimi.it/LSR/Item?id=566) so that there can be open versions
of the drag and ruff (that's what exists now), and also a closed version of
the drag and ruff; i.e. joining the two or three notes with a slur.

At the moment, to write a closed drag takes this code:
\grace { sn16 ( sn ) }

Could the snippet be modified so that one could type: \dragclosed or
\dragopen. The same for the ruffs.

All the best,

Craig






-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Error message

2019-06-25 Thread Craig Dabelstein
Hi Aaron,

The inclusion of *\override Stem.neutral-direction = #'() *comes straight
from the LSR here:

http://lilypond.org/doc/v2.18/Documentation/snippets/pitches#pitches-automatically-changing-the-stem-direction-of-the-middle-note-based-on-the-melody

Here is another MWE to reproduce the problem:


\version "2.19.82"
\language english

\layout {
  \context {
\Staff
\consists "Melody_engraver"
\override Stem.neutral-direction = #'()
  }
}

\relative c'' {
  \time 3/2
  \tuplet 3/2 2 {
r4 df \f af gf' cf, ef gf, e' a,
  } |

  \tuplet 3/2 2 { r4 g' bf, f' e, r df' c, r } |
}


And the error message:

Starting lilypond 2.19.82 [mwe.ly]...

Processing `/Users/craigdabelstein/Desktop/mwe.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing
systems.../home/gub/NewGub/gub/target/darwin-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.20/flower/include/drul-array.hh:35
<0>: failed assertion `d == 1 || d == -1'

Exited with exit status 1.

Craig


On Tue, 25 Jun 2019 at 22:56, Aaron Hill  wrote:

> On 2019-06-25 4:46 am, David Kastrup wrote:
> > Craig Dabelstein  writes:
> >
> >> And the guilty line is ...
> >>
> >> \consists "Melody_engraver"
> >> %\override Stem.neutral-direction = #'()
> >>
> >> Commenting out the \override Stem.neutral-direction line fixed the
> >> problem.
> >
> > More likely than not half of a red herring: garbage protection problems
> > are quite elusive to track down.  This propably changes the actions the
> > Melody_engraver takes.
>
> Unless I am completely lost myself, this is not the trampoline problem
> from before, though I suspect the appearance of "Melody_engraver" has
> confused things.
>
> Here is the proper repro MWE:
>
> 
> \version "2.19.82"
> {
>\override Stem.neutral-direction = #'()
>\tuplet 3/2 { r4 b' c'' }
> }
> 
>
> This is bad input because neutral-direction must be strictly UP or DOWN
> (or rather it can be a procedure that ultimately evaluates to 1 or -1).
>  From what I can see, the point of the property is to determine what
> happens to a note on the middle line of a staff when there is nothing
> else (like a beam) that can help sway the decision one way or the other.
>   Setting it to #'() would seem to be meaningless.
>
> Consider the output from the above MWE:
>
> 
> GNU LilyPond 2.19.82
> Processing `drul-array-bad-direction.ly'
> Parsing...
> Interpreting music...
> Preprocessing graphical objects...
> programming error: Stem dir must be up or down.
> continuing, cross fingers
> Finding the ideal number of pages...
> Fitting music on 1 page...
> Drawing systems...lilypond:
> /home/gub/NewGub/gub/target/linux-64/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.20/flower/include/drul-array.hh:35:
>
> T& Drul_array::at(Direction) [with T = double]: Assertion `d == 1 ||
> d == -1' failed.
> The terminal process terminated with exit code: 134
> 
>
> LilyPond is already emitting a programming error: "Stem dir must be up
> or down".  Whenever I see "cross fingers", I never make any assumption
> of what will work or not.  So a failing assertion afterwards is not
> surprising.
>
> Craig: Would you confirm whether your project output contains the
> programming error line?  I would say there is a bug if you are *only*
> seeing the failing assertion.
>
> Perhaps an additional check could be added to stem.cc:649 to ensure that
> neutral-direction has a sane value, which could catch this particular
> error earlier in the process.
>
>
> -- Aaron Hill
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Error message

2019-06-25 Thread Craig Dabelstein
And the guilty line is ...

\consists "Melody_engraver"
%\override Stem.neutral-direction = #'()

Commenting out the \override Stem.neutral-direction line fixed the problem.

Thanks everyone for your advice.

All the best,

Craig


On Tue, 25 Jun 2019 at 19:08, Jean ABOU SAMRA  wrote:

>
> > Le 24 juin 2019 à 20:40, Aaron Hill  a écrit :
> >
> >
> > To the list at large: Any folks here with expertise in running LilyPond
> under a debugger on a Mac?  At this point, Craig is likely going to have to
> get us a stack trace since only he is able to reproduce the error without
> sharing the whole project.  Since my knowledge on that platform is
> extremely limited, I cannot shepherd any further.
>
> Well, you can use GDB or LLDB but neither one is as simple as that. GDB
> would be a well-standardized solution as LilyPond is compiled using GCC but
> LLDB is the default on Mac OS so GDB is not so easy to set up. LLDB should
> be usable on GCC-compiled programs, but I think there can sometimes be
> compatibility issues.
>
> Craig, can you share the whole project or not? If not, could you provide
> the most minimal example you have found so that other people using Mac OS
> can investigate further with an example that triggers the issue?
>
> Regards,
> Jean Abou Samra
>
> > -- Aaron Hill
> >
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>

-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Error message

2019-06-24 Thread Craig Dabelstein
Hi Aaron,

Omitting the tuplet bracket doesn't help. I'm really at a loss at what to
do now.

Craig


On Mon, 24 Jun 2019 at 16:57, Aaron Hill  wrote:

> On 2019-06-23 11:15 pm, Craig Dabelstein wrote:
> > Thanks for the help everyone.
> >
> > I narrowed down the guilty bars. Here's a MWE, however, it doesn't
> > reproduce the error in this MWE. When these two bars are replaced with
> > s1.*2 the files produce no error. I really don't know where to go from
> > here. Any advice?
>
> Well, just because you can comment out some music and have things work
> does not mean the commented out music is "guilty" per se.  Context often
> matters, so it is wise to only point fingers when you can isolate a
> section of music and have it reproduce an error standing alone.
>
> In your case, you have found two bars that work just fine by themselves.
>   If there is any error with your input, it is certainly not there.  You
> will need to slowly add in the outer context until the problem appears.
>
> Out of curiosity, if you \omit TupletBracket in your project, does the
> failing assertion reproduce?
>
>
> -- Aaron Hill
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Error message

2019-06-24 Thread Craig Dabelstein
Thanks for the help everyone.

I narrowed down the guilty bars. Here's a MWE, however, it doesn't
reproduce the error in this MWE. When these two bars are replaced with
s1.*2 the files produce no error. I really don't know where to go from
here. Any advice?

Craig


\version "2.19.82"
\language english

\relative c'' {
  \time 3/2
  \tuplet 3/2 2 {
r4 df -. \f af -. gf' -. cf, -. ef -. gf, -. e' -. a, -.
  } |

  \tuplet 3/2 2 { r4 g' -. bf, -. f' -. e, -. r df' -. c, -. r } |
}



On Sun, 23 Jun 2019 at 20:36, DJF  wrote:

> > On Jun 23, 2019, at 1:38 AM, Craig Dabelstein <
> craig.dabelst...@gmail.com> wrote:
> >
> > Hi Lilyponders,
> >
> > Can anyone tell me what this error message means when trying to compile
> a file?
> >
> > Drawing
> systems.../home/gub/NewGub/gub/target/darwin-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.20/flower/include/drul-array.hh:35:
> failed assertion `d == 1 || d == -1'
> > Exited with exit status 1.
>
> This is my least favorite kind of error! Whenever I have these, it often
> concerns beaming, especially when LP is trying to beam more than two notes
> but, because of a misplaced octave or perhaps a clef change, it can't draw
> a satisfactory beam. Sometimes, just turning off beaming in 4s can allow
> the file to compile so that you can start investigating.
>
> http://lilypond.org/doc/v2.19/Documentation/notation/beams.en.html
>
> If that doesn't work, and if the file has been compiling fine right along,
> I'll assume the issue has to do with the part most recently entered. I'll
> stick a %} at the end of the part and then pick a reasonable point to put a
> %{ and, with that section now "turned off", I'll see if the piece can
> compile. If not, I keep moving the %{ earlier and earlier until it does.
>
> Hope this helps,
>
> Dan



-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Error message

2019-06-22 Thread Craig Dabelstein
Hi Lilyponders,

Can anyone tell me what this error message means when trying to compile a
file?

Drawing systems...
/home/gub/NewGub/gub/target/darwin-x86/src/lilypond-git.sv.gnu.org--lilypond.git-stable-2.20/flower/include/drul-array.hh:35
<0>: failed assertion `d == 1 || d == -1'

Exited with exit status 1.


All the best,


Craig



-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


[no subject]

2019-05-02 Thread Craig Dabelstein
Hi everyone,

Has anyone encountered this error in Terminal before? I'm on a Mac (latest
OS) and invoking Lilypond on about 30 parts. This error came up on about
the 25th part.

warning: g_spawn_sync failed (0): gs: Too many open files




All the best,


CRaig





-- 
[image: photograph]
*Craig Dabelstein*
Owner
email: cr...@maximesmusic.com.au
Maxime's Music, QLD, Australia
[image: facebook icon] <https://www.facebook.com/maximesmusic.com.au> [image:
twitter icon] <https://twitter.com/MaximesMusic> [image: youtube icon]
<http://www.youtube.com/c/Maximesmusic_for_band> [image: instagram icon]
<https://www.instagram.com/maximes_music/>  maximesmusic.com.au
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: A LilyPond Café in Paris

2019-04-07 Thread Craig Dabelstein
I'm so jealous. Thanks for the photos Pierre.

Craig

On Mon., 8 Apr. 2019, 10:44 am Kieren MacMillan, <
kieren_macmil...@sympatico.ca> wrote:

> Hello,
>
> > Here's some pics:
> https://www.flickr.com/photos/148245202@N06/albums/72157706397021461
>
> How inspiring!
> Thank you for the photographic evidence.  =)
>
> Best,
> Kieren.
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


ScholarLY and Latex

2019-02-26 Thread Craig Dabelstein
Hi all (and especially Urs),

I've been working with Scholarly and Latex -- the usage-example on the
initial-latex-package branch works perfectly, but the inp file is different
to what is currently exported by the Scholarly package (which I'm sure you
know).

An example from the initial-latex-package that works perfectly is:

\criticalRemark
   [grob={NoteHead},
grob-location={((beat-string . 4) (beat-fraction . 0) (beat-part . Mom
0) (our-beat . 4) (measure-pos . Mom 3/4) (measure-no . 1)
(rhythmic-location 1 . Mom 3/4))},
grob-type={NoteHead},
input-file-name={annotate.ly},
context-id={usage-examples},
location={/Users/Jeffery/work/scholarLY/usage-examples/annotate.ly
15:4:4},
type={critical-remark},
message={Go to \textit{school} and \textcolor{red}{sit back}! This
annotation has a footnote which LilyPond will ignore.},
ann-footnote={Here is a footnote for the entire annotation; it
is only used by the \LaTeX{} package.}]

An example of the inp file from the master branch of ScholarLy:

\criticalRemark[
item={#f},
message={Slur in original part is unclear as to its exact start and
end. The best visual estimation is a slur covering the full bar, however
the dotted slur represents the likely original intent based on future
presentations that are marked clearly.},
ann-type={critical-remark},
music-type={post-event},
style-type={tweak},
span-class={annotation},
location={/Users/craigdabelstein/Maxime's
Music/Projects/MM0079/Jadin/lilypond/Score/../Notes/clarinetI.ily:37:3:3},
context-id={1re. CLARINETTE.},
context-label={1re. CLARINETTE.},
score-id={#f},
score-label={},
grob-type={Slur},
grob-label={Slur},
beat-string={1 3/4},
beat-fraction={3/4},
beat-part={3/8},
our-beat={1},
measure-pos={3/8},
measure-no={9},
rhythmic-location={9,3/8},
]

This throws up multitudes of xkeyval errors such as:

! Package xkeyval Error: `measure-pos' undefined in families `scholarLYann'.



Can I help to get the inp output of the master branch to work with the
latex-package? Where I should I start, or what would you like me to do?


All the best,


Craig



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: height of breath mark

2019-02-06 Thread Craig Dabelstein
Thank you lilyponders! Brilliant as always.

All the best,

Craig

On Thu., 7 Feb. 2019, 2:39 am David Nalesnik, 
wrote:

> On Wed, Feb 6, 2019 at 9:01 AM Kieren MacMillan
>  wrote:
> >
> > Hi Craig (and Andrew),
> >
> > > \version "2.19.82"
> > > {
> > >   c''4   \once \override BreathingSign.Y-offset = 4 \breathe
> > >   c'' c'' c''
> > > }
> >
> > Note that you can also use the tweak version:
> >
> > \version "2.19.82"
> > {
> >   c''4 \tweak Y-offset 4 \breathe
> >   c'' c'' c''
> > }
> >
>
> And you can also use \offset to move it relative to its default position:
>
> {
>   c''4 \offset Y-offset 2 \breathe
>   c'' c'' c''
> }
>
> David
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


height of breath mark

2019-02-05 Thread Craig Dabelstein
Hi all,

For the life of me I can't work out how to raise the height of a breath
mark. Any pointers?

All the best,

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>.au*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Rakefile

2019-01-15 Thread Craig Dabelstein
Thanks Malte, much appreciated.

On Mon., 14 Jan. 2019, 10:12 pm Malte Meyn 
>
> Am 14.01.19 um 11:33 schrieb Craig Dabelstein:
> > Hi lilyponders,
> >
> > Does anyone use a Rakefile for automating their lilypond engraving and
> > would be willing to share an example file that I could follow?
>
> Hi Craig,
>
> I don’t know anything about Ruby and Rakefiles but I’ve used Makefiles
> some times. Attached you can find a Makefile that can build the full
> score, single movements of full score, all parts, midis, and even audios
> (.wav) from those midis using fluidsynth. The project contains the
> following files:
>
> % all .ily files are included in other files
> global.ily % global definitions
> global_partitur.ily % global definitions for full score
> III.ily % definitions for the four movements
> II.ily
> I.ily
> IV.ily
>
> % .ly files are compiled
> midiIII.ly
> midiII.ly
> midiI.ly
> midiIV.ly
> PartiturIII.ly % full score, third movement
> PartiturII.ly
> PartiturI.ly
> PartiturIV.ly
> Partitur.ly % full score, complete
> Stimmen.ly % all parts, complete, uses \bookOutputName to make oboeI.pdf
> etc.
>
> Probably that setup and the Makefile are far from perfect but it works
> for me ;)
>
> HTH
> Malte
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Rakefile

2019-01-14 Thread Craig Dabelstein
Hi lilyponders,

Does anyone use a Rakefile for automating their lilypond engraving and
would be willing to share an example file that I could follow?

All the best,

Craig
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: using Lilypond as a graphical drawing app

2018-12-08 Thread Craig Dabelstein
AMAZEBALLS!

On Sun., 9 Dec. 2018, 6:25 am Kieren MacMillan <
kieren_macmil...@sympatico.ca wrote:

> Hi Pierre,
>
> > Your topic reminds me some test pages done with a C. Cardew score two
> years ago:
> > http://lilybin.com/u8vxbi/1
>
> WOW! Lilypond never ceases to amaze me.
>
> A non-trivial detail: we’re viewing that in a browser.
> Just let that sink in.  =)
>
> Thanks!
> Kieren.
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ScholarLY

2018-10-17 Thread Craig Dabelstein
\setOption stylesheets.span.use-colors ##f
did the trick.

Thanks Urs


On Wed, 17 Oct 2018 at 15:40, Urs Liska  wrote:

>
>
> Am 17.10.2018 um 03:00 schrieb Craig Dabelstein:
>
> Hi all,
>
> Is this the right code to use to turn off the colors in ScholarLy? I'm
> using the latest version, but I'm using the \editorialMarkup commands.
>
> This line is having no effect. I'm sure I'm doing something wrong
> somewhere.
>
> \setOption scholarly.annotate.use-colors ##f
>
>
> Does it really have *no* effect? I can't reproduce that, so you should
> provide a MWE.
> However, what you will probably want to do in addition is
>
> \setOption stylesheets.span.use-colors ##f
>
> because the span provides its own coloring. Concretely: the span colors
> the whole annotated music expression while the annotation colors the
> *anchor* element *on top* of that.
>
> HTH
> Urs
>
>
> Craig
>
> --
> *Craig Dabelstein*
> Maxime's Music
> craig.dabelst...@gmail.com
> *http://maximesmusic.com <http://maximesmusic.com>*
>
>
> ___
> lilypond-user mailing 
> listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> _______
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


ScholarLY

2018-10-16 Thread Craig Dabelstein
Hi all,

Is this the right code to use to turn off the colors in ScholarLy? I'm
using the latest version, but I'm using the \editorialMarkup commands.

This line is having no effect. I'm sure I'm doing something wrong somewhere.

\setOption scholarly.annotate.use-colors ##f

Craig

-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver suppress log files

2018-10-16 Thread Craig Dabelstein
No problem. Thank you Jan-Peter.

On Tue., 16 Oct. 2018, 6:49 pm Jan-Peter Voigt,  wrote:

> Hi Craig,
>
> I merged to master, but added a comment, that the names of the option
> and the file will change, like Urs and I discussed.
>
> This change shall be integrated soon, but right now I have to do some
> other jobs with higher priority.
>
> Jan-Peter
>
>
> Am 15.10.2018 um 22:00 schrieb Craig Dabelstein:
> > The new branch worked perfectly for me Jan-Peter.
> >
> > Craig
> >
> >
> > On Mon, 15 Oct 2018 at 21:53, Craig Dabelstein
> > mailto:craig.dabelst...@gmail.com>> wrote:
> >
> > You two are amazing. I don't know where any of us would be without
> you.
> >
> > Craig
> >
> > On Mon., 15 Oct. 2018, 7:19 pm Jan-Peter Voigt,  > <mailto:jp.vo...@gmx.de>> wrote:
> >
> > Am 15.10.2018 um 11:13 schrieb Urs Liska:
> > >
> > >
> > > Am 15.10.2018 um 11:07 schrieb Jan-Peter Voigt:
> > >> Hi Urs,
> > >>
> > >> I combine the answers:
> > >> The *.edition.log file might be named differently - not .log
> > - as this
> > >> file has a purpose outside the debug-log realm. And this is
> > the reason
> > >> I'd vote against writing the edition-context-information in a
> > global log
> > >> file.
> > >
> > > Yes, that points in the right direction. In that sense the EE
> > "log" is
> > > comparable to scholarLY's export files.
> > >
> > >> But for all debug-logs piping them into one (optional) files
> > makes
> > >> absolutely sense. How this file should be formatted is
> > another question.
> > >> And sometimes it is helpful if the log is written before Lily
> > crashes
> > >> ;-) so it might be worth writing immediatly.
> > >
> > > That's also true, and I had thought about this. But with your
> > previous
> > > comment we can solve the issue. If we're separating package
> > specific
> > > export files from traditional logs the logs don't have to be
> > sectioned.
> > > So we can format them similarly to usual log files, have a
> package
> > > identifier at the beginning of each entry and simply write
> > them out
> > > immediately.
> > >
> > > And if I think of it, most of that is already implemented in
> > oll-core.
> > > There we have the functions  oll:log, oll:debug, oll:warn
> > etc., combined
> > > with the possibility to set the log-level. The only things
> > we'd need is
> > > the option to write the log or not, and the tagging of
> > messages with the
> > > package prefix.
> > >
> > > So I suggest you rename both the export filename and the
> > option in the
> > > EE, and we'll do the other thing separately.
> > > OK I'll do that later and will think about the edition-context
> > file
> > structure. The paths shall be copyable ...
> >
> > Jan-Peter
> >
> >
> >
> > --
> > *Craig Dabelstein*
> > Maxime's Music
> > craig.dabelst...@gmail.com <mailto:craig.dabelst...@gmail.com>
> > /http://maximesmusic.com/
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver suppress log files

2018-10-15 Thread Craig Dabelstein
The new branch worked perfectly for me Jan-Peter.

Craig


On Mon, 15 Oct 2018 at 21:53, Craig Dabelstein 
wrote:

> You two are amazing. I don't know where any of us would be without you.
>
> Craig
>
> On Mon., 15 Oct. 2018, 7:19 pm Jan-Peter Voigt,  wrote:
>
>> Am 15.10.2018 um 11:13 schrieb Urs Liska:
>> >
>> >
>> > Am 15.10.2018 um 11:07 schrieb Jan-Peter Voigt:
>> >> Hi Urs,
>> >>
>> >> I combine the answers:
>> >> The *.edition.log file might be named differently - not .log - as this
>> >> file has a purpose outside the debug-log realm. And this is the reason
>> >> I'd vote against writing the edition-context-information in a global
>> log
>> >> file.
>> >
>> > Yes, that points in the right direction. In that sense the EE "log" is
>> > comparable to scholarLY's export files.
>> >
>> >> But for all debug-logs piping them into one (optional) files makes
>> >> absolutely sense. How this file should be formatted is another
>> question.
>> >> And sometimes it is helpful if the log is written before Lily crashes
>> >> ;-) so it might be worth writing immediatly.
>> >
>> > That's also true, and I had thought about this. But with your previous
>> > comment we can solve the issue. If we're separating package specific
>> > export files from traditional logs the logs don't have to be sectioned.
>> > So we can format them similarly to usual log files, have a package
>> > identifier at the beginning of each entry and simply write them out
>> > immediately.
>> >
>> > And if I think of it, most of that is already implemented in oll-core.
>> > There we have the functions  oll:log, oll:debug, oll:warn etc., combined
>> > with the possibility to set the log-level. The only things we'd need is
>> > the option to write the log or not, and the tagging of messages with the
>> > package prefix.
>> >
>> > So I suggest you rename both the export filename and the option in the
>> > EE, and we'll do the other thing separately.
>> > OK I'll do that later and will think about the edition-context file
>> structure. The paths shall be copyable ...
>>
>> Jan-Peter
>>
>>

-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver suppress log files

2018-10-15 Thread Craig Dabelstein
You two are amazing. I don't know where any of us would be without you.

Craig

On Mon., 15 Oct. 2018, 7:19 pm Jan-Peter Voigt,  wrote:

> Am 15.10.2018 um 11:13 schrieb Urs Liska:
> >
> >
> > Am 15.10.2018 um 11:07 schrieb Jan-Peter Voigt:
> >> Hi Urs,
> >>
> >> I combine the answers:
> >> The *.edition.log file might be named differently - not .log - as this
> >> file has a purpose outside the debug-log realm. And this is the reason
> >> I'd vote against writing the edition-context-information in a global log
> >> file.
> >
> > Yes, that points in the right direction. In that sense the EE "log" is
> > comparable to scholarLY's export files.
> >
> >> But for all debug-logs piping them into one (optional) files makes
> >> absolutely sense. How this file should be formatted is another question.
> >> And sometimes it is helpful if the log is written before Lily crashes
> >> ;-) so it might be worth writing immediatly.
> >
> > That's also true, and I had thought about this. But with your previous
> > comment we can solve the issue. If we're separating package specific
> > export files from traditional logs the logs don't have to be sectioned.
> > So we can format them similarly to usual log files, have a package
> > identifier at the beginning of each entry and simply write them out
> > immediately.
> >
> > And if I think of it, most of that is already implemented in oll-core.
> > There we have the functions  oll:log, oll:debug, oll:warn etc., combined
> > with the possibility to set the log-level. The only things we'd need is
> > the option to write the log or not, and the tagging of messages with the
> > package prefix.
> >
> > So I suggest you rename both the export filename and the option in the
> > EE, and we'll do the other thing separately.
> > OK I'll do that later and will think about the edition-context file
> structure. The paths shall be copyable ...
>
> Jan-Peter
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver suppress log files

2018-10-14 Thread Craig Dabelstein
Thanks Jan-Peter. Urs, same question for Scholarly -- can I turn off the
log files?

All the best,

Craig


On Sun, 14 Oct 2018 at 16:32, Urs Liska  wrote:

>
>
> Am 14. Oktober 2018 08:29:46 MESZ schrieb Jan-Peter Voigt  >:
> >Hi Craig,
> >
> >not right now, but I will implement a switch ASAP!
> >
>
> Please use the \setOption syntax for that.
>
> >Jan-Peter
> >
> >Am 14. Oktober 2018 07:30:44 MESZ schrieb Craig Dabelstein
> >:
> >>Hi all,
> >>
> >>Quick question: Is it possible to stop the edition-engraver creating
> >>log
> >>files?
> >>
> >>Craig
> >>
> >>
> >>--
> >>*Craig Dabelstein*
> >>Maxime's Music
> >>craig.dabelst...@gmail.com
> >>*http://maximesmusic.com <http://maximesmusic.com>*
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Edition Engraver suppress log files

2018-10-13 Thread Craig Dabelstein
Hi all,

Quick question: Is it possible to stop the edition-engraver creating log
files?

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver question

2018-09-11 Thread Craig Dabelstein
Got it. I understand now. Thanks Keiren!

Craig


On Wed, 12 Sep 2018 at 07:51, Kieren MacMillan <
kieren_macmil...@sympatico.ca> wrote:

> Hi Craig,
>
> > I'm trying to use the EE to add a simple text markup but can't get it to
> work. I musn't be referencing the voice correctly. Can anyone give me some
> pointers?
>
> You’ve made a couple of errors:
>
> 1. You need to have DrumVoice in your \consistToContexts list.
>
> 2. You need to address DrumVoice, and not Voice.
>
> 3. You need to identify which DrumVoice (in this case, the first, so
> DrumVoice.A).
>
> And, although it technically still works, it’s a little odd to generate an
> \editionMod against an edition that you haven’t added yet!  =)
>
> Here’s a modified snippet that works, I believe.
>
> Hope this helps!
> Kieren.
>
> \version "2.19.80"
>
> \include "oll-core/package.ily"
> \loadPackage edition-engraver
> \consistToContexts #edition-engraver Score.Staff.Voice.DrumVoice.DrumStaff
>
> snaredrumNotes = \drummode {
>   \repeat unfold 3 { sn4 sn sn sn }
> }
>
> bassdrumNotes = \drummode {
>   \repeat unfold 3 { bd4 r bd r }
> }
>
> \addEdition parts
>
> \editionMod parts 2 0/4 leipzig.orchI.partI.percussion.DrumVoice.A
> <>^\markup { "Der oesterreichische Grenadiermarsch!" }
>
>
> \score {
>   \layout {
> \context {
>   \Score
>   \editionID ##f leipzig.orchI.partI
> }
> \context {
>   \Voice
> }
>   }
>   \new DrumStaff = "Percussion" \with { \editionID percussion }
>   <<
> \new DrumVoice { \voiceOne \snaredrumNotes }
> \new DrumVoice { \voiceTwo \bassdrumNotes }
>   >>
> }
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>

-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Edition Engraver question

2018-09-10 Thread Craig Dabelstein
Hi all,

I'm trying to use the EE to add a simple text markup but can't get it to
work. I musn't be referencing the voice correctly. Can anyone give me some
pointers?

All the best,

Craig




\version "2.19.82"
\include "oll-core/package.ily"
\loadPackage edition-engraver

snaredrumNotes = \drummode {
  \repeat unfold 3 { sn4 sn sn sn }
}

bassdrumNotes = \drummode {
  \repeat unfold 3 { bd4 r bd r }
}


\editionMod parts 2 0/4 leipzig.orchI.partI.percussion.Voice ^\markup {
"Der oesterreichische Grenadiermarsch!" }

\consistToContexts #edition-engraver Score.Staff.Voice


\addEdition parts

\score {
  \layout {
\context {
  \Score
  \editionID ##f leipzig.orchI.partI
}
\context {
  \Voice
}
  }
  \new DrumStaff = "Percussion" \with { \editionID percussion }
  <<
\new DrumVoice { \voiceOne \snaredrumNotes }
\new DrumVoice { \voiceTwo \bassdrumNotes }
  >>
}

-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: two voices system - one "Pause" R1 on the b line?

2018-09-09 Thread Craig Dabelstein
Thanks Bernhard and Phil, that helped me out too. Geez percussion parts are
a pain to write!

All the best,

Craig


On Sun, 9 Sep 2018 at 22:08, Bernhard Kleine 
wrote:

> Thank you Phil
>
> I now managed this with
>
> \override MultiMeasureRest.staff-position = #0 from the Documentation
> for one voice. The other voice gets s1.
>
> Bernhard
>
>
> Am 09.09.2018 um 13:39 schrieb Phil Holmes:
> > Two options.  Either use \oneVoice R1 \voiceOne or see Positioning
> > multi-measure rests at
> >
> http://lilypond.org/doc/v2.19/Documentation/notation/writing-rests#full-measure-rests
> >
> > --
> > Phil Holmes
> >
> >
> > - Original Message - From: "Bernhard Kleine"
> > 
> > To: "Lilypond-User Mailing List" 
> > Sent: Sunday, September 09, 2018 12:24 PM
> > Subject: two voices system - one "Pause" R1 on the b line?
> >
> >
> > Hi,
> >
> > when I write two different voices and have a "Pause" to both voices I
> > can use h4\rest (\language = deutsch) for one and s4 for the other.
> > However I do not know how to substitute an R1 i.e. a measure long pause.
> > Using R1 in one voice gives not a "Pause" on the h line but above for
> > the first voice and a second Pause way below using R1 in the second
> > voice. How does one write this that there is one pause R1 on the h line?
> >
> > Regards
> >
> > Bernhard
> >
>
> --
> spitzhalde9
> D-79853 lenzkirch
> bernhard.kle...@gmx.net
> www.b-kleine.com, www.urseetal.net
> -
> thunderbird mit enigmail
> GPG schlüssel: D5257409
> fingerprint:
> 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: buggy grace

2018-09-08 Thread Craig Dabelstein
Maybe it is \afterGrace that you are looking for:

\afterGrace g4.  { fis16 g }

Craig


On Sun, 9 Sep 2018 at 07:03, Mátyás Seress  wrote:

> Hi all,
>
> today I found a rather odd spacing of the grace notes. Check this code:
>
> \score {
> \relative c'' {
> \time 3/8
> g4. \grace { fis16 g }
> }
> }
>
> I'm running 2.18.2.
> As you can see in the attachment, the grace notes which according to the
> manual "take up no additional logical time in a measure" apparently do so.
> Is this a known bug that's going to be fixed? Or am I doing something
> wrong?
>
> Mátyás
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver and \markLengthOn

2018-09-05 Thread Craig Dabelstein
Hi Jan-Peter,

You were exactly right. For the score I had to use:

\editionMod score 615 0/4 hallager.partI.Score \markLengthOn
\editionMod score 622 3/4 hallager.partI.Score \markLengthOff

But for an individual part:

\editionMod parts 615 0/4 hallager.partI.fluteI.Staff \markLengthOn
\editionMod parts 622 3/4 hallager.partI.fluteI.Staff \markLengthOff

Thanks for your help. All the best,

Craig


On Fri, 31 Aug 2018 at 01:19, Jan-Peter Voigt  wrote:

> Hi Craig,
>
> it should work. \markLengthOn just consists of some overrides, which are
> directed to the Score Context.
> So Maybe you should address the Score context with
> \editionMod parts 626 0/4 hallager.partIII.Score \markLengthOn
>
> or you use (I don't know your current setup, so this is a guess)
> \editionMod parts 626 0/4 hallager.partIII.clarinetI.Staff \markLengthOn
>
> because the overrides are directed to the Score context anyway.
>
> HTH
> Jan-Peter
>
> Am 29.08.2018 um 21:15 schrieb Craig Dabelstein:
> > Hi all,
> >
> > Can the EE be used to add \markLengthOn? Maybe I've got the context
> > wrong but the following line is having no effect:
> >
> > \editionMod parts 626 0/4 hallager.partIII.clarinetI.Score \markLengthOn
> >
> > Craig
> >
> >
> > --
> > *Craig Dabelstein*
> > Maxime's Music
> > craig.dabelst...@gmail.com <mailto:craig.dabelst...@gmail.com>
> > /http://maximesmusic.com/
> >
> >
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Edition Engraver and \markLengthOn

2018-08-29 Thread Craig Dabelstein
Hi all,

Can the EE be used to add \markLengthOn? Maybe I've got the context wrong
but the following line is having no effect:

\editionMod parts 626 0/4 hallager.partIII.clarinetI.Score \markLengthOn

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


MetronomeMark spacing

2018-08-28 Thread Craig Dabelstein
Hi all,

Can anyone tell me what causes Lilypond to do this? (see pic attached)

Craig


[image: Screen Shot 2018-08-29 at 11.49.25 am.png]

-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: tuplet error

2018-08-24 Thread Craig Dabelstein
Thanks Malte, that was stupid of me. Improved MWE below.

Andrew, this is just a shortcut in notation, developed when scores had to
be handwritten. Writing it this way (as in bars 1 and 2) is a lot easier
than the long version (bars 3 and 4). It doesn't seem to be used much in
modern scores but was very prevalent in the the 1800s and earlier. When you
see it in context you'd have no problem interpreting it.

All the best,

Craig


\version "2.19.82"
\language "english"

notes = \relative c'' {
  %1
  \tuplet 3/2 2 { g2.:8 a2.:8 } |

  %2
  \tuplet 3/2 2 { bf2.:8 bf2.:8 } |

  %3
  \tuplet 3/2 4 { g8 g g g g g a a a a a a } |

  %4
  \tuplet 3/2 4 { bf8 bf bf bf bf bf bf bf bf bf bf bf } |
}

\score {
  \new Staff
  \notes
  \layout { }
}


On Fri, 24 Aug 2018 at 20:58, Andrew Bernard 
wrote:

> Hi Aaron and Craig, I understand that already. But why the obscure
> notation is what I was asking. Surely it can be written clearly or more
> explicitly? And if you feel it needed explaining to me, it's going to need
> explaining to other players, isn't it Craig?
>
> Andrew
>
>
> On Fri, 24 Aug 2018 at 17:39, Aaron Hill  wrote:
>
>>
>>
>> Not OP, but I believe that notation means to play a sequence of single
>> note tremolos, with the single slash indicating eighth-note
>> subdivisions.  So each dotted half is played as six eighth notes,
>> following the specified tuplet timing.  That is, think of `g2.:8` as `g8
>> 8 8 8 8 8`.
>>
>> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


tuplet error

2018-08-23 Thread Craig Dabelstein
Hi lilyponders,

In the following MWE I get this error: *omitting tuplet bracket with
neither left nor right bound*

The compilation is fine. Anything I should do about this error?

Thanks,

Craig



\version "2.19.82"
\language "english"

flute = \relative c'' {
  \tuplet 3/2 4 {
g2.:8
a2.:8
bf2.:8
bf2.:8
  } |

}

\score {
  \new Staff
  \flute
  \layout { }
}

-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Some openLilyLib packages/modules open for testing

2018-07-14 Thread Craig Dabelstein
Hi Urs,

My mistake. Once I had pulled all the changes compiling times were fine.

Craig

On Sat, 14 Jul 2018 at 16:48, Urs Liska  wrote:

> Hi Craig,
>
> Am 14.07.2018 um 01:00 schrieb Craig Dabelstein:
>
> Hi Urs,
>
> Just confirming, as you've discovered, that compiling is lots slower.
>
> Craig
>
>
> Could you please be more specific? This assessment is somewhat surprising
> to me (although I wouldn't deny it's possible) because the slow-down *I*
> was talking about was a substantial programming error that has by now been
> fixed.
>
> Could you try to come up with some numbers?
>
>- Compilation time of the old system (with "old" input files) vs.
>updated?
>- Compilation time of a large score (not using annotations) with the
>old or the new scholarLY module loaded or not loaded
>- Is the slow-down noticeably related to the size of the score or to
>the number of annotations?
>
> I know there *is* some overhead because I realized I have to store *all*
> grobs in a list before processing the annotations, which wasn't previously
> the case. But I wouldn't expect this to make a significant difference.
>
> I wouldn't have had any suspicion that my other changes to the code would
> have any negative performance impact, quite the contrary.
>
> Thanks for testing
> Urs
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Some openLilyLib packages/modules open for testing

2018-07-13 Thread Craig Dabelstein
Hi Urs,

I've been looking at the Latex integration (lycritrprt) but I'm afraid it's
a bit over my head. I'd need a couple of pointers into making it work
before I could play with it and test it.

Craig


On Sat, 14 Jul 2018 at 09:00, Craig Dabelstein 
wrote:

> Hi Urs,
>
> Just confirming, as you've discovered, that compiling is lots slower.
>
> Craig
>
>
> On Sat, 14 Jul 2018 at 08:04, Craig Dabelstein 
> wrote:
>
>> Hi Urs,
>>
>> I've been converting one of my old projects to the new versions to test
>> for you and so far it has all worked perfectly. You are a genius!
>>
>> I haven't got to the Latex integration yet (so please don't delete the
>> temp-print-message branch of scholarly just yet!)
>>
>> All the best,
>>
>> Craig
>>
>>
>> On Sat, 14 Jul 2018 at 01:59, Urs Liska  wrote:
>>
>>> As suspected the post below wasn't delivered (at least not yet) due to
>>> the large attachments.
>>>
>>> The two files mentioned in the text can temporarily be downloaded from
>>>
>>> https://cloud.ursliska.de/s/bhN8Kd5MxdgjAea and
>>> https://cloud.ursliska.de/s/0LRvGdvL4azL4Za
>>>
>>> Am 13.07.2018 um 17:31 schrieb Urs Liska:
>>>
>>> Hi,
>>>
>>> I noticed that over time openLilyLib pops up more and more on the lists,
>>> but mostly as a sort of dubious secret toolkit which only a few illuminati
>>> know about and whose purpose and potential isn't obvious to everyone else.
>>>
>>> In recent weeks (as you'll have noticed) I had the wonderful opportunity
>>> to work on it on a partially paid basis: I had to implement some
>>> functionality and was in essence paid to work on that for 7x8 hours. What
>>> had to be created amounted to "half" an openLilyLib package, so I decided
>>> to aim at the whole thing, working of course more than these seven full
>>> days but also achieving substantially more. But maybe most important is
>>> that I managed to write comprehensive manuals along the way. They are
>>> authored in Markdown (which is good) but so far only work in a
>>> Markdown=>Pandoc=>LuaLaTeX=>PDF chain (which is less good because it should
>>> also be possible to produce HTML sites). But they do exist, and if the list
>>> rules allow you will see them attached to this post.
>>>
>>> I would like to take this as an opportunity to "announce" openLilyLib
>>> and open it up for a more broad testing. Jan-Peter's comment made me
>>> realize that it's high time to do so since as far as I know anybody who has
>>> plunged into using it wouldn't want to live without anymore, and so it
>>> should finally become somewhat more public - also hoping to get some more
>>> contributions back in return with the goal of moving towards something that
>>> can actually be "released".
>>>
>>>
>>> What "is" openLilyLib?
>>>
>>> openLilyLib serves two independent goals: On the one hand it is a
>>> platform for providing "packages" that extend LilyPond's functionality by
>>> specific purposes (e.g. "managing breaks", "grid-based approach to managing
>>> music", "comtemporary wind notation" (fictional) or similar). On the other
>>> hand it provides numerous little building-blocks that can be used to
>>> modularize the development of advanced functionality. Which is basically a
>>> side-effect of the first goal.
>>>
>>> How is it structured?
>>>
>>> openLilyLib is a collection of repositories maintained on Github, but
>>> anyone could also keep private repositories as openLilyLib packages. The
>>> core package is oll-core (https://github.com/openlilylib/oll-core) that
>>> provides the technical infrastructure. Some information on how to install
>>> oll-core and other packages can be found temporarily on the Wiki page
>>> https://github.com/openlilylib/oll-core/wiki. One of the next tasks
>>> will be to also write an oll-core manual, but I had to decide to do other
>>> things first.
>>>
>>> What new stuff is now available?
>>>
>>> I have worked on four modules (a package may contain modules with more
>>> specific functionality):
>>>
>>>- stylesheets.span
>>>\tagSpan, a function to tag music "as something" and providing an
>>>interface to styling the music
>>>- scholarly.editorial-markup
>>>\editorialMarkup, a

Re: Some openLilyLib packages/modules open for testing

2018-07-13 Thread Craig Dabelstein
Hi Urs,

Just confirming, as you've discovered, that compiling is lots slower.

Craig


On Sat, 14 Jul 2018 at 08:04, Craig Dabelstein 
wrote:

> Hi Urs,
>
> I've been converting one of my old projects to the new versions to test
> for you and so far it has all worked perfectly. You are a genius!
>
> I haven't got to the Latex integration yet (so please don't delete the
> temp-print-message branch of scholarly just yet!)
>
> All the best,
>
> Craig
>
>
> On Sat, 14 Jul 2018 at 01:59, Urs Liska  wrote:
>
>> As suspected the post below wasn't delivered (at least not yet) due to
>> the large attachments.
>>
>> The two files mentioned in the text can temporarily be downloaded from
>>
>> https://cloud.ursliska.de/s/bhN8Kd5MxdgjAea and
>> https://cloud.ursliska.de/s/0LRvGdvL4azL4Za
>>
>> Am 13.07.2018 um 17:31 schrieb Urs Liska:
>>
>> Hi,
>>
>> I noticed that over time openLilyLib pops up more and more on the lists,
>> but mostly as a sort of dubious secret toolkit which only a few illuminati
>> know about and whose purpose and potential isn't obvious to everyone else.
>>
>> In recent weeks (as you'll have noticed) I had the wonderful opportunity
>> to work on it on a partially paid basis: I had to implement some
>> functionality and was in essence paid to work on that for 7x8 hours. What
>> had to be created amounted to "half" an openLilyLib package, so I decided
>> to aim at the whole thing, working of course more than these seven full
>> days but also achieving substantially more. But maybe most important is
>> that I managed to write comprehensive manuals along the way. They are
>> authored in Markdown (which is good) but so far only work in a
>> Markdown=>Pandoc=>LuaLaTeX=>PDF chain (which is less good because it should
>> also be possible to produce HTML sites). But they do exist, and if the list
>> rules allow you will see them attached to this post.
>>
>> I would like to take this as an opportunity to "announce" openLilyLib and
>> open it up for a more broad testing. Jan-Peter's comment made me realize
>> that it's high time to do so since as far as I know anybody who has plunged
>> into using it wouldn't want to live without anymore, and so it should
>> finally become somewhat more public - also hoping to get some more
>> contributions back in return with the goal of moving towards something that
>> can actually be "released".
>>
>>
>> What "is" openLilyLib?
>>
>> openLilyLib serves two independent goals: On the one hand it is a
>> platform for providing "packages" that extend LilyPond's functionality by
>> specific purposes (e.g. "managing breaks", "grid-based approach to managing
>> music", "comtemporary wind notation" (fictional) or similar). On the other
>> hand it provides numerous little building-blocks that can be used to
>> modularize the development of advanced functionality. Which is basically a
>> side-effect of the first goal.
>>
>> How is it structured?
>>
>> openLilyLib is a collection of repositories maintained on Github, but
>> anyone could also keep private repositories as openLilyLib packages. The
>> core package is oll-core (https://github.com/openlilylib/oll-core) that
>> provides the technical infrastructure. Some information on how to install
>> oll-core and other packages can be found temporarily on the Wiki page
>> https://github.com/openlilylib/oll-core/wiki. One of the next tasks will
>> be to also write an oll-core manual, but I had to decide to do other things
>> first.
>>
>> What new stuff is now available?
>>
>> I have worked on four modules (a package may contain modules with more
>> specific functionality):
>>
>>- stylesheets.span
>>\tagSpan, a function to tag music "as something" and providing an
>>interface to styling the music
>>- scholarly.editorial-markup
>>\editorialMarkup, a wrapper around \tagSpan, specifically designed
>>for use in scholarly editions, modeled after parts of MEI
>>- scholarly.choice
>>\choice, giving the possibility to encode alternative versions of
>>some music, annotating it and choosing the music to be engraved
>>- scholarly.annotate
>>This has been around for some years now and can be used for
>>maintaining a critical commentary directly within and musically linked to
>>the score document. The code has been thoroughly reviewed and integrated
>>with the above three modules.
>>   

Re: Some openLilyLib packages/modules open for testing

2018-07-13 Thread Craig Dabelstein
w to get them? As described on the Wiki page one needs the repositories
> of oll-core, stylesheets and scholarly within a common root directory and
> add that to LilyPond's include path.
>
> The repositories are at https://github.com/openlilylib/oll-core,
> https://github.com/openlilylib/scholarly and
> https://github.com/openlilylib/stylesheets. People who can clone these
> with Git should checkout the v0.6.0 branch for scholarly, people who want
> to *download* should do so from exactly this page:
> https://github.com/openlilylib/scholarly/tree/v0.6.0 (the gree button in
> the upper right area of the screen).
>
> Best
> Urs
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Global Variable vs Edition Engraver

2018-07-09 Thread Craig Dabelstein
Hi gents,

Thanks for your advice. Jan-Peter, I do something similar with a global
"timeline" or structure with barlines, key signatures, repeats, rehearsal
marks. I was just wondering if I was behind the times and not keeping up
with the EE. I'm just trying to make my code as concise as possible.

Thanks guys,

Craig




On Mon, 9 Jul 2018 at 17:36, Jan-Peter Voigt  wrote:

> Hi Craig, Kieren,
>
> I actually use kind of a global variable for the global time line. So
> all repeat signs, time-signatures *and* key-signatures there. Before I
> implemented the EE I started with a template-engine where the tamplates
> take care of creating the simultaneous music ( << \getMusic meta
> \getMusic instrument >> ):
> https://github.com/openlilylib/lalily-templates
>
> It takes care of transposing instruments per score. I guess I have to
> deal very seldom with changing instruments inside a movement compared to
> you. Though it should be possible with an auto-transposer that tracks
> for changing transpositions. That way the change of the instrument is
> only a matter of setting properties and therefore would be EE compatible:
> (I don't remember the state of this snippet ...)
>
> https://github.com/openlilylib/snippets/tree/master/editorial-tools/auto-transpose
>
> Btw, if I am transcribing a piece rehearsal marks found in the original
> are placed in that global variable. For other pieces where I insert
> rehearsal marks as an editorial addition I use the EE.
>
> Best,
> Jan-Peter
>
>
>
> Am 09.07.2018 um 05:24 schrieb Kieren MacMillan:
> > Hi Craig,
> >
> >> As I get more confident with using the Edition Engraver I was wondering
> if you had some advice on when to use a global variable and when to use the
> EE, especially with scores that use transposing instruments.
> >
> > Boy, this is something I’m also struggling with as I level up. I've been
> using the EE since Jan-Peter let it out of his private stash (aka "Day
> One"), and I'm still moving stuff over to the EE pile on an ongoing basis.
> Most recently, I've moved all rehearsal marks and barlines to my EE code;
> the move before that was clefs.
> >
> >> ATM I put all my concert key signatures, barlines, repeats etc in a
> global variable that has to be combined with the notes of every instrument
> in the staff; e.g.
> >>
> >> <<
> >> \global
> >> \fluteNotes
> >>>>
> >>
> >> Can the EE be used to replace the global variable by inserting repeats,
> double bar lines etc.
> >
> > Short answer: Yes.
> >
> > Long answer: It really depends on the scope of the project, and your
> workflow/toolchain. If you’re putting together a one-page lead sheet for a
> jazz song, I'm not sure you need the overhead; if you’re putting together
> an opera with upwards of a dozen different score targets, etc., then it’s
> almost certainly worth putting *most* things in the EE.
> >
> >> How would a key signature work with transposing instruments.
> >
> > That’s something I haven’t come back to since David K and I talked
> through some options a few years ago. In the musical theatre world, where
> pit musicians (esp. wind players) can have 6 or more transposing
> instruments of different kinds and transpositions in a single book, this is
> a huge question that I still need to answer definitively.
> >
> > Not sure that helps (?), except maybe to let you know you’re not alone
> on the front lines.  =)
> >
> > Best,
> > K.
> > 
> >
> > Kieren MacMillan, composer
> > ‣ website: www.kierenmacmillan.info
> > ‣ email: i...@kierenmacmillan.info
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Global Variable vs Edition Engraver

2018-07-08 Thread Craig Dabelstein
Hi all,

As I get more confident with using the Edition Engraver I was wondering if
you had some advice on when to use a global variable and when to use the
EE, especially with scores that use transposing instruments.

ATM I put all my concert key signatures, barlines, repeats etc in a global
variable that has to be combined with the notes of every instrument in the
staff; e.g.

<<
\global
\fluteNotes
>>

Can the EE be used to replace the global variable by inserting repeats,
double bar lines etc. How would a key signature work with transposing
instruments.

Thanks in advance,

Craig




-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Opinions requested on deprecating "annotation" commands

2018-06-30 Thread Craig Dabelstein
I'm happy to go with the consensus. Breaking any of my old documents won't
be an issue for me, and I'm happy to defer to your expertise.

Craig

On Sat, 30 Jun 2018 at 23:13, Simon Albrecht  wrote:

> On 30.06.2018 14:14, Urs Liska wrote:
> > # Encourage people to use the new system and "deprecate" the old syntax
> > (but leave it alone and working). The downside is that the *names* of
> > the old commands are very much what one would want, so I wouldn't want
> > to discard them completely.
> > # Make the old names wrappers around the new technology, so one can
> > still say \criticalRemark.
>
> I’d vote for the latter. Better to make a clean cut, and there’s so much
> potential in this, and the number of users seems to be limited until now
> in my perspective – I may be wrong.
>
> Best, Simon
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Scholarly question

2018-04-09 Thread Craig Dabelstein
Hi all,

Is this the correct way to ignore critical remarks in the output file?

\ignoreAnnotationTypes #'()


Thanks in advance,

Craig

-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver -- Bar 1

2018-04-08 Thread Craig Dabelstein
Thankyou Stefano, that's a big help.

I really appreciate it.

All the best,

Craig


On 9 April 2018 at 03:32, Stefano Troncaro <stefanotronc...@gmail.com>
wrote:

> Hi Craig,
>
> As I suspected, the problem was in how your code was structured. I run
> into the same issues when I started using the EE. Look at the attached file.
>
> I recognize that not every change that I made may be necessary, I made
> changes while I was trying to make the snippet  work (the file as you sent
> it wouldn't compile at all for me), and currently don't have time to strip
> it to the minimum. But I hope that at least a working example will be
> useful to you.
>
> The basic problem is that you were placing many overrides to the same
> property in the same moment, which caused problems: the EE can't overwrite
> an override that is already present in the music input. However, if you
> move your general override (named \gossecDynamics in your file) in the
> layout settings, then there is no conflict since there are not two
> overrides present at the same time, and the latter (created by the EE)
> overwrites the general one. You should have gotten warnings for this I
> think? Do you have the Edition Engraver on the latest version?
>
> Hope you find this useful,
> Stéfano
>
>
> 2018-04-08 6:43 GMT-03:00 arnepe <arne.pet...@berlin.de>:
>
>> hello Craig,
>>
>> this is the output I get from your file:
>> ee_problem.pdf
>> <http://lilypond.1069038.n5.nabble.com/file/t1308/ee_problem.pdf>
>> The "ff" at 1 0/4 looks different than the same mod at 3 0/4.
>>
>> However - if I change the style at line 28, and comment out line 65 or
>> line
>> 89,
>> the change takes effect only on 1 0/4, and the mod at 3 0/4 is not
>> affected
>> at all.
>> My knowledge of EE is marginal at best (and virtually nil with Scheme) so
>> I
>> am afraid I can't be of any help here...
>>
>> cheers
>> Arne
>>
>>
>>
>> --
>> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver -- Bar 1

2018-04-07 Thread Craig Dabelstein
Here is an example of the problem. The EE overide is working in measure 3
but not measure 1.

Craig


On 8 April 2018 at 05:43, arnepe <arne.pet...@berlin.de> wrote:

> good evening all,
> (and hoping this post is related to the topic ...)
>
> I've just set up a small test-file case:
> if a Score starts with a \partial, the mod applied to 1 0/4 is mirrored on
> the upbeat as well (see  MWE-bar1.ly
> <http://lilypond.1069038.n5.nabble.com/file/t1308/MWE-bar1.ly>).
>
> Otherwise mods in Bar 1 on the first beat work fine for me...
>
> cheers
> Arne
>
>
>
> --
> Sent from: http://lilypond.1069038.n5.nabble.com/User-f3.html
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*


ee problem.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Edition Engraver -- Bar 1

2018-04-07 Thread Craig Dabelstein
Hi all,

Is there something strange about trying to reference the first beat of the
first bar of a piece of music. My mods are all working except the one on
the first beat of bar 1.

\editionMod global 1 0/4 gossec.simphonie.clarinetII.Voice etc...

Any ideas?

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Storing movement titles as a variable

2018-04-01 Thread Craig Dabelstein
Thanks Brian. Much appreciated.

Craig


On 1 April 2018 at 14:52, Brian Barker <b.m.bar...@btinternet.com> wrote:

> At 14:35 01/04/2018 +1000, Craig Dabelstein wrote:
>
>> Is it possible to store movement titles as a variable? e.g.,
>>
>> movtI = { \markup{I. Allegro} }
>> movtII = { \markup{II. Adagio} }
>>
>> \header{
>> piece = \movtI
>> }
>>
>> So far I haven't been able to get this to work. Any ideas?
>>
>
> Is there any reason why you cannot use:
>
> movtI = "I. Allegro"
> movtII = "II. Adagio"
>
> \header{
> piece = \markup \movtI
> }
>
> Brian Barker
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Storing movement titles as a variable

2018-03-31 Thread Craig Dabelstein
Hi all,

Is it possible to store movement titles as a variable? e.g.,

movtI = { \markup{I. Allegro} }
movtII = { \markup{II. Adagio} }

\header{
piece = \movtI
}

So far I haven't been able to get this to work. Any ideas?

Craig



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: The Power of Lilypond

2018-03-15 Thread Craig Dabelstein
Hi Urs,

I'll definitely write you a post for the Scores of Beauty page. I'll start
this weekend.

Thanks again for all your help. I appreciate it.

Craig


On 15 March 2018 at 08:10, Urs Liska <li...@openlilylib.org> wrote:

> Hi Craig,
>
> Am 14.03.2018 um 21:13 schrieb Craig Dabelstein:
>
> Hi all,
>
> I thought some of you might like to see this document. It uses Scholarly,
> Lilyglyphs and lyluatex all in the ONE document. It's a huge leap forward!
> It has saved heaps of time and avoided the mess of multiple files and
> having to concatenate them together as a PDF.
>
> A huge thank you to all the developers who make this kind of thing
> possible.
>
> The document is the opening pages of a new Critical Edition of a score by
> Catel from the French Revoution.
>
> https://www.dropbox.com/s/meloxafms99i174/catel%20comp.pdf?dl=0
>
>
> It makes me really happy to look at this document, thanks so much for
> sharing! Even on this list we rarely get the opportunity to see finished
> products with the whole context.  But of course it makes me particularly
> happy to see some of my work bearing fruits and helping others to produce
> beautiful volumes.
>
> Maybe it would be a great thing if you could write a blog post about this
> work describing in not-too-much depth the different technologies that play
> together here. I think this would be a strong complement to the more
> theoretical posts about the advantages of our set of tools and would make a
> good item one could easily refer to.
>
> Best
> Urs
>
>
> All the best,
>
> Craig
>
>
> --
> *Craig Dabelstein*
> Maxime's Music
> craig.dabelst...@gmail.com
> *http://maximesmusic.com <http://maximesmusic.com>*
>
>
> ___
> lilypond-user mailing 
> listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: The Power of Lilypond

2018-03-14 Thread Craig Dabelstein
Hi everyone,

Thanks for all the positive feedback, but honestly, it's thanks to you all
who have always been so willing to help me whenever I've had a problem
(especially Urs who has tolerated my stupidity on many occasions!)

Kieren, just let me check with the author before you share it.

Thanks to you all.

All the best,

Craig


On 15 March 2018 at 07:18, Urs Liska <li...@openlilylib.org> wrote:

>
>
> Am 14.03.2018 um 21:48 schrieb Kieren MacMillan:
>
>> Hi again Craig,
>>
>> May I share this link on the Music Engraving Tips Facebook page?
>> Synchronicitously, we are in the middle of a discussion of the pros and
>> cons of Lily+LaTeX versus Dorico et al.
>>
>
> If you do this I'll probably fire up Facebook again. I would specifically
> stress how the information in the critical report (measure, beat
> information, instrument, automatic detection of multiple entries in the
> same measure) is generated directly from the score.
>
> Urs
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


The Power of Lilypond

2018-03-14 Thread Craig Dabelstein
Hi all,

I thought some of you might like to see this document. It uses Scholarly,
Lilyglyphs and lyluatex all in the ONE document. It's a huge leap forward!
It has saved heaps of time and avoided the mess of multiple files and
having to concatenate them together as a PDF.

A huge thank you to all the developers who make this kind of thing possible.

The document is the opening pages of a new Critical Edition of a score by
Catel from the French Revoution.

https://www.dropbox.com/s/meloxafms99i174/catel%20comp.pdf?dl=0

All the best,

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


lyluatex inline question

2018-03-13 Thread Craig Dabelstein
Hi all,

So far lyluatex is working brilliantly for me. A question about setting a
musical example inline. To make the staff smaller to match the surrounding
text I need the inline-staffsize command but I can't get this example to
work.

\lilypond[insert=bare-inline, inline-staffsize=8]{a4 a8 a}

Any ideas what I'm doing wrong?

Thanks in advance,

Craig




-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex, call for pre-beta review

2018-03-11 Thread Craig Dabelstein
Got it to work. Thanks everyone. Now hopefully I can help with the testing.

Craig



On 11 March 2018 at 23:10, Jacques Peron <catac...@hotmail.com> wrote:

> 2018-03-11 5:34 GMT+01:00 Craig Dabelstein <craig.dabelst...@gmail.com>:
>
>>
>> stack traceback:
>>
>> [C]: in function 'error'
>>
>> ...ocal/texlive/2017/texmf-dist/tex/latex/base/ltluatex.lua:109: in
>> function <...ocal/texlive/2017/texmf-dist/tex/latex/base/ltluatex.lua
>> :108>
>>
>> (...tail calls...)
>>
>> ./lyluatex.lua:899: in function 'lilypond_version'
>>
>> ./lyluatex.lua:1114: in function 'run_lilypond'
>>
>> ./lyluatex.lua:1095: in function 'process'
>>
>> [\directlua]:1: in main chunk.
>>
>> \ly@compilescore ...directlua {ly.score:process()}
>>
>
> Just to be sure: did you launch lualatex with the --shell-escape option ?
> As follows:
>
> lualatex --shell-escape DOCUMENT.tex
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Lilypond compile error

2018-03-10 Thread Craig Dabelstein
Hi all,


This compile error is coming up on one of my parts. All other parts compile
fine. I can only guess that it's something to do with the page breaking but
I don't know where to start to try to fix it. Any help greatly appreciated.


Craig


Preprocessing graphical objects...

Calculating page and line breaks (6 possible page breaks)...
/home/gub/NewGub/gub/target/darwin-x86/src/lilypond-git.sv.gnu.org--lilypond.git-release-unstable/lily/page-turn-page-breaking.cc:211
<0>: failed assertion `!isinf (best.demerits_) && start < end - 1'

Exited with exit status 1.






-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex, call for pre-beta review

2018-03-10 Thread Craig Dabelstein
Hi all,

Even with this path to my Lilypond:

\usepackage[program=/Applications/LilyPond.app/Contents/
Resources/bin/lilypond]{lyluatex}

I get this error. I'm still not sure what the problem is.

stack traceback:

[C]: in function 'error'

...ocal/texlive/2017/texmf-dist/tex/latex/base/ltluatex.lua:109: in
function <...ocal/texlive/2017/texmf-dist/tex/latex/base/ltluatex.lua:108>

(...tail calls...)

./lyluatex.lua:899: in function 'lilypond_version'

./lyluatex.lua:1114: in function 'run_lilypond'

./lyluatex.lua:1095: in function 'process'

[\directlua]:1: in main chunk.

\ly@compilescore ...directlua {ly.score:process()}


On 11 March 2018 at 13:15, Br. Samuel Springuel <rpspring...@gmail.com>
wrote:

> That's not the executable script inside the package.  Try:
>
>
> \usepackage[program=/Applications/LilyPond.app/Contents/
> Resources/bin/lilypond]{lyluatex}
>
>
> Or, follow the directions on the following page for making LilyPond
> available from the command line on a Mac (in which case the program option
> won't be needed):
>
> http://lilypond.org/macos-x.html
>
>
> --
> ✝
> Br. Samuel, OSB
> St. Anselm’s Abbey
> Washington, DC
> (R. Padraic Springuel)
>
> PAX ☧ ΧΡΙΣΤΟΣ
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lyluatex, call for pre-beta review

2018-03-10 Thread Craig Dabelstein
Hi Fr. Jacques,

I have this in my code but still can't get lyluatex to find Lilypond.

\usepackage[program=/Applications/LilyPond.app/Contents/MacOS/LilyPond]{lyluatex}

Any other ideas?

Craig


On 11 March 2018 at 09:49, Abbé Jacques Peron <abbe.jacques.pe...@gmail.com>
wrote:

> Hello,
>
> Le 11 mars 2018 00:24:48 GMT+01:00, Craig Dabelstein <
> craig.dabelst...@gmail.com> a écrit :
> >Hi Urs,
> >
> >I can't get it to find my
> >installation of Lilypond. Could you give me an example of the code I
> >need
> >to point lyluatex to a Lilypond installation?
>
> You should use the option "program":
>
> \usepackage[program= PATH/TO/LILYPOND]{lyluatex}
>
> Hoping this helps,
>
> Fr. Jacques Peron +
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ScholarLy and Latex

2018-03-10 Thread Craig Dabelstein
Urs,

The "temp-print-message" branch worked perfectly first time. You are
amazing! One small problem for me though -- the output is rendering the
measure and beat with the lilyglyphs ({1}{4.\,\crotchet}). How can I get it
back to just {1}{4} without the lilyglyph? I know I've seen how to do it
somewhere but I just can't find it.

All the best,

Craig


On 11 March 2018 at 09:22, Craig Dabelstein <craig.dabelst...@gmail.com>
wrote:

> Hi Urs,
>
> Thanks very much for all that information. I'll check out the
> "temp-print-message" branch and let you know how I go.
>
> All the best,
>
> Craig
>
>
> On 8 March 2018 at 02:12, Urs Liska <li...@openlilylib.org> wrote:
>
>> Hi Craig,
>>
>> sorry for the delay, but I had quite reduced capacities during the past
>> week.
>>
>> I'm even more sorry to inform you that what you experience is "expected
>> behaviour" and the result of incomplete implementation :-(
>>
>> The exported annotations put a number of information items (including the
>> message!) in one optional argument, followed by four mandatory arguments
>> with the curly braces.
>>
>>
>> However, in the .sty file the commands are defined to expect six
>> arguments, the first one being optional:
>>
>> \newcommand{\criticalRemark}[6][]{
>> \annotation[#1]{#2}{#3}{#4}{#5}{#6}
>>  {Critical Remark}}
>>
>> This makes \criticalRemark call \annotation, pass its six arguments to it
>> and one hard-coded "Critical Remark" argument as seventh.
>>
>> The code exported from scholarly does not export that sixth argument, and
>> consequently it is empty when it reaches \annotation.
>> As you have noticed, if you copy the entry to the end of the list of
>> arguments it will be printed correctly.
>>
>> I'm not sure what to advise you right now. Your are actually suffering
>> from the fact that I didn't manage to keep hold of the project. In addition
>> to what is "publicly" available there is an "initial LaTeX package" in the
>> repository, on the unmerged branch 'initial-latex-package' with substantial
>> code additions and unfortunately the lack of review on my part. Maybe this
>> branch is actually ready to be merged, but I simply don't really know.
>> And unfortunately I can't promise to change that immediately. Although I
>> should take your report as the incentive to finally get back to that, now
>> that lyluatex is also "out".
>>
>> I have pushed a temporary fix to the temp-print-message branch. If you
>> checkout that branch and recompile the LilyPond score the annotation
>> message will be added to the list of arguments, and your report.sty will
>> properly read in the message.
>> But I don't really like that hack, and you have to be aware that this
>> interface may not be stable.
>>
>> Sorry for not having much better info for you
>> Best
>> Urs
>>
>>
>> Am 02.03.2018 um 10:25 schrieb Craig Dabelstein:
>>
>> Hi Urs,
>>
>> I hope you can understand these files. I think the report.sty file was
>> borrowed from your Scores of Beauty post a long time ago (maybe). My
>> problem is trying to get the content of the "message" field to be
>> displayed.
>>
>> All the best,
>>
>> Craig
>>
>>
>> On 1 March 2018 at 19:05, Urs Liska <li...@openlilylib.org> wrote:
>>
>>> Hi Craig,
>>>
>>> Am 23.02.2018 um 10:07 schrieb Craig Dabelstein:
>>>
>>> Hi Lilyponders,
>>>
>>> I'm having a minor problem with getting my ScholarLy inp file to work
>>> with Latex. The Latex output for each annotation looks like this:
>>>
>>> \criticalRemark
>>>[grob={DynamicText},
>>> grob-location={Can't display grob location yet},
>>> grob-type={DynamicText},
>>> input-file-name={fluteI.ily},
>>> context-id={Flauto 1},
>>> location={/Users//Maximes_Music/Projects/MM0110/Hallager/critical
>>> edition/Parts/../Notes/fluteI.ily 55:2:2},
>>> type={critical-remark},
>>> message={Added missing \lilyDynamics{p}}]
>>> {18}{6}
>>> {Flauto 1}
>>> {DynamicText}
>>>
>>> And within my Latex file each entry is displayed with this code:
>>>
>>> \noindent
>>> \theAnnotationNo\,)\\
>>> \textit{(#7)}\\
>>> \ifthenelse{\equal{#2}{\value{CurrentMeasure}}}
>>> {}{\textbf{M. #2},
>>> \setcounter{CurrentMeasure}{#2}}%
>>> beat

Re: lyluatex, call for pre-beta review

2018-03-10 Thread Craig Dabelstein
Hi Urs,

I've had a look at lyluatex. It looks amazing but I can't get it to find my
installation of Lilypond. Could you give me an example of the code I need
to point lyluatex to a Lilypond installation? I assume you are compiling
via command line, not through TexShop or TexPad?

Craig


On 8 March 2018 at 01:26, Urs Liska <li...@openlilylib.org> wrote:

> lyluatex (https://github.com/jperon/lyluatex) is a package for LuaLaTeX
> that allows the inclusion of LilyPond code in .tex documents and
> automatically manages their compilation with LilyPond.
>
> By now the package is a fully-compatible superset to the lilypond-book
> script that ships with LilyPond, and we are preparing a significant v1
> release. Before uploading a Beta version to CTAN we invite the members of
> this mailing list to thoroughly test and review the package and its
> documentation. Please find the description and a rendered manual at
> https://github.com/jperon/lyluatex/issues/177
>
> Best regards
> Urs (Liska)
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ScholarLy and Latex

2018-03-10 Thread Craig Dabelstein
Hi Urs,

Thanks very much for all that information. I'll check out the
"temp-print-message" branch and let you know how I go.

All the best,

Craig


On 8 March 2018 at 02:12, Urs Liska <li...@openlilylib.org> wrote:

> Hi Craig,
>
> sorry for the delay, but I had quite reduced capacities during the past
> week.
>
> I'm even more sorry to inform you that what you experience is "expected
> behaviour" and the result of incomplete implementation :-(
>
> The exported annotations put a number of information items (including the
> message!) in one optional argument, followed by four mandatory arguments
> with the curly braces.
>
>
> However, in the .sty file the commands are defined to expect six
> arguments, the first one being optional:
>
> \newcommand{\criticalRemark}[6][]{
> \annotation[#1]{#2}{#3}{#4}{#5}{#6}
>   {Critical Remark}}
>
> This makes \criticalRemark call \annotation, pass its six arguments to it
> and one hard-coded "Critical Remark" argument as seventh.
>
> The code exported from scholarly does not export that sixth argument, and
> consequently it is empty when it reaches \annotation.
> As you have noticed, if you copy the entry to the end of the list of
> arguments it will be printed correctly.
>
> I'm not sure what to advise you right now. Your are actually suffering
> from the fact that I didn't manage to keep hold of the project. In addition
> to what is "publicly" available there is an "initial LaTeX package" in the
> repository, on the unmerged branch 'initial-latex-package' with substantial
> code additions and unfortunately the lack of review on my part. Maybe this
> branch is actually ready to be merged, but I simply don't really know.
> And unfortunately I can't promise to change that immediately. Although I
> should take your report as the incentive to finally get back to that, now
> that lyluatex is also "out".
>
> I have pushed a temporary fix to the temp-print-message branch. If you
> checkout that branch and recompile the LilyPond score the annotation
> message will be added to the list of arguments, and your report.sty will
> properly read in the message.
> But I don't really like that hack, and you have to be aware that this
> interface may not be stable.
>
> Sorry for not having much better info for you
> Best
> Urs
>
>
> Am 02.03.2018 um 10:25 schrieb Craig Dabelstein:
>
> Hi Urs,
>
> I hope you can understand these files. I think the report.sty file was
> borrowed from your Scores of Beauty post a long time ago (maybe). My
> problem is trying to get the content of the "message" field to be
> displayed.
>
> All the best,
>
> Craig
>
>
> On 1 March 2018 at 19:05, Urs Liska <li...@openlilylib.org> wrote:
>
>> Hi Craig,
>>
>> Am 23.02.2018 um 10:07 schrieb Craig Dabelstein:
>>
>> Hi Lilyponders,
>>
>> I'm having a minor problem with getting my ScholarLy inp file to work
>> with Latex. The Latex output for each annotation looks like this:
>>
>> \criticalRemark
>>[grob={DynamicText},
>> grob-location={Can't display grob location yet},
>> grob-type={DynamicText},
>> input-file-name={fluteI.ily},
>> context-id={Flauto 1},
>> location={/Users//Maximes_Music/Projects/MM0110/Hallager/critical
>> edition/Parts/../Notes/fluteI.ily 55:2:2},
>> type={critical-remark},
>> message={Added missing \lilyDynamics{p}}]
>> {18}{6}
>> {Flauto 1}
>> {DynamicText}
>>
>> And within my Latex file each entry is displayed with this code:
>>
>> \noindent
>> \theAnnotationNo\,)\\
>> \textit{(#7)}\\
>> \ifthenelse{\equal{#2}{\value{CurrentMeasure}}}
>> {}{\textbf{M. #2},
>> \setcounter{CurrentMeasure}{#2}}%
>> beat #3\\
>> #4\\
>> Affects: #5\\
>> ``#6''}
>>
>> My problem is that Latex won't display the #6 (the contents of the
>> message field). It is displaying the quotation marks but just empty space
>> in between. If I cut and paste the message field and add it to the bottom
>> of the code it displays perfectly correctly:
>>
>> \criticalRemark
>>[grob={DynamicText},
>> grob-location={Can't display grob location yet},
>> grob-type={DynamicText},
>> input-file-name={fluteI.ily},
>> context-id={Flauto 1},
>> location={/Users//Maximes_Music/Projects/MM0110/Hallager/critical
>> edition/Parts/../Notes/fluteI.ily 55:2:2},
>> type={critical-remark},
>> message={Added missing \lilyDynamics{p}}]
>> {18}{6}
>>

Re: edition-engraver commit error (was Re: Edition Engraver tweak error)

2018-03-07 Thread Craig Dabelstein
Hi Jan- Peter,

No, I was only caught by my own feeble brain. Thanks so much for all your
work with the EE.

All the best,

Craig

On Wed., 7 Mar. 2018, 5:37 pm Jan-Peter Voigt, <jp.vo...@gmx.de> wrote:

> Hi Craig,
>
> Kieren already answered, but I want to assure that you where not caught
> by I mistake I made on Monday: There is a commit that ought to be in its
> own branch for development that accidentally disabled overrides. So
> please do switch to the previous commit (Feb 1 "issue #19") if this is
> the case.
>
> I am sorry for any inconvenience for any user of the edition-engraver!
>
> I repaired the repository, so any users that did not pull between Monday
> 5. Mar 21h CET and 7. Mar 8:30h CET should not be affected by this mistake.
>
> Best
> Jan-Peter
>
>
>
> Am 06.03.2018 um 23:41 schrieb Craig Dabelstein:
> > Hi all,
> >
> > When trying to apply a tweak to a hairpin with the EE I get an
> > "unterminated crescendo" error. If I leave out the crescendo \< from the
> > EE (but include it in the content file which is where it thought it
> > should belong) it doesn't work at all. Is there a different way I should
> > be trying to do this?
> >
> > \editionMod global 57 2/4 wagner.trauermusik.fluteI.Voice -\tweak
> > minimum-length #5 \<
> >
> > Thanks in advance,
> >
> > Craig
> >
> >
> > --
> > *Craig Dabelstein*
> > Maxime's Music
> > craig.dabelst...@gmail.com <mailto:craig.dabelst...@gmail.com>
> > /http://maximesmusic.com/
> >
> >
> > ___
> > lilypond-user mailing list
> > lilypond-user@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lilypond-user
> >
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver tweak error

2018-03-06 Thread Craig Dabelstein
Hi Kieren,

Well obviously I couldn't use your suggestion because I'm a total idiot!

Thanks for your help. Much appreciated.

All the best,

Craig

On Wed., 7 Mar. 2018, 8:43 am Kieren MacMillan, <
kieren_macmil...@sympatico.ca> wrote:

> Hi Craig,
>
> > \editionMod global 57 2/4 wagner.trauermusik.fluteI.Voice -\tweak
> minimum-length #5 \<
>
> Why not
>
>   \editionMod global 57 2/4 wagner.trauermusik.fluteI.Voice \once
> \override Hairpin.minimum-length = #5
>
> ??
>
> Hope that helps!
> Kieren.
> 
>
> Kieren MacMillan, composer
> ‣ website: www.kierenmacmillan.info
> ‣ email: i...@kierenmacmillan.info
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Edition Engraver tweak error

2018-03-06 Thread Craig Dabelstein
Hi all,

When trying to apply a tweak to a hairpin with the EE I get an
"unterminated crescendo" error. If I leave out the crescendo \< from the EE
(but include it in the content file which is where it thought it should
belong) it doesn't work at all. Is there a different way I should be trying
to do this?

\editionMod global 57 2/4 wagner.trauermusik.fluteI.Voice -\tweak
minimum-length #5 \<

Thanks in advance,

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: ScholarLy and Latex

2018-03-02 Thread Craig Dabelstein
Hi Urs,

I hope you can understand these files. I think the report.sty file was
borrowed from your Scores of Beauty post a long time ago (maybe). My
problem is trying to get the content of the "message" field to be
displayed.

All the best,

Craig


On 1 March 2018 at 19:05, Urs Liska <li...@openlilylib.org> wrote:

> Hi Craig,
>
> Am 23.02.2018 um 10:07 schrieb Craig Dabelstein:
>
> Hi Lilyponders,
>
> I'm having a minor problem with getting my ScholarLy inp file to work with
> Latex. The Latex output for each annotation looks like this:
>
> \criticalRemark
>[grob={DynamicText},
> grob-location={Can't display grob location yet},
> grob-type={DynamicText},
> input-file-name={fluteI.ily},
> context-id={Flauto 1},
> location={/Users//Maximes_Music/Projects/MM0110/Hallager/critical
> edition/Parts/../Notes/fluteI.ily 55:2:2},
> type={critical-remark},
> message={Added missing \lilyDynamics{p}}]
> {18}{6}
> {Flauto 1}
> {DynamicText}
>
> And within my Latex file each entry is displayed with this code:
>
> \noindent
> \theAnnotationNo\,)\\
> \textit{(#7)}\\
> \ifthenelse{\equal{#2}{\value{CurrentMeasure}}}
> {}{\textbf{M. #2},
> \setcounter{CurrentMeasure}{#2}}%
> beat #3\\
> #4\\
> Affects: #5\\
> ``#6''}
>
> My problem is that Latex won't display the #6 (the contents of the message
> field). It is displaying the quotation marks but just empty space in
> between. If I cut and paste the message field and add it to the bottom of
> the code it displays perfectly correctly:
>
> \criticalRemark
>[grob={DynamicText},
> grob-location={Can't display grob location yet},
> grob-type={DynamicText},
> input-file-name={fluteI.ily},
> context-id={Flauto 1},
> location={/Users//Maximes_Music/Projects/MM0110/Hallager/critical
> edition/Parts/../Notes/fluteI.ily 55:2:2},
> type={critical-remark},
> message={Added missing \lilyDynamics{p}}]
> {18}{6}
> {Flauto 1}
> {DynamicText}
> {Added missing \lilyDynamics{p}}
>
>
> Any ideas where I could be going wrong?
>
>
> Not yet, but could you please send a MWE, i.e. a complete file, with maybe
> that critical remark just added in the file (instead of inputted)? What
> exactly is context of the code that displays the annotation, i.e. where's
> the complete definition of the "\criticalRemark" macro?
>
> Urs
>
> Thanks in advance,
>
> Craig
>
>
> --
> *Craig Dabelstein*
> Maxime's Music
> craig.dabelst...@gmail.com
> *http://maximesmusic.com <http://maximesmusic.com>*
>
>
> ___
> lilypond-user mailing 
> listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*

\NeedsTeXFormat{LaTeX2e} 
\ProvidesPackage{report}

\RequirePackage{ifthen}

\newcounter{CurrentMeasure}
\newcounter{AnnotationNo}

% Print an annotation
%
% Initial implementation is a quite hard-coded thing,
% just to get it started at all.
% It is intended to make the generation of output as modular as possible.
% The annotation should be put together from individual macros. This will
% enable users to
% a) renew the macros to change the appearance of individual parts
% b) renew the \annotation command to reorganize it by keeping the formatting
%of the individual building blocks.

% The macro is designed to take its data from output generated by LilyPond's
% (or rather ScholarLY's) \annotate function, but it can equally be used
% directly, from manually entered LaTeX code.
%
% It takes seven properties, the first one being an optional key=value set:
% #1: Additional arguments. Has to be parsed separately
%(not implemented yet)
% #2: Measure number
% #3: Beat string (currently not good enough yet)
% #4: Affected context (voice)
% #5: Affected type of notational element
%(currently not used, needs a nice lookup in the LilyPond part)
% #6: Annotation content (message)
% #7: Annotation type

\newcommand{\annotation}[7][]{%
\stepcounter{AnnotationNo}

\medskip
\noindent
\ifthenelse{\equal{#2}{\value{CurrentMeasure}}}
{--- }{\textbf{M.\,#2,}
\setcounter{CurrentMeasure}{#2}}%
beat #3, #4: ``#6'' \textit{(\theAnnotationNo)}}

% Several wrapper functions to typeset different kinds of annotations.
% For now these only differ through the label, but they could be
% extended in the future, e.g. through conditional coloring in draft mode etc.

% Intende

Re: Edition Engraver -- multiple editions

2018-03-01 Thread Craig Dabelstein
Jan-Peter,

Thank you so much. Now I get it!

I'm working on critical editions of band music from the French Revolution
-- at the moment an Ouverture by Charles-Simon Catel. The edition engraver
has just become invaluable to me.

All the best,

Craig


On 1 March 2018 at 18:14, Jan-Peter Voigt <jp.vo...@gmx.de> wrote:

> Hi Craig,
>
> you remind me to rethink wording/naming of the different identifiers!
>
> In your example you point on two different ID-types. With \addEdition you
> add one target-ID to the current compilation. You can add multiple targets
> like fullscore, global-mods, original-page-breaks at once.
>
> With \editionID inside a layout-context block you assign a
> context-identifier. There is one context-identifier - one might call it
> context-address - per context-instance.
> So the score will have a contextID like perhaps:
>
> \layout {
>   \context {
> \Score
> \editionID ##f bwv.247.marco.11.choral
>   }
> }
>
> and the different context are created with e.g.
> \new Staff \with { \editionID flute } << ... >>
> so this Staff receives the ID `bwv.247.marco.11.choral.flute`.
> This should be stable across all compilations for all targets.
> Now you can enter modifications like
> \editionMod score 2 3/4 bwv.247.marco.11.choral.Staff  score>
> \editionMod part 2 3/4 bwv.247.marco.11.choral.Staff 
> \editionMod global 2 3/4 bwv.247.marco.11.choral.Staff 
>
> (you can shorten this significantly with a variable!)
>
> Inside the respective files for the core and the part you can add targets
> as you like:
> \addEdition score
> \addEdition global
>
> The EE will apply all modifications for all active targets. In the part
> files you might use the shorter variant
> \setEditions part.violin.global
>
> To activate the "part", "violin" and "global" targets. If lilypond reads
> the mods for the score while compiling the violin part, it doesn't matter,
> as long as the score-target is not active.
>
> The edition-engraver is using pointers/IDs/addresses in three dimensions:
> 1. the target of the current compilation-run
> 2. the context-address
> 3. the timestep
>
> Right now target IDs can not be changed within a file/a compilation for
> different scores. So you will have one file for the fullscore and one for
> each part. These files will include the music from other files and then
> apply the mods needed for the current target.
>
> HTH
> Jan-Peter
>
> Btw.:
> One of the projects I have been working on over the last two years is
> typesetting a new reconstruction of the "Markus-Passion" from Johann
> Sebastian Bach (Ortus-Verlag/Berlin - fullscore ISMN 979-0-502340-65-0,
> piano reduction ISMN 979-0-502340-66-7, choir part ISMN 979-0-502340-67-4,
> instrumental parts ISMN 979-0-502340-68-1)
> by Andreas Fischer (St.Katharinen, Hamburg, Germany).
> I am going to write a description of this project when my schedule allows.
>
>
>
>
> Am 01.03.2018 um 02:34 schrieb Craig Dabelstein:
>
>> Hi all,
>>
>> I thought I had my head around the edition engraver but I'm going wrong
>> somewhere. If I want to have different mods for a score, the parts, and a
>> selection of mods applicable to both the score and the parts, do I need to
>> create three different editions such as this:
>>
>> \addEdition score
>> \addEdition parts
>> \addEdition scoreandparts
>>
>> If so, how do I switch between them?
>>
>> I was trying to use different editionIDs for everything but it's not
>> working. Can a score have multiple IDs such as:
>>
>> \layout{
>> \context {
>>  \Score
>>  \editionID ##f score
>>  \editionID ##f both
>>  }
>> }
>>
>> Thanks in advance,
>>
>> Craig
>>
>> --
>> *Craig Dabelstein*
>> Maxime's Music
>> craig.dabelst...@gmail.com <mailto:craig.dabelst...@gmail.com>
>> /http://maximesmusic.com/
>>
>>
>> ___
>> lilypond-user mailing list
>> lilypond-user@gnu.org
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>>
>>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Edition Engraver -- multiple editions

2018-02-28 Thread Craig Dabelstein
Hi all,

I thought I had my head around the edition engraver but I'm going wrong
somewhere. If I want to have different mods for a score, the parts, and a
selection of mods applicable to both the score and the parts, do I need to
create three different editions such as this:

\addEdition score
\addEdition parts
\addEdition scoreandparts

If so, how do I switch between them?

I was trying to use different editionIDs for everything but it's not
working. Can a score have multiple IDs such as:

\layout{
\context {
\Score
\editionID ##f score
\editionID ##f both
}
}

Thanks in advance,

Craig

-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


ScholarLy and Latex

2018-02-23 Thread Craig Dabelstein
Hi Lilyponders,

I'm having a minor problem with getting my ScholarLy inp file to work with
Latex. The Latex output for each annotation looks like this:

\criticalRemark
   [grob={DynamicText},
grob-location={Can't display grob location yet},
grob-type={DynamicText},
input-file-name={fluteI.ily},
context-id={Flauto 1},
location={/Users//Maximes_Music/Projects/MM0110/Hallager/critical
edition/Parts/../Notes/fluteI.ily 55:2:2},
type={critical-remark},
message={Added missing \lilyDynamics{p}}]
{18}{6}
{Flauto 1}
{DynamicText}

And within my Latex file each entry is displayed with this code:

\noindent
\theAnnotationNo\,)\\
\textit{(#7)}\\
\ifthenelse{\equal{#2}{\value{CurrentMeasure}}}
{}{\textbf{M. #2},
\setcounter{CurrentMeasure}{#2}}%
beat #3\\
#4\\
Affects: #5\\
``#6''}

My problem is that Latex won't display the #6 (the contents of the message
field). It is displaying the quotation marks but just empty space in
between. If I cut and paste the message field and add it to the bottom of
the code it displays perfectly correctly:

\criticalRemark
   [grob={DynamicText},
grob-location={Can't display grob location yet},
grob-type={DynamicText},
input-file-name={fluteI.ily},
context-id={Flauto 1},
location={/Users//Maximes_Music/Projects/MM0110/Hallager/critical
edition/Parts/../Notes/fluteI.ily 55:2:2},
type={critical-remark},
message={Added missing \lilyDynamics{p}}]
{18}{6}
{Flauto 1}
{DynamicText}
{Added missing \lilyDynamics{p}}


Any ideas where I could be going wrong?

Thanks in advance,

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: conditional breaks

2018-02-20 Thread Craig Dabelstein
Hi Urs,

I changed the conditional breaks target to "manuscript-breaks" to make sure
there wasn't a conflict but the breaks package is still not working (at
all). I get no errors but also no breaks.

Updated MWE attached.

Craig


On 20 February 2018 at 20:20, Urs Liska <li...@openlilylib.org> wrote:

> Hi Craig,
>
> Am 20.02.2018 um 11:14 schrieb Craig Dabelstein:
>
> Hi all,
>
> I'm trying to get the edition engraver, scholarly and conditional breaks
> all to work at the same time. In the MWE I've attached, the edition
> engraver and scholarly are working but I can't seem to get the conditional
> breaks to work as well. Could someone please tell me what I'm doing wrong?
>
>
> You didn't specify what not getting "the conditional breaks to work"
> actually means.
>
> Please try using a different target for the breaks:
>
> \registerBreakSet manuscript-breaks
>
> If that fixes the issue I would look into the matter. The "breaks" package
> internally uses the edition-engraver, and maybe there's a conflict when
> using the same target with both packages. (Although I think it should be
> (made) possible).
>
> BTW: You don't necessarily need to load edition-engraver explicitly
> because it will already be loaded by the breaks package. You could just
> start with the EE configuration *after* \loadPackage ... page-layout.
>
> Good luck
> Urs
>
>
> Thanks in advance,
>
> Craig
>
>
> --
> *Craig Dabelstein*
> Maxime's Music
> craig.dabelst...@gmail.com
> *http://maximesmusic.com <http://maximesmusic.com>*
>
>
> ___
> lilypond-user mailing 
> listlilypond-user@gnu.orghttps://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*


test.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


conditional breaks

2018-02-20 Thread Craig Dabelstein
Hi all,

I'm trying to get the edition engraver, scholarly and conditional breaks
all to work at the same time. In the MWE I've attached, the edition
engraver and scholarly are working but I can't seem to get the conditional
breaks to work as well. Could someone please tell me what I'm doing wrong?

Thanks in advance,

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*


test.ly
Description: Binary data
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Edition Engraver mod list question

2018-02-13 Thread Craig Dabelstein
Thank you gents


On 14 February 2018 at 09:58, Urs Liska <li...@openlilylib.org> wrote:

>
>
> Am 14. Februar 2018 00:35:38 MEZ schrieb Kieren MacMillan <
> kieren_macmil...@sympatico.ca>:
> >Hi Craig,
> >
> >> In the edition engraver, is it possible to set a line break in the
> >middle of a bar?
> >> Something such as breaking bar 12 in the example below after the
> >second beat?
> >> \editionModList manuscript manuscript-score.Score \break #'(4 8 (12
> >2/4) 16 20)
> >
> >Yes… but in order to do that, you'll need to add a \bar "" at that
> >point (also using the EE, of course!).
> >
>
> or you can use the page-layout package for this, a wrapper around the EE,
> offering some more syntactic sugar.
>
> Urs
> >Hope that helps,
> >Kieren.
> >
> >
> >Kieren MacMillan, composer
> >‣ website: www.kierenmacmillan.info
> >‣ email: i...@kierenmacmillan.info
> >
> >
> >___
> >lilypond-user mailing list
> >lilypond-user@gnu.org
> >https://lists.gnu.org/mailman/listinfo/lilypond-user
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Edition Engraver mod list question

2018-02-13 Thread Craig Dabelstein
Hi Lilyponders,

In the edition engraver, is it possible to set a line break in the middle
of a bar?

Something such as breaking bar 12 in the example below after the second
beat?

\editionModList manuscript manuscript-score.Score \break #'(4 8 (12 2/4) 16
20)

Thanks in advance,

Craig




-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Scholarly editorial functions

2018-02-03 Thread Craig Dabelstein
Hi all,

I have two questions:

[1] Is there an option I can add here to make dashed Hairpins?

\setOption scholarly.editorial.functions.addition
#`((NoteHead . ,parenthesize)
   (Slur . ,slurDashed)
   (Tie . ,tieDashed)
   (PhrasingSlur . ,phrasingSlurDashed))

[2] If I label a critical remark as an addition (apply = addition) but I
don't need any kind of appearance change, is there something I can add to
the above code to suppress the errors.

Editorial command #f not set for Script
Editorial command #f not set for DynamicText
Editorial command #f not set for Hairpin

Thanks in advance,

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: bracket articulation

2018-02-02 Thread Craig Dabelstein
HI all,

Thanks for everyone's input. I think that bracket-stencil will do the trick
Harm. I'm getting a nice collection of scheme examples now. Hopefully I can
work it out myself next time.

All the best,

Craig


On 3 February 2018 at 08:32, Thomas Morley <thomasmorle...@gmail.com> wrote:

> 2018-02-02 6:38 GMT+01:00 Craig Dabelstein <craig.dabelst...@gmail.com>:
> > Hi Lilyponders,
> >
> > Is there a way to put an articulation (a staccatissimo symbol) in square
> > brackets above a note, such as [ ! ], where ! = a staccatissimo
> > articulation? I've tried several different permutations with no success.
> >
> > Thanks in advance,
> >
> > Craig
>
>
> How about below.
> Basically it sets new ParenthesesItem.stencils like
> http://lsr.di.unimi.it/LSR/Item?id=564
> Overridable in various ways, though.
>
> \version "2.18.2"
>
> #(define parentheses-item::bracket-stencils
>   (lambda (grob)
> (let* ((details (ly:grob-property grob 'details))
>(protrusion (assoc-get 'protrusion details 0.2))
>(thick (ly:grob-property grob 'thickness 0.1))
>(shorten-pair (ly:grob-property grob 'shorten-pair '(0 . 0)))
>(half-y (magstep (ly:grob-property grob 'font-size)))
>(bracket-y-ext
>  (cons
>(- (- half-y (car shorten-pair)))
>(- half-y (cdr shorten-pair)
>   (list
> (ly:bracket Y bracket-y-ext thick protrusion)
> (ly:bracket Y bracket-y-ext thick (- protrusion))
>
> %%
> %% EXAMPLES
> %%
>
> \markup "default, sometimes need to tweak ParenthesesItem"
> {
>   c'2-\parenthesize-!
>   c'2-\parenthesize-.
>   c'2-\parenthesize-"otto"
>   c'2-\parenthesize-"-"
> }
>
> \markup "bracket-stencils, sometimes need to tweak ParenthesesItem as well"
> {
>   \override ParenthesesItem.stencils = #parentheses-item::bracket-stencils
>
>   c'2-\parenthesize-!
>   c'2-\parenthesize-.
>   c'2-\parenthesize-"otto"
>   c'2-\parenthesize-"-"
> }
>
> \markup "bracket-stencils, adjusted"
> {
>   \override ParenthesesItem.stencils = #parentheses-item::bracket-stencils
>
>   \once \override ParenthesesItem.font-size = -4
>   c'2-\parenthesize-!
>
>   \once \override ParenthesesItem.font-size = -8
>   c'2-\parenthesize-\tweak padding #0.3 -.
>
>   \textLengthOn
>   \once \override ParenthesesItem.font-size = 0
>   c'2-\parenthesize-"FOO"
>   %\override ParenthesesItem.shorten-pair = #'(0.6 . 0.6)
>   \once \override ParenthesesItem.font-size = -12
>   c'2-\parenthesize-"-"
> }
>
> \markup "bracket-stencils, other examples/tweaks"
> {
>   \override ParenthesesItem.stencils = #parentheses-item::bracket-stencils
>
>   \override ParenthesesItem.padding = 0.5
>   <c' \parenthesize e' g'>
>   \override ParenthesesItem.padding = 2
>   \override ParenthesesItem.details.protrusion = 0.5
>   \override ParenthesesItem.thickness = 0.3
>   \override ParenthesesItem.shorten-pair = #'(0.3 . -1)
>   c'2-\parenthesize-"-"
> }
>
> Cheers,
>   Harm
>



-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


bracket articulation

2018-02-02 Thread Craig Dabelstein
Hi Lilyponders,

Is there a way to put an articulation (a staccatissimo symbol) in square
brackets above a note, such as [ ! ], where ! = a staccatissimo
articulation? I've tried several different permutations with no success.

Thanks in advance,

Craig


-- 
*Craig Dabelstein*
Maxime's Music
craig.dabelst...@gmail.com
*http://maximesmusic.com <http://maximesmusic.com>*
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


  1   2   3   >