2 This file is part of LilyPond, the GNU music typesetter.
4 Copyright (C) 2004--2014 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 static int print_smob (SCM, SCM, scm_print_state *);
34 static SCM mark_smob (SCM);
35 static const char type_p_name_[];
36 virtual ~Paper_book ();
42 void add_score_title (SCM);
43 SCM get_score_title (SCM);
55 Output_def *top_paper ();
58 void add_bookpart (SCM);
59 void add_performance (SCM);
61 SCM performances () const;
64 SCM get_system_specs ();
66 Stencil book_title ();
67 Stencil score_title (SCM);
69 void classic_output (SCM output_channel);
70 void output (SCM output_channel);
73 void classic_output_aux (SCM output,
74 long *first_performance_number);
75 long output_aux (SCM output_channel,
77 long *first_page_number,
78 long *first_performance_number);
82 #endif /* PAPER_BOOK_HH */