* scm/output-tex.scm (header): kludge: hard code linewidth.
2004-05-26 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * lily/parser.yy (book_body): set default bookpaper.
+
* scm/output-tex.scm (header): kludge: hard code linewidth.
* lily/my-lily-parser.cc (My_lily_parser): don't delete lexer.
{
$$ = new Book;
$$->set_spot (THIS->here_input ());
+ $$->bookpaper_ = unsmob_book_paper_def (THIS->lexer_->lookup_identifier ("$defaultbookpaper"))->clone ();
scm_gc_unprotect_object ($$->bookpaper_->self_scm ());
}
| book_body book_paper_block {
;; FIXME
;; this is -of course- severely broken, (--hwn)
(tex-string-def "lilypondpaper" 'linewidth
- "18cm")
+ (ly:number->string (/ 18 0.175))) ; 18 cm.
+ (tex-string-def "lilypondpaper" 'interscoreline
+ (ly:number->string 0.0))
))
(define (output-tex-string s)