2004-10-24 Han-Wen Nienhuys <hanwen@xs4all.nl>
+ * THANKS: add Meisters to the Development team.
+
+ * scm/framework-tex.scm (convert-to-dvi): redirect output to
+ /dev/null for non-verbose.
+
+ * Documentation/user/invoking.itely (Invoking lilypond): add note
+ about resource usage.
+
* tex/GNUmakefile (TEX_FILES): add texinfo.cnf
* stepmake/stepmake/texinfo-vars.make (MAKEINFO): add
@code{--safe} does @emph{not} detect resource overuse. It is still
possible to make the program hang indefinitely, for example by feeding
-cyclic data structures into the backend. If using LilyPond
-on a publically accessible webserver, the process should limited in both
-allowed CPU and memory usage.
+cyclic data structures into the backend. Therefore, if using LilyPond
+on a publicly accessible webserver, the process should limited in
+both allowed CPU and memory usage.
@item -v,--version
Show version information.
" -t landscape "
" ")
" -u+ec-mftrace.map -u+lilypond.map -Ppdf "
- (basename name ".tex"))))
- (display (format #f (_ "Invoking ~S") cmd) (current-error-port))
- (newline (current-error-port))
+ (basename name ".tex")
+
+ (if (ly:get-option 'verbose)
+ " "
+ " 2>&1 1>& /dev/null ")
+ )))
+
+ (if (ly:get-option 'verbose)
+ (begin
+ (newline (current-error-port))
+
+ (display (format #f (_ "Invoking ~S") cmd) (current-error-port))
+ (newline (current-error-port)))
+ (display "Converting to PS" (current-error-port))
+ )
(system cmd)))
(define-public (convert-to-dvi book name)
#f " *%.*\n?"
(ly:kpathsea-expand-variable "$extra_mem_top")
'pre "" 'post)))
- (cmd (string-append "latex \\\\nonstopmode \\\\input " name)))
+ (cmd (string-append
+ "latex \\\\nonstopmode \\\\input " name
+ (if (ly:get-option 'verbose)
+ " "
+ " 2>&1 1>& /dev/null ")
+
+ )))
(setenv "extra_mem_top" (number->string (max curr-extra-mem 1024000)))
- (newline (current-error-port))
- (display (format #f (_ "Invoking ~S") cmd) (current-error-port))
- (newline (current-error-port))
+ (if (ly:get-option 'verbose)
+ (begin
+ (newline (current-error-port))
+ (display (format #f (_ "Invoking ~S") cmd) (current-error-port))
+ (newline (current-error-port)))
+ (display "Converting to PDF" (current-error-port)))
;; fixme: set in environment?
(if (ly:get-option 'safe)