if verbose not set.
(read_pipe): only display log if it contains something.
+2003-08-27 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+
+ * python/lilylib.py (read_pipe): only store and display error log
+ if verbose not set.
+ (read_pipe): only display log if it contains something.
+
2003-08-27 Jan Nieuwenhuizen <janneke@gnu.org>
* Documentation/misc/GNUmakefile: Re-add.
--- /dev/null
+
+\version "1.9.1"
+\header { texidoc = "@cindex Scheme Move Notehead
+
+You can move objects around with the property extra-offset. This
+example shows how to move noteheads around. It uses the
+@code{\outputproperty} command.
+
+" }
+
+fragment = \notes {
+ \outputproperty #(make-type-checker 'note-head-interface)
+ #'extra-offset = #'(2 . 3)
+ c''2 c
+}
+
+\paper { raggedright = ##t}
+
+\score {
+ \notes\relative c \fragment
+ \paper { }
+}
+
--- /dev/null
+#(ly:set-option 'old-relative)
+\version "1.9.1"
+
+
+
+\header {
+ texidoc = "Cross voice ties can be faked by blanking noteheads."
+ }
+
+
+\score {
+\context Staff \notes {
+\relative c'' <
+ {
+ \once \property Voice.Stem \set #'transparent = ##t
+ b8~ b8 }
+ \\
+ { b[ g8] }
+>
+}
+\paper { raggedright = ##t }
+}
return tempfile.mktemp ('%s.errorlog' % name)
def read_pipe (cmd, mode = 'r'):
+
+
redirect = ''
error_log_file = ''
if __main__.verbose_p:
progress (_ ("Opening pipe `%s\'") % cmd)
+ else:
error_log_file = error_log (command_name (cmd))
redirect = ' 2>%s' % error_log_file
if status:
error (_ ("`%s\' failed (%d)") % (cmd, exit_status))
+
if not __main__.verbose_p:
- error (_ ("The error log is as follows:"))
- sys.stderr.write (open (error_log (command_name (cmd)).read ()))
+ contents = open (error_log_file).read ()
+ if contents:
+ error (_ ("The error log is as follows:"))
+ sys.stderr.write (contents)
exit (status)
if __main__.verbose_p: