[LON-CAPA-cvs] cvs: doc /help render.texxml.pl

www lon-capa-cvs@mail.lon-capa.org
Thu, 05 May 2005 18:59:08 -0000


www		Thu May  5 14:59:08 2005 EDT

  Modified files:              
    /doc/help	render.texxml.pl 
  Log:
  Impossible to debug without log and tex file
  
  
Index: doc/help/render.texxml.pl
diff -u doc/help/render.texxml.pl:1.18 doc/help/render.texxml.pl:1.19
--- doc/help/render.texxml.pl:1.18	Tue Sep 14 18:26:17 2004
+++ doc/help/render.texxml.pl	Thu May  5 14:59:07 2005
@@ -104,6 +104,10 @@
 print "Converting to PDF (may take a bit)...\n";
 system ( "ps2pdf $fileroot.ps $fileroot.pdf" );
 
+print "Rescuing log and tex file for debugging ...\n";
+system ("cp $tmpdir/$fileroot.log ."); 
+system ("cp $tmpdir/$fileroot.tex ."); 
+
 print "Clearing temp directory...\n";
 system ( "rm -rf $tmpdir" );
 
@@ -113,5 +117,5 @@
 }
 else
 {
-    print "Generationr of $fileroot.ps failed.\n";
+    print "Generation of $fileroot.ps failed.\n";
 }