--- loncom/xml/londefdef.pm 2006/04/20 02:08:15 1.328 +++ loncom/xml/londefdef.pm 2006/08/02 19:26:54 1.332 @@ -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.332 2006/08/02 19:26:54 www 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.=(< @@ -2866,7 +2867,7 @@ sub start_img { ['','bottom','middle','top','left','right'],$token,5); $currentstring .=&Apache::edit::select_arg('TeXwrap:', 'TeXwrap', ['', 'parbox', 'parpic'], $token, 2); - $currentstring .=&Apache::edit::select_arg('Encyrpt URL:','encrypturl', + $currentstring .=&Apache::edit::select_arg('Encrypt URL:','encrypturl', ['no','yes'], $token, 2); $currentstring .=&Apache::edit::end_row().&Apache::edit::start_spanning_row(); my $src= &Apache::lonxml::get_param('src',$parstack,$safeeval);