On Thu, 14 Jul 2005 22:14:39 -0700 Graham Percival <[EMAIL PROTECTED]> wrote:
> > Can you see how to keep the settings? Lilypond keeps the \paper{} and > \layout{} settings, and presumably those commands would be present > in parser.yy > Sorry, I do not know well about Scheme and C++, so I'm not able to change codes. But, in parser.yy , codes regarding layout block is like this ; | LAYOUT { Output_def *p = get_layout (THIS); THIS->lexer_->add_scope (p->scope_); So, I imagine that it should be written something like this ; | book_body lilypond_header { $$->add_header( $2 ); /* $$->header_ = $2; ( this is corrent code ) */ and, add codes add_header to book.cc and score.cc ( and more ? ). Please correct me if I am wrong. Regards, ------------------------------------------------------------------------ | Yoshinobu Ishizaki | ------------------------------------------------------------------------ _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel