Most recent edit on 2008-06-30 13:04:41 by KyAnh
Additions:
'mimetex.php'
%%(php)
Deletions:
%%(php;1;mimetex.php)
Edited on 2008-06-30 13:03:22 by KyAnh
Additions:
%%(php;1;mimetex.php)
Deletions:
%%(php;0;mimetex.php)
Edited on 2008-06-30 13:01:16 by KyAnh
Additions:
Render tex code by using mimetex.cgi. Replace $mimetex_cgi with your alternative. If you donnot have a hosted mimetex.cgi, don't be worry. Feel free to send email to xkyanh_at_gmail.com to register a free mimetex.cgi support. Please give me some information about your hostname. I need that information to protect my server from attacking.
Deletions:
Display tex code by using mimetex.cgi. Replace $mimetex_cgi with your alternative. If you donnot have a hosted mimetex.cgi, don't be worry. Feel free to send email to xkyanh_at_gmail.com to register a free mimetex.cgi support. Please give me some information about your hostname. I need that information to protect my server from attacking.
Edited on 2008-06-30 12:48:02 by KyAnh
Additions:
The author of this support is kyanh
Edited on 2008-06-30 12:46:21 by KyAnh
Additions:
mimetex.cgi support
Display tex code by using mimetex.cgi. Replace $mimetex_cgi with your alternative. If you donnot have a hosted mimetex.cgi, don't be worry. Feel free to send email to xkyanh_at_gmail.com to register a free mimetex.cgi support. Please give me some information about your hostname. I need that information to protect my server from attacking.
CategoryUserContributions
Oldest known version of this page was edited on 2008-06-30 12:43:13 by KyAnh []
Page view:
<?php
/**
* Display tex code using http://kyanh.net/cgi-bin/mimetex.cgi
*
* Configuration: replace $mimetex_cgi with your alternative. If you donnot have
* a hosted mimetex.cgi, don't be worry. Feel free to send email to xkyanh@gmail.com
* to register a free mimetex.cgi support. Please give me some information about
* your hostname. I need that information to protect my server from attacking.
*
* Example: {{tex code="x^2+y^2"}}
*
* @package Actions
* @version $Id$
* @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
* @filesource
*
* @author {@link http://wikkawiki.org/kyanh kyanh} (original code)
*
**/
$mimetex_cgi = "http://kyanh.net/cgi-bin/mimetex.cgi";
$code = $vars['code'];
$title = $alt = $this->htmlspecialchars_ent($code);
$output = "<img src=\"$mimetex_cgi?".$code.'" alt="'.$alt.'" title="'.$title.'" />';
print($output);
?>