--- loncom/xml/lontexconvert.pm 2008/12/04 09:51:14 1.92
+++ loncom/xml/lontexconvert.pm 2008/12/04 19:53:53 1.93
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# TeX Conversion Module
#
-# $Id: lontexconvert.pm,v 1.92 2008/12/04 09:51:14 hauer Exp $
+# $Id: lontexconvert.pm,v 1.93 2008/12/04 19:53:53 riegler Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -248,7 +248,7 @@ sub mimetex_valign {
$ua->timeout(10);
$ua->env_proxy;
#header without imagedata saved to response:
- my $response = $ua->head('http://lcdevhost.localdomain/cgi-bin/mimetex.cgi?'.$texstring);
+ my $response = $ua->head('http://localhost.localdomain/cgi-bin/mimetex.cgi?'.$texstring);
if ($response->is_success) {
#get the valign-value:
return($response->headers->{'vertical-align'});}
@@ -267,12 +267,7 @@ sub mimetex_converted {
$$texstring='\\displaystyle \\Large '.$$texstring;
}
-# FIXME
-# this is the line that calls the new function mimetex_valign above:
-# my $result='';
-#
-# this line is the old implementation without valign of the images:
- my $result='
';
+ my $result='
';
if ($displaystyle) {
$result='