jxxcarlson/meenylatex/7.0.0

NOTE: the latest version is 15.2.0

MiniLatex.Render

This module is for quickly preparing latex for export.

API

makeTableOfContents : LatexState -> String

Build a table of contents from the current LatexState

render : LatexState -> LatexExpression -> String

The main rendering funcction. Compute an Html msg value from the current LatexState and a LatexExpresssion.

renderLatexList : LatexState -> List LatexExpression -> String

Like render, but renders a list of LatexExpressions to Html mgs

renderString : Parser LatexExpression -> LatexState -> String -> String

Parse a string, then render it.

renderArg : Int -> LatexState -> List LatexExpression -> String

render an argument

transformText : LatexState -> String -> String

render a string representing Latex text into a string representing Html text given a LatexState