You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ebook-covert options `--margin-left`, `--margin-right`, `--margin-top`, `--margin-bottom` don't work. So change them to `--pdf-page-margin-left`, `--pdf-page-margin-right`, `--pdf-page-margin-top`, `--pdf-page-margin-bottom`.
Ref. honkit#221
Summary
I set the PDF setting in book.json. But they're not reflected in book.pdf.
I guess "--margin-left", "--margin-right", "--margin-top", "--margin-bottom" options don't work correctly.
https://github.com/honkit/honkit/blob/v3.6.20/packages/honkit/src/output/ebook/getConvertOptions.ts#L59-L62
Step to reproduce
npx honkit init
ref: https://honkit.netlify.app/config.html#pdf-options
npx honkit pdf
.https://github.com/yhor1e/honkit-pdf-margin-settings-dont-work
Expected results
PDF margin settings work.
Actual results
PDF margin settings don't work.
Actual Log
The text was updated successfully, but these errors were encountered: