Hello, Achim Gratz <strom...@nexgo.de> writes:
> Nicolas Goaziou <n.goaziou <at> gmail.com> writes: >> > the pagebreak does not get exported to LaTeX since the Footnotes section >> > will not be exported and the pagebreak is interpreted as being part of >> > that section. It would be nice if there was a way to "bind" it to the >> > following heading or alternatively move it past the heading but have it >> > export before. Is that possible already or can it be implemented? >> >> Can't you move footnotes section at the end of your document instead? > > Yes, that's exactly the workaround I used. Better: you can move the pagebreak just /above/ the footnote section, as if the section didn't exist. > But I think that there may be a general need to be able to wrap some > code around an element on exporting (let's say, putting a table or > section into a minipage) or prefix the export with something (like the > pagebreak example) and have that code properly be part of the element. > Note that we already have that functionality, sort of, for the title > element of the export. There's already such a mechanism: it's called "filters". I'm just pointing out that, in your situation, it's not worth relying on this kind of tool. Regards, -- Nicolas Goaziou