トップ
新規
一覧
単語検索
最終更新
ヘルプ
ログイン
アールメカブ
数式テスト
をテンプレートにして作成
開始行:
[[ここ:http://lna.matrix.jp/wiki/index.php?Plugins%2FMath...
mathml.inc.php.4(stable, 安定版; こちらをお使い下さい)
を plugin に mathml.inc.php として保存
tdiary.skins.php の 563 行
header('Content-Type: text/html; charset=' . CONTENT_CHA...
を
if(strstr($_SERVER['HTTP_ACCEPT'],
'application/xhtml+xml') == FALSE){
header('Content-Type: text/html; charset=' .
CONTENT_CHARSET);
}else{
header('Content-Type: application/xhtml+xml;
charset=' . CONTENT_CHARSET);
}
さらに 565 - 573 行目
// HTML DTD, <html>, and receive content-type
if (isset($pkwk_dtd)) {
$meta_content_type = pkwk_output_dtd($pkwk_dtd);
} else {
$meta_content_type = pkwk_output_dtd();
}
?>
<head>
<?php echo $meta_content_type ?> // この574行は残す
を消し,以下で置き換える
// HTML DTD, <html>, and receive content-type
?>
<?php echo '<?xml version="1.0" encoding="UTF-8" ?>' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:m="http://www.w3.org/1998/Math/MathML"
xml:lang="ja">
<head>
<object id="mathplayer"
classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987">
</object>
<?php echo '<?import namespace="m"
implementation="#mathplayer"?>' ?>
<?php echo $meta_content_type ?> // この579行は前から残...
と修正
#mathml(\sum_{i=0}^n i^2)
手元の FireFox Netscape ではきれいに出ます.IEでは,[[Mat...
終了行:
[[ここ:http://lna.matrix.jp/wiki/index.php?Plugins%2FMath...
mathml.inc.php.4(stable, 安定版; こちらをお使い下さい)
を plugin に mathml.inc.php として保存
tdiary.skins.php の 563 行
header('Content-Type: text/html; charset=' . CONTENT_CHA...
を
if(strstr($_SERVER['HTTP_ACCEPT'],
'application/xhtml+xml') == FALSE){
header('Content-Type: text/html; charset=' .
CONTENT_CHARSET);
}else{
header('Content-Type: application/xhtml+xml;
charset=' . CONTENT_CHARSET);
}
さらに 565 - 573 行目
// HTML DTD, <html>, and receive content-type
if (isset($pkwk_dtd)) {
$meta_content_type = pkwk_output_dtd($pkwk_dtd);
} else {
$meta_content_type = pkwk_output_dtd();
}
?>
<head>
<?php echo $meta_content_type ?> // この574行は残す
を消し,以下で置き換える
// HTML DTD, <html>, and receive content-type
?>
<?php echo '<?xml version="1.0" encoding="UTF-8" ?>' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:m="http://www.w3.org/1998/Math/MathML"
xml:lang="ja">
<head>
<object id="mathplayer"
classid="clsid:32F66A20-7614-11D4-BD11-00104BD3F987">
</object>
<?php echo '<?import namespace="m"
implementation="#mathplayer"?>' ?>
<?php echo $meta_content_type ?> // この579行は前から残...
と修正
#mathml(\sum_{i=0}^n i^2)
手元の FireFox Netscape ではきれいに出ます.IEでは,[[Mat...
ページ名: