Score Layout, several questions

2015-04-06 Thread N. Andrew Walsh
Good morning,

I've been tasked with preparing the score of what will be a critical
edition of some liturgical works of a lesser-known 18th-century composer.
Because of the nature of the source (the composer was writing at a
monastery), the originals are engraved using single-press typesetting (ie,
each note is its own block, so staff-lines and whatnot aren't continuous),
so it's an interesting exercise in historical scores. However, I have some
questions about some aspects of using Lily to do this. Namely:

1) I'd really like to use the ScholarLY tools to add annotations to the
score, and I've managed to include it in my .ly file with the following:

--

\version 2.19.18


#(set-global-staff-size 13)


%%Include OpenLilyLib and init ScholarLY

\include openlilylib


\useLibrary Scholarly


\useModule scholarly.annotate


\paper {


 #(define fonts

(set-global-fonts

#:music emmentaler

#:brace emmentaler

#:roman Linux Libertine G

#:sans Linux Biolinum G

#:typewriter DejaVu Sans Mono

#:factor (/ staff-height pt 20 )))

---
(NB: I have the global-staff-size set way up at the top because of the
staff-height within the \paper block, which has to come after
set-global-staff-size, right?)
However, compiling throws an error at the \paper {  line, and then a
bunch more, like this from the log:
---
openLilyLib: library infrastructure successfully loaded.

/home/[$HOME]/.lilypond/openlilylib/ly/scholarly/annotate/__main__.ily:46:1:
error: syntax error, unexpected SCM_TOKEN, expecting '{'

#(define annotations '())

/home/[$HOME]/.lilypond/openlilylib/ly/scholarly/annotate/__main__.ily:51:1:
warning: openLilyLib: Module already loaded. Skipping
utility.rhythmic-location

\useModule utility.rhythmic-location
/home/[$DOCS]/transkription kayser/messen/messe 1/transkription kayser 1.
messe c-dur.ly:22:3: error: unrecognized string, not in text script or
\lyricmode
  indent = 1.5\cm
[SNIP]
/home/[$DOCS]/transkription kayser/messen/messe 1/transkription kayser 1.
messe c-dur.ly:12:8: error: errors found, ignoring music expression
\paper
   {

/home/[$DOCS]/transkription kayser/messen/messe 1/transkription kayser 1.
messe c-dur - kyrie.ly:13:8: error: wrong type for argument 1. Expecting
pitch, found c
\key
   c \major

--

Am I formatting something wrong in my file? Does incorporating openlilylib
introduce new ways of specifying the \paper block? Also, is there a way to
use scholarLY without producing a pdf in color? The end product has to be
b/w, for reasons that should become clear below.


2) Also, for this project, I have from the publisher an exemplar of their
typesetting standards. One of the things I notice is that they have an
almost pathological avoidance of beams crossing staff lines at an angle. To
avoid this, most measures with beams move them outside of the staff
entirely, and make the beam angle itself (if there is any) considerably
shallower. Is there a general setting I can set to achieve something
similar? I can't really convince the publisher to change their æsthetics,
and I only see options for setting stem length absolutely.


3) Lastly, is there a general way to increase space between systems on a
page? I only have room for two to a page, but there looks like about .5cm
free along the bottom margin. I'd prefer to spread the systems out from one
another a bit more; how can I do this?


Thanks for the help. I just started working with Lily last Friday, she
seems nice.


Cheers,


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


Re: Score Layout, several questions

2015-04-06 Thread N. Andrew Walsh
oh, heavens! I'm sorry, I didn't mean I was trying to reproduce them (and
yes, that's what I meant about the score: it looks like that, though with
oval noteheads. Just figuring out what printing technology they were using
would be interesting to me. I wonder if they were deliberately using older
types because of the liturgical nature of the material). I just meant it's
interesting work transcribing it into modern notation. No, I do intend for
the score to be a fully modern edition.

Anyway, no, I didn't mean to imply I actually wanted to reproduce that
notation. Just that it's fun (?) to read.

Thanks for the tips on Beam.damping. I'll fiddle around with it.

Cheers,

A

On Mon, Apr 6, 2015 at 3:22 PM, Phil Holmes m...@philholmes.net wrote:

  Perhaps something like the attached image?  FWIW when I set these, under
 _no circumstances_ do I try to replicate the non-continuous staff lines.

 --
 Phil Holmes



 - Original Message -
 *From:* Andrew Bernard andrew.bern...@gmail.com
 *To:* N. Andrew Walsh n.andrew.wa...@gmail.com
 *Cc:* lilypond-user@gnu.org
 *Sent:* Monday, April 06, 2015 2:14 PM
 *Subject:* Re: Score Layout, several questions

 Where you refer to:

 the originals are engraved using single-press typesetting (ie, each note
 is its own block, so staff-lines and whatnot aren't continuous), so it's an
 interesting exercise in historical scores.”

 Andrew


 On 6 April 2015 at 22:44:15, N. Andrew Walsh (n.andrew.wa...@gmail.com)
 wrote:

 I'm unsure what you mean by trying to engrave the gaps in the staff lines
 between the type sorts.

  --

 ___
 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: Score Layout, several questions

2015-04-06 Thread Andrew Bernard
Where you refer to:

the originals are engraved using single-press typesetting (ie, each note is 
its own block, so staff-lines and whatnot aren't continuous), so it's an 
interesting exercise in historical scores.”

Andrew


On 6 April 2015 at 22:44:15, N. Andrew Walsh (n.andrew.wa...@gmail.com) wrote:


I'm unsure what you mean by trying to engrave the gaps in the staff lines 
between the type sorts. 

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


Re: Score Layout, several questions

2015-04-06 Thread Mark Knoop
At 14:43 on 06 Apr 2015, N. Andrew Walsh wrote:
Thanks for the snippet. Do you know of any way to set that
*generally*? At the least, a way to set the difference between the
first and last Beam.positions values to be less than some maximum?

Try experimenting with different values of Beam.damping.

Documentation/internals/beam.html

-- 
Mark Knoop

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


Re: Score Layout, several questions

2015-04-06 Thread David Nalesnik
On Mon, Apr 6, 2015 at 8:22 AM, Phil Holmes m...@philholmes.net wrote:

  Perhaps something like the attached image?  FWIW when I set these, under
 _no circumstances_ do I try to replicate the non-continuous staff lines.

 --
 Phil Holmes



 - Original Message -
 *From:* Andrew Bernard andrew.bern...@gmail.com
 *To:* N. Andrew Walsh n.andrew.wa...@gmail.com
 *Cc:* lilypond-user@gnu.org
 *Sent:* Monday, April 06, 2015 2:14 PM
 *Subject:* Re: Score Layout, several questions

 Where you refer to:

 the originals are engraved using single-press typesetting (ie, each note
 is its own block, so staff-lines and whatnot aren't continuous), so it's an
 interesting exercise in historical scores.”

 Andrew


Not that I would do it either, but see the following for a possible
approach:

http://www.mail-archive.com/lilypond-user%40gnu.org/msg99423.html

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


Re: Score Layout, several questions

2015-04-06 Thread Andrew Bernard
Re beaming positions control:

An example snippet:

\version 2.19.17

treble = \relative c'' {
  \once \override Beam.positions = #'(-3 . -3)
  c8 e g a
  \once \override Beam.positions = #'(3 . 3)
  c, g e c
}

\score {
  \new Staff { \treble }
}

You seem to have jumped in the deep end! Welcome to lilypond!

Are you serious about trying to engrave the gaps in the staff lines between the 
type sorts? Or do I misunderstand?

Andrew

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


Re: Score Layout, several questions

2015-04-06 Thread David Nalesnik
On Mon, Apr 6, 2015 at 8:38 AM, David Nalesnik david.nales...@gmail.com
wrote:



 On Mon, Apr 6, 2015 at 8:22 AM, Phil Holmes m...@philholmes.net wrote:

  Perhaps something like the attached image?  FWIW when I set these,
 under _no circumstances_ do I try to replicate the non-continuous staff
 lines.

 --
 Phil Holmes



 - Original Message -
 *From:* Andrew Bernard andrew.bern...@gmail.com
 *To:* N. Andrew Walsh n.andrew.wa...@gmail.com
 *Cc:* lilypond-user@gnu.org
 *Sent:* Monday, April 06, 2015 2:14 PM
 *Subject:* Re: Score Layout, several questions

 Where you refer to:

 the originals are engraved using single-press typesetting (ie, each note
 is its own block, so staff-lines and whatnot aren't continuous), so it's an
 interesting exercise in historical scores.”

 Andrew


 Not that I would do it either, but see the following for a possible
 approach:

 http://www.mail-archive.com/lilypond-user%40gnu.org/msg99423.html



Of course, this following simple example reveals the flaws right away!

 \version 2.19.16

\new Staff 
  \repeat unfold 8 {
\startStaff s4 \stopStaff
  }
  {
\override Staff.StaffSymbol.stencil =
#(lambda (grob)
   (let ((st (ly:staff-symbol::print grob)))
 (ly:stencil-scale st 0.95 1)))
a4 a a a
a4 a a a
  }


%%%
How to deal with symbols that happen at the same time but are separated
horizontally--for example, a clef and a time signature?

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


Re: Score Layout, several questions

2015-04-06 Thread N. Andrew Walsh
Thanks for the snippet. Do you know of any way to set that *generally*? At
the least, a way to set the difference between the first and last
Beam.positions values to be less than some maximum?

I'm unsure what you mean by trying to engrave the gaps in the staff lines
between the type sorts.

Also, I fixed the errors I was getting with the ScholarLY module (I moved
those snippets to below the score blocks, and the problem went away).

Thanks for the help.

Cheers,

A

On Mon, Apr 6, 2015 at 2:15 PM, Andrew Bernard andrew.bern...@gmail.com
wrote:

 Re beaming positions control:

 An example snippet:

 \version 2.19.17

 treble = \relative c'' {
   \once \override Beam.positions = #'(-3 . -3)
   c8 e g a
   \once \override Beam.positions = #'(3 . 3)
   c, g e c
 }

 \score {
   \new Staff { \treble }
 }

 You seem to have jumped in the deep end! Welcome to lilypond!

 Are you serious about trying to engrave the gaps in the staff lines
 between the type sorts? Or do I misunderstand?

 Andrew


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


Re: Score Layout, several questions

2015-04-06 Thread Phil Holmes
Perhaps something like the attached image?  FWIW when I set these, under _no 
circumstances_ do I try to replicate the non-continuous staff lines.

--
Phil Holmes


  - Original Message - 
  From: Andrew Bernard 
  To: N. Andrew Walsh 
  Cc: lilypond-user@gnu.org 
  Sent: Monday, April 06, 2015 2:14 PM
  Subject: Re: Score Layout, several questions


  Where you refer to:


  the originals are engraved using single-press typesetting (ie, each note is 
its own block, so staff-lines and whatnot aren't continuous), so it's an 
interesting exercise in historical scores.”


  Andrew




  On 6 April 2015 at 22:44:15, N. Andrew Walsh (n.andrew.wa...@gmail.com) wrote:



  I'm unsure what you mean by trying to engrave the gaps in the staff lines 
between the type sorts. 




--


  ___
  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: Score Layout, several questions

2015-04-06 Thread Paul Morris
N. Andrew Walsh wrote
 3) Lastly, is there a general way to increase space between systems on a
 page? I only have room for two to a page, but there looks like about .5cm
 free along the bottom margin. I'd prefer to spread the systems out from
 one
 another a bit more; how can I do this?

You want to change the system-system-spacing settings:
http://lilypond.org/doc/v2.19/Documentation/notation/flexible-vertical-spacing-paper-variables

Since you're using openlilylib, see also:
https://github.com/openlilylib/openlilylib/tree/master/notation-snippets/scale-vertical-spacing

Cheers,
-Paul



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/Score-Layout-several-questions-tp174100p174119.html
Sent from the User mailing list archive at Nabble.com.

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


Re: Score Layout, several questions

2015-04-06 Thread Simon Albrecht

Am 06.04.2015 um 15:50 schrieb N. Andrew Walsh:
oh, heavens! I'm sorry, I didn't mean I was trying to reproduce them 
(and yes, that's what I meant about the score: it looks like that, 
though with oval noteheads. Just figuring out what printing technology 
they were using would be interesting to me. I wonder if they were 
deliberately using older types because of the liturgical nature of the 
material).
No, it’s just a matter of typesetting (with moveable types) being 
cheaper than engraving (in copper plates) at the time.

~ Simon

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