diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-15 03:07:26 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-15 03:07:26 +0000 |
commit | 8f473af610a293666ea7981b587f3a0520d23838 (patch) | |
tree | d9f9d2cdf38984355a7bbe76282c36c5d881a82d /src | |
parent | dbd5c449070d457f6b39725e328aa37e44632bf0 (diff) | |
download | pandoc-8f473af610a293666ea7981b587f3a0520d23838.tar.gz |
If output file has .ctx or .context extension,
assume it is ConTeXt format unless otherwise specified.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@720 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Main.hs b/src/Main.hs index 88870b6a4..3272463dc 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -338,6 +338,8 @@ defaultWriterName x = Just ["tex"] -> "latex" Just ["latex"] -> "latex" Just ["ltx"] -> "latex" + Just ["context"] -> "context" + Just ["ctx"] -> "context" Just ["rtf"] -> "rtf" Just ["rst"] -> "rst" Just ["s5"] -> "s5" |