[LON-CAPA-cvs] cvs: loncom /interface printout.pl

sakharuk lon-capa-cvs@mail.lon-capa.org
Wed, 13 Aug 2003 15:29:39 -0000


sakharuk		Wed Aug 13 11:29:39 2003 EDT

  Modified files:              
    /loncom/interface	printout.pl 
  Log:
  Changes to produce a table of contents for different situations.
  
  
Index: loncom/interface/printout.pl
diff -u loncom/interface/printout.pl:1.31 loncom/interface/printout.pl:1.32
--- loncom/interface/printout.pl:1.31	Thu Jul 24 10:57:54 2003
+++ loncom/interface/printout.pl	Wed Aug 13 11:29:39 2003
@@ -49,6 +49,7 @@
       my $path_file = $1.'/';
       chdir $path_file;
       system("latex $name_file 1>/dev/null 2>/dev/null");
+      if ($selectionmade>10) {system("latex $name_file 1>/dev/null 2>/dev/null");} #to create tableof contents
       #Do we have a latex error in the log file?
       my $logfilename = $texfile;
       $logfilename =~ s/\.tex$/\.log/;