Annoyed that Pandoc doesn't correctly handle figure labels? Well, this module is just for you!
ltmd
uses regex to extract figures, references, and mathematics, and
processes them separately to Pandoc so that the figure references, etc. are
preserved.
Use:
python3 preprocess.py <input> <output>
for example to generate the test markdown, we use
python3 preprocess.py test.tex test.md
python3
(nopython2
version will ever be made available)pandoc
somewhere in your path.pypandoc