Add pagebreaks to Pandoc
A first stab at adding pagebreaks to Pandoc. Fully implemented for ODT (reader & writer). Also added a few other writers, when the underlying format supported them out of the box.
Depends on https://github.com/jgm/pandoc-types/pull/28
I wonder this could be implemented using the FORM FEED character for textual output formats.
@wilx for the purpose of latex/odt, maybe. I didn't try it. But I think pagebreaks is such a common (and desired) feature that it deserves its own definition for the purpose of other readers/writers.
@hubertp-lshift I've merged this into the typeclass branch (which will become pandoc 2.0).
However, I'm not sure it's right for PageBreak to be an Inline element. It seems more appropriate as a Block. Can you comment on why you chose to make it an Inline? (This may be more natural in ODT, but we should also consider other output formats.)
I've reverted this. It needs more thought and discussion.
The place for discussion is probably https://github.com/jgm/pandoc/issues/1934