2 This file is part of LilyPond, the GNU music typesetter.
4 Copyright (C) 2004--2015 Jan Nieuwenhuizen <janneke@gnu.org>
6 LilyPond is free software: you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation, either version 3 of the License, or
9 (at your option) any later version.
11 LilyPond is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with LilyPond. If not, see <http://www.gnu.org/licenses/>.
22 #include "std-vector.hh"
24 #include "lily-proto.hh"
26 /** Paper_book collects headers, systems (Paper_system) and texts, and
27 exports them to the output backend, either as systems or as
28 completely formatted pages. */
30 class Paper_book : public Smob<Paper_book>
33 SCM mark_smob () const;
34 static const char type_p_name_[];
35 virtual ~Paper_book ();
41 void add_score_title (SCM);
42 SCM get_score_title (SCM);
54 Output_def *top_paper ();
57 void add_bookpart (SCM);
58 void add_performance (SCM);
60 SCM performances () const;
63 SCM get_system_specs ();
65 Stencil book_title ();
66 Stencil score_title (SCM);
68 void classic_output (SCM output_channel);
69 void output (SCM output_channel);
72 void classic_output_aux (SCM output,
73 long *first_performance_number);
74 long output_aux (SCM output_channel,
76 long *first_page_number,
77 long *first_performance_number);
81 #endif /* PAPER_BOOK_HH */