A Pandoc filter that replaces PAGEBREAK
and PAGEBREAKLANDSCAPE
with their
right Word section breaks. This enables documents to have a mixed layout
including portait and landscape sections. The filter can also be used just
for the page-break functionality provided.
Example markdown
:
Portrait content ...
PAGEBREAK
+--------+------+-------+------+------+-----+-----+----+----------+
| Really | Long | Table | That | Does | Not | Fit | On | Portrait |
+========+======+=======+======+======+=====+=====+====+==========+
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
+--------+------+-------+------+------+-----+-----+----+----------+
PAGEBREAKLANDSCAPE
Just text ... (portrait again)
git clone [email protected]:alexstoick/pandoc-docx-pagebreak.git
cd pandoc-docx-pagebreak
stack install pandoc-docx-pagebreak