[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Margins with lilypond-book 1.6.5
From: |
Werner LEMBERG |
Subject: |
Re: Margins with lilypond-book 1.6.5 |
Date: |
Sat, 05 Oct 2002 14:34:42 +0200 (CEST) |
>
> I cannot see any difference between
>
> \begin[noquote]{lilypond}
>
> and
>
> \begin{lilypond}
Oops! Here a patch. I forgot to implement `noquote' for LaTeX mode,
sorry. I'll add it soon to the CVS.
Werner
PS: I plan to get rid of the `eps' option, replacing it with an
`inline' option (which will be the default for \lilypond{...}).
======================================================================
--- lilypond-book.py.good Fri Oct 4 15:50:23 2002
+++ lilypond-book.py Sat Oct 5 14:22:08 2002
@@ -410,7 +410,13 @@
'output-noinline': r'''
%% generated: %(fn)s.eps
''',
- 'output-tex': '{\\preLilypondExample \\input %(fn)s.tex
\\postLilypondExample\n}',
+ 'output-latex-quoted': r'''{\preLilypondExample
+\input %(fn)s.tex
+\postLilypondExample}''',
+ 'output-latex-noquote': r'''{\parindent 0pt
+\preLilypondExample
+\input %(fn)s.tex
+\postLilypondExample}''',
'pagebreak': r'\pagebreak',
},
@@ -1080,7 +1086,10 @@
if 'eps' in opts:
s = 'output-eps'
else:
- s = 'output-tex'
+ if 'noquote' in opts:
+ s = 'output-latex-noquote'
+ else:
+ s = 'output-latex-quoted'
elif format == 'texi':
if 'noquote' in opts:
s = 'output-texi-noquote'