Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rst to pdf only st2 ,not st3 ? #61

Open
midui opened this issue Apr 23, 2017 · 1 comment
Open

rst to pdf only st2 ,not st3 ? #61

midui opened this issue Apr 23, 2017 · 1 comment
Labels

Comments

@midui
Copy link

midui commented Apr 23, 2017

I get the following error when trying to Render rst to pdf. I have already configured the tool and my pandoc path is :

"pandoc-path": "C:/Users/P70/AppData/Local/Pandoc/pandoc.exe"

"PDF": {
        "scope": {
          "text.html": "html",
          "text.html.markdown": "markdown"
        },
        "pandoc-arguments": [
          "-t", "pdf",
          "--latex-engine=xelatex",
         "--template=pm-template.latex"
        ]
      },

Fail to generate output.
_

error: No transformations configured for the syntax Packages/RestructuredText/reStructuredText.sublime-syntax
Traceback (most recent call last):
File "D:\md\Sublime Text Build 3126 x64\sublime_plugin.py", line 797, in run_
return self.run()
File "Pandoc in D:\md\Sublime Text Build 3126 x64\Data\Installed Packages\Pandoc.sublime-package", line 46, in run
File "D:\md\Sublime Text Build 3126 x64\sublime.py", line 448, in show_quick_panel
if len(items) > 0 and isinstance(items[0], list):
TypeError: object of type 'NoneType' has no len()

_

But, I do rst to pdf is successful with pandoc st2!

Assistance appreciated.

Platform:
Window 10
sublime 3

@MPvHarmelen
Copy link
Collaborator

This plugin has different versions for ST2 and 3. Do you still have this problem?

@MPvHarmelen MPvHarmelen added the bug label May 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants