asciidoctor / atom-asciidoc-preview

⚛ AsciiDoc preview for the Atom editor.
https://atom.io/packages/asciidoc-preview
MIT License
141 stars 42 forks source link

Document can't be exported as PDF #195

Closed cmoulliard closed 8 years ago

cmoulliard commented 8 years ago

Description

The html document generated from asciidoctor can't be exported as pdf. I don't see the option export as pdf

screenshot 2016-08-12 13 23 33

ggrossetie commented 8 years ago

As a workaround you can save the document as HTML and export the HTML page to PDF from Chrome.

Do you want to be able to convert an AsciiDoc document to PDF using the native PDF converter or just an easier/quicker way to export an HTML page to PDF from Atom ?

ldez commented 8 years ago

You can activate the package experimental feature:

cmoulliard commented 8 years ago

I can export the document. I must figure out now a bash issue with Atom

screenshot 2016-08-13 10 02 47

ldez commented 8 years ago

ENOENT: Error NO ENTry

To defined the shell to use, we use environment variable SHELL or if this variable doesn't exist we explicitly call bash.

Can you try to manually call /bin/bash -l -i ?

cmoulliard commented 8 years ago

I can execute the command /bin/bash -l -i within a terminal of MacOS

ldez commented 8 years ago

I reproduce on Linux, I'm trying to solve the problem.

ldez commented 8 years ago

It's a regression caused by core changes in Atom 1.9.