Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

WP-Math-2

Apraksts

WP-Math-2 can help you insert math formula into WordPress posts or comments. You can use $$...$$(block, only one math expression per line) and $...$(inline, around the text) to insert math. This plugin will render them to HTML or MathML code snippets(Depends on your browser. If your browser supports MathML, it will use MathML, otherwise, use HTML and CSS instead). This work is done by javascript. So your browser must enable JavaScript.

But in most of RSS readers, any JavaScript snippets cannot execute. So I made a trick. WP-Math-2 will convert LaTeX text to images. So users can see math contents with their favorite RSS reader software.

Uzstādīšana

  1. Upload wp-math-2.tar.gz to the wp-content/plugins directory
  2. Active the plugin in WordPress ‘Plugins’ menu

Also, you may want to change the height of inline math formula. Open wp-math-2.php and find

define('MATH_IMG_INLINE_HEIGHT', '20');

The default height is ’20’ pixels. You can change it into a proper value.

Atsauksmes

Par šo spraudni nav atsauksmju.

Autori un izstrādātāji

“WP-Math-2” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “WP-Math-2&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.