diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-15 03:20:14 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-15 03:20:14 +0000 |
commit | da645eb24b7a7f23949304e3ea6fa274c45d06c8 (patch) | |
tree | 9cb261ac7723b39f6c40b2a45966717b0fc1a4b9 | |
parent | 229b3107b6aa44e9ed6dbb9474a4e90641a45cfb (diff) | |
download | pandoc-da645eb24b7a7f23949304e3ea6fa274c45d06c8.tar.gz |
Main.hs: If writer is "context", automatically select
smart quotes option.
web/demos: Removed redundant -S in context writer demo.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@723 788f1e2b-df1e-0410-8736-df70ead52e1b
-rw-r--r-- | src/Main.hs | 3 | ||||
-rw-r--r-- | web/demos | 2 |
2 files changed, 3 insertions, 2 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 == "") @@ -49,7 +49,7 @@ click on the name of the output file: 12. ConTeXt: -@ pandoc -s -S -w context README -o example12.tex +@ pandoc -s -w context README -o example12.tex 13. PDF via pandoc and ConTeXt's `texexec`: |