]> git.donarmstrong.com Git - lilypond.git/commitdiff
lilypond-1.3.76
authorfred <fred>
Tue, 26 Mar 2002 23:25:37 +0000 (23:25 +0000)
committerfred <fred>
Tue, 26 Mar 2002 23:25:37 +0000 (23:25 +0000)
Documentation/user/refman.itely
input/test/vertical-extent.ly
scripts/ly2dvi.py
scripts/mudela-book.py
tex/lilyponddefs.tex
tex/titledefs.tex

index d385fd0cdc1c14a844ba88a4040277b83ca13b79..2ca219cde254eb44b68dabdfa7cb1fffea63d7c8 100644 (file)
@@ -2480,6 +2480,13 @@ Nevertheless, here are some variables you may want to use or change:
     Sets the width of the lines.  If set to -1.0, a single
     unjustified line is produced.
 
+  @item @code{textheight}@indexcode{textheight}  
+    Sets the total height of the music on each page. Only used by
+    ly2dvi.
+
+  @item @code{interscoreline}@indexcode{interscoreline}  
+    Sets the spacing between the score lines. Defaults to 16 pt.
+
   @item @code{output}@indexcode{output}  
     Specifies an alternate name for the the output @file{s}.
     A @file{.tex}, @file{.midi} or @file{.ps} extension will be 
index b944b43fe2e47453f93f6fb3c53c208b9598f5c0..b8cf58ed87a6683ee81a231440612bae267035b3 100644 (file)
@@ -1,7 +1,20 @@
 
 \score {
-\notes \context Staff {
-  \property Staff.StaffVerticalExtent = #'(-15.0 . 15.0)
-  c1 \break c1 
-}
+  \notes  <
+    \context Staff = upper {
+      \property Staff.StaffVerticalExtent = #'(-15.0 . 0.0)
+      \clef alto;
+      c1 \break c1 
+    }
+    \context Staff = lower {
+      \property Staff.StaffVerticalExtent = #'(-0.0 . 15.0)
+      \clef alto;
+      g1 \break g1 
+    }
+  >
+  \paper{
+    interscoreline = 3.0\mm;
+    \translator{\ScoreContext \remove "Bar_number_engraver";}
+    \translator{\StaffContext StaffMinimumVerticalExtent = #'(-2.0 . 2.0)}
+  }
 }
index e5484a52dd89edf422593b66ff4dbf8daa0cd462..0147f1da292b511fa51ae8cdcce67a24ec6eed91 100644 (file)
@@ -264,7 +264,6 @@ class TeXOutput:
 %%\headsep0pt
 %% Maybe this is too drastic, but let us give it a try.
 \geometry{width=%spt, textheight=%spt,headheight=2mm,headsep=0pt,footskip=2mm} 
-\input{lilyponddefs}
 \input{titledefs}
 %s
 \makeatletter
index ca4b70f8ad6e79ed95b27099478687a83dec57d9..d82d949dfe2580997f4dde889b21b7b6feec85f3 100644 (file)
@@ -695,7 +695,12 @@ def compile_all_files (chunks):
                system ('lilypond %s %s' % (lilyopts, texfiles))
 
        for e in eps:
-               cmd = r"""tex '\nonstopmode \input %s'; dvips -E -o %s %s""" % \
+               if os.environ.has_key('OS') and \
+                   os.environ['OS'] == 'Windows_95':
+                       cmd = r"""ash -c 'tex " \nonstopmode \input %s " ; dvips -E -o %s %s ' """ % \
+                     (e, e + '.eps', e)
+                else:
+                       cmd = r"""tex '\nonstopmode \input %s' ;  dvips -E -o %s %s""" % \
                      (e, e + '.eps', e)
                system (cmd)
 
index 3a67da91836d9eb87c9ba9d02d920e10954b2c7c..f6bca234e4b9dc038fe6ce0f5bf344da892f6847 100644 (file)
 \def\myfilbreak{\par\vfil\penalty200\vfilneg}
 
 % stacked horizontal lines
-\def\interscoreline{\vskip 16pt\myfilbreak}
+\ifundefined{mudelapaperinterscoreline}
+        \def\interscoreline{\vskip 16pt\myfilbreak}
+\else
+        \def\interscoreline{\vskip\mudelapaperinterscoreline pt\myfilbreak}
+\fi
 \def\placebox#1#2#3{%
         \botalign{\hbox{\raise #1\leftalign{\kern #2{}#3}}}}%
 
index 6d0477533b070c177441a62c5b13b801931a5deb..b6c9c7570bbd5bace73f3dbd4ce4fcbc6f4d0579 100644 (file)
@@ -4,9 +4,6 @@
 %
 % Version 0.1
 %
-\input lilyponddefs
-\def\EndLilyPondOutput{\endinput}
-%
 \def\thetitle{}
 \def\thesubtitle{}
 \def\thecomposer{}