Apply gabarits with conditions
Hello, after a long research, I notice that there is no possibility to apply gabarits according to rules (presence of text, grep, presence of image, percentage of filled text block, presence of style, etc.) to specific pages (on the first/last page, between some pages, grep-like operation, etc.). This could be done by giving several templates to a page and giving rules to choose which one to apply (with an option to choose the pages dynamically).
For my part, I'm desperately looking for a dynamic and automated way to hide the folio/page number when it's an empty (no text) or almost empty page. This is the case for pages before chapters (1 or 2 pages). This could be one of the many applications of this feature
I'm french so I'm sorry if there are any language mistakes…