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
I'm wondering if it's possible to choose a different page-background-image attribute for each page of a PDF. Similarly to how [.landscape] can be applied before a page break, I'm wondering if it's possible to set :page-background-image: before a page break (or even anywhere in the document) so that either all subsequent pages use that background image, or so that all pages use that background image until the next manual page break (I'm not sure which behavior is preferable).
Something like this
= Document Title
:page-background-image: image:default_bg.png[]
// This uses default_bg.png
== Section 1
Text
:page-background-image: image:alt_bg.png[]
<<<
// This uses alt_bg.png
== Section 2
Text
The text was updated successfully, but these errors were encountered:
I consider this to be mostly a duplicate of #1739. I'd prefer to consolidate the issues. (Despite the fact that possible solutions have been proposed in that issue, this still remains a very difficult feature to implement due to how the converter / PDF generator works).
Although we're considering supporting roles in this converter, I don't think roles are appropriate for setting the background image of the page since it is too specific of a need.
I'm wondering if it's possible to choose a different
page-background-image
attribute for each page of a PDF. Similarly to how[.landscape]
can be applied before a page break, I'm wondering if it's possible to set:page-background-image:
before a page break (or even anywhere in the document) so that either all subsequent pages use that background image, or so that all pages use that background image until the next manual page break (I'm not sure which behavior is preferable).Something like this
The text was updated successfully, but these errors were encountered: