lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using lilypond-book


From: Don Blaheta
Subject: Using lilypond-book
Date: Wed, 16 Feb 2005 00:05:31 -0500
User-agent: Mutt/1.2.5.1i

Today's questions are about using lilypond-book.  I'm putting together a
pamphlet with various short pieces for a service; in typing in the
pieces, my metadata-happy self is putting in all the title, author,
and meter info, but I don't really want all that in there when it's
assembled into book form.  In fact, I'd be happiest with *none* of it,
since I can put the info I want (and control the formatting, etc) in the
LaTeX directly.

Is there any way to turn off the header printing for all snippets?
Nothing like that seems to be among the options.

Is there a way to turn off header printing within the snippet file, when
it's included?  I tried putting \paper { scoreTitleMarkup = \markup {} }
at the top (also bookTitle...), but that doesn't seem to affect
anything.

If there *is* something I can put at the top, can someone tell me what
I'm doing wrong in the following line to add such a line on the fly:

  lilypond-book --filter 'myscript' svc.lytex

Even if I just put 'cat' in as the filter (which should just output what
was fed into it), I get the following error:

  Traceback (most recent call last):
    File "/sw/bin/lilypond-book", line 1393, in ?
      main ()
    File "/sw/bin/lilypond-book", line 1388, in main
      do_file (files[0])
    File "/sw/bin/lilypond-book", line 1297, in do_file
      output_file.writelines ([c.filter_text () for c in chunks])
    File "/sw/bin/lilypond-book", line 883, in filter_text
      code = self.substring ('code')
    File "/sw/bin/lilypond-book", line 809, in substring
      return self.match.group (s)
  IndexError: no such group

Am I using bad syntax, or is this just a bug?  I'm using 2.5.0 from the
Mac OS X fink distribution.

-- 
-=-Don address@hidden<http://www.blahedo.org/>-=-
There was a young poet named Dan,
Whose poetry never would scan.
        When told this was so,
        He said, "Yes, I know."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]