2002-07-22 Jan Nieuwenhuizen <janneke@gnu.org>
+ * scripts/lilypond-book.py (make_pixmap): Don't use quiet_system,
+ ie, don't redirect PNG output to /dev/null. Fixes lys-to-tely
+ documents.
+
* input/test/mark.ly:
* Documentation/user/refman.itely: Re-enable \mark #'() example.
$(outdir)/%.texi: $(outdir)/%.tely
rm -f $@
set|egrep '(TEX|LILY)' # ugh, what's this?
- $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi $(LILYPOND_BOOK_FLAGS) $<
+ $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi --verbose $(LILYPOND_BOOK_FLAGS) $<
rm -f $<
chmod -w $@
cmd = cmd % (x, y, res, name + '.trans.eps', name + '.eps',name + '.png')
status = 0
try:
- status = quiet_system (cmd, 'gs')
+ status = system (cmd)
except:
status = -1
png = []
for c in chunks:
- if c[0] <> 'lilypond':
+ if c[0] != 'lilypond':
continue
base = c[4]
exts = c[3]
if tex:
# fixme: be sys-independent.
def incl_opt (x):
- if g_outdir and x[0] <> '/' :
+ if g_outdir and x[0] != '/' :
x = os.path.join (g_here_dir, x)
return ' -I %s' % x
def fix_epswidth (chunks):
newchunks = []
for c in chunks:
- if c[0] <> 'lilypond' or 'eps' not in c[2]:
+ if c[0] != 'lilypond' or 'eps' not in c[2]:
newchunks.append (c)
continue