lilypond-devel
[Top][All Lists]
Advanced

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

Overriding tagline in a custom init file?


From: Reinhold Kainhofer
Subject: Overriding tagline in a custom init file?
Date: Tue, 27 Apr 2010 19:28:03 +0200
User-agent: KMail/1.13.2 (Linux/2.6.31-21-generic; KDE/4.4.2; i686; ; )

I'm currently trying to create some pdf examples for my LAC presentation using 
a make file that calls musicxml2ly on the xml file and then lilypond to 
generate the pdf output.

Unfortunately, this will always place the tagline at the bottom of each pdf, 
so the "clipped" pdfs will still be almost a whole page.

Since the .ly files are auto-generated, it's not so easy to modify them, so 
I'm trying the init file approach:
    lilypond --init=myinit.ly  -dbackend=eps -dno-aux-files --pdf test.ly

The contents of myinit.ly are basically:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\include "init.ly"
\header {
  tagline=##f
}
\paper {
  % adjust line-with to something that makes sense for a presentation
  % etc.
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


So, I'm first loading the default initialization and then try to do my tweaks 
for the header and paper variables. Unfortunately, it seems that neither the 
\header nor the \paper block have any effect! I still get the full A4 output 
with the default tagline...

On the other hand, the myinit.ly file is executed since a syntax error will be 
triggered if its syntax is wrong.

So, do you have any idea how I can override the header and paper blocks in a 
global init file?

Thanks a lot,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org




reply via email to

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