-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
Custom format on page numbering #158
Comments
Hi, I think this is what you're looking for:
The above produces a footer that reads |
right! |
It's one or the other. This way you can make a fancier footer that should do everything the regular footer does. |
so how can i make a footer that is more than one line while still customizing the page number? |
just figured a workaround... you can use both :table and :text |
totally off-topic |
Ah yeah a footer table is the way to go there. Regarding collating, I don't think there's a way to do that currently. It might be possible to provide page numbering as part of the API, so then you could generate both PDFs, collate them, and add page numbers after. |
yeah, |
Watermarks are already supported, so it could be a similar hook to that. There's a callback when each page is generated, and it could be exposed for an arbitrary function to post process the page. |
I don't think I'll have time to look at this in the near future, but if you'd be up for making a pr I can help with that. |
Hi,
would it be possible to use a custom format on the page numbers?
What we have at the moment is great but it should accommodate different formatting.
For example instead of: 1/7 , one could use 1 of 7 or Page 1 of 7 or in totally different language: Seite 1 von 7
Is this already supported?
alternatively, is there a way to obtain the total number of pages as well as the current page number? so that one can remove the default page numbering and add a custom one as part of the footer.
Many thanks,
The text was updated successfully, but these errors were encountered: