* lily/parser.yy (markup): Use it to grok \score.
\header {
%% WIP
+
+ %% this would be more useful as a footnote, but we don't have
+ %% (sensible) header/footer+footnotes yet (2.3.1).
texidoc = "Use \\score block as markup command."
}
Y CENTER)))
inBed = \paper {
+ %% can't do this, this paper('s fonts) must be notified to the
+ %% main/current book, and e output in the header.
+ %% #(paper-set-staff-size (* 11.0 pt))
+
raggedright = ##t
linewidth = 40\mm
indent = 0 \mm
int page_count = scm_ilength (pages);
out->output_header (paper, scopes (0), page_count, false);
+#if 0
+ /* Ugh; fixme. */
+ int paper_count = papers_.size ();
+ for (int i = 1; i < paper_count; i ++)
+ {
+ SCM fonts = papers_[i]->font_descriptions ();
+ out->output_scheme (scm_list_3 (ly_symbol2scm ("define-fonts"),
+ papers_[i]->self_scm (),
+ //FIXME:
+ ly_quote_scm (ly_list_qsort_uniq_x (fonts))));
+ }
+#endif
+
for (SCM s = pages; s != SCM_EOL; s = ly_cdr (s))
{
Page *p = unsmob_page (ly_car (s));
$$ = $1;
}
| score_block {
- // WIP -- arbitrary, shoul also allow \book or Composite_music.
+ /* WIP this is a bit arbitrary,
+ we should also allow \book or Composite_music.
+ However, you'd typically want to change paper
+ settings, and need a \score block anyway. */
Score *score = $1;
Book *book = new Book;
book->scores_.push (score);