From 8f473af610a293666ea7981b587f3a0520d23838 Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Sun, 15 Jul 2007 03:07:26 +0000 Subject: 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 --- src/Main.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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" -- cgit v1.2.3