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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 01 Jul 2003 18:20:52 -0000


albertel		Tue Jul  1 14:20:52 2003 EDT

  Modified files:              
    /doc/help	render.texxml.pl texxml2latex.pl 
  Log:
  - using relative paths rather than the install paths
  
  
Index: doc/help/render.texxml.pl
diff -u doc/help/render.texxml.pl:1.10 doc/help/render.texxml.pl:1.11
--- doc/help/render.texxml.pl:1.10	Mon Mar 31 23:30:10 2003
+++ doc/help/render.texxml.pl	Tue Jul  1 14:20:52 2003
@@ -59,15 +59,15 @@
     $fileroot = substr($fileroot, 0, -7);
 }
 
-my $epssource = "/home/httpd/html/adm/help/eps";
+my $epssource = "../../loncom/html/adm/help/eps";
 
 if ( defined ( $ARGV[2] ) ) # override eps source, for build on install
 {
     $epssource = $ARGV[2];
 }
 
-my $redir = ">& /dev/null"; # empty this for easier debugging
-#my $redir = ">> /home/jerf/work/loncapa/doc/help/error_log.txt";
+#my $redir = ">& /dev/null"; # empty this for easier debugging
+my $redir = ">> error_log.txt";
 
 mkdir $tmpdir, 0755;
 
@@ -90,7 +90,7 @@
 system ( "ps2pdf $fileroot.ps $fileroot.pdf" );
 
 print "Clearing temp directory...\n";
-system ( "rm -rf $tmpdir" );
+#system ( "rm -rf $tmpdir" );
 
 if ( -e $fileroot . ".ps" )
 {
Index: doc/help/texxml2latex.pl
diff -u doc/help/texxml2latex.pl:1.3 doc/help/texxml2latex.pl:1.4
--- doc/help/texxml2latex.pl:1.3	Wed Jul 31 10:55:11 2002
+++ doc/help/texxml2latex.pl	Tue Jul  1 14:20:52 2003
@@ -33,7 +33,7 @@
 
 # accept texxml document on standard in
 my $p = HTML::TokeParser->new( $ARGV[0] );
-my $dirprefix = "/home/httpd/html/adm/help/tex/";
+my $dirprefix = "../../loncom/html/adm/help/tex/";
 
 # Print the header
 open (LATEX_FILE, $dirprefix . "Latex_Header.tex");