From 66b49771545a61b591b529330797163ff42e2e8f Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Wed, 6 Apr 2011 23:26:01 +0100 Subject: [PATCH] Add a lilypond-book regtest for paper sizes. To test it manually (from the build/ dir), do: lilypond-book --pdf ../input/regression/lilypond-book/papersize-docs.tely texi2pdf papersize-docs.texi xpdf papersize-docs.pdf --- .../lilypond-book/papersize-docs.tely | 44 +++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 input/regression/lilypond-book/papersize-docs.tely diff --git a/input/regression/lilypond-book/papersize-docs.tely b/input/regression/lilypond-book/papersize-docs.tely new file mode 100644 index 0000000000..12c3dd9bac --- /dev/null +++ b/input/regression/lilypond-book/papersize-docs.tely @@ -0,0 +1,44 @@ +\input texinfo @c -*- coding: utf-8; mode: texinfo; documentlanguage: es -*- +@setfilename papersize-docs.info +@settitle Different paper sizes for documentation +@documentencoding UTF-8 +@documentlanguage en +@afourpaper + +@node Top +@top Different paper sizes for documentation. + +This is a sample of a small papersize, which is useful when you +want to add a @code{\book@{@}} around some input. + +@c @lilypond[verbatim,papersize=c9landscape] +@lilypond[verbatim,quote,papersize=c9] +\book { + \header { + title = "A scale in LilyPond" + } + \score { + \relative c' { + c4 d e f + } + } +} +@end lilypond + +Here is a different paper size, and a changed tagline. + +@lilypond[verbatim,quote,papersize=a8] +\book { + \header { + title = "A scale in LilyPond" + tagline = "... music notation for Everyone" + } + \score { + \relative c' { + c4 d e f + } + } +} +@end lilypond + +@bye -- 2.39.5