I'm wondering if there are any disadvantages in using the method in this answer. If not, or if they are miniature compared to the advantages, maybe OpTeX can add similar function to the page builder callback by default? It could also be easily removed by the user, after all.