Re: newbie guitar fingering layout question

2012-10-08 Thread Pierre Perol-Schneider
\override StringNumber #'add-stem-support = ##t

would also help for avoiding crashes between stems et stringnumbers.

2012/10/8 David Kastrup d...@gnu.org

 Jim Tisdall tisd...@tisdall.net writes:

  Greetings!  I'll introduce myself after asking my question.
 
  I'm new to Lilypond and have a question about laying out some
  fingering in guitar material for a new book I'm writing.  I'm
  not neglecting the copious documentation, but I'm still on the
  learning curve for sure and have missed or misunderstood a lot
  as of yet.
 
  Using LilyPond 2.16.0, modified the scripts.scm definitions of
  \upbow and \downbow  so they are DOWN instead of UP (couldn't
  see a way to do that in the score ... yes, I'm a newbie).

 Try
 upbow = _\upbow
 downbow = _\downbow

 and of course, you could have just written _\upbow and _\downbow every
 time you use them instead, or define your own commands.

 --
 David Kastrup


 ___
 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: newbie guitar fingering layout question

2012-10-08 Thread Eluze
Jim Tisdall wrote
 My main question is this: I'd like to have the bow and
 left-hand fingering and right-hand fingering appear in the
 space between the two staffs, in a straight line, so they
 can be seen easily by those reading either the standard
 staff above, or the tablature staff below.  How to do?  The
 staffs are in synch, so I just need to take the fingering
 info from the standard staff and push it down so it will
 line up underneath (and therefore between the two staffs.)


to really get them on a straight line you can put them in a new context
which doesn't produce staff lines:

\new Dynamics {
s  \downbow s  \upbow s  \downbow
s  \downbow s  \upbow s  \downbow
s  \downbow s  \upbow s  \downbow
s \downbow   s \upbow
s \downbow   s \upbow
s \downbow s \downbow s \upbow s \downbow
  }

similarly you can add another Dynamic staff for fingering

hth
Eluze



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/newbie-guitar-fingering-layout-question-tp134353p134376.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: evince handling textedit://

2012-10-08 Thread Mark Knoop
At 21:22 on 07 Oct 2012, Stjepan Horvat wrote:
Hi guys..does anyone has any news on has evince handles textedit..
i found this post
http://lists.gnu.org/archive/html/lilypond-user/2007-06/msg00185.html
from 2007 using gconftool-2 but couldn't get it working..
after i execute the gconftool-2 --install-schema-file=textedit.schemas
i still get -- Unable to open external link Operation not supported
like it didn't remove Evince ignores the embedded textedit:// urls by
default,

i use evince 3.4.0..

Thanks for prompting me to update this. Gnome 3 no longer uses the
gconf key, it's now actually a little easier. I've put the info and
necessary files here:

https://github.com/markk/textedit-ly

Let me know if this works for you.

-- 
Mark Knoop

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


Re: lilyglyphs package - new version and call for participation

2012-10-08 Thread Marc Hohl

Am 24.09.2012 01:29, schrieb Urs Liska:

Hi LilyPond coders,

I'm quite happy to tell you that I just finished a new version of my 
'lilyglyphs' package. This is not a release, but just a progress from 
a 0.0.1 version to a 0.0.2, so don't expect anything polished here.
For those who missed the first announcement a few weeks ago: 
lilyglyphs is a (Xe-) LaTeX package aiming at providing LilyPond's 
notational elements as commands for use in continuous text in LaTeX 
documents.

Hello Urs,

thanks for sharing this! In some of my future projects the lilyglyphs 
package will be quite handy,

but I have not tested it yet, just looked at the code.



After a first sketch I made a significant step towards a stable syntax 
and foundation of the package.
So far it is actually usable already, as you can print any glyphs 
available in LilyPond's Emmentaler font. The number of predefined 
commands is still at a neglectable ratio, but you can always access 
the glyphs through generic commands.


Now I would very much appreciate comments and discussion - and 
participation!
There are a few issues that I really need feedback / input with now, 
as I am in fact quite new to LaTeX, and I would feel much better 
sorting some things out now before I implement numerous commands.
When these topics are decided, I could use as many 'helping hands' as 
possible. The final intention for a version 1.0 is to cover the whole 
Emmentaler range, which means a lot of individual commands have to be 
implemented. Of course I will mainly spend energy in areas that I 
could use myself, so it would be nice to have people who need other 
kinds of glyphs to participate in their implementation.


At the moment there are two major issues to solve:
a)
I implemented a system of optional arguments with key=value lists that 
can influence the appearance of the glyphs on a global level, at 
design time (of predefined commands) and at invocation time. It looks 
quite elegant to me, but I'm not sure if it is robust, extensible and 
powerful enough.

b)
The next issue to tackle is to create symbols (or Grobs) that aren't 
glyphs but have to be created using glyphs and drawing commands. I did 
the first test using the tikz/pgf package, but can see very well that 
it isn't a trivial task. The most obvious issue is to make the 
resulting graphics scalable without breaking. But on the long run it 
may be equally important to make this system modular. I don't want to 
create every new symbol from scratch, but want to be able to reuse 
elements.
Hmm, I can't really help you with this, but if you want to create 
complex symbols, wouldn't it make sense
to do this in lilypond directly similarly to the way it is done in 
lilypond-book, and import the graphics in

LaTeX?

Regards,

Marc

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


Re: lilyglyphs package - new version and call for participation

2012-10-08 Thread Urs Liska

Am 08.10.2012 11:56, schrieb Marc Hohl:

Am 24.09.2012 01:29, schrieb Urs Liska:

Hi LilyPond coders,

I'm quite happy to tell you that I just finished a new version of my 
'lilyglyphs' package. This is not a release, but just a progress from 
a 0.0.1 version to a 0.0.2, so don't expect anything polished here.
For those who missed the first announcement a few weeks ago: 
lilyglyphs is a (Xe-) LaTeX package aiming at providing LilyPond's 
notational elements as commands for use in continuous text in LaTeX 
documents.

Hello Urs,

thanks for sharing this! In some of my future projects the lilyglyphs 
package will be quite handy,

but I have not tested it yet, just looked at the code.

Well, as far as it's developed it works quite well ...




...

b)
The next issue to tackle is to create symbols (or Grobs) that aren't 
glyphs but have to be created using glyphs and drawing commands. I 
did the first test using the tikz/pgf package, but can see very well 
that it isn't a trivial task. The most obvious issue is to make the 
resulting graphics scalable without breaking. But on the long run it 
may be equally important to make this system modular. I don't want to 
create every new symbol from scratch, but want to be able to reuse 
elements.
Hmm, I can't really help you with this, but if you want to create 
complex symbols, wouldn't it make sense
to do this in lilypond directly similarly to the way it is done in 
lilypond-book, and import the graphics in

LaTeX?

I thought about this too, but I'm not sure if it really is the way to go.
The great advantages would be:

 * it is probably quite straightforward to start with and implement it
 * the result would exactly look like LilyPond output (which might in
   the end be the killer argument)

OTOH there are two issues I don't like about it:

 * We'd have to provide lots of graphics files together with the package.
 * I would prefer having the control over the creation of the items on
   the LaTeX level.
   What I like about the glyphs already available is that the end user
   can easily enhance the library, combine elements and write new commands.
   With complex symbols I would also love to have possibilities like
\lilyNote{notehead=noteheads.s1,flag=flag.u6} or
\lilyBeamedNotes{beams=3,angle=15}
   so one could expand the library within LaTeX.
   And one could make changes to symbols that are applied by a simple
   recompile.
   But OTOH again, this would mean that for any 'new' symbol we'd have
   to design a completely new drawing command, which might be quite
   complex.

Maybe it's a solution to go the way of included graphics files, but find 
a standardized way how to create these files (LilyPond templates, 
instructions, standardized sizes, scripts ...) so it's easy to add new 
items and also accessible to end users.


BTW: Does anybody know if I can scale graphics files automatically 
according to the font size of the text?


Best
Urs


Regards,

Marc


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


\fill-line with markuplist?

2012-10-08 Thread Thomas Morley
Hi,

perhaps I'm overlooking sth simple.
I want to have a centered table-of-content with a smaller line-width.

\markuplines  {
  \override-lines #'(line-width . 80)
  \table-of-contents
}

works, but isn't centered.

Example:

\version 2.16.0

\markuplist
\override-lines #'(line-width . 50)
  \justified-lines {
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
  }

Seems I can't use \fill-line as in a simple markup:

\markup
  \fill-line {
\override #'(line-width . 50)
 \justify {
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
 }
  }

Is there any default-command I'm missing?


Regards,
  Harm

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


Re: \fill-line with markuplist?

2012-10-08 Thread Thomas Morley
2012/10/8 Thomas Morley thomasmorle...@googlemail.com:
 Hi,

 perhaps I'm overlooking sth simple.
 I want to have a centered table-of-content with a smaller line-width.

 \markuplines  {
   \override-lines #'(line-width . 80)
   \table-of-contents
 }

Sorry, messed up the versions, should be:
\markuplist  {
  \override-lines #'(line-width . 90)
  \table-of-contents
}


 works, but isn't centered.

 Example:

 \version 2.16.0

 \markuplist
 \override-lines #'(line-width . 50)
   \justified-lines {
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
 do eiusmod tempor incididunt ut labore et dolore magna aliqua.
 Ut enim ad minim veniam, quis nostrud exercitation ullamco
 laboris nisi ut aliquip ex ea commodo consequat.
   }

 Seems I can't use \fill-line as in a simple markup:

 \markup
   \fill-line {
 \override #'(line-width . 50)
  \justify {
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
 do eiusmod tempor incididunt ut labore et dolore magna aliqua.
 Ut enim ad minim veniam, quis nostrud exercitation ullamco
 laboris nisi ut aliquip ex ea commodo consequat.
  }
   }

 Is there any default-command I'm missing?


 Regards,
   Harm

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


Re: \fill-line with markuplist?

2012-10-08 Thread David Kastrup
Thomas Morley thomasmorle...@googlemail.com writes:

 Hi,

 perhaps I'm overlooking sth simple.
 I want to have a centered table-of-content with a smaller line-width.

 \markuplines  {
 \override-lines #'(line-width . 80)
 \table-of-contents
 }

 works, but isn't centered.

 Example:

 \version 2.16.0

 \markuplist
 \override-lines #'(line-width . 50)
   \justified-lines {
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
 do eiusmod tempor incididunt ut labore et dolore magna aliqua.
 Ut enim ad minim veniam, quis nostrud exercitation ullamco
 laboris nisi ut aliquip ex ea commodo consequat.
   }

 Seems I can't use \fill-line as in a simple markup:

 \markup
   \fill-line {
 \override #'(line-width . 50)
  \justify {
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
 do eiusmod tempor incididunt ut labore et dolore magna aliqua.
 Ut enim ad minim veniam, quis nostrud exercitation ullamco
 laboris nisi ut aliquip ex ea commodo consequat.
  }
   }

 Is there any default-command I'm missing?

I honestly have no clue whether this is what you need, but it would seem
like

\version 2.16.0

\markup \fill-line { \center-column
\override-lines #'(line-width . 50)
  \justified-lines {
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco
laboris nisi ut aliquip ex ea commodo consequat.
  } }

does something akin to what you are asking for.

-- 
David Kastrup


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


Re: Good news, and thanks to all of you!

2012-10-08 Thread Luca Rossetto Casel

Il 24/09/2012 14:16, Janek Warchoł ha scritto:
Congratulations! I think this is something that should be listed on 
our website, both in http://lilypond.org/productions.html (bug squad, 
please raise an issue) as well as in Pondings section [...]. 


Thank you, it would be a true honour for me! The discussione and my 
defence are done: everything was gone very well. I've upload all the 
thesis (dissertation, libretto, score and notes, in different files) on 
my Academia page, if someone would be interested in see it:


http://unito.academia.edu/LucaRossettoCasel/Books

I've noticed I missed some minor (I hope!) issue here and there. But all 
is easily fixable!

Thank you to all of you for everything, dear friends!

Luca


--
Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP 
autenticato? GRATIS solo con Email.it http://www.email.it/f

Sponsor:
Apri subito Conto Corrente Arancio. Carta Visa Gratis e nessun Canone!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=12247d=8-10

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


Re: \fill-line with markuplist?

2012-10-08 Thread Thomas Morley
2012/10/8 David Kastrup d...@gnu.org:
 Thomas Morley thomasmorle...@googlemail.com writes:

 Hi,

 perhaps I'm overlooking sth simple.
 I want to have a centered table-of-content with a smaller line-width.

 \markuplines  {
 \override-lines #'(line-width . 80)
 \table-of-contents
 }

 works, but isn't centered.

 Example:

 \version 2.16.0

 \markuplist
 \override-lines #'(line-width . 50)
   \justified-lines {
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
 do eiusmod tempor incididunt ut labore et dolore magna aliqua.
 Ut enim ad minim veniam, quis nostrud exercitation ullamco
 laboris nisi ut aliquip ex ea commodo consequat.
   }

 Seems I can't use \fill-line as in a simple markup:

 \markup
   \fill-line {
 \override #'(line-width . 50)
  \justify {
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
 do eiusmod tempor incididunt ut labore et dolore magna aliqua.
 Ut enim ad minim veniam, quis nostrud exercitation ullamco
 laboris nisi ut aliquip ex ea commodo consequat.
  }
   }

 Is there any default-command I'm missing?

 I honestly have no clue whether this is what you need, but it would seem
 like

 \version 2.16.0

 \markup \fill-line { \center-column
 \override-lines #'(line-width . 50)
   \justified-lines {
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
 do eiusmod tempor incididunt ut labore et dolore magna aliqua.
 Ut enim ad minim veniam, quis nostrud exercitation ullamco
 laboris nisi ut aliquip ex ea commodo consequat.
   } }

 does something akin to what you are asking for.

 --
 David Kastrup


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

Hi David,

I had the impression that using \markuplist instead of \markup would
require the markuplist-commands listed in the NR:
http://lilypond.org/doc/v2.16/Documentation/notation-big-page#text-markup-list-commands

And for \table-of-contents the NR (same in /Snippets and the LSR)
mentions nothing else than \markuplist to use.  It's always:

\markuplist %!!
  \table-of-contents

But it turns out that following your suggestion

\markup %!!
\fill-line {
\center-column {
\override-lines #'(line-width . 50)
\table-of-contents
}
}

works as expected.


Many thanks,
  Harm

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


Re: \fill-line with markuplist?

2012-10-08 Thread David Kastrup
Thomas Morley thomasmorle...@googlemail.com writes:

 I honestly have no clue whether this is what you need, but it would seem
 like

 \version 2.16.0

 \markup \fill-line { \center-column
 \override-lines #'(line-width . 50)
   \justified-lines {
 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed
 do eiusmod tempor incididunt ut labore et dolore magna aliqua.
 Ut enim ad minim veniam, quis nostrud exercitation ullamco
 laboris nisi ut aliquip ex ea commodo consequat.
   } }

 does something akin to what you are asking for.

 I had the impression that using \markuplist instead of \markup would
 require the markuplist-commands listed in the NR:
 http://lilypond.org/doc/v2.16/Documentation/notation-big-page#text-markup-list-commands

No, it just requires using a markup list.  And { markup } is a markup
list.

 And for \table-of-contents the NR (same in /Snippets and the LSR)
 mentions nothing else than \markuplist to use.  It's always:

 \markuplist %!!
   \table-of-contents

 But it turns out that following your suggestion

 \markup %!!
 \fill-line {
   \center-column {
   \override-lines #'(line-width . 50)
   \table-of-contents
   }
 }

 works as expected.

\table-of-contents delivers a list, \center-column packages it (probably
you can leave out the braces after \center-column), \fill-line creates a
markup from it (I think).  It's possible that you can remove some more
layers here: I really don't have all too much of a clue.

-- 
David Kastrup

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


Re: \fill-line with markuplist?

2012-10-08 Thread Thomas Morley
2012/10/8 David Kastrup d...@gnu.org:
 Thomas Morley thomasmorle...@googlemail.com writes:
[...]
 But it turns out that following your suggestion

 \markup %!!
 \fill-line {
   \center-column {
   \override-lines #'(line-width . 50)
   \table-of-contents
   }
 }

 works as expected.

 \table-of-contents delivers a list, \center-column packages it
 (probably you can leave out the braces after \center-column),

Yep.

 \fill-line creates a markup from it (I think).
 It's possible that you can remove some more
 layers here: I really don't have all too much of a clue.

I don't think it's possible to remove more, alt least I didn't manage.


 --
 David Kastrup

Thanks again.

-Harm

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


Help on staves layout and repeat bars

2012-10-08 Thread Dominique Faure
Hi,

I wanted to get grouped staves bound together on line endings, with
repeat bars being the solely bars drawn through all the staves.
The following code address the first requirement as expected, but how
could I handle the repeat bars?

%%
\version 2.16.0

notes = \relative c' {
  r1 r1
  \repeat volta 2 { r1 r1 }
  \repeat volta 2 { r1 r1 }
  r1 r1
}

\score {
  \new StaffGroup 
\new Staff { \notes }
\new Staff { \notes }
  
  \layout {
\override Score.SpanBar #'break-visibility = #center-invisible
% ...also hide the repeat bar span

ragged-right = ##t
  }
}
%%


-- 
Dominique

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


Re: lilypond-book

2012-10-08 Thread Michael Dykes
David Kastrup dak at gnu.org writes:

 
 The Doctor (Michael D) thedoctor81877 at gmail.com writes:

 
 I get the attached file after trying it out.
 
 However, when I used lilypond-book first *without* option --pdf, and
 then corrected my mistake by using --pdf afterwards, lilypond-book was
 of the opinion that nothing needed to be regenerated.  I had to delete
 the 78 directory with the generated files in it before rerunning
 lilypond-book --pdf again.
 
 Perhaps you have remnants from such a faulty run as well blocking your
 directory?
 

I am not quite sure I am understanding you.

I tried running lilypond book without the pdf option, deleted the 78 folder, 
then ran lilypond book with the pdf option, and then ran pdflatex - but 
encountered undefined control sequence errors. How can I fix this?

Thanks a lot!!!



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


Re: Help on staves layout and repeat bars

2012-10-08 Thread Thomas Morley
2012/10/8 Dominique Faure dominique.fa...@gmail.com:
 Hi,

 I wanted to get grouped staves bound together on line endings, with
 repeat bars being the solely bars drawn through all the staves.
 The following code address the first requirement as expected, but how
 could I handle the repeat bars?

 %%
 \version 2.16.0

 notes = \relative c' {
   r1 r1
   \repeat volta 2 { r1 r1 }
   \repeat volta 2 { r1 r1 }
   r1 r1
 }

 \score {
   \new StaffGroup 
 \new Staff { \notes }
 \new Staff { \notes }
   
   \layout {
 \override Score.SpanBar #'break-visibility = #center-invisible
 % ...also hide the repeat bar span

 ragged-right = ##t
   }
 }
 %%


 --
 Dominique

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

Hi,

try:

\version 2.16.0

#(define span-bars-to-print '(.| |. .|.))

hideSomeSpanBars =
\override Score.SpanBar #'after-line-breaking =
  #(lambda (grob)
(let ((glyph-name (ly:grob-property grob 'glyph-name)))
;;(newline)(display glyph-name)
(if (and (ly:item? grob)
 (not (member glyph-name span-bars-to-print))
 (not (equal? (ly:item-break-dir grob) LEFT)))
(ly:grob-suicide! grob)
#f)))

notes = \relative c' {
  r1 r1
  \repeat volta 2 { r1 r1 }
  \break
  \repeat volta 2 { r1 r1 }
  r1 r1
}

\score {
  \new StaffGroup 
\new Staff { \notes }
\new Staff { \notes }
  
  \layout {
\context {
\Score
\hideSomeSpanBars
}
ragged-right = ##t
  }
}

If you want other SpanBars to be printed, just update the list defined
as span-bars-to-print .


HTH,
  Harm

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


Re: Help on staves layout and repeat bars

2012-10-08 Thread Dominique Faure
 HTH,
   Harm

This helped a lot, and fast. Thanks!

-- 
Dominique

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


Re: lilypond-book

2012-10-08 Thread David Kastrup
Michael Dykes thedoctor81...@gmail.com writes:

 David Kastrup dak at gnu.org writes:

 
 The Doctor (Michael D) thedoctor81877 at gmail.com writes:

 
 I get the attached file after trying it out.
 
 However, when I used lilypond-book first *without* option --pdf, and
 then corrected my mistake by using --pdf afterwards, lilypond-book was
 of the opinion that nothing needed to be regenerated.  I had to delete
 the 78 directory with the generated files in it before rerunning
 lilypond-book --pdf again.
 
 Perhaps you have remnants from such a faulty run as well blocking your
 directory?
 

 I am not quite sure I am understanding you.

 I tried running lilypond book without the pdf option, deleted the 78 folder, 
 then ran lilypond book with the pdf option, and then ran pdflatex - but 
 encountered undefined control sequence errors. How can I fix this?

 Thanks a lot!!!

Please keep the conversation on-list so that people know what happened
with this issue.  It would appear from the private mail you sent me that
you got this problem under control.

As to your question regarding the avoidance of small files, the Using
LilyPond guide has the following option listed for lilypond-book:

`-o DIR'
`--output=DIR'
 Place generated files in directory DIR.  Running `lilypond-book'
 generates lots of small files that LilyPond will process.  To
 avoid all that garbage in the source directory, use the `--output'
 command line option, and change to that directory before running
 `latex' or `makeinfo'.

 lilypond-book --output=out yourfile.lytex
 cd out

That's not totally fabulous, but easier to clean up than if you are not
using this option.

-- 
David Kastrup

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


Re: lilypond-book

2012-10-08 Thread Michael Dykes
David Kastrup dak at gnu.org writes:

Yes, David, you are quite correct. 
Thanks to your help, I can now confidently and 
correctly compile my document(s) using lilypond book. Thanks again!!!





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


Re: lilypond-book

2012-10-08 Thread Phil Holmes
- Original Message - 
From: David Kastrup d...@gnu.org

To: Michael Dykes thedoctor81...@gmail.com
Cc: lilypond-user@gnu.org
Sent: Monday, October 08, 2012 4:44 PM
Subject: Re: lilypond-book




As to your question regarding the avoidance of small files, the Using
LilyPond guide has the following option listed for lilypond-book:

`-o DIR'
`--output=DIR'
Place generated files in directory DIR.  Running `lilypond-book'
generates lots of small files that LilyPond will process.  To
avoid all that garbage in the source directory, use the `--output'
command line option, and change to that directory before running
`latex' or `makeinfo'.

lilypond-book --output=out yourfile.lytex
cd out

That's not totally fabulous, but easier to clean up than if you are not
using this option.

--
David Kastrup



While one is working on a lilypond-book, it makes sense _not_ to delete 
these files, since they are re-used if they are unchanged and this 
significantly reduces processing time.


--
Phil Holmes 



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


Removing empty systems/groups

2012-10-08 Thread Alex Voice
Hi Lilypond Experts,

In a small orchestral score that incorporates an intermittent chorale-like
string quartet, I'd like to have all staves showing at the start (I think
I've worked that bit out), but thereafter remove the quartet StaffGroup from
the score unless one or more of the parts of the quartet is playing, in
which case I would like to see all four parts of the quartet (even if their
staves are empty) ­ just for ease of following.

I've tried consulting the documentation, but none of the snippets or
examples seemed to do quite what I need. Has it anything to do with you hara
kiri option ­ it looked interesting, but again I wasn't quite sure how to
implement it. 

This is the structure I have at present:


\version 2.16.0

\score 
{ \relative c'
  
\new StaffGroup = StaffGroup_woodwinds

  \new Staff = Staff_flute { c'4 d e d | e g f d }
  \new Staff = Staff_oboe { c4 d e d | e g f d }


\new StaffGroup = StaffGroup_Quartet

  \new GrandStaff = GrandStaff_violins_c

\new Staff = Staff_c_violinI { c4 b c d | e c d g }
\new Staff = Staff_c_violinII { c,4 g' a b | c e, d b }
  
  \new Staff = Staff_c_viola { \clef alto c,4 b c d | e c d g }
  \new Staff = Staff_c_cello { \clef bass c,,4 b c d | e c d g }


\new StaffGroup = StaffGroup_Strings

  \new GrandStaff = GrandStaff_violins

\new Staff = Staff_violinI { c'1 | b }
\new Staff = Staff_violinII { c1 | g }
  
  \new Staff = Staff_viola { \clef alto c,2 e | f d }
  \new Staff = Staff_cello { \clef bass c,1 | g }

  
}

\layout 
{
  \context 
{ \RemoveEmptyStaffContext }
 }


Many thanks for any help or enlightenment you can offer.

Alex Voice, UK

PS: I discovered LilyPond only a few months ago; congratulations to all who
have made it a truly wonderful program - the digest written by and for the
(very diverse) community is quite amazing and inspiring ­ long may it
continue.


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