]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.47
authorfred <fred>
Tue, 26 Mar 2002 22:47:38 +0000 (22:47 +0000)
committerfred <fred>
Tue, 26 Mar 2002 22:47:38 +0000 (22:47 +0000)
buildscripts/set-lily.sh
input/test/fill-a4.ly [new file with mode: 0644]
scripts/ly2dvi.py

index fad30f18d3e30f7ca3c6695841736066492a31d3..df01378c4567b5e61d2e43ceb28c940078c197a2 100644 (file)
@@ -67,7 +67,7 @@ showln -sf $sources/lilypond $prefix/share/lilypond
 
 
 BUILDDIR=`pwd`
-LOCALES="de it nl"
+LOCALES="de it nl fr"
 for i in $LOCALES; do
        dir=$BUILDDIR/share/locale/$i/LC_MESSAGES
        if test ! -x $dir ; then
diff --git a/input/test/fill-a4.ly b/input/test/fill-a4.ly
new file mode 100644 (file)
index 0000000..ff82211
--- /dev/null
@@ -0,0 +1,37 @@
+%
+% test file to get a4 paper really filled,
+% without having to resort to the ever-ugly oversizing hack:
+%
+%   `textheight = 310.0\mm'
+%
+% process this file with ly2dvi, and make sure footskip/headsep are set
+% at a reasonably (small) value.  -- jcn
+%
+\header{
+tagline="Ligly";
+}
+\include "paper13.ly";
+\score{
+       \context Voice \notes\relative c'{
+               \clef alto;
+               \repeat "unfold" 36 c1
+       }
+       \paper{
+               \paper_thirteen
+               indent = 0.0\mm;
+               % URG
+               % Vertical space is rather precious when typesetting
+               % music.  But we can only set textheight here, and must
+               % guess and subtract the height needed for headers and 
+               % footers.  If we want a header or footer on some page,
+               % all other pages suffer shortened `textheight'.
+               % Try the maximum for a4, without loosing footers:
+               textheight = 297.0\mm - 7.0\mm;
+               papersize = "a4";
+               linewidth = 15.0\mm;
+               \translator {
+                       \StaffContext
+                       StaffMinimumVerticalExtent = #(cons 0 0)
+               }
+       }
+}
index bfacbce46464c6bf1696d257c22118f4440abe7d..730273ea3cc0aa9a63fdba29d33545ce36c34501 100644 (file)
@@ -258,11 +258,22 @@ class TeXOutput:
 \usepackage{geometry}
 \usepackage[latin1]{inputenc} 
 %%\usepackage[T1]{fontenc} 
+%%
 %s 
+%% don not waste unused space at bottom of page
+%% (unless we have footnotes ...)
+%%\headheight9pt
+%%\headsep0pt
+%% Maybe this is too drastic, but let us give it a try.
+\headheight0pt
+\headsep2mm
+\footskip2mm
+%%
 %%\addtolength{\oddsidemargin}{-1cm} 
 %%\addtolength{\topmargin}{-1cm} 
 %%\setlength{\textwidth}{%s} 
 %%\setlength{\textheight}{%s} 
+%%
 \geometry{width=%spt, left=%spt, height=%spt, top=%spt} 
 \input lilyponddefs 
 \input titledefs