Open MoritzBeroRoos opened 1 month ago
The filter expects code blocks, so it works best with markdown, rst, org, etc, where it's relatively easy to create such blocks. tikzpictures
environments are skipped by the LaTeX reader (or parsed as RawBlock elements with +raw_tex
), so one would need a filter to change those elements to something that this filter expects.
Hi, im sorry but i have to ask if i miss something obvious. What i have done on a fresh ubuntu system:
downloaded the file diagram.lua and put it in my home directory along with the following input.tex:
My input.tex
Some more math $\mathbb{R}$.
pandoc input.tex -o output.html -f latex -t html --embed-resources --lua-filter=diagram.lua
There is no image clue to be seen. Also the conversion is extremely fast, which makes me doubt that inkscape has been used. (if i start inkscape as a gui it takes a few seconds). I get no errors or warnings that i can see. Also i get the exact same output file if i leave the filter out completely:
Is there something i have to install to use this package?