diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-07-25 11:08:06 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-07-25 11:08:06 -0700 |
commit | dfa19061abc24a3e95b9b37e4f9484d902110899 (patch) | |
tree | 22c233b704fd99be18711cce8dcf08964096dab6 /src/pandoc.hs | |
parent | da3702357dc9a310b460c82411fe5b8c870416d5 (diff) |
Options -> ReaderOptions.
Better to keep reader and writer options separate.
Diffstat (limited to 'src/pandoc.hs')
-rw-r--r-- | src/pandoc.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pandoc.hs b/src/pandoc.hs index c879a874c..febf46dd0 100644 --- a/src/pandoc.hs +++ b/src/pandoc.hs @@ -944,8 +944,8 @@ main = do stateCitations = map CSL.refId refs, stateOldDashes = oldDashes, stateColumns = columns, - stateOptions = def{ optionStrict = strict - , optionSmart = smart || + stateOptions = def{ readerStrict = strict + , readerSmart = smart || (texLigatures && (laTeXOutput || writerName' == "context")) }, stateIndentedCodeClasses = codeBlockClasses, |