Return to londefdef.pm CVS log | Up to [LON-CAPA] / loncom / xml |
version 1.84, 2002/08/12 14:32:00 | version 1.87, 2002/09/05 19:33:55 |
---|---|
Line 52 use Image::Magick; | Line 52 use Image::Magick; |
BEGIN { | BEGIN { |
&Apache::lonxml::register('Apache::londefdef',('m','html','head','map','select','option','input','textarea','form','meta','title','body','center','b','strong','dt','h1','h2','h3','h4','h5','h6','cite','i','address','dd','dl','dir','ol','ul','menu','dfn','kbd','tt','code','em','q','p','br','big','small','basefont','font','s','sub','strike','sup','hr','a','li','u','output','param','applet','img','embed','allow','frameset','pre','insert','externallink','table','tr','th','td','blankspace','bubble','bubbles','bubbleline')); | &Apache::lonxml::register('Apache::londefdef',('m','html','head','map','select','option','input','textarea','form','meta','title','body','center','b','strong','dt','h1','h2','h3','h4','h5','h6','cite','i','address','dd','dl','dir','ol','ul','menu','dfn','kbd','tt','code','em','q','p','br','big','small','basefont','font','s','sub','strike','sup','hr','a','li','u','output','param','applet','img','embed','allow','frameset','pre','insert','div','externallink','table','tr','th','td','blankspace','bubble','bubbles','bubbleline')); |
} | } |
Line 126 sub end_m { | Line 126 sub end_m { |
\newcommand{\keephidden}[1]{} | \newcommand{\keephidden}[1]{} |
\renewcommand{\deg}{$^{\circ}$} | \renewcommand{\deg}{$^{\circ}$} |
\usepackage[dvips]{graphicx} | \usepackage[dvips]{graphicx} |
\usepackage{epsfig}\usepackage{calc}'; | \usepackage{epsfig}\usepackage{calc} |
\newenvironment{choicelist}{\begin{enumerate}}{\end{enumerate}}'; | |
} | } |
return $currentstring; | return $currentstring; |
} | } |
Line 466 EDITBUTTON | Line 467 EDITBUTTON |
if ($target eq 'web') { | if ($target eq 'web') { |
$currentstring .= $token->[4]; | $currentstring .= $token->[4]; |
} elsif ($target eq 'tex') { | } elsif ($target eq 'tex') { |
$currentstring .= '\large{\textbf{'; | $currentstring .= '{\large \textbf{'; |
} elsif ($target eq 'meta') { | } elsif ($target eq 'meta') { |
$currentstring='<subject>'; | $currentstring='<subject>'; |
&start_output(); | &start_output(); |
Line 493 EDITBUTTON | Line 494 EDITBUTTON |
if ($target eq 'web') { | if ($target eq 'web') { |
$currentstring .= $token->[4]; | $currentstring .= $token->[4]; |
} elsif ($target eq 'tex') { | } elsif ($target eq 'tex') { |
$currentstring .= '\large{\textbf{'; | $currentstring .= '{\large \textbf{'; |
} | } |
return $currentstring; | return $currentstring; |
} | } |
Line 514 EDITBUTTON | Line 515 EDITBUTTON |
if ($target eq 'web') { | if ($target eq 'web') { |
$currentstring .= $token->[4]; | $currentstring .= $token->[4]; |
} elsif ($target eq 'tex') { | } elsif ($target eq 'tex') { |
$currentstring .= '\large{\textbf{'; | $currentstring .= '{\large \textbf{'; |
} | } |
return $currentstring; | return $currentstring; |
} | } |
Line 535 EDITBUTTON | Line 536 EDITBUTTON |
if ($target eq 'web') { | if ($target eq 'web') { |
$currentstring .= $token->[4]; | $currentstring .= $token->[4]; |
} elsif ($target eq 'tex') { | } elsif ($target eq 'tex') { |
$currentstring .= '\large{\textbf{'; | $currentstring .= '{\large \textbf{'; |
} | } |
return $currentstring; | return $currentstring; |
} | } |
Line 556 EDITBUTTON | Line 557 EDITBUTTON |
if ($target eq 'web') { | if ($target eq 'web') { |
$currentstring .= $token->[4]; | $currentstring .= $token->[4]; |
} elsif ($target eq 'tex') { | } elsif ($target eq 'tex') { |
$currentstring .= '\large{\textbf{'; | $currentstring .= '{\large \textbf{'; |
} | } |
return $currentstring; | return $currentstring; |
} | } |
Line 577 EDITBUTTON | Line 578 EDITBUTTON |
if ($target eq 'web') { | if ($target eq 'web') { |
$currentstring .= $token->[4]; | $currentstring .= $token->[4]; |
} elsif ($target eq 'tex') { | } elsif ($target eq 'tex') { |
$currentstring .= '\large{\textbf{'; | $currentstring .= '{\large \textbf{'; |
} | } |
return $currentstring; | return $currentstring; |
} | } |
Line 1039 EDITBUTTON | Line 1040 EDITBUTTON |
if ($target eq 'web') { | if ($target eq 'web') { |
$currentstring .= $token->[4]; | $currentstring .= $token->[4]; |
} elsif ($target eq 'tex') { | } elsif ($target eq 'tex') { |
$currentstring .= '\vskip 0 mm \noindent\makebox[\textwidth ][b]{\hrulefill}\vskip 0 mm '; | $currentstring .= '\vskip 0 mm \noindent\makebox[\textwidth/2 ][b]{\hrulefill}\vskip 0 mm '; |
} | } |
return $currentstring; | return $currentstring; |
} | } |
Line 1052 EDITBUTTON | Line 1053 EDITBUTTON |
} | } |
return $currentstring; | return $currentstring; |
} | } |
#-- <div> tag | |
sub start_div { | |
my ($target,$token) = @_; | |
my $currentstring = ''; | |
if ($target eq 'web') { | |
$currentstring .= $token->[4]; | |
} | |
return $currentstring; | |
} | |
sub end_div { | |
my ($target,$token) = @_; | |
my $currentstring = ''; | |
if ($target eq 'web') { | |
$currentstring .= $token->[2]; | |
} | |
return $currentstring; | |
} | |
#-- <a> tag | #-- <a> tag |
sub start_a { | sub start_a { |
my ($target,$token) = @_; | my ($target,$token) = @_; |