summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-24 09:40:02 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-24 09:40:13 +0100
commit718254340fb73d75cf8f6fc322631c1c72db0e47 (patch)
treea737d64bb297753f388ff8b976fa3171243fb98b /src/Text/Pandoc/Writers
parent7de9a6ef5fd89c0aded82acc7f037d9a98e243be (diff)
Recognize .roff extension as ms format.
Diffstat (limited to 'src/Text/Pandoc/Writers')
-rw-r--r--src/Text/Pandoc/Writers/Ms.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Ms.hs b/src/Text/Pandoc/Writers/Ms.hs
index eb56611ba..84b911e35 100644
--- a/src/Text/Pandoc/Writers/Ms.hs
+++ b/src/Text/Pandoc/Writers/Ms.hs
@@ -29,6 +29,10 @@ Conversion of 'Pandoc' documents to groff man page format.
TODO:
+[ ] for links, emails, consider using macros from www: man groff_www
+ alo has a raw html macro and support for images.
+[ ] consider using a custom macro package for pandoc (perhaps if
+ a variable is set?)
[ ] is there a better way to do strikeout?
[ ] options for hyperlink rendering (currently footnote)
[ ] can we get prettier output using .B, etc. instead of
@@ -41,6 +45,11 @@ TODO:
[ ] support for images? gropdf (and maybe pdfroff) supports the tag
\X'pdf: pdfpic file alignment width height line-length'
and also seems to support bookmarks.
+ note that in the groff_www macros, .PIMG allows a png to
+ be specified and converts it automatically to eps for
+ ps output
+ NB. -U (unsafe mode) is needed for groff invocations if this
+ functionality is used
-}
module Text.Pandoc.Writers.Ms ( writeMs ) where