tbfisher / sublimetext-Pandoc

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.
MIT License
137 stars 26 forks source link

ST2 cannot seem to read Pandoc.sublime-settings #27

Open wcrissman opened 9 years ago

wcrissman commented 9 years ago

I'm using ST2 and manually obtained the 1.x branch with the following:

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone -b 1.x https://github.com/tbfisher/sublimetext-Pandoc

Then restarted ST2.

Verified I have the correct branch by viewing the readme: # Pandoc Plugin for Sublime Text 2

My user settings file looks like the following:

{
    "user": {
        "pandoc-path": "/usr/local/bin/pandoc"
    }
}

When I try to execute pandoc through the Command Pallete to convert orgmode to markdown, plaintext, anything, the console shows:

Traceback (most recent call last):
  File "./Pandoc.py", line 53, in transform
  File "./Pandoc.py", line 138, in _src_format
  File "./Pandoc.py", line 155, in _format_conf
KeyError: None

When I try to view the default package settings, the console shows:

Unable to open ~/Library/Application Support/Sublime Text 2/Packages/Pandoc/Pandoc.sublime-settings

I tried to work around this by adding the settings found in the defaults file to the user file, but I am getting the same stack trace in the console.

MPvHarmelen commented 4 years ago

Do you still have this issue?