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
This commit is contained in:
fiddlosopher 2007-07-15 03:20:14 +00:00
parent 229b3107b6
commit da645eb24b
2 changed files with 3 additions and 2 deletions

View file

@ -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 == "")

View file

@ -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`: