Re: headers, and what include doesn't do

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

Re: headers, and what include doesn't do

2020-10-17 Thread David Wright
On Sat 17 Oct 2020 at 10:27:10 (+0200), Xavier Scheuer wrote: > On Sat, 17 Oct 2020 at 09:49, Jean Abou Samra wrote: > > > > [...] > > > > I have learnt this restriction during my very beginnings in LilyPond -- I > was > > using 2.18.0 at the time. Since then I never realized it was gone as I >

Re: headers, and what include doesn't do

2020-10-17 Thread Xavier Scheuer
On Sat, 17 Oct 2020 at 09:49, Jean Abou Samra wrote: > > [...] > > I have learnt this restriction during my very beginnings in LilyPond -- I was > using 2.18.0 at the time. Since then I never realized it was gone as I always > followed the practice of putting \header after the music. > > I'll

Re: headers, and what include doesn't do

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

Re: headers, and what include doesn't do

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

Re: headers, and what include doesn't do

2020-10-16 Thread Aaron Hill
On 2020-10-16 8:45 pm, David Wright wrote: On Fri 16 Oct 2020 at 15:50:55 (+0200), Jean Abou Samra wrote: (For technical reasons, \header should come after the music inside \score.) That's right, \score must begin with a music expression. Um, then why does this work? \version "2.18.2"

Re: headers, and what include doesn't do

2020-10-16 Thread David Wright
On Sat 17 Oct 2020 at 00:58:14 (+0200), Jean Abou Samra wrote: > Le 17/10/2020 à 00:16, Mark Stephen Mrotek a écrit : > > I have sent all four files to you. I looked at the files attached to <008501d6a404$d9fe8990$8dfb9cb0$@ca.rr.com> > Regarding your files, I believe this does not invalidate

Re: headers, and what include doesn't do

2020-10-16 Thread David Wright
On Fri 16 Oct 2020 at 15:50:55 (+0200), Jean Abou Samra wrote: > > It's seems very likely from the way you've expressed your problem that > > you think LP attaches some meaning to \include. It doesn't. Writing > > \include "foo.ly" just pastes the contents of foo.ly into the source > > at that

Re: headers, and what include doesn't do

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

RE: headers, and what include doesn't do

2020-10-16 Thread Mark Stephen Mrotek
Jean, I have sent all four files to you. Mark From: Jean Abou Samra [mailto:j...@abou-samra.fr] Sent: Friday, October 16, 2020 1:12 PM To: Mark Stephen Mrotek ; lily...@lionunicorn.co.uk; 'Lilypond-User Mailing List' Subject: Re: headers, and what include doesn't do Le 16/10

RE: headers, and what include doesn't do

2020-10-16 Thread Mark Stephen Mrotek
Jean, My pleasure. All four files are attached. Mark From: Jean Abou Samra [mailto:j...@abou-samra.fr] Sent: Friday, October 16, 2020 1:23 PM To: Mark Stephen Mrotek ; 'Lilypond-User Mailing List' Subject: Re: headers, and what include doesn't do Hi Mark, Le 16/10/2020 à 21:51

Re: headers, and what include doesn't do

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

Re: headers, and what include doesn't do

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

RE: headers, and what include doesn't do

2020-10-16 Thread Mark Stephen Mrotek
Jean, They are the individual movements. M From: Jean Abou Samra [mailto:j...@abou-samra.fr] Sent: Friday, October 16, 2020 12:45 PM To: Mark Stephen Mrotek ; lily...@lionunicorn.co.uk; 'Lilypond-User Mailing List' Subject: Re: headers, and what include doesn't do Le 16/10/2020

Re: headers, and what include doesn't do

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

RE: headers, and what include doesn't do

2020-10-16 Thread Mark Stephen Mrotek
Subject: Re: headers, and what include doesn't do Hello, (Sorry if this message appears in another thread; this will be fixed soon.) Thank you guys. I tried the way Mark suggested before and I get the same result of III. being shown on the first page. So still not seeming

Re: headers, and what include doesn't do

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

Re: headers, and what include doesn't do

2020-10-15 Thread David Wright
On Thu 15 Oct 2020 at 19:23:36 (-0400), Molly Preston wrote: > Thank you guys. I tried the way Mark suggested before and I get the same > result of III. being shown on the first page. So still not seeming to > understand. Perhaps you could start with an example like the attached, and just remove