A Sublime Text plugin that uses Pandoc to convert text from one markup format into another. Pandoc can convert documents in markdown, reStructuredText, textile, HTML, DocBook, LaTeX, MediaWiki markup, OPML, or Haddock markup to XHTML, HTML5, HTML slide shows using Slidy, reveal.js, Slideous, S5, or DZSlides, Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocument XML, EPUB version 2 or 3, FictionBook2, DocBook, GNU TexInfo, Groff man pages, Haddock markup, OPML, LaTeX, ConTeXt, LaTeX Beamer slides, PDF via LaTeX, Markdown, reStructuredText, AsciiDoc, MediaWiki markup, Emacs Org-Mode, Textile, or custom writers can be written in lua.
On Windows, this plugin always cannot find pandoc executable in PATH even pandoc.exe is in PATH environment. The only way I can make it work is set pandoc-path explicitly which is painful because I use sublime text in multiple machines and platforms.
I think it's a bug. In Pandoc.py line 95, _find_binary was called without extension name (.exe) as below:
_find_binary('pandoc', _s('pandoc-path'))
On windows, this function should be called as `_find_binary('pandoc.exe', _s('pandoc-path'))'.
On Windows, this plugin always cannot find pandoc executable in PATH even pandoc.exe is in PATH environment. The only way I can make it work is set pandoc-path explicitly which is painful because I use sublime text in multiple machines and platforms.
I think it's a bug. In Pandoc.py line 95, _find_binary was called without extension name (.exe) as below:
_find_binary('pandoc', _s('pandoc-path')) On windows, this function should be called as `_find_binary('pandoc.exe', _s('pandoc-path'))'.
Thanks, Crane