[OS X TeX] Using TeXShop as a markdown editor

Axel Kielhorn tex at axelkielhorn.de
Tue Aug 9 17:28:49 CEST 2011

Am 09.08.2011 um 17:11 schrieb Axel Kielhorn:

> The only problem so far are filenames with spaces.
> pandoc -r latex -t epub "$1" -o `basename "$1" .tex`.epub "$1"
> If this is solved I gladly supply the engine files for future releases.

Solved with the help of the pandoc list:

pandoc -r markdown -t epub "$1" -o "`basename '$1' .md`".epub

I'll add some comments and examples to the engine files and upload them to the list.


More information about the macostex-archives mailing list