/pandoc-filters

Pandoc filters

Primary LanguageLua

Some Filters for Pandoc

  • abbrevs_ms.py – abbreviation filtering for MS and LaTeX output
  • beamer-queries.lua – a filter for presentations, not only with Beamer for LaTeX, which generates links for queries to corpus search engines like ANNIS and KorAP, but also to RegExr and Unicode characters.
  • beamer-spans.lua – a filter for Beamer presentations with LaTeX which wraps certain <spans> (:::s) in some beamer environments I use.
  • bibexport.lua – export citations to a list (adapted from this to use bibtool)
  • image-list.lua – convert graphics (PDF/EPS to SVG for HTML/ePub, PDF/EPS/SVG as well as non-PNG/JPEG to EMF for Word/RTF) and print a list of images in order, e.g. for packaging
  • image-ms.lua – prepare images for MS output; also handles some minor problems with Pandoc
  • protect_quote_ms.py – protect U+2019 from smartness (obsolete?)
  • reveal-lists.lua – a filter that wraps all plain text bullet lists bullets in paragraphs, so that the IDS template for Reveal.js works.
  • scaps-simple.py and scaps.py – for playing with smallcaps in MS output
  • un-smallcaps.lua – make small caps all capitals
  • utils.lua – contains local utility functions, mostly collected from the Web.

Feel free to use these as you see fit.