asciidoctor-vscode icon indicating copy to clipboard operation
asciidoctor-vscode copied to clipboard

On macOS with wkhtmltopdf already installed, asciidoctor still try to download wkhtmltopdf

Open maziyang08 opened this issue 2 years ago • 2 comments
trafficstars

On both of my intel and M1 macbook pros, I've successfully have my wkhtmltopdf installed via homebrew at /usr/local/bin/wkhtmltopdf, and I can call that program from my terminal.

I have also installed this vscode extension, and added the following line to settings.json: "asciidoc.wkhtmltopdf_path": "/usr/local/bin/wkhtmltopdf"

But when I starting conversion to PDF, the extension still says "This feature requires wkhtmltopdf do you want to download?" and if I click yes, the downloads fails with "Error installing wkhtmltopdf, Error: http error404"

maziyang08 avatar Mar 23 '23 04:03 maziyang08

Are you using the pre-release version (3.x)? If so, the setting is: asciidoc.pdf.wkhtmltopdfCommandPath. Since we did a lot of changes in 3.x, we won't fix this issue in 2.9.8. Please try the pre-release version.

ggrossetie avatar Mar 24 '23 18:03 ggrossetie

@maziyang08 ping!

ggrossetie avatar Jun 17 '23 12:06 ggrossetie