aboutsummaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 3272463dc..a60ca4c33 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -447,7 +447,8 @@ main = do
defaultParserState { stateParseRaw = parseRaw,
stateTabStop = tabStop,
stateStandalone = standalone && (not strict),
- stateSmart = smart || writerName' == "latex",
+ stateSmart = smart || writerName' `elem`
+ ["latex", "context"],
stateColumns = columns,
stateStrict = strict }
let csslink = if (css == "")