Re: How to define the names of separate \book output files

2011-04-04 Thread Patrick Schmidt

Am 04.04.2011 um 15:40 schrieb Dmytro O. Redchuk:

> On Mon 04 Apr 2011, 15:22 Patrick Schmidt wrote:
>> Hi all,
>> 
>> I'm using several \book blocks in one .ly file. This results as
>> expected/desired in several output files such as foo.pdf, foo-1.pdf,
>> foo-2.pdf, etc. Is there a way to define the name of the output files in the
>> .ly file? Thus it wouldn't be necessary to rename the output files to
>> something like "complete-score.pdf", "instrument1.pdf", "instrument2.pdf",
>> etc.
>> 
>> Thanks for any hint!
> 
> NR, "3.1.4 Output file names" ?
Thanks a lot! I obviously missed this section. Sorry for that.
> 
> -- 
>  Dmytro O. Redchuk
>  Bug Squad


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


Re: How to define the names of separate \book output files

2011-04-04 Thread Dmytro O. Redchuk
On Mon 04 Apr 2011, 15:22 Patrick Schmidt wrote:
> Hi all,
> 
> I'm using several \book blocks in one .ly file. This results as
> expected/desired in several output files such as foo.pdf, foo-1.pdf,
> foo-2.pdf, etc. Is there a way to define the name of the output files in the
> .ly file? Thus it wouldn't be necessary to rename the output files to
> something like "complete-score.pdf", "instrument1.pdf", "instrument2.pdf",
> etc.
> 
> Thanks for any hint!

NR, "3.1.4 Output file names" ?

-- 
  Dmytro O. Redchuk
  Bug Squad

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


How to define the names of separate \book output files

2011-04-04 Thread Patrick Schmidt
Hi all,

I'm using several \book blocks in one .ly file. This results as 
expected/desired in several output files such as foo.pdf, foo-1.pdf, foo-2.pdf, 
etc. Is there a way to define the name of the output files in the .ly file? 
Thus it wouldn't be necessary to rename the output files to something like 
"complete-score.pdf", "instrument1.pdf", "instrument2.pdf", etc.

Thanks for any hint!
patrick
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Fwd: \book output

2010-11-21 Thread Nick Payne

On 22/11/10 03:56, Stephan Elliot Perez wrote:
Ah no, I did not.  Now it is working.  Is there a way to simple way to 
force the creation of a new page after each score?


Here's the template I use:

%=
\version "2.13.39"

\paper {
#(define (print-positive-page-number layout props arg)
(if (> (chain-assoc-get 'page:page-number props -1) 0)
(create-page-number-stencil layout props arg)
empty-stencil))

first-page-number = 0
print-first-page-number = ##f
oddHeaderMarkup = \markup \fill-line { " " }
evenHeaderMarkup = \markup \fill-line { " " }
oddFooterMarkup = \markup { \fill-line {
\on-the-fly #not-first-page \fromproperty #'header:instrument
\on-the-fly #print-positive-page-number \fromproperty 
#'page:page-number-string

" "
} }
evenFooterMarkup = \markup { \fill-line {
\on-the-fly #not-first-page \fromproperty #'header:instrument
\on-the-fly #print-positive-page-number \fromproperty 
#'page:page-number-string

} }
ragged-right = ##t
ragged-bottom = ##t
ragged-last-bottom = ##t
}

\header {
title = "Overall Title"
subtitle = \markup {
\left-align \center-column {
"Overall Subtitle"
\lower #2 " " % to space ToC away from title/subtitle
}
}
tagline = ##f
}

\markuplines \table-of-contents

\markup \null

\bookpart { \header {
subtitle = "Piece One"
composer = "Person One"
}
\tocItem \markup { 1. Piece One }
\relative c' { c1 }
}

\bookpart {
\header {
subtitle = "Piece Two"
composer = "Person Two"
}
\tocItem \markup { 1. Piece Two }
\relative c' { c1 }
}

\bookpart {\header {
subtitle = "Piece Three"
composer = "Person Three"
}
\tocItem \markup { 3. Piece Three }
\relative c' { c1 }
}
%=

Nick

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


Re: \book output

2010-11-21 Thread Patrick Schmidt

Put each score in a \bookpart{} or use \pagebreak after each score.

HTH
patrick
Am 21.11.2010 um 17:56 schrieb Stephan Elliot Perez:

Ah no, I did not.  Now it is working.  Is there a way to simple way  
to force the creation of a new page after each score?



On Sun, Nov 21, 2010 at 4:13 PM, Phil Holmes   
wrote:

Do you have multiple \layout blocks?

--
Phil Holmes


- Original Message -
From: Stephan Elliot Perez
To: lilypond-user@gnu.org
Sent: Sunday, November 21, 2010 3:03 PM
Subject: \book output

Greetings,
When I have multiple \score in a \book , I receive  
multiple .pdf files as output, as if I had processed each of them  
separately.  How can I process them into one file?


Many thanks,
Stephan



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


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


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


Fwd: \book output

2010-11-21 Thread Stephan Elliot Perez
Ah no, I did not.  Now it is working.  Is there a way to simple way to force
the creation of a new page after each score?


On Sun, Nov 21, 2010 at 4:13 PM, Phil Holmes  wrote:

>  Do you have multiple \layout blocks?
>
> --
> Phil Holmes
>
>
>
> - Original Message -
>  *From:* Stephan Elliot Perez 
> *To:* lilypond-user@gnu.org
> *Sent:* Sunday, November 21, 2010 3:03 PM
> *Subject:* \book output
>
> Greetings,
> When I have multiple \score in a \book , I receive multiple .pdf
> files as output, as if I had processed each of them separately.  How can I
> process them into one file?
>
> Many thanks,
> Stephan
>
>  --
>
> ___
> lilypond-user mailing list
> lilypond-user@gnu.org
> http://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: \book output

2010-11-21 Thread Phil Holmes
Do you have multiple \layout blocks?

--
Phil Holmes


  - Original Message - 
  From: Stephan Elliot Perez 
  To: lilypond-user@gnu.org 
  Sent: Sunday, November 21, 2010 3:03 PM
  Subject: \book output


  Greetings,
  When I have multiple \score in a \book , I receive multiple .pdf 
files as output, as if I had processed each of them separately.  How can I 
process them into one file?

  Many thanks,
  Stephan




--


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


Re: \book output

2010-11-21 Thread Aaron Dalton
On 11/21/2010 8:03 AM, Stephan Elliot Perez wrote:
> Greetings,
> When I have multiple \score in a \book , I receive multiple .pdf
> files as output, as if I had processed each of them separately.  How can
> I process them into one file?
> 

I use PDFTKBuilder a lot.

http://angusj.com/pdftkb/

Aaron


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


\book output

2010-11-21 Thread Stephan Elliot Perez
Greetings,
When I have multiple \score in a \book , I receive multiple .pdf
files as output, as if I had processed each of them separately.  How can I
process them into one file?

Many thanks,
Stephan
___
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user


Re: Best practices for book output?

2010-09-05 Thread David Raleigh Arnold
On Wednesday 01 September 2010 00:03:33 Christopher Meredith wrote:
> I may be in over my head. What I am trying to do is produce a hymnal.
> After much experimentation, I have settled upon a layout I like that
> I am using on a per-hymn basis. I have abstracted these portions of
> my input files and created header.ly and footer.ly. For each
> individual hymn, I then use \include to incorporate the header and
> footer so I have a consistent layout which can be globally updated
> as needed.
> 
> Eventually, I want to compile these into a book. I have experimented
> with lilypond-book but so far am completely lost.

I haven't used lilypond-book lately and I'm not a LaTeX guru but
I feel your pain. ;-(

There isn't much to lilypond-book really. It's a way of including
your music into a LaTeX file, which can produce a hymnal. When I
did this:

http://www.openguitar.com/files/tengtr.pdf

Much of the music consisted in one or two lines so I used
lilypond-book and LaTeX. That's the kind of thing that LaTeX
does decently. Latex takes over spacing between systems
when using lilypond-book. You can see why that was good for
my document and perhaps not so hot for yours. 

You probably want one hymn on each one or two pages. That's
different.

With the necessary LaTeX page breaks you could make the titles
and headers with Latex at the top of each page and include as a
lilypond file only the notation and possibly footers. That way
there would be no problem persuading Latex to make your TOC and
index, title page, preface, afterword, appendix, &c.

Don't even think of putting lilypond code into your latex file.
Your project is too big for that. Make sure each hymn compiles
before including it as a file of whatever type.

If that doesn't work out, it might be better to include whole
finished pdfs or image files rather than lilypond code or files,
as you suggested. Either way, make it easy ;-) on yourself and
do the headers with latex.
Regards, daveA

-- 
For beginners: very easy guitar music, solos, duets, exercises. Early
intermediate guitar solos. One best scale set for all guitarists.
http://www.openguitar.com/scalescomparison.html ::: plus new and
better chord and arpeggio exercises.  http://www.openguitar.com 

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


Best practices for book output?

2010-08-31 Thread Christopher Meredith
I may be in over my head. What I am trying to do is produce a hymnal.
After much experimentation, I have settled upon a layout I like that I
am using on a per-hymn basis. I have abstracted these portions of my
input files and created header.ly and footer.ly. For each individual
hymn, I then use \include to incorporate the header and footer so I
have a consistent layout which can be globally updated as needed.

Eventually, I want to compile these into a book. I have experimented
with lilypond-book but so far am completely lost. On a whim I tried
making a book.ly and simply using \include to reference all my hymns.
The output was pretty close to what I would like, except I think I
would need to figure out how to fix the distances between certain
elements because the auto placement often settles on undesirable
results.

My first question, therefore, is how I should approach this situation;
creating independent files (with titles and footers) for eventual
assembly into a book. I can share samples of my input files if it will
help.

My next question is whether there is any way that I can assemble
something of an index. For each hymn I have a variable definition
section at the top that looks like this:

Title = "I Will Sing My Maker's Praises"
Writer = "Paul Gerhardt, 1659"
Translator = ""
Composer = "Johann Schop, 1641"
Arranger = ""
Tune = "SOLLT' ICH MEINEM GOTT"
Meter = "8 7.8 7.8 7.7 8.7 7"

I would really like to be able to create an index such as that found
in most hymnals to look up selections by any of the criteria listed
above. Can this be done?

Thanks all in advance for your help. I'm loving lilypond. I've learned
so much and still haven't scratched the surface!

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


Re: lilypond-book: "Output would overwrite input file" error

2008-11-05 Thread René Brandenburger
Hi,

I had the same problem already when moving from 2.10.xx to 2.11.43. I
solved the problem by renaming all .tex files to .lytex and replacing
the \input(foobar.tex) by \input(foobar.lytex)

Hope this helps

best regards

rene

Am Dienstag, den 04.11.2008, 13:48 -0600 schrieb Jonathan Kulp:
> Hi All,
> 
> I'm getting to know lilypond-book, both with html and LaTeX source 
> files, running running Ubuntu 8.04 with 2.11.63.
> 
> As suggested in the manual, I've specifed an output directory (
> --output=out).  So let's say my source file is
> ~/Book/filename.lytex
> 
> and my output directory is
> 
> ~/Book/out/
> 
> I also have a couple of other \input{foobar.tex} files and am trying to 
> include lily source files with \lilypondfile{foobar.ly}, stuff like that.
> 
> What I've found is that the first invocation of lilypond-book on the
> source file works fine, but the next time I run it after making
> changes to the sourcefile, it won't compile.  It took me a while to find 
> the problem in the massive amounts of terminal output, but the culprit 
> is apparently this one:
> 
> "lilypond-book: error: Output would overwrite input file; use --output."
> 
> What I've deduced from this is that lilypond-book must first make a copy
> of my source file and put it in the output directory, then use that as
> the input file.  Is this correct?  Because when I remove the .tex files
> from the output directory and run lilypond-book on the original 
> filename.lytex (in the main directory), it compiles correctly and 
> creates the desired output.  My question is this: shouldn't the "input 
> file" really be the one that's NOT in the output directory?  In other 
> words, why doesn't lilypond-book take the command-line argument as the 
> input file instead of the file that it has put in the output directory?
> Is there a command-line option (such as the -e flag for convert-ly) that 
> would allow overwriting the files?
> 
> I've made a workaround by adding cleanup lines to my lilybook
> script to remove .tex files from the output directory, but it seems to 
> me that the program should use the argument of the lilypond-book command 
> as the input file and then overwrite the files inside the output 
> directory instead of returning errors saying that output would overwrite 
> the input file.
> 
> I don't remember this happening when using lilypond-book on the .itely 
> files for the GDP.  Is it designed this way to avoid deleting files 
> inadvertently?
> 
> Best,
> 
> Jon



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


Re: lilypond-book: "Output would overwrite input file" error

2008-11-05 Thread Jonathan Kulp

Thanks René! That does the trick.  Should have thought of it myself :).

Jon

René Brandenburger wrote:

Hi,

I had the same problem already when moving from 2.10.xx to 2.11.43. I
solved the problem by renaming all .tex files to .lytex and replacing
the \input(foobar.tex) by \input(foobar.lytex)

Hope this helps

best regards

rene

Am Dienstag, den 04.11.2008, 13:48 -0600 schrieb Jonathan Kulp:

Hi All,

I'm getting to know lilypond-book, both with html and LaTeX source 
files, running running Ubuntu 8.04 with 2.11.63.


As suggested in the manual, I've specifed an output directory (
--output=out).  So let's say my source file is
~/Book/filename.lytex

and my output directory is

~/Book/out/

I also have a couple of other \input{foobar.tex} files and am trying to 
include lily source files with \lilypondfile{foobar.ly}, stuff like that.


What I've found is that the first invocation of lilypond-book on the
source file works fine, but the next time I run it after making
changes to the sourcefile, it won't compile.  It took me a while to find 
the problem in the massive amounts of terminal output, but the culprit 
is apparently this one:


"lilypond-book: error: Output would overwrite input file; use --output."

What I've deduced from this is that lilypond-book must first make a copy
of my source file and put it in the output directory, then use that as
the input file.  Is this correct?  Because when I remove the .tex files
from the output directory and run lilypond-book on the original 
filename.lytex (in the main directory), it compiles correctly and 
creates the desired output.  My question is this: shouldn't the "input 
file" really be the one that's NOT in the output directory?  In other 
words, why doesn't lilypond-book take the command-line argument as the 
input file instead of the file that it has put in the output directory?
Is there a command-line option (such as the -e flag for convert-ly) that 
would allow overwriting the files?


I've made a workaround by adding cleanup lines to my lilybook
script to remove .tex files from the output directory, but it seems to 
me that the program should use the argument of the lilypond-book command 
as the input file and then overwrite the files inside the output 
directory instead of returning errors saying that output would overwrite 
the input file.


I don't remember this happening when using lilypond-book on the .itely 
files for the GDP.  Is it designed this way to avoid deleting files 
inadvertently?


Best,

Jon





--
Jonathan Kulp
http://www.jonathankulp.com


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


lilypond-book: "Output would overwrite input file" error

2008-11-04 Thread Jonathan Kulp

Hi All,

I'm getting to know lilypond-book, both with html and LaTeX source 
files, running running Ubuntu 8.04 with 2.11.63.


As suggested in the manual, I've specifed an output directory (
--output=out).  So let's say my source file is
~/Book/filename.lytex

and my output directory is

~/Book/out/

I also have a couple of other \input{foobar.tex} files and am trying to 
include lily source files with \lilypondfile{foobar.ly}, stuff like that.


What I've found is that the first invocation of lilypond-book on the
source file works fine, but the next time I run it after making
changes to the sourcefile, it won't compile.  It took me a while to find 
the problem in the massive amounts of terminal output, but the culprit 
is apparently this one:


"lilypond-book: error: Output would overwrite input file; use --output."

What I've deduced from this is that lilypond-book must first make a copy
of my source file and put it in the output directory, then use that as
the input file.  Is this correct?  Because when I remove the .tex files
from the output directory and run lilypond-book on the original 
filename.lytex (in the main directory), it compiles correctly and 
creates the desired output.  My question is this: shouldn't the "input 
file" really be the one that's NOT in the output directory?  In other 
words, why doesn't lilypond-book take the command-line argument as the 
input file instead of the file that it has put in the output directory?
Is there a command-line option (such as the -e flag for convert-ly) that 
would allow overwriting the files?


I've made a workaround by adding cleanup lines to my lilybook
script to remove .tex files from the output directory, but it seems to 
me that the program should use the argument of the lilypond-book command 
as the input file and then overwrite the files inside the output 
directory instead of returning errors saying that output would overwrite 
the input file.


I don't remember this happening when using lilypond-book on the .itely 
files for the GDP.  Is it designed this way to avoid deleting files 
inadvertently?


Best,

Jon
--
Jonathan Kulp
http://www.jonathankulp.com



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


Re: \book output

2008-06-17 Thread John Seymour

This is still an issue in Version 2.10.x, in case anyone happens to be
reading this thread.
They key line from the manual - which is in the section on \header but not
in the section on \book - is that the \header and \layout blocks have to
come after the musical expressions.  


Peter Mogensen wrote:
> 
>   \score {
> \header {
> %  piece = "Piece one"
>   instrument = "Score"
> }
> <<
>   { c d e f }
> >>
>   }
>  

So,

  \score {
<<
  { c d e f }
>>
   \header {
%  piece = "Piece one"
  instrument = "Score"
}
  }

seems to have fixed that example when I ran it.
-- 
View this message in context: 
http://www.nabble.com/%5Cbook-output-tp1012732p17844330.html
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.



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


Re: \book output file name

2008-02-27 Thread Reinhold Kainhofer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Mittwoch, 27. Februar 2008 schrieb Anh Hai Trinh:
> I'm having two \book blocks to produce a full score file and parts file.
> Is it possible to suffix each book output filename specifically, instead
> of the generic "-1", "-2", etc. ?

http://lsr.dsi.unimi.it/LSR/Item?id=389

Cheers,
Reinhold

- -- 
- --
Reinhold Kainhofer, Vienna University of Technology, Austria
email: [EMAIL PROTECTED], http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHxdJFTqjEwhXvPN0RAv+JAJ41WDbxY+ozZ1Jg0R9XXSNo+nFT8gCfeYu1
w1rbebS7mkE8jK8ttdE2Zc8=
=fr+u
-END PGP SIGNATURE-


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


Re: \book output file name

2008-02-27 Thread Mats Bengtsson

Anh Hai Trinh wrote:

I'm having two \book blocks to produce a full score file and parts 
file.  Is it possible to suffix each book output filename 
specifically, instead  of the generic "-1", "-2", etc. ?


--AT




I figured I should factor out the common stuff and putting the \book 
block  into separate .ly files.



Note that then there's no need for any explicit \book block at all.

  /Mats


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


Re: \book output file name

2008-02-27 Thread Anh Hai Trinh
I'm having two \book blocks to produce a full score file and parts file.  
Is it possible to suffix each book output filename specifically, instead  
of the generic "-1", "-2", etc. ?


--AT



I figured I should factor out the common stuff and putting the \book block  
into separate .ly files.



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


\book output file name

2008-02-27 Thread Anh Hai Trinh
I'm having two \book blocks to produce a full score file and parts file.  
Is it possible to suffix each book output filename specifically, instead  
of the generic "-1", "-2", etc. ?


--AT


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


RE: Lilypond-book output

2006-01-24 Thread Georg Dummer
>-Original Message-
>From: Graham Percival [mailto:[EMAIL PROTECTED] 
>Sent: Sunday, January 22, 2006 4:26 AM
>To: Georg Dummer
>Cc: 'lilypond-user'
>Subject: Re: Lilypond-book output
>
>
>On 20-Jan-06, at 3:19 AM, Georg Dummer wrote:
>
>> Thank you. I tried this but it didn't change anything.
>> But maybe I have to play around with this a bit.
>> As a start I think I can live with that. For me the most annoy thing 
>> is the fact, that the markups are put on top of the score. Is this a 
>> bug?
>
>All the markups?  Regardless of having \score in between them? 
> Yes, I'd say that is a bug.  Please create a small file which 
>demonstrates this, and send it to the bugs list.
>

See
http://lists.gnu.org/archive/html/bug-lilypond/2006-01/msg00136.html

Hope, this helps
Georg



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


Re: Lilypond-book output

2006-01-21 Thread Graham Percival


On 20-Jan-06, at 3:19 AM, Georg Dummer wrote:


Thank you. I tried this but it didn't change anything.
But maybe I have to play around with this a bit.
As a start I think I can live with that. For me the most annoy thing 
is the

fact, that the markups are put on top of the score. Is this a bug?


All the markups?  Regardless of having \score in between them?  Yes, 
I'd say that is a bug.  Please create a small file which demonstrates 
this, and send it to the bugs list.


Cheers,
- Graham



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


RE: Lilypond-book output

2006-01-20 Thread Georg Dummer
 

>-Original Message-
>From: Graham Percival [mailto:[EMAIL PROTECTED] 
>Sent: Friday, January 20, 2006 12:05 AM
>To: Georg Dummer
>Cc: lilypond-user
>Subject: Re: Lilypond-book output
>
>
>On 8-Jan-06, at 8:02 AM, Georg Dummer wrote:
>> Then I get the whole score with the markup in the correct 
>order but in 
>> one picture which is only suitable for realy small scores. If I 
>> comment out the "\book" block the several lines are drawn in 
>serveral 
>> pictures but all \markups are put in one picture. The same thing 
>> happens if I use the "\header" instead of the first markup.
>
>Interesting.  The \book behavior is what's supposed to happen.  Having
>
>\score{ {
>{ notes }
>\markup{}
>\markup{}
>}
>}
>
>is a relatively new construct.  But I agree that is seems that 
>the two \markup sections should be processed separately 
>(producing separate .eps files).
>
>> Is it possible to put every separate markup, header and line of a 
>> score in different eps-files?
>
>You could probably fake it by inserting an empty, invisible 
>score in between the \markup fields.
>
>- Graham

Thank you. I tried this but it didn't change anything. 
But maybe I have to play around with this a bit.
As a start I think I can live with that. For me the most annoy thing is the
fact, that the markups are put on top of the score. Is this a bug?

Georg



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


Re: Lilypond-book output

2006-01-19 Thread Graham Percival


On 8-Jan-06, at 8:02 AM, Georg Dummer wrote:
Then I get the whole score with the markup in the correct order but in 
one
picture which is only suitable for realy small scores. If I comment 
out the

"\book" block the several lines are drawn in serveral pictures but all
\markups are put in one picture. The same thing happens if I use the
"\header" instead of the first markup.


Interesting.  The \book behavior is what's supposed to happen.  Having

\score{ {
{ notes }
\markup{}
\markup{}
}
}

is a relatively new construct.  But I agree that is seems that the two 
\markup sections should be processed separately (producing separate 
.eps files).


Is it possible to put every separate markup, header and line of a 
score in

different eps-files?


You could probably fake it by inserting an empty, invisible score in 
between the \markup fields.


- Graham



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


Lilypond-book output

2006-01-08 Thread Georg Dummer
Hi to all,

I'd like to repeat my question, I asked nearly one month ago but still
without an answer.

I have a minimal lytex-example test.lytex and the corresponding lilypondfile
which is the "score-text.ly" from the "Regression tests" in the
documentation.

...and processed with:
lilypond-book -f latex --psfonts --output=lilyout test.lytex 
cd lilyout 
latex test.tex 
dvips -h test.psfonts test.dvi

Then I get the whole score with the markup in the correct order but in one
picture which is only suitable for realy small scores. If I comment out the
"\book" block the several lines are drawn in serveral pictures but all
\markups are put in one picture. The same thing happens if I use the
"\header" instead of the first markup.

Is it possible to put every separate markup, header and line of a score in
different eps-files?

I also tried the Windows-Version (lilypond works fine):
C:\...\lilypond\test>c:\Programme\LilyPond\usr\bin\lilypond-book.py
test.lytex
Traceback (most recent call last):
  File "c:\Programme\LilyPond\usr\bin\lilypond-book.py", line 35, in ?
import tempfile
  File "/usr/lib/python2.4/tempfile.py", line 33, in ?
  File "/usr/lib/python2.4/random.py", line 828, in ?
  File "/usr/lib/python2.4/random.py", line 95, in __init__
  File "/usr/lib/python2.4/random.py", line 111, in seed
ImportError: No module named time

Do I have to do something else, except double click the executable (set some
environment variabales ...) to install Lilypond on Windows.

Many thanks and best regards
Georg

 test.lytex -
\documentclass[a4paper]{article}
\begin{document}  
\lilypondfile{test.ly}   
\end{document}

 test.ly 
\renameinput "test.ly"
\version "2.7.20"
\book {
\markup {
...
}
\score {
<<
  ...
>>
}
\markup {
...
}
\markup {
 ...
}
}



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


Lilypond-book output

2005-12-09 Thread qc17

Hi list,

I hope the problem was not discussed in earlier threads.

Here I have a minimal lytex-example test.lytex and the corresponding 
lilypondfile which is actually the "score-text.ly" from the "Regression 
tests" in the dokumentation.


...and processed with:
lilypond-book -f latex --psfonts --output=lilyout test.lytex cd lilyout 
latex test.tex dvips -h test.psfonts test.dvi


Then I get the whole score with the markup in the correct order in one 
picture which is only suitable for realy small scores. If I comment out 
the "\book" block the several lines are drawn in serveral pictures but 
all \markups are put in one picture. The same thing happens if I use 
the "\header" instead of the first markup.


Is it possible to put every separate markup, header and line of a score 
in different eps-files?


Many thanks and best regards
Georg


test.lytex-
\documentclass[a4paper]{article}
\begin{document}  \lilypondfile{test.ly}   \end{document}

test.ly
\renameinput "test.ly"
\version "2.7.20"
\book {
   \markup {
...
   }
   \score {
<<
 ...
>>
   }
   \markup {
   ...
   }
   \markup {
...
   }
}



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


Re: \book output

2005-10-02 Thread Mats Bengtsson



Peter Mogensen wrote:

Hi,

When using \book I can see from the docs that it is normally used to
output a set of pieces. However... I would like to use it to output
first the score and then notation for the individual instruments to hand
out. (is this a wrong application of \book ?)


I've always found the documentation and use of \book confusing.
All(?) the examples in the documentation that use \book do actually
produce exactly the same output also without the \book.

As far as I understand, the only major reason to use \book is to
produce several output PDF files from one and the same input .ly file
(except possibly when used inside lilypond-book, see the mailing list
archives for more information).



However... I've found the following problems:

None of these have anything with \book to do, as far as I understand.


* breakbefore does not break unless you have a "piece" in your score header.

The simple workaround is to set piece = " ", if I remember correctly.


* You can not change "instrument" in the header on a \score by \score basis


Please read the section "10.1.13 Creating titles" in the manual for
version 2.7, there's some new information there that's relevant also
for 2.6 as far as I know.

   /Mats


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


\book output

2005-10-02 Thread Peter Mogensen
Hi,

When using \book I can see from the docs that it is normally used to
output a set of pieces. However... I would like to use it to output
first the score and then notation for the individual instruments to hand
out. (is this a wrong application of \book ?)

However... I've found the following problems:
* breakbefore does not break unless you have a "piece" in your score header.
* You can not change "instrument" in the header on a \score by \score basis

Example:

\version "2.6.3"

\header {
  instrument = "Bogus"
}

\paper {
  raggedbottom = ##t
}

\book {
  \score {
\header {
%  piece = "Piece one"
  instrument = "Score"
}
<<
  { c d e f }
>>
  }
  \score {
\header {
  breakbefore = ##t
%  piece = "Piece two"
  instrument = "Trumpet"
}
<<
  {g a b c'}
>>
  }
}


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


Re: ly2dvi vs. lilypond-book output

2003-03-03 Thread Mats Bengtsson
See the previous answer to the list about the size of the
margins.
The default font size (actually the height of each stave) is
20pt in ly2dvi and 16pt in lilypond-book. Just say
\begin[20pt]{lilypond} in your document or use the
--default-music-fontsize=20pt option to lilypond-book.
You can also reuse the default titling macros from ly2dvi, as described
in the Reference Manual section on Invoking lilypond-book.
   /Mats

Jeff Ousley wrote:
Hello,

What settings in my latex file do I need to include to
make my sheet music outputted from lilypond-book look
similar to the output from ly2dvi? It seems the staff
sizes (heights) are smaller coming from lilypon-book.
I can include my files if that will help.
thanks!
-jeff
__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/
___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user
--
=
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 
Fax:   (+46) 8 790 7260
Email: [EMAIL PROTECTED]
WWW: http://www.s3.kth.se/~mabe
=


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user


ly2dvi vs. lilypond-book output

2003-03-01 Thread Jeff Ousley
Hello,

What settings in my latex file do I need to include to
make my sheet music outputted from lilypond-book look
similar to the output from ly2dvi? It seems the staff
sizes (heights) are smaller coming from lilypon-book.
I can include my files if that will help.

thanks!
-jeff

__
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


___
Lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user