parenthesize compound time sig

2012-08-28 Thread David Bobroff
I thought I had the solution already in a file but I can't find it.   I
have a compound time signature defined and I would like to enclose the
whole thing in ().   I found the snippet for enclosing a standard time
signature but I couldn't work out how to adapt it.


#(define ((compound-time one two three four) grob)
   (grob-interpret-markup grob
  (markup #:override '(baseline-skip . 0) #:number
  (#:line ((#:column (one two))
   #:vcenter 
   (#:column (three four)))

\score{
\override Staff.TimeSignature  #'stencil = #(compound-time 9 8
3 4)
}

Help?

-David

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


Re: parenthesize compound time sig

2012-08-28 Thread Thomas Morley
2012/8/28 David Bobroff bobr...@centrum.is:
 I thought I had the solution already in a file but I can't find it.   I
 have a compound time signature defined and I would like to enclose the
 whole thing in ().   I found the snippet for enclosing a standard time
 signature but I couldn't work out how to adapt it.


 #(define ((compound-time one two three four) grob)
(grob-interpret-markup grob
   (markup #:override '(baseline-skip . 0) #:number
   (#:line ((#:column (one two))
#:vcenter 
(#:column (three four)))

 \score{
 \override Staff.TimeSignature  #'stencil = #(compound-time 9 8
 3 4)
 }

 Help?

 -David

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

Hi David,

is it this what you want?

#(define ((compound-time one two three four) grob)
   (grob-interpret-markup grob
  (markup #:override '(baseline-skip . 0)
  #:parenthesize
  #:number
  (#:line ((#:column (one two))
   #:vcenter 
   (#:column (three four)))

\relative c'' {
\override Staff.TimeSignature  #'stencil = #(compound-time 9 8 3 4)
c2.
}

Regards,
  Harm

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


Re: header font size

2012-08-28 Thread Phil Holmes
- Original Message - 
From: pabuhr pab...@fastmail.fm

To: lilypond-user@gnu.org
Sent: Tuesday, August 28, 2012 6:13 AM
Subject: header font size


As I crank up the global-staff-size, the heading text gets LARGE. I'd like 
to

uniformly reduce the size of the heading text like this:

\override Score.HeaderText #'font-size = #-1

but HeaderText is not the magic word. Is there a magic word? I did look 
and

could not find it.


I set the font size explicitly:

subtitle = \markup {\fontsize #5 No. 12.  Quintet  Finale}


--
Phil Holmes 



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


wrong placement of timesignature (since 2.16)

2012-08-28 Thread Gagi Petrovic
Dear ponder, first of all: thank you for the newest version!

I noticed though, that since 2.16, the placement of TimeSignature is off in
custom line-positions. I added an example to clarify this. Is this is bug
or due to some new underlying mechanic?

Thank you!
Kind regards, Gagi

\version 2.16.0

\relative c''{
\numericTimeSignature

  c2 d \time 3/4 e2. \time 4/4
\stopStaff
   \override Staff.StaffSymbol #'ledger-positions = #'(0)
   \override Staff.StaffSymbol #'line-positions = #'(-4 4)
\startStaff

  c2\rest c\rest R1 \time 3/4 c2.   c8 b a g  f g
}
attachment: timesig_new.png___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: lilypondfile

2012-08-28 Thread Reinhold Kainhofer

On 2012-08-28 07:09, pabuhr wrote:

 Is there a way to generate an eps file directly as for a ps file? I need 
the
 bounding box to include the exact output into latex (I'm not using 
pdflatex).
 I tried manually converting the ps to eps: ps2pdf generates a file that is
 unusable (go figure), and convert generates a low quality image (maybe 
one of
 the many parameters can fix this). Using command-line option 
backend=eps does
 generate a eps file but it's not the same as the original because it is 
for
 lilypond-book

I see no reason why there should be a difference.

There is a small shift left and up that is different from lilypondfile, which
is what I was previously using. I can compensate in latex.

lilypond -dbackend=eps -daux-files=#f file.ly

should be what you are after...

Perfect, except it still generates a PDF file, which I don't need and I could
not find an command-line option to prevent the PDF from being created.
But that's what a Makefile is for: I just delete the PDF.


Lilypond also has a --ps option So what you want is:

 lilypond -dbackend=eps -daux-files=#f --ps file.ly

Cheers,
Reinhold Kainhofer
--
--
Reinhold Kainhofer, reinh...@kainhofer.com, http://www.kainhofer.com
 * Financial  Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com

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


Re: wrong placement of timesignature (since 2.16)

2012-08-28 Thread Phil Holmes
- Original Message - 
From: Gagi Petrovic

To: lilypond-user@gnu.org
Sent: Tuesday, August 28, 2012 9:58 AM
Subject: wrong placement of timesignature (since 2.16)


Dear ponder, first of all: thank you for the newest version!


I noticed though, that since 2.16, the placement of TimeSignature is off in 
custom line-positions. I added an example to clarify this. Is this is bug or 
due to some new underlying mechanic?



Thank you!
Kind regards, Gagi


\version 2.16.0


\relative c''{
\numericTimeSignature


 c2 d \time 3/4 e2. \time 4/4
\stopStaff
  \override Staff.StaffSymbol #'ledger-positions = #'(0)
  \override Staff.StaffSymbol #'line-positions = #'(-4 4)
\startStaff


 c2\rest c\rest R1 \time 3/4 c2.   c8 b a g  f g
}

=

Looks like a bug and critical regression.  Bug squad, please enter this in 
the tracker.



--
Phil Holmes




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


Re: wrong placement of timesignature (since 2.16)

2012-08-28 Thread Colin Hall
On Tue, Aug 28, 2012 at 11:03:08AM +0100, Phil Holmes wrote:
 - Original Message - From: Gagi Petrovic
 To: lilypond-user@gnu.org
 Sent: Tuesday, August 28, 2012 9:58 AM
 Subject: wrong placement of timesignature (since 2.16)
 
 
 Dear ponder, first of all: thank you for the newest version!
 
 
 I noticed though, that since 2.16, the placement of TimeSignature is
 off in custom line-positions. I added an example to clarify this. Is
 this is bug or due to some new underlying mechanic?
 
 
 Thank you!
 Kind regards, Gagi

Thanks for the bug report, Gagi.

 =
 
 Looks like a bug and critical regression.  Bug squad, please enter
 this in the tracker.

Thanks, Phil. Added to the tracker:

http://code.google.com/p/lilypond/issues/detail?id=2783

Cheers,
Colin.

-- 

Colin Hall

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


problem with midi

2012-08-28 Thread fabio gabbianelli
hi everybody i don't understand how to fix the error : (De)crescendo with 
unspecified starting volume in MIDI 

someone can help me?

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


Re: problem with midi

2012-08-28 Thread Federico Bruni

Il 28/08/2012 16:15, fabio gabbianelli ha scritto:

hi everybody i don't understand how to fix the error : (De)crescendo with 
unspecified starting volume in MIDI 

someone can help me?


Not me, I never use (de)crescendo.
I can just say, as a translator, that this message has been added recently.

Try reading here:
http://lilypond.org/doc/v2.16/Documentation/notation/controlling-midi-dynamics

If you have problems, please write a minimal example.
--
Federico

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


Re: problem with midi

2012-08-28 Thread Federico Bruni
Please reply to the list (or to all recipients): you'll probably have a 
good answer from someone else (than me) in this mailing list.


Your example is messed up and can't compile. Save it in a .ly file and 
attach it to the email.


Anyway, I think you are using the wrong command.
Dynamic is a kind of markup style:
http://lilypond.org/doc/v2.16/Documentation/notation/font#index-_005cdynamic-3

The dynamic commands are explained here:
http://lilypond.org/doc/v2.16/Documentation/notation/expressive-marks-attached-to-notes#dynamics

Save this link in your bookmarks:
http://lilypond.org/doc/v2.16/Documentation/notation/lilypond-index

and use it to search key terms

Il 28/08/2012 16:39, fabio gabbianelli ha scritto:

i try reading there yet but nothing. the error report is this:
(De)crescendo with unspecified starting volume in MIDI.
{\dynamic p \italic armonioso}}(g cis e a4.
 \\arpeggio

i used \dynamic p, not (de)crescendo

Il giorno 28/ago/2012, alle ore 16.37, Federico Bruni ha scritto:


Il 28/08/2012 16:15, fabio gabbianelli ha scritto:

hi everybody i don't understand how to fix the error : (De)crescendo with 
unspecified starting volume in MIDI 

someone can help me?


Not me, I never use (de)crescendo.
I can just say, as a translator, that this message has been added recently.

Try reading here:
http://lilypond.org/doc/v2.16/Documentation/notation/controlling-midi-dynamics

If you have problems, please write a minimal example.
--
Federico

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






--
Federico

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


dynamic in midi

2012-08-28 Thread fabio gabbianelli
i have this problem 
(De)crescendo with unspecified starting volume in MIDI.
  r1 s8 r1 s8 r1 s8 r1 s8 g4.
 \_\markup {\line 
i think it's refer to  \  how i can specified the starting volume in midi? i 
try to find in the documentation but i don't.!

sorry i'm a beginner

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


Re: dynamic in midi

2012-08-28 Thread Phil Holmes
- Original Message - 
From: fabio gabbianelli fabiogabbiane...@hotmail.it

To: lilypond Aiuto lilypond-user@gnu.org
Sent: Tuesday, August 28, 2012 4:03 PM
Subject: dynamic in midi



i have this problem
(De)crescendo with unspecified starting volume in MIDI.
 r1 s8 r1 s8 r1 s8 r1 s8 g4.
\_\markup {\line
i think it's refer to  \  how i can specified the starting volume in 
midi? i try to find in the documentation but i don't.!


sorry i'm a beginner

thanx
fabio


With music dynamic markings, like \p \ff \mf or whatever.

--
Phil Holmes 



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


Re: lilypondfile

2012-08-28 Thread pabuhr
Perfect, except it still generates a PDF file, which I don't need and I 
could
not find an command-line option to prevent the PDF from being created.
But that's what a Makefile is for: I just delete the PDF.

   Lilypond also has a --ps option So what you want is:

 lilypond -dbackend=eps -daux-files=#f --ps file.ly

8-) It works, but totally counter-intuitive. I do use --ps all the time, and
the usage manual is clear on this option:

  --ps Generate PostScript.

so it never would have occurred to me that --ps means NOT --ps if the backend
option is eps. Now the usage manual does state:

  The prefix no- may be added to option-name to switch 'off' an option, e.g.

 -dpoint-and-click=#f

  is the same as

 -dno-point-and-click

so I tried -dno-ps but that generates:

warning: no such internal option: no-ps

Just to show I am doing due diligence, the usage manual also says:

--png Generate pictures of each page, in PNG format. This implies '--ps'.

--pdf Generate PDF. This implies '--ps'.

but in both cases, no ps file exists after the command. Yes, the output of
the command indicates:

   Layout output to `file.ps'...

but creation of this temporary file is an internal issue since it is
subsequently removed, and therefore, irrelevant to the meaning of the
command-line option.

Finally, what does the -o option do?

   -o,--output=FILE or FOLDER

   Set the default output file to FILE or, if a folder with that name exists,
   direct the output to FOLDER, taking the file name from the input file. The
   appropriate suffix will be added (e.g. .pdf for pdf) in both cases.

For this command

$ lilypond mary.ly -o fred

my expectation is that the PDF output is placed in file fred.pdf rather than
mary.pdf, but here is what occurs:

GNU LilyPond 2.16.0
Processing `mary.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `mary.ps'...
Converting to `./mary.pdf'...
warning: cannot find file: `-o'
warning: cannot find file: `fred'
fatal error: failed files: fred -o

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


Re: lilypondfile

2012-08-28 Thread Phil Holmes
- Original Message - 
From: pabuhr pab...@fastmail.fm

To: Reinhold Kainhofer reinh...@fam.tuwien.ac.at
Cc: lilypond-user@gnu.org
Sent: Tuesday, August 28, 2012 4:59 PM
Subject: Re: lilypondfile



Finally, what does the -o option do?

  -o,--output=FILE or FOLDER

  Set the default output file to FILE or, if a folder with that name 
exists,
  direct the output to FOLDER, taking the file name from the input file. 
The

  appropriate suffix will be added (e.g. .pdf for pdf) in both cases.

For this command

$ lilypond mary.ly -o fred

my expectation is that the PDF output is placed in file fred.pdf rather 
than

mary.pdf, but here is what occurs:

GNU LilyPond 2.16.0
Processing `mary.ly'
Parsing...
Interpreting music...[8]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `mary.ps'...
Converting to `./mary.pdf'...
warning: cannot find file: `-o'
warning: cannot find file: `fred'
fatal error: failed files: fred -o



I've not tried this to confirm it's correct, but my expectation is that the 
syntax is


lilypond options filename

So you should write

lilypond -o fred mary.ly

--
Phil Holmes 



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


Re: lilypondfile

2012-08-28 Thread pabuhr
   I've not tried this to confirm it's correct, but my expectation is that the 
   syntax is

   lilypond options filename

   So you should write

   lilypond -o fred mary.ly

Works! I'm just an old C programmer and always put the '-o' at the end of the
command. 8-(

Thanks.



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


decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Federico Bruni

Il 28/08/2012 17:03, fabio gabbianelli ha scritto:

i have this problem
(De)crescendo with unspecified starting volume in MIDI.
   r1 s8 r1 s8 r1 s8 r1 s8 g4.
  \_\markup {\line
i think it's refer to  \   how i can specified the starting volume in midi? 
i try to find in the documentation but i don't.!


Ok, I can reproduce the error (see attached minimal example).

In the doc it's explained only how to set minimum and maximum Midi volume:
http://lilypond.org/doc/v2.16/Documentation/notation/controlling-midi-dynamics

I have no clue about how to set the starting volume of a decrescendo.
\version 2.16.0

music =  \relative c' {
  c2\ c\!
}

\score {
  \new Staff \music
  \layout{}
  \midi{
%{\context {
  \Score
  midiMinimumVolume = #0.2
  midiMaximumVolume = #0.5
%}
  }
}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: header font size

2012-08-28 Thread pabuhr
As I crank up the global-staff-size, the heading text gets LARGE. I'd like
to uniformly reduce the size of the heading text like this:
   
\override Score.HeaderText #'font-size = #-1

   I set the font size explicitly:

   subtitle = \markup {\fontsize #5 No. 12.  Quintet  Finale}

But I have multiple fields in the header: title, composer, arranger, etc., and
I did not want to put a markup around each field. Rather I wanted a global
reduction that maintains the existing font ratios that already exists in the
header, like title is larger than subtitle, etc. I.e., just scale all the
existing header fonts up/down by a constant (log?) factor.

Global-staff-size is clearly doing this uniform scaling of header fonts already
because, as I crank up the staff size, all the header fonts are adjusted
uniformly. So it feels like the mechanism to accomplish this should already be
in place and there just needs to be a handle to rescale the header fonts after
the staff-size scaling or some such.

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


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Marc Hohl

Am 28.08.2012 18:47, schrieb Federico Bruni:

Il 28/08/2012 17:03, fabio gabbianelli ha scritto:

i have this problem
(De)crescendo with unspecified starting volume in MIDI.
   r1 s8 r1 s8 r1 s8 r1 s8 g4.
  \_\markup {\line
i think it's refer to  \   how i can specified the starting volume 
in midi? i try to find in the documentation but i don't.!


Ok, I can reproduce the error (see attached minimal example).

In the doc it's explained only how to set minimum and maximum Midi 
volume:
http://lilypond.org/doc/v2.16/Documentation/notation/controlling-midi-dynamics 



I have no clue about how to set the starting volume of a decrescendo.

In this respact, Lilypond is as clever as any musician - if there is no
dynamic sign, from which loudness should one start the decrescendo?

As Phil pointed out already, inserting a \p or \mf or any other dynamic sign
should do the trick:

c\mf c\ c c c\!

Regards,

Marc


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


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Federico Bruni

Il 28/08/2012 19:42, Marc Hohl ha scritto:

In this respact, Lilypond is as clever as any musician - if there is no
dynamic sign, from which loudness should one start the decrescendo?



ok


As Phil pointed out already, inserting a \p or \mf or any other dynamic
sign
should do the trick:

c\mf c\ c c c\!


I can't make it work using my previous minimal example.
Also, I can't compile a snippet in NR 1.3.1 (attached)

--
Federico
\version 2.16.0

\paper {
  indent = 0\mm
  line-width = 160\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.00) (* mm 1))
  line-width = 160\mm - 2.0 * 10.16\mm
  % offset the left padding, also add 1mm as lilypond creates cropped
  % images with a little space on the right
  line-width = #(- line-width (* mm  3.00) (* mm 1))
}

\layout {
  
}



\relative c''
{


% 
% ly snippet contents follows:
% 
c2\ c\!
d2\ d\f
e2\ e\
f2\ f\!
e2\ e\mp
d2\ d\
c1\!



% 
% end ly snippet
% 
}
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Federico Bruni

Il 28/08/2012 20:06, Federico Bruni ha scritto:

I can't make it work using my previous minimal example.
Also, I can't compile a snippet in NR 1.3.1 (attached)


nevermind, it's a bug in recent master:

GNU LilyPond 2.16.0
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3: 
In expression (quasiquote (# # # ...)):
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3: 
Unbound variable: ly:grob::vertical-skylines-from-element-stencils


Maybe Mike is interested in it...

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


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Federico Bruni

Il 28/08/2012 20:09, Federico Bruni ha scritto:

Il 28/08/2012 20:06, Federico Bruni ha scritto:

I can't make it work using my previous minimal example.
Also, I can't compile a snippet in NR 1.3.1 (attached)


nevermind, it's a bug in recent master:

GNU LilyPond 2.16.0
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3:
In expression (quasiquote (# # # ...)):
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3:
Unbound variable: ly:grob::vertical-skylines-from-element-stencils

Maybe Mike is interested in it...


Ooops, sorry again: no bug, just me making a mess with versions and builds.
It compiles ok in 2.17.1


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


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Marc Hohl

Am 28.08.2012 20:23, schrieb Federico Bruni:

Il 28/08/2012 20:09, Federico Bruni ha scritto:

Il 28/08/2012 20:06, Federico Bruni ha scritto:

I can't make it work using my previous minimal example.
Also, I can't compile a snippet in NR 1.3.1 (attached)


nevermind, it's a bug in recent master:

GNU LilyPond 2.16.0
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3: 


In expression (quasiquote (# # # ...)):
/home/fede/lilypond-git/out/share/lilypond/current/scm/define-grobs.scm:28:3: 


Unbound variable: ly:grob::vertical-skylines-from-element-stencils

Maybe Mike is interested in it...


Ooops, sorry again: no bug, just me making a mess with versions and 
builds.

It compiles ok in 2.17.1

Ah, ok, I was about to writing that I can compile the snippet without
problems on my machine and 2.17.1.

Marc



___
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: Programming errors if closing beaming brace omitted

2012-08-28 Thread Marc Hohl

Am 22.08.2012 00:59, schrieb Nick Payne:
Not sure if this indicates an error in Lilypond, but if I forget the 
terminating brace when using manual beaming, then the log contains 
several programming error lines and the output contains noteheads 
without stems. Here I've commented out the closing brace:


\version 2.15.43

\relative c'' {
a8[ \grace { g16[ a] } g8 g c%]
}


I don't know whether this is still important, but from my
rather limited knowledge of lilypond's internals, the beam has to be
completed before the stems could be drawn (because the length of
the stems depends on the position of the beam), so when there is no
beam due to the missing ], there can be no stems ...

Regards,

Marc


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


Re: Roman page numbers.

2012-08-28 Thread David Nalesnik
Hi,

 Greetings David,
   I have only now had a chance to try your code: This is wonderful.
 Thank you very much.
 Hwaen Ch'uqi

I'm glad you find it useful!

I've looked at this some more, and I've figured out how to get the
Roman numerals into the table-of-contents.  (It involves adapting the
command \page-ref.)

In the attached file, I've tried to make a sort of template consisting of

Title Page (no page number)
Table-of-contents (lowercase Roman numeral centered at the bottom of the page)
Other prefatory material (as above)
The Music (Arabic numerals):
  first score (no page number on first page)
  all other pages numbered on top, to sides

I've offset the first page of the score to begin on 1.

The variable you need to change is `begin-arabic' at the top of the
document (which is the absolute page-number on which Arabic numerals
start--that is, discounting the offset I do to get the score to start
with 1)

In this version, the function `roman-numeral-page-number' no longer
takes an argument.  The switch back to Arabic numerals results from
not including the function in the following bookpart.

I'm not sure of the best way to get the instrument name to appear in
the scores after the first one.

Anyway, this strikes me as a bit convoluted, and if anybody has any
suggestions to make this smoother, please don't hesitate.

HTH,
David


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


Re: lilypondfile (fwd)

2012-08-28 Thread Martin Tarenskeen



-- Forwarded message --
Date: Tue, 28 Aug 2012 08:26:07 +0200 (CEST)
From: Martin Tarenskeen m.tarensk...@zonnet.nl
To: pabuhr pab...@fastmail.fm
Subject: Re: lilypondfile



On Mon, 27 Aug 2012, pabuhr wrote:


  lilypond -dbackend=eps -daux-files=#f file.ly

  should be what you are after...

Perfect, except it still generates a PDF file, which I don't need and I could
not find an command-line option to prevent the PDF from being created.
But that's what a Makefile is for: I just delete the PDF.


Have you tried

lilypond -dbackend=eps -daux-files=#f --ps file.ly

--

MT


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


Re: how to update the makerhythm-snippet

2012-08-28 Thread Gilles




I think only an LSR editor (like me) can do this.  You want me to go  
ahead and delete it?




Yes, please.

Gilles

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


LC_PAPER and default paper size

2012-08-28 Thread Pavel Roskin
Hello!

I have noticed that Lilypond 2.16.0 uses A4 paper size even if the
locale is set to en_US.utf8.  I can force the letter output by using

-dpaper-size=\letter\

but that seems inelegant.  Is there any way to make Lilypond default to
letter pages without adding anything to the command line?

I used strace and didn't see Lilypond open any file in the home
directory, such as ~/.lilypondrc or something.

Should not Lilypond respect the LC_PAPER setting from the locale?

-- 
Regards,
Pavel Roskin

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


updating tremolo snippet for 2.16

2012-08-28 Thread Shevek
First off, thanks to all the people who worked on 2.16! I'm super excited
about it, and I'm already noticing drastically reduced compile times for my
large projects, compared to 2.14.

I'm looking at updating my snippet library, and the first issue I've run
into is that http://lsr.dsi.unimi.it/LSR/Snippet?id=604 stopped working in
2.16. It's pretty simple to fix using event-chord-wrap!, but I was wondering
what a real solution should look like. I'm assuming similar situations will
crop up with other snippets, so I suppose this is just an instance of a more
general question. I'm hoping that maybe updating some snippets will be a
good way for me to learn more Scheme.



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/updating-tremolo-snippet-for-2-16-tp131548.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


convert-ly anomaly

2012-08-28 Thread David Bobroff
I just upgraded to 2.16 (not sure that's actually relevant).  I went to
work on some files that I hadn't touched since v2.5.x.  Before doing
anything else I decided to run convert-ly on them.  When I work in
Windows I prefer to do my LilyPond stuff in cygwin.  When I tried to run
convert-ly the response was that there was no such known command. 
Eventually I opened a Windows command line box and convert-ly ran just
fine there.  What's that all about?

-David

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


Re: LC_PAPER and default paper size

2012-08-28 Thread David Kastrup
Pavel Roskin pro...@gnu.org writes:

 Hello!

 I have noticed that Lilypond 2.16.0 uses A4 paper size even if the
 locale is set to en_US.utf8.  I can force the letter output by using

 -dpaper-size=\letter\

 but that seems inelegant.  Is there any way to make Lilypond default to
 letter pages without adding anything to the command line?

 I used strace and didn't see Lilypond open any file in the home
 directory, such as ~/.lilypondrc or something.

 Should not Lilypond respect the LC_PAPER setting from the locale?

I don't think that LilyPond should produce different output on different
systems for whatever reason.

-- 
David Kastrup


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


Re: convert-ly anomaly

2012-08-28 Thread David Kastrup
David Bobroff bobr...@centrum.is writes:

 I just upgraded to 2.16 (not sure that's actually relevant).  I went to
 work on some files that I hadn't touched since v2.5.x.  Before doing
 anything else I decided to run convert-ly on them.  When I work in
 Windows I prefer to do my LilyPond stuff in cygwin.  When I tried to run
 convert-ly the response was that there was no such known command. 
 Eventually I opened a Windows command line box and convert-ly ran just
 fine there.  What's that all about?

Probably how PATH is set up in your cygwin system is not the same as
under Windows proper.

-- 
David Kastrup


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


Attaca markup

2012-08-28 Thread Daniel E. Moctezuma
Hello,

Perhaps these are more music theory questions than a LilyPond related.
I was wondering which would be the correct way to place an attaca markup
text?
For example one could put:
  c1_attaca \bar |.

That would force to have markup to a specific note (or chord). Is there any
equivalent as \new Dynamic indication to specify text like attaca?

Also, after an attaca indication should the bar numbers reset or continue
counting?

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


Re: Attaca markup

2012-08-28 Thread David Nalesnik
Hi Daniel,

On Tue, Aug 28, 2012 at 7:50 PM, Daniel E. Moctezuma
democtez...@gmail.com wrote:
 Hello,

 Perhaps these are more music theory questions than a LilyPond related.
 I was wondering which would be the correct way to place an attaca markup
 text?
 For example one could put:
   c1_attaca \bar |.

 That would force to have markup to a specific note (or chord). Is there any
 equivalent as \new Dynamic indication to specify text like attaca?

You could use a RehearsalMark and try the following snippet:
http://lsr.dsi.unimi.it/LSR/Snippet?id=432

Also, it's attacca.


 Also, after an attaca indication should the bar numbers reset or continue
 counting?


I've only ever seen this between movements, so the bar numbers should
definitely reset.

HTH,
David

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


Re:decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread James Harkins
  As Phil pointed out already, inserting a \p or \mf or any other dynamic
  sign
  should do the trick:
 
  c\mf c\ c c c\!

That takes care of the starting dynamic, but if we assume that a
decrescendo in MIDI should be a linear decrease in velocity values, it's
impossible to calculate without both the starting and ending dynamic.

Or has the logic been improved so that ending a decrescendo with \! now
guesses an ending dynamic that is somewhat softer by some invisibly
determined amount?

Just curious. I haven't used MIDI dynamics much, but I did notice warnings
about unknown ending dynamics when I had enabled MIDI output.

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


Re: decrescendo and unspecified starting volume [WAS: dynamic in midi]

2012-08-28 Thread Keith OHara
James Harkins jamshark70 at gmail.com writes:

 it's impossible to calculate without both the starting and ending dynamic.
 
 Or has the logic been improved so that ending a decrescendo with \! now
 guesses an ending dynamic that is somewhat softer by some invisibly 
 determined amount?


Heikki posted some improvements here
 http://lists.gnu.org/archive/html/lilypond-devel/2012-07/msg00441.html
which were included in version 2.16

So LilyPond does guess sometimes.  His patch gives warnings when he thought
it might be surprising LilyPond made a guess, but maybe the confusion
caused by the warning is more trouble than the help.

Fabio,  
LilyPond starts your decrescendo in the middle of the dynamic range.
The warning is only to tell you that LilyPond made a guess about the 
starting dynamic.  If you are happy with the results, you need do nothing
about the warning.  


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


Re: Attaca markup

2012-08-28 Thread Jay Anderson
On Tue, Aug 28, 2012 at 5:50 PM, Daniel E. Moctezuma
democtez...@gmail.com wrote:
 Perhaps these are more music theory questions than a LilyPond related.
 I was wondering which would be the correct way to place an attaca markup
 text?
 For example one could put:
   c1_attaca \bar |.

Gould says to put it at the end below the staff. Hers are lowercase,
italic and not bold.

 That would force to have markup to a specific note (or chord). Is there any
 equivalent as \new Dynamic indication to specify text like attaca?

This is how I've defined it in the past:

attacca =
{
  \once \override Score.RehearsalMark #'break-visibility =
#begin-of-line-invisible
  \once \override Score.RehearsalMark #'direction = #DOWN
  \once \override Score.RehearsalMark #'font-size = 1
  \once \override Score.RehearsalMark #'self-alignment-X = #right
  \mark \markup{\bold Attacca}
}

 Also, after an attaca indication should the bar numbers reset or continue
 counting?

I think that depends if the attacca is between movements or not.Bar
numbering usually restarts for a new movement.

-Jay

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


Re: Attaca markup

2012-08-28 Thread Daniel E. Moctezuma
Thanks a lot David and Jay!

That was exactly what I was looking for. Also, it seems quite convenient to
use RehearsalMark to use attacca indications.

Thanks.

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


cross-hands, cross-staves

2012-08-28 Thread Curt
Hi, a question and a meta-question. The meta-question is, is there a more appropriate list to ask for suggestions on the best way to notate something? I occasionally have questions just about the clearest notation choice.The actual question is wondering if anyone thinks there is a better/clearer way to notate the following figure. Hands alternating, with melody in the pinky. The pattern continues throughout the piece (with different notes). Right hand stays in the same general location, right hand wanders down an octave or so at times.Thank you,Curt\version "2.16.0"\include "english.ly"global = {	\key a \major	\time 4/4}aovere = {	\change Staff="rh"	a cs16	\change Staff = "lh"	e b'16}\new PianoStaff 	\new Staff = rh 		\global		\new Voice = "melody" \relative c' {			\voiceOne			r4			e( fs gs			fs2. e4			e1)}		\new Voice = "shimmer" \relative c' {			\voiceTwo			a cs16\p			\change Staff = "lh"			e b'16			\repeat unfold 7 \aovere			\repeat unfold 16 \aovere	}		\new Staff = lh \relative c' {		\global		\clef bass		s1*3	}___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user