Hello,
I’d like to produce for every input .org
file (could do the same for mardown files) a .epub
file, a .pdf
file and a .html
file (for e-readers, printers, and web browsers). Since I use extensively maths equations, I’d like to use pandoc
and GladTex to generate for me the .epub
file, using something like:
pandoc -t json mypost.org | gladtex -d img -P - | pandoc -f json -o mypost.epub
Is it possible to specify custom commands to generate .epub
from .org
automatically (and another custom command to generate .epub
from .pdc
)?
Thanks!