Html --> Word with page breaks #9869
-
Hey Everyone ive got a html file and i want to convert it to word for the most part it is working. However i want to add page break e.g. cover sheet followed by table of contents and then the contents of the file. Ive been searching through forums and I seem seem to be hitting a brick wall. I was wondering if you were able to help i have tried the following the css for the class new-page is the same as
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
It's not possible to include OpenXML elements in HTML and have pandoc recognize them as such. |
Beta Was this translation helpful? Give feedback.
-
Try the latest version of the pagebreak filter and configure it with these settings ---
pagebreak:
break-on:
# Allow plaintext commands, i.e., respect LaTeX newpage
# commands even if they are not in a raw TeX block.
plaintext-command: true
--- Then use |
Beta Was this translation helpful? Give feedback.
Try the latest version of the pagebreak filter and configure it with these settings
Then use
<p>\newpage</p>
in your HTML.