Open jpwalters opened 5 years ago
Can you please try to use all
there? Maybe something is wrong with concreate pdf format:
gwtc -v -o test -f all hardware-camera.wiki
I should have mentioned that I did try to use all but when I do that I get a 0k HTML file (due to no file content) and still no PDF. Even though as before the debug message seems to indicate a PDF was generated.
gwtc -v -o test -f all hardware-camera.wiki
debug: gwc launched with options format=all, output=test, filename=documentation, title=Documentation , logoImage=null, footer=null, pdfPageCount=null, tocFile=null, tocLevel=3, highlightTheme=github, userCssFile=null, verbose=true, disableInlineAssets=false
debug: Found 42 markdown files and 42 links pointing to them in TOC
debug: Generating html: 42 pages to generate
debug: Generating pdf: 42 pages to generate
Did you add wkhtmltopdf
to your PATH variable?
It has something to do with incompability between gtk and wkhtmltopdf. I solved it by installing the latest wkhtmltopdf from https://wkhtmltopdf.org/downloads.html
Problem: Unable to generate a PDF file.
OS: Windows 7 gwtc: 1.5.1 wkhtmltopdf: 0.12.5
Note: I installed gwtc using npm.
Here's the command I used to get the versions:
gwtc -V
1.5.1
I additionally installed version 0.12.5 of wkhtmltox.
wkhtmltopdf.exe -V
wkhtmltopdf 0.12.5 (with patched qt)
Here's the command I'm using to generate the pdf:
gwtc -v -o test -f pdf hardware-camera.wiki
Here's the output of that command:
Nothing appears in my "test" directory. However when I run the following command I get a file named documentation.html as expected.
Let me know if I'm doing something wrong or if there's anything else I should try.
gwtc -v -o test -f html hardware-camera.wiki