git.iko.soy/typeable/pandoc
on master help sign in
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

commitda645eb24b7a7f23949304e3ea6fa274c45d06c8 authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateSun 15 Jul 2007, 03:20 (19 years ago) parent229b310
2 files changed+3−2
src/Main.hs+2−1 web/demos+1−1
src/Main.hs+2−1
@@ -447,7 +447,8 @@ main = do
447447 defaultParserState { stateParseRaw = parseRaw,
448448 stateTabStop = tabStop,
449449 stateStandalone = standalone && (not strict),
450− stateSmart = smart || writerName' == "latex",
450+ stateSmart = smart || writerName' `elem`
451+ ["latex", "context"],
451452 stateColumns = columns,
452453 stateStrict = strict }
453454 let csslink = if (css == "")
web/demos+1−1
@@ -49,7 +49,7 @@ click on the name of the output file:
4949
505012. ConTeXt:
5151
52−@ pandoc -s -S -w context README -o example12.tex
52+@ pandoc -s -w context README -o example12.tex
5353
545413. PDF via pandoc and ConTeXt's `texexec`:
5555