]> git.donarmstrong.com Git - lilypond.git/commitdiff
*** empty log message ***
authorhanwen <hanwen>
Tue, 9 Sep 2003 23:02:11 +0000 (23:02 +0000)
committerhanwen <hanwen>
Tue, 9 Sep 2003 23:02:11 +0000 (23:02 +0000)
scripts/lilypond.py

index a16dc0cf8a017bca88a7d37815029459054a170c..b53a812cc566f0407d4b217e67ac8c5d0f35c478 100644 (file)
@@ -433,8 +433,7 @@ def global_latex_preamble (extra):
        s = s + '\geometry{width=%s%s,headheight=2mm,footskip=2mm,%s}\n' % (linewidth, textheight, orientation)
 
 
-       if extra['latexoptions'] \
-              and string.find (extra['latexoptions'], 'twoside') >= 0:
+       if 'twoside' in  extra['latexoptions'] :
                s = s + '\geometry{twosideshift=4mm}\n'
 
        s = s + r'''