lakerhy
Forum Replies Created
-
Forum: Plugins
In reply to: How to use ASCIIMathML correctly on WP?Yes . From top to bottom, every word.
Forum: Plugins
In reply to: How to use ASCIIMathML correctly on WP?Yes , moshu, I tried out this plugin just now. Something weird happened. I input the test tag [mathml]x_(1,2)=(-b+-sqrt(b^2-4ac))/(2a)[/mathml] which is showed as
x 1 , 2 = – b ± b 2 -4 a c 2 a
where is the square root sign going?
Does this mean that I fail to include the asciimath.class.php? But I did upload them all into the plugin directory. I am cursed? ;-((Forum: Plugins
In reply to: How to use ASCIIMathML correctly on WP?I use the absolute path for the js file instead for a try, unfortunately nothing has changed. While I inserted the above codes into the header.php located in my current theme directory, except deleting the title line the else are remained the same. I copy the entire header.php here :
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<html xmlns=”http://www.w3.org/1999/xhtml”><html xmlns:mml=”http://www.w3.org/1998/Math/MathML”>
<head>
<object id=”mathplayer” classid=”clsid:32F66A20-7614-11D4-BD11-00104BD3F987″>
</object><?import namespace=”mml” implementation=”#mathplayer”?>
<script type=”text/javascript” src=”ASCIIMathML.js”></script>
</head>
<body onload=”translate()”><head profile=”http://gmpg.org/xfn/11″>
<meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />
<title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>
<meta name=”generator” content=”WordPress <?php bloginfo(‘version’); ?>” /> <!– leave this for stats –>
<?php if (eregi(“MSIE”,getenv(“HTTP_USER_AGENT”)) ||
eregi(“Internet Explorer”,getenv(“HTTP_USER_AGENT”))) { ?><link rel=stylesheet type=”text/css” href=”<?php bloginfo(‘stylesheet_directory’); ?>/style-ie.css”>
<?php } else { ?>
<link rel=stylesheet type=”text/css” href=”<?php bloginfo(‘stylesheet_directory’); ?>/style.css”>
<?php } ?><link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”<?php bloginfo(‘rss2_url’); ?>” />
<link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”<?php bloginfo(‘rss_url’); ?>” />
<link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”<?php bloginfo(‘atom_url’); ?>” />
<link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” /><style type=”text/css” media=”screen”></style>
<?php wp_get_archives(‘type=monthly&format=link’); ?>
<?php wp_head(); ?>
</head>
<body>
<div id=”topbar”>
<div class=”searchform”><?php include (TEMPLATEPATH . ‘/searchform.php’); ?></div>
<div class=”nav”>“>Home |
</div></div>
<div id=”headerimg”></div><div id=”page-top”><div id=”page-bottom”><div id=”page”>
Same error occurs. What’s the problem within it then?