File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change 20
20
Fully supported output formats are:
21
21
22
22
- Docx,
23
+ - groff ms,
23
24
- LaTeX,
24
25
- HTML, and
25
26
- EPUB.
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ local pagebreak = {
26
26
epub = ' <p style="page-break-after: always;"> </p>' ,
27
27
html = ' <div style="page-break-after: always;"></div>' ,
28
28
latex = ' \\ newpage{}' ,
29
+ ms = ' .bp' ,
29
30
ooxml = ' <w:p><w:r><w:br w:type="page"/></w:r></w:p>' ,
30
31
odt = ' <text:p text:style-name="Pagebreak"/>'
31
32
}
@@ -58,6 +59,8 @@ local function newpage(format)
58
59
return pandoc .RawBlock (' html' , pagebreak .html )
59
60
elseif format :match ' epub' then
60
61
return pandoc .RawBlock (' html' , pagebreak .epub )
62
+ elseif format :match ' ms' then
63
+ return pandoc .RawBlock (' ms' , pagebreak .ms )
61
64
else
62
65
-- fall back to insert a form feed character
63
66
return pandoc .Para {pandoc .Str ' \f ' }
You can’t perform that action at this time.
0 commit comments