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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Mon, 21 Jul 2003 15:04:48 -0000


bowersj2		Mon Jul 21 11:04:48 2003 EDT

  Modified files:              
    /doc/help	render.texxml.pl 
  Log:
  Add the ability for LON-CAPA's help system to render indexes.
  
  
Index: doc/help/render.texxml.pl
diff -u doc/help/render.texxml.pl:1.12 doc/help/render.texxml.pl:1.13
--- doc/help/render.texxml.pl:1.12	Tue Jul  1 14:21:24 2003
+++ doc/help/render.texxml.pl	Mon Jul 21 11:04:48 2003
@@ -78,7 +78,7 @@
 system ( "cp $epssource/* $tmpdir/" );
 
 print "Running Latex...\n";
-system ( "cd $tmpdir; echo | latex $fileroot $redir; echo | latex $fileroot $redir; echo | latex $fileroot\ $redir; " );
+system ( "cd $tmpdir; echo | latex $fileroot $redir; makeindex $fileroot.idx; echo | latex $fileroot $redir; echo | latex $fileroot\ $redir; " );
 
 print "Running dvips...\n";
 system ( "cd $tmpdir; dvips -Ppdf -G0 -f $fileroot.dvi > $fileroot.ps  " );