Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


The script parser.hs uses Pandoc to create a syntax tree from the LaTeX sources and returns a JSON file containing plain text and math extracted from the document. This script reads from stdin and returns to stdout. It is meant to be used in a pipeline, e.g.,

$ input.tex | runghc parser.hs > out.json

or, if parser.hs was compiled

$ input.tex | ./parser > out.json
You can’t perform that action at this time.