From 6c204ea2bd9b9526af3b60485d3787da6b7bf8ac Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 15 Mar 2017 21:04:14 +0100 Subject: 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. --- data/templates/default.ms | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 data/templates/default.ms (limited to 'data') 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$ -- cgit v1.2.3