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
commit8f473af610a293666ea7981b587f3a0520d23838
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
dateSun 15 Jul 2007, 03:07 (19 years ago)
parentdbd5c44
src/Main.hs+2
@@ -338,6 +338,8 @@ defaultWriterName x =
338338 Just ["tex"] -> "latex"
339339 Just ["latex"] -> "latex"
340340 Just ["ltx"] -> "latex"
341+ Just ["context"] -> "context"
342+ Just ["ctx"] -> "context"
341343 Just ["rtf"] -> "rtf"
342344 Just ["rst"] -> "rst"
343345 Just ["s5"] -> "s5"