--- loncom/xml/londefdef.pm 2006/04/20 02:08:15 1.328 +++ loncom/xml/londefdef.pm 2006/08/01 18:48:14 1.331 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Tags Default Definition Module # -# $Id: londefdef.pm,v 1.328 2006/04/20 02:08:15 albertel Exp $ +# $Id: londefdef.pm,v 1.331 2006/08/01 18:48:14 albertel Exp $ # # # Copyright Michigan State University Board of Trustees @@ -180,11 +180,11 @@ sub end_tthoption { sub start_html { my ($target,$token) = @_; my $currentstring = ''; - &Apache::lontexconvert::init_tth(); if ($target eq 'web' || $target eq 'edit' || $target eq 'webgrade' ) { # start_body() takes care of emitting the } elsif ($target eq 'tex') { - $currentstring .= '\documentclass[letterpaper,twoside]{article}'; + $currentstring .= + '\documentclass[letterpaper,twoside]{article}\raggedbottom'; if (($env{'form.latex_type'}=~'batchmode') || (!$env{'request.role.adv'})) {$currentstring .='\batchmode';} $currentstring .= '\newcommand{\keephidden}[1]{}'. @@ -534,6 +534,7 @@ sub start_body { 'force_register' => 1}); if ($env{'request.state'} ne 'published') { + $currentstring.=&Apache::lonmenu::constspaceform(); $currentstring.=(<