This solution doesn't work for a hypothetical user who has a score
where 1000000 isn't big enough and who has found out from that mailing
list archives that the setting should be done within texmf.cnf.
This is clearly very unlikely, but a safer solution could be to
set the variable to the max of 1000000 and the current value as
given by libkpathsea.

   /Mats

Han-Wen Nienhuys wrote:
CVSROOT:        /cvsroot/lilypond
Module name:    lilypond
Branch:         
Changes by:     Han-Wen Nienhuys <[EMAIL PROTECTED]>      04/10/05 21:58:16

Modified files:
. : ChangeLog scm : framework-tex.scm


Log message:
        (convert-to-dvi): set extra_mem_top

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/ChangeLog.diff?tr1=1.2684&tr2=1.2685&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/lilypond/lilypond/scm/framework-tex.scm.diff?tr1=1.28&tr2=1.29&r1=text&r2=text

Patches:
Index: lilypond/ChangeLog
diff -u lilypond/ChangeLog:1.2684 lilypond/ChangeLog:1.2685
--- lilypond/ChangeLog:1.2684 Mon Oct 4 23:28:35 2004
+++ lilypond/ChangeLog Tue Oct 5 21:58:15 2004
@@ -1,3 +1,7 @@
+2004-10-05 Han-Wen Nienhuys <[EMAIL PROTECTED]>
+
+ * scm/framework-tex.scm (convert-to-dvi): set extra_mem_top
+ 2004-10-04 Han-Wen Nienhuys <[EMAIL PROTECTED]>
* lily/slur-scoring.cc (struct Slur_score_state): add
Index: lilypond/scm/framework-tex.scm
diff -u lilypond/scm/framework-tex.scm:1.28 lilypond/scm/framework-tex.scm:1.29
--- lilypond/scm/framework-tex.scm:1.28 Fri Oct 1 23:28:39 2004
+++ lilypond/scm/framework-tex.scm Tue Oct 5 21:58:16 2004
@@ -285,6 +285,8 @@
(let*
((cmd (string-append "latex \\\\nonstopmode \\\\input " name)))
+ (if (not (string? (getenv "extra_mem_top")))
+ (setenv "extra_mem_top" "1000000"))
(newline (current-error-port))
(display (format #f (_ "Invoking ~S") cmd) (current-error-port))
(newline (current-error-port))



_______________________________________________ Lilypond-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-cvs

-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================


_______________________________________________ lilypond-devel mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to