summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-15 21:04:14 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-23 10:14:16 +0100
commit6c204ea2bd9b9526af3b60485d3787da6b7bf8ac (patch)
treecc2f21272db2143a2e657ce4935e2e2c530fa704 /data
parentf4ac0edf2a5087f3f988147726813a6240288945 (diff)
Initial addition of groff ms writer.
* New module: Text.Pandoc.Writers.Ms. * New template: default.ms. * The writer uses texmath's new eqn writer to convert math to eqn format, so a ms file produced with this writer should be processed with `groff -ms -e` if it contains math.
Diffstat (limited to 'data')
-rw-r--r--data/templates/default.ms31
1 files changed, 31 insertions, 0 deletions
diff --git a/data/templates/default.ms b/data/templates/default.ms
new file mode 100644
index 000000000..7ca8a8e75
--- /dev/null
+++ b/data/templates/default.ms
@@ -0,0 +1,31 @@
+$if(adjusting)$
+.ad $adjusting$
+$endif$
+$if(hyphenate)$
+.hy
+$else$
+.nh \" Turn off hyphenation by default.
+$endif$
+$if(has-inline-math)$
+.EQ
+delim ||
+.EN
+$endif$
+$if(title)$
+.TL
+$title$
+$endif$
+$for(author)$
+.AU
+$author$
+$endfor$
+$for(header-includes)$
+$header-includes$
+$endfor$
+$for(include-before)$
+$include-before$
+$endfor$
+$body$
+$for(include-after)$
+$include-after$
+$endfor$