A LaTeX -> WordPress utility built on Pandoc. It converts a LaTeX input file to
HTML suitable for WordPress: inline math uses WP-LaTeX syntax ($latex $
), and
display math is converted to PNG images.
Usage: latex2wp [OPTION] ... FILE
Convert LaTeX input files to HTML source suitable for WordPress.
Uses WP-LaTeX syntax ($latex $) for inline math,
and converts display math to PNG.
-i PATH --img-src=PATH Prepend PATH to image URLs in HTML.
Does not affect where images will be saved.
-o DIR --output-dir=DIR Output to DIR instead of current directory.
-t DIR --temp-dir=DIR Use DIR for temporary files instead of /tmp.
- Haskell (run
stack build
if you have it) - pdflatex
- ImageMagick