aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-01-25Removed hush from Text.Pandoc.Shared.John MacFarlane2-8/+3
Not used anywhere.
2017-01-25Removed `--normalize` option and normalization functions from Shared.John MacFarlane13-214/+30
* Removed normalize, normalizeInlines, normalizeBlocks from Text.Pandoc.Shared. These shouldn't now be necessary, since normalization is handled automatically by the Builder monoid instance. * Remove `--normalize` command-line option. * Don't use normalize in tests. * A few revisions to readers so they work well without normalize.
2017-01-25Class: Removed getDefaultReferenceDocx/ODT from PandocMonad.John MacFarlane3-25/+7
We don't need these, since the default docx and odt can be retrieved using `readDataFile datadir "reference.docx"` (or odt).
2017-01-25Removed commented-out vestigaes of fail in Class.John MacFarlane1-8/+0
2017-01-25Fixed up weigh-pandoc and benchmark-pandoc so they build.John MacFarlane3-13/+17
2017-01-25Class: removed 'fail' from PandocMonad.John MacFarlane2-13/+13
Do we need this? I don't see why. There's a name clash which would better be avoided.
2017-01-25CONTRIBUTING: instructions for building weigh-pandoc.John MacFarlane1-0/+5
2017-01-25Generic instance for PandocError.John MacFarlane1-1/+2
2017-01-25Text.Pandoc: limit exports from Text.Pandoc.Class.John MacFarlane1-2/+5
2017-01-25Updated RELEASE-CHECKLIST and markdownified.John MacFarlane2-35/+27
2017-01-25Removed PROFILING, added profiling info to CONTRIBUTING.md.John MacFarlane2-6/+17
2017-01-25Removed Interact.hs, not needed any more with modern tools.John MacFarlane1-34/+0
2017-01-25Removed ancient HCAR-Pandoc.tex.John MacFarlane1-35/+0
2017-01-25Use dev pandoc-citeproc for appveyor build.John MacFarlane1-1/+3
2017-01-25Added ReaderOptions parameter to readNative.John MacFarlane6-8/+10
This makes it similar to the other readers -- even though ReaderOptions is essentially ignored, the uniformity is nice.
2017-01-25Version to 2.0.John MacFarlane1-1/+1
2017-01-25pandoc.hs: moved main loop to beginning of file.John MacFarlane1-368/+371
2017-01-25Refactored pandoc.hs so that all the runIO' part comes at the end.John MacFarlane1-50/+50
2017-01-25Travis: allow ghc 7.8.4 to fail. For now anyway.John MacFarlane1-0/+1
2017-01-25MediaBag: put extractMediaBag into MonadIO.John MacFarlane1-3/+7
2017-01-25SelfContained: put makeSelfContained in MonadIO.John MacFarlane1-2/+3
2017-01-25PDF: put makePDF in MonadIO.John MacFarlane1-4/+6
2017-01-25pandoc.hs - moved some utility functions out of main loop.John MacFarlane1-28/+30
2017-01-25More refactoring of pandoc.hs for clarity.John MacFarlane1-28/+21
2017-01-25Put filter running code into MonadIOJohn MacFarlane1-11/+12
2017-01-25Shared: put err into MonadIO.John MacFarlane1-2/+2
2017-01-25Fixed a misleading comment.John MacFarlane1-1/+1
2017-01-25Added a type signatureJohn MacFarlane1-1/+2
2017-01-25More refactoring of pandoc.hs for clarity.John MacFarlane1-22/+25
2017-01-25Slight code rearrangement in preparation for...John MacFarlane1-45/+47
...passing mediabag in the PandocIO monad.
2017-01-25Finished previous commit; removed export of toJsonFilter.John MacFarlane1-2/+0
2017-01-25Removed deprecated toJsonFilter.John MacFarlane1-6/+0
Use toJSONFilter from Text.Pandoc.JSON.
2017-01-25Removed deprecated `--no-wrap` option.John MacFarlane2-11/+0
2017-01-25Removed deprecated `--chapters` option.John MacFarlane2-11/+0
2017-01-25Simplified reference-docx/reference-odt to reference-doc.John MacFarlane6-62/+49
* Text.Pandoc.Options.WriterOptions: removed writerReferenceDocx and writerReferenceODT, replaced them with writerReferenceDoc. This can hold either an ODT or a Docx. In this way, writerReferenceDoc is like writerTemplate, which can hold templates of different formats. [API change] * Removed `--reference-docx` and `--reference-odt` options. * Added `--reference-doc` option.
2017-01-25Process.pipeProcess: stream stderr rather than capturing.John MacFarlane3-29/+16
Signature of pipeProcess has changed: the return value is now IO (ExitCode, ByteString) -- with only stdout. Stderr is just inherited from the parent. This means that stderr from filters will now be streamed as the filters are run. Closes #2729.
2017-01-25RST reader: rebase-related fixes to warnings.John MacFarlane1-13/+12
2017-01-25Removed unneeded pragmas.John MacFarlane1-2/+1
2017-01-25Remove now-unnecessary lifts in Markdown writer.John MacFarlane1-9/+6
Other writers still TBD.
2017-01-25Instances of PandocMonad for common transformers.John MacFarlane1-2/+79
2017-01-25Class: no more MonadState CommonState.John MacFarlane2-16/+25
- Added getCommonState, putCommonState, getsCommonState, modifyCommonState to PandocMonad interface. - Removed MonadState CommonState instances.
2017-01-25Whitespace.John MacFarlane1-3/+3
2017-01-25RST reader: removed now unnecessary lifts.John MacFarlane1-8/+7
2017-01-25Markdown reader: Removed readMarkdownWithWarnings [API change].John MacFarlane1-10/+1
2017-01-25Add PandocMonad m instance for ParserT based on PandocMonad.John MacFarlane1-6/+4
This will avoid the need for lift.
2017-01-25Have warningWithPos take a SourcePos rather than Maybe SourcePos.John MacFarlane4-20/+30
After all, we have warning if you don't want the source pos info.
2017-01-25LaTeX reader: add warning when parsing unescaped charactersJohn MacFarlane1-4/+5
that normally need escaping in LaTeX.
2017-01-25RST reader: implement start-after, end-before fields for include.John MacFarlane1-6/+12
2017-01-25RST reader: handle code, literal, number-lines, class, name for include.John MacFarlane1-30/+27
2017-01-25RST reader include: handle negative values for start-, end-line.John MacFarlane1-23/+30