-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Feature request: specify output filename #21
Comments
Hi! Thank you for proposing this issue, but unfortunately, I won't implement this because of the following reasons:
[output.html]
[output.pdf]
[output.pdf-outline]
[output.pdf-rename]
command = "mv ../pdf-outline/output.pdf ../pdf-outline/something-you-like.pdf" I'm closing this issue now. If you do have some special use cases for renaming, please tell me and try to submit a PR yourself to suit both your need and the blockers I mentioned above. |
Thanks. I see why it's more complicated than expected. I didn't know about the custom backend commands -- thank you for turning me on to it. I'll write a shell script that runs (My use case is a family recipe book that we update every couple months. It's nice to update the title and filename with a version number, and to do so in just one place in the source.) |
I'd really appreciate it if we could set a setting to substitute the book's title for the filename instead of
output.pdf
. It looks like it's hardcoded at https://github.com/HollowMan6/mdbook-pdf/blob/main/src/main.rs#L224, which suggests that it would be a new feature rather than an option that I haven't been able to find. Thank you.The text was updated successfully, but these errors were encountered: