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:
parent
229b3107b6
commit
da645eb24b
2 changed files with 3 additions and 2 deletions
|
@ -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`:
|
||||
|
||||
|
|
Loading…
Reference in a new issue