Open codeprefect opened 2 years ago
Sorry about this difficulty and thanks for filing an issue.
See #239 for some thoughts around wkhtmltopdf. We really need to replace it with a tool better suited to Asciidoc IMHO. Sadly I can't even run your example without getting considerable error output from wkhtmltopdf.
Upstream is packaging the binaries in a manner that will no longer work with the way they are installed here (they are per distribution installers, we rely on binaries being available for the architecture) so updating wkhtmltopdf is not a readily available option.
I guess the only workaround I can recommend for now is to save as HTML and then print to pdf in google chrome, or alternatively to install asciidoctor-web-pdf (which has binary releases) and use this to prepare a PDF.
I have a prototype for replacing wkhtmltopdf with asciidoctor-web-pdf in this extension. Hopefully I can finish it soon. I've opened an issue for the replacement, see #433
This is an example issue. Use just the headings and fill out all necessary information. Screenshots & Files and Additional Context are optional.
Description
I have a document that contains two quotes in the same section, but when I exported the document to PDF, the entire document became italicized. Removing the second quote block seems to make the italicization go away, but I definitely will have more than one quote in the document.
System Information
You can find the VSCode and OS information under Help -> About. To check the extension information go to the extension browser (CTRL+SHIFT+X, Mac CMD+SHIFT+X). OS: MacOS Big Sur 11.2.3 (20D91) VS Code:
AsciiDoc: v2.8.9 wkhtmltopdf: 0.12.6 (with patched qt)
To Reproduce
Steps to reproduce the issue:
AsciiDoc: Export document to PDF
AsciiDoc: Save HTML Document
, the italics issue does not occur here.Screenshots & Files
Additional Context
This error is only applicable to the
wkhtmltopdf
export route. I am constraint to using this approach becauseasciidoctor-pdf
fails to render my kroki images.Further investigation has revealed that this is an issue with wkhtmltopdf/wkhtmltopdf#5067