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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Thu, 24 Jul 2003 14:47:58 -0000


bowersj2		Thu Jul 24 10:47:58 2003 EDT

  Modified files:              
    /doc/help	render.texxml.pl 
  Log:
  Move the index generation step up one LaTeX render; LaTeX needs to 
  render the table of contents or the index pages end up in the wrong 
  place. LaTeX only renders tables of contents on the second run. Then we 
  need a third for the Index to be added to the file.
  
  
Index: doc/help/render.texxml.pl
diff -u doc/help/render.texxml.pl:1.13 doc/help/render.texxml.pl:1.14
--- doc/help/render.texxml.pl:1.13	Mon Jul 21 11:04:48 2003
+++ doc/help/render.texxml.pl	Thu Jul 24 10:47:58 2003
@@ -78,7 +78,7 @@
 system ( "cp $epssource/* $tmpdir/" );
 
 print "Running Latex...\n";
-system ( "cd $tmpdir; echo | latex $fileroot $redir; makeindex $fileroot.idx; echo | latex $fileroot $redir; echo | latex $fileroot\ $redir; " );
+system ( "cd $tmpdir; echo | latex $fileroot $redir; echo | latex $fileroot $redir; makeindex $fileroot.idx; echo | latex $fileroot\ $redir; " );
 
 print "Running dvips...\n";
 system ( "cd $tmpdir; dvips -Ppdf -G0 -f $fileroot.dvi > $fileroot.ps  " );