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

www lon-capa-cvs@mail.lon-capa.org
Wed, 16 Mar 2005 21:31:27 -0000


www		Wed Mar 16 16:31:27 2005 EDT

  Modified files:              
    /doc/help	texxml2latex.pl 
  Log:
  Bug #4015: Inserted garbage characters into TeX file for every new subsection.
  
  
Index: doc/help/texxml2latex.pl
diff -u doc/help/texxml2latex.pl:1.11 doc/help/texxml2latex.pl:1.12
--- doc/help/texxml2latex.pl:1.11	Tue Sep 14 18:26:17 2004
+++ doc/help/texxml2latex.pl	Wed Mar 16 16:31:27 2005
@@ -76,7 +76,7 @@
 
 	if ($tag eq 'subsection') {
 	    my $title = $attr->{'name'};
-	    print "\\subsection{"&escape_latex($title)."}\n\n";
+	    print "\\subsection{".&escape_latex($title)."}\n\n";
 	}
 
 	if ($tag eq 'subsubsection') {