-
Notifications
You must be signed in to change notification settings - Fork 97
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
Error converting to PDF, Error: write EPIPE #306
Comments
+1 |
@rmfberlin I'm sorry you've had this problem. It's difficult for me to pinpoint the problem without knowing more about the system you are running (windows/mac/linux?) and the document you are having difficulty with. Can you share your document -- or even better -- provide a minimal Asciidoc file which replicates the problem so we can reproduce this? The I'd suggest trying to set the I'd also suggest trying installing asciidoctor-pdf and using this instead. Finally I believe you could install and try https://github.com/Mogztter/asciidoctor-pdf.js as I've tested this and know it works a few months ago (but it's an alpha/beta project and hasn't had a stable release yet). |
In continuation with issue of @rmfberlin, my specification are as follows: They are able to preview easily but when trying for 'export as PDF', error converting to PDF pop ups. |
MacOS Catalina 10.15.4
`= testfile for pdf error == Test-Doc Some text And more text == new section
With asciidoctor-pdf from command line all my files work fine. |
sorry, my mistake to close. |
Thanks @rmfberlin for providing that information. At least on my machine (Linux, Ubuntu) that test document renders correctly with wkhtmltopdf from this extension. I'm afraid I don't have Mac hardware so will struggle to test this further. The output from wkhtmltopdf when I run the binary directly is in this gist but it produces a clean PDF file: test.pdf You could try saving the document as HTML and then extracting and running the MacOS binary directly on the file and let us know the results of that. The binary can be found here. @ramlaxman I can test with Windows, can you provide a minimal example document? |
My case is fixed by removing the
|
Description
Error while export document to PDF.
Error message: Error converting to PDF, Error: write EPIPE
System Information
I'm using VS Code 1.44.2, AsciiDoc 2.7.15 and installed wkhtmltopdf v. 0.12.5 for MacOS Catalina
To Reproduce
I wrote a simple Test.adoc and tried to save to HTML: works
Tried to export to PDF: Error message
Thanks
Best regards
Rainer
The text was updated successfully, but these errors were encountered: