Public
Authored by schrieveslaach

Pandoc Acronym Filter

This snippet provides an acronym filter based on pandoc and the panflute filter API. You can use it for converting all Acronyms of a LaTeX file that have been defined with \newacronym{...}{...}{...} and that are referenced by \gls{...}.

Following command converts the Acronyms in an ODT file:

FILENAME=your-file.tex 
pandoc \
   -F pandoc-citeproc \
   -F pandoc-acronym-filter.py \
   -f latex+raw_tex \
   -t odt \
   "$FILENAME" \
   -o "${FILENAME%.*}.odt"
pandoc-acronym-filter.py 1.87 KB
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment