Linux 软件免费装
Banner图

WPMathPub

开发者 RonF
roof
ronf
更新时间 2026年5月9日 15:22
捐献地址: 去捐款
PHP版本: 7.2 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

latex math mathematics equations formula

下载

3.0.5 1.0.6 1.0.7 1.0.9 1.1.0 1.2.0 2.0.0 2.0.1 2.0.3 2.0.4 2.1.0 2.1.2 2.1.3 1.0.5 2.0.2 2.1.1 2.1.4 3.0.2 3.0.4 1.3.0 3.0.3

详情介绍:

WPMathPub renders mathematical equations in WordPress using the Mathpublisher rendering engine, supporting both native pmath syntax and LaTeX-style input. It generates fast, high-quality PNG images with halo-free transparent backgrounds for reliable display across posts, pages, comments, and RSS feeds. The plugin also includes Math-Pub Rosetta, a standalone app built on the same Mathpublisher engine. Rosetta mirrors WPMathPub's behavior outside WordPress, allowing users to publish math anywhere - as a WPMathPub pmath tag learning tool, as a gateway to any LaTeX-enabled document (including Microsoft Office and Overleaf), or directly in WordPress comments. (Launch the Rosetta app) Unlike MathJax-based plugins, WPMathPub performs server-side rendering, producing static equation images that display consistently across browsers and devices without requiring client-side JavaScript. This approach provides reliable rendering for: WPMathPub extends the classic mathpublisher engine with modern WordPress integration including shortcode support, LaTeX translation, image caching, and configurable rendering options.

安装:

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the WordPress Plugins menu.
  3. Optional: change defaults under Tools → WPMathPub.
  4. Optional: share the Math-Pub Rosetta link in your content to support math enabled comments.

屏幕截图:

  • Example rendered equation in comment
  • Example Gutenberg block
  • Example from syntax page
  • WordPress admin configuration panel top
  • WordPress admin configuration panel bottom
  • Dashboard message requests administrator clear math image cache on new version install
  • Math-Pub Rosetta is a standalone version of WPMathPub: learn, create, and publish anywhere
  • Launch the bundled copy of Math-Pub Rosetta from the link on the plugin page

升级注意事项:

3.0.5 New: \text{} for upright free-form text in equations, \pmb{} for pseudo-bold single symbols, and the Math-Pub Rosetta standalone tester (bundled in /demo). Cleaner small-size rendering of trig/operators/Greek capitals via Latin Modern Roman. Several LaTeX translator fixes (matrix-with-delimiters, \lim, \iiint/\iint/\int/\oint, half-open intervals, thin space, function keywords). White-screen-of-death protection if a required file is missing during upgrade. Internal translator refactor. 3.0.4 Adds ℏ (hbar) symbol. Fixes LaTeX \frac with multi-token expressions. Improves vertical alignment between inline text and math images. Fixes image rendering failure at certain font sizes. Improve PNG image cache. Security hardening for WordPress coding standards compliance. 3.0.3 Improved PNG image rendering, fix glyph clipping. Improved defensive file hardening when mathpublisher.php file is missing. 3.0.2 New LaTeX command coverage, halo-free color PNG rendering, Gutenberg block with PMath/LaTeX mode switching, and improved tools panel. Equation images are now cached in /wp-content/uploads/ and will regenerate automatically on first use after upgrading.

常见问题:

How do I get started with WPMathPub?

Here are four references:

Does this plugin require MathJax?

No. WPMathPub renders equations server-side as PNG images using the mathpublisher rendering engine.

Does it support LaTeX?

Yes. WPMathPub includes a server-side LaTeX translator that converts standard LaTeX math commands into native pmath syntax before rendering. The result is identical PNG output — so a LaTeX expression and its pmath equivalent share the same cached image file, with no duplication. See the full command reference on the WPMathPub syntax page.

Where are rendered images stored?

Rendered equation images are cached in: /wp-content/uploads/wpmathpub/math-img/ The bundled Math-Pub Rosetta demo has its own cache directory: /wp-content/plugins/wpmathpub/demo/img Both cache directories can be monitored and cleared from the dashboard: Tools > WPMathPub

Why does the plugin generate PNG images instead of SVG?

The plugin preserves compatibility with the mathpublisher rendering engine, which produces raster images. PNG output ensures consistent rendering across browsers.

Why do I see a “clear image cache” message after installing a new version of WPMathPub?

WPMathPub uses a high‑speed image cache to serve PNG math equations across your posts, pages, comments, and RSS feeds. Each equation is stored using a unique hash (similar to an MD5 fingerprint), so it only gets regenerated if the image doesn’t already exist in the cache. When you install a new version of WPMathPub, the rendering engine may have improved. However, cached images won’t automatically update because their hash hasn’t changed. Clearing the cache ensures all equations are regenerated using the latest version. As your site loads, WPMathPub will automatically rebuild the image directory with fresh, updated PNGs.

Where do I find the Math-Pub Rosetta standalone application?

A demo version of Rosetta is bundled with the WPMathPub plugin. You can launch it from Dashboard > Installed Plugins, where a link appears next to the WPMathPub entry. The screenshot in this section shows exactly where to click. The latest full version of Math‑Pub Rosetta is available at Math‑Pub.org. The bundled version and the website version work the same way, but new Rosetta features are released independently from WPMathPub plugin updates — so the online version may include enhancements that haven’t yet been packaged with the plugin.

更新日志:

3.0.5 3.0.4 3.0.3 3.0.2