lua-filters icon indicating copy to clipboard operation
lua-filters copied to clipboard

diagram-generator tikz to png/svg

Open twsh opened this issue 4 years ago • 1 comments

I am getting a strange result when I generate svg/png from tikz in markdown document.

I have this in my markdown:

\Tree [ .A {A and B} {\(\lambda \mathrm{x} \in \mathrm{D} . \text{x is tall}\)} ]

The result of $ pandoc --lua-filter=diagram-generator.lua --extract-media images -o test.docx test.md is a png where what should be a '.' is a small triangle.

The same thing happens when I make svg, but I can't attach svg to an issue.

7d2263c15c95f4fe7da05f2c2b49a717c1fbb140

twsh avatar Nov 21 '20 13:11 twsh

I had better results adding --pdf-poppler to the Inkscape command.

twsh avatar Nov 22 '20 19:11 twsh