Re: [Mutopia-discuss] Changing several files all the same way

2014-07-01 Thread Knute Snortum
I should have used \bookpart from the beginning.  I was either unaware of
this option or forgot for the first several movements.  Once I remembered,
I decided to do them all at once after I finished.  Maybe this was a bad
decision.


Knute Snortum
(via Gmail)


On Mon, Jun 30, 2014 at 10:24 PM, Federico Bruni  wrote:

> Il giorno lun 30 giu 2014 alle 20:40, Knute Snortum 
> ha scritto:
>
> I have finished transcribing the individual movements of Pictures in an
> Exhibition.  Now i want to create the file that will contain all of them in
> order.  I'm doing this with one file like this:
>
> %%%
> \header {
>   ...
> }
>
> \include "movement-1.ly"
> \include "movement-2.ly"
> ...
> %%
>
> ...with the movement files like this:
>
> 
> upper = { ... }
> lower = { ... }
>
> \bookpart {
>   \header {
> ...
>   }
>   \score {
> ...
> \upper
> ...
> \lower
>   }
> }
> %%%
>
> I have to add the \bookpart {} to all the movement files.  I feel that
> this should be all one branch, but should it be separate branches?
>
>
> I think that it should be one branch.
> But.. why didn't you use \bookpart from the beginning? Now you'll have to
> move the \header blocks of movements inside \bookpart.
>
> I attach a patch of my test, just to illustrate what I've tried.
> As you can see, there's a second \score in ballet.ly which disturbs this
> setup.
>
> BTW, some changes are due to the fact that I set the automatic removal of
> trailing spaces on save in Frescobaldi preferences.
>
> ___
> Mutopia-discuss mailing list
> Mutopia-discuss@mutopiaproject.org
> http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss
>
___
Mutopia-discuss mailing list
Mutopia-discuss@mutopiaproject.org
http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss

Re: [Mutopia-discuss] Changing several files all the same way

2014-06-30 Thread Federico Bruni
Il giorno lun 30 giu 2014 alle 20:40, Knute Snortum 
 ha scritto:
I have finished transcribing the individual movements of Pictures in 
an Exhibition.  Now i want to create the file that will contain all 
of them in order.  I'm doing this with one file like this:


%%%
\header {
  ...
}

\include "movement-1.ly"
\include "movement-2.ly"
...
%%

...with the movement files like this:


upper = { ... }
lower = { ... }

\bookpart {
  \header {
...
  }
  \score {
...
\upper
...
\lower
  }
}
%%%

I have to add the \bookpart {} to all the movement files.  I feel 
that this should be all one branch, but should it be separate 
branches?


I think that it should be one branch.
But.. why didn't you use \bookpart from the beginning? Now you'll have 
to move the \header blocks of movements inside \bookpart.


I attach a patch of my test, just to illustrate what I've tried.
As you can see, there's a second \score in ballet.ly which disturbs 
this setup.


BTW, some changes are due to the fact that I set the automatic removal 
of trailing spaces on save in Frescobaldi preferences.
>From 644fd645b6b46f94001889d06010dde7e8d09cc1 Mon Sep 17 00:00:00 2001
From: Federico Bruni 
Date: Tue, 1 Jul 2014 07:18:55 +0200
Subject: [PATCH 33/33] mussorgsky: add book file and use \bookpart movements
 (test)

---
 .../pictures-at-an-exhibition-lys/baba.ly  |  91 +++---
 .../pictures-at-an-exhibition-lys/ballet.ly| 138 +++--
 .../pictures-at-an-exhibition-lys/book.ly  |   8 ++
 3 files changed, 124 insertions(+), 113 deletions(-)
 create mode 100644 ftp/MussorgskyM/pictures-at-an-exhibition/pictures-at-an-exhibition-lys/book.ly

diff --git a/ftp/MussorgskyM/pictures-at-an-exhibition/pictures-at-an-exhibition-lys/baba.ly b/ftp/MussorgskyM/pictures-at-an-exhibition/pictures-at-an-exhibition-lys/baba.ly
index 8015666..67cbb7b 100644
--- a/ftp/MussorgskyM/pictures-at-an-exhibition/pictures-at-an-exhibition-lys/baba.ly
+++ b/ftp/MussorgskyM/pictures-at-an-exhibition/pictures-at-an-exhibition-lys/baba.ly
@@ -5,53 +5,54 @@
 \include "baba-andante.ily"
 \include "baba-allegro-molto.ily"
 
-\header {
-  title= "La cabane sur des pattes de poule (Baba-Jaga)"
-  composer = "Modest Moussorgsky (1839 - 1881)"
-  style= "Romantic"
-  license  = "Creative Commons Attribution-ShareAlike 4.0"
-  enteredby= "Knute Snortum"
-  lastupdated  = "2014/May/25"
-  date = "1874"
-  source   = "Pavel Lamm"
-
-  mutopiatitle   = "Pictures at an Exhibition"
-  mutopiacomposer= "MussorgskyM"
-  mutopiainstrument  = "Piano"
-  maintainer = "Knute Snortum"
-  maintainerEmail= "knute (at) snortum (dot) net"
-  maintainerWeb  = "http://www.musicwithknute.com/";
+%showLastLength = R2*90
+\bookpart {
+  \header {
+title= "La cabane sur des pattes de poule (Baba-Jaga)"
+composer = "Modest Moussorgsky (1839 - 1881)"
+style= "Romantic"
+license  = "Creative Commons Attribution-ShareAlike 4.0"
+enteredby= "Knute Snortum"
+lastupdated  = "2014/May/25"
+date = "1874"
+source   = "Pavel Lamm"
 
- footer = "Mutopia-2014/06/29-475"
- copyright =  \markup { \override #'(baseline-skip . 0 ) \right-column { \sans \bold \with-url #"http://www.MutopiaProject.org"; { \abs-fontsize #9  "Mutopia " \concat { \abs-fontsize #12 \with-color #white \char ##x01C0 \abs-fontsize #9 "Project " } } } \override #'(baseline-skip . 0 ) \center-column { \abs-fontsize #12 \with-color #grey \bold { \char ##x01C0 \char ##x01C0 } } \override #'(baseline-skip . 0 ) \column { \abs-fontsize #8 \sans \concat { " Typeset using " \with-url #"http://www.lilypond.org"; "LilyPond " \char ##x00A9 " " 2014 " by " \maintainer " " \char ##x2014 " " \footer } \concat { \concat { \abs-fontsize #8 \sans{ " " \with-url #"http://creativecommons.org/licenses/by-sa/4.0/"; "Creative Commons Attribution ShareAlike 4.0 International License " \char ##x2014 " free to distribute, modify, and perform" } } \abs-fontsize #13 \with-color #white \char ##x01C0 } } }
- tagline = ##f
-}
+mutopiatitle   = "Pictures at an Exhibition"
+mutopiacomposer= "MussorgskyM"
+mutopiainstrument  = "Piano"
+maintainer = "Knute Snortum"
+maintainerEmail= "knute (at) snortum (dot) net"
+maintainerWeb  = "http://www.musicwithknute.com/";
 
-%showLastLength = R2*90
-\score {
-  \new PianoStaff <<
-\new Staff = "up" {
-  \override DynamicTextSpanner #'dash-period = #-1.0 
-  \clef treble
-  \globalAllegroBrio
-  \upperAllegroBrio
-  \globalAndante
-  \upperAndante
-  \globalAllegroMolto
-  \upperAllegroMolto
+footer = "Mutopia-2014/06/29-475"
+copyright =  \markup { \override #'(baseline-skip . 0 ) \right-column { \sans \bold \with-url #"http://www.MutopiaProject.org"; { \abs-fontsize #9  "Mutopia " \concat { \abs-fontsize #

[Mutopia-discuss] Changing several files all the same way

2014-06-30 Thread Knute Snortum
I have finished transcribing the individual movements of Pictures in an
Exhibition.  Now i want to create the file that will contain all of them in
order.  I'm doing this with one file like this:

%%%
\header {
  ...
}

\include "movement-1.ly"
\include "movement-2.ly"
...
%%

...with the movement files like this:


upper = { ... }
lower = { ... }

\bookpart {
  \header {
...
  }
  \score {
...
\upper
...
\lower
  }
}
%%%

I have to add the \bookpart {} to all the movement files.  I feel that this
should be all one branch, but should it be separate branches?

Knute Snortum
(via Gmail)
___
Mutopia-discuss mailing list
Mutopia-discuss@mutopiaproject.org
http://lists.bcn.mythic-beasts.com/mailman/listinfo/mutopia-discuss