-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
missing metadata with wkhtmltopdf #6558
Comments
you're looking for the title as part of the PDF metadata? if so, you'd need to pass that option to wkhtmltopdf
it's something pandoc could be change to do itself probably.. |
Yes, I would like to set the PDF metadata using pandoc. Besides title, there is a need for author, keywords and date as well. However, it seems that wkhtmltopdf still lacks this functionality: wkhtmltopdf/wkhtmltopdf#2000 Moreover, I couldn't get your example work:
I guess the easiest is to do it post-hoc with |
ah sorry, probably it's:
|
If wkhtmltopdf lacks the functionality, then I don't see any way to improve things in pandoc. |
wkhtmltopdf can set the title, but not other metadata like author... |
Currently, there is no way to improve as |
When converting files with
wkhtmltopdf
, the metadata is not propagated to the resulting pdf.To reproduce the issue, try:
Versions:
wkhtmltopdf 0.12.5
pandoc 2.9.2.1
On the opposite, converting markdown files directly into pdf works as expected:
The circumvention of
wkthtmltopdf
above is not an option since css styling is no longer possible.I guess the missing metadata is due to a lacking implementation rather than a bug. If I am wrong, please correct me.
The text was updated successfully, but these errors were encountered: