| 开发者 |
RonF
roof ronf |
|---|---|
| 更新时间 | 2026年5月9日 15:22 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.2 及以上 |
| WordPress版本: | 6.9 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
/wp-content/plugins/ directory.Here are four references:
No. WPMathPub renders equations server-side as PNG images using the mathpublisher rendering engine.
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.
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
The plugin preserves compatibility with the mathpublisher rendering engine, which produces raster images. PNG output ensures consistent rendering across browsers.
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.
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.