Skip to content

oltolm/pandoc-latex-math

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LaTeX math to SVG Lua Pandoc filter

Description

The latex-math.lua filter for Pandoc converts LaTeX math formulas to SVG.

Prerequisites

  • LaTeX must be installed. MiKTeX on Windows. TeX Live on Windows and other OS.
  • dvisvgm 1.4 or later. dvisvgm is now part of MiKTeX.
  • The preview package for LaTeX must be installed. MiKTeX will install the package automatically when the filter is executed the first time.

Usage

To use the latex-math.lua filter you need to save download it and place it into the working directory. Example:

@echo off
pandoc -t html5 -o test.html --lua-filter latex-math.lua --standalone test.md

The latex-math.lua filter will generate an SVG file for each math formula and place it into the working directory.

About

A Lua Pandoc filter that converts LaTeX math to SVG

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages