summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * pandoc.hs - moved some utility functions out of main loop.John MacFarlane2017-01-25
| |
| * More refactoring of pandoc.hs for clarity.John MacFarlane2017-01-25
| |
| * Put filter running code into MonadIOJohn MacFarlane2017-01-25
| |
| * Shared: put err into MonadIO.John MacFarlane2017-01-25
| |
| * Fixed a misleading comment.John MacFarlane2017-01-25
| |
| * Added a type signatureJohn MacFarlane2017-01-25
| |
| * More refactoring of pandoc.hs for clarity.John MacFarlane2017-01-25
| |
| * Slight code rearrangement in preparation for...John MacFarlane2017-01-25
| | | | | | | | ...passing mediabag in the PandocIO monad.
| * Finished previous commit; removed export of toJsonFilter.John MacFarlane2017-01-25
| |
| * Removed deprecated toJsonFilter.John MacFarlane2017-01-25
| | | | | | | | Use toJSONFilter from Text.Pandoc.JSON.
| * Removed deprecated `--no-wrap` option.John MacFarlane2017-01-25
| |
| * Removed deprecated `--chapters` option.John MacFarlane2017-01-25
| |
| * Simplified reference-docx/reference-odt to reference-doc.John MacFarlane2017-01-25
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * Process.pipeProcess: stream stderr rather than capturing.John MacFarlane2017-01-25
| | | | | | | | | | | | | | | | | | | | | | 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.
| * RST reader: rebase-related fixes to warnings.John MacFarlane2017-01-25
| |
| * Removed unneeded pragmas.John MacFarlane2017-01-25
| |
| * Remove now-unnecessary lifts in Markdown writer.John MacFarlane2017-01-25
| | | | | | | | Other writers still TBD.
| * Instances of PandocMonad for common transformers.John MacFarlane2017-01-25
| |
| * Class: no more MonadState CommonState.John MacFarlane2017-01-25
| | | | | | | | | | | | | | - Added getCommonState, putCommonState, getsCommonState, modifyCommonState to PandocMonad interface. - Removed MonadState CommonState instances.
| * Whitespace.John MacFarlane2017-01-25
| |
| * RST reader: removed now unnecessary lifts.John MacFarlane2017-01-25
| |
| * Markdown reader: Removed readMarkdownWithWarnings [API change].John MacFarlane2017-01-25
| |
| * Add PandocMonad m instance for ParserT based on PandocMonad.John MacFarlane2017-01-25
| | | | | | | | This will avoid the need for lift.
| * Have warningWithPos take a SourcePos rather than Maybe SourcePos.John MacFarlane2017-01-25
| | | | | | | | After all, we have warning if you don't want the source pos info.
| * LaTeX reader: add warning when parsing unescaped charactersJohn MacFarlane2017-01-25
| | | | | | | | that normally need escaping in LaTeX.
| * RST reader: implement start-after, end-before fields for include.John MacFarlane2017-01-25
| |
| * RST reader: handle code, literal, number-lines, class, name for include.John MacFarlane2017-01-25
| |
| * RST reader include: handle negative values for start-, end-line.John MacFarlane2017-01-25
| |
| * RST reader: support start-line and end-line in include.John MacFarlane2017-01-25
| | | | | | | | Just skip other options for now.
| * RST reader: Simple `.. include::` support.John MacFarlane2017-01-25
| | | | | | | | | | TODO: handle the options (see comment in code). See #223.
| * Added `--fail-if-warnings` option.John MacFarlane2017-01-25
| |
| * Class: Functions for dealing with PureStateJesse Rosenthal2017-01-25
| | | | | | | | | | | | | | | | | | | | | | There are two states in PandocPure, but it is only easy to deal with CommonState. In the past, to do state monad operations on PureState (the state specific to PandocPure) you had to add (lift . lift) to the monadic operation and then rewrap in the newtype. This adds four functions ({get,gets,put,modify}PureState) corresponding to normal state monad operations. This allows the user to modify PureState in PandocPure without worrying about where it sits in the monad stack or rewrapping the newtype.
| * Class: rename env* prefixed fields to st*.Jesse Rosenthal2017-01-25
| | | | | | | | This was left over from when they were part of an environment.
| * Shared: changed err and warn output.John MacFarlane2017-01-25
| | | | | | | | | | Don't print program name in either case. Print [warning] for warnings.
| * LaTeX reader: Make sure we process includes in preamble.John MacFarlane2017-01-25
| |
| * LaTeX reader: further fixes to include.John MacFarlane2017-01-25
| |
| * Give source position for include file loop.John MacFarlane2017-01-25
| |
| * Error: change type of handleError.John MacFarlane2017-01-25
| | | | | | | | | | | | | | | | | | It now lives in IO and gives a proper message + exit instead of calling 'error'. We shouldn't be making it easier for people to raise error on pure code. And this is better for the main application in IO.
| * LaTeX reader: Proper include file processing.John MacFarlane2017-01-25
| | | | | | | | | | | | * Removed handleIncludes from LaTeX reader [API change]. * Now the ordinary LaTeX reader handles includes in a way that is appropriate to the monad it is run in.
| * Removed readRSTWithWarnings (now useless).John MacFarlane2017-01-25
| |
| * Parsing: Removed obsolete warnings stuff.John MacFarlane2017-01-25
| | | | | | | | Removed stateWarnings, addWarning, and readWithWarnings.
| * TWiki reader: Remove old readTWikiWithWarnings'.John MacFarlane2017-01-25
| | | | | | | | | | We get warnings for free now from PandocM. (And anyway, this reader doesn't generate any!)
| * Class: rename addWarning[WithPos] to warning[WithPos].John MacFarlane2017-01-25
| | | | | | | | | | | | | | There's already a function addWarning in Parsing! Maybe we can dispense with that now, but I still like 'warning' better as a name.
| * Added a `--quiet` option to suppress warnings.John MacFarlane2017-01-25
| | | | | | | | Use this also in Tests.Old.
| * Class: Renamed 'warn' to 'addWarning' and consolidated RTF writer.John MacFarlane2017-01-25
| | | | | | | | | | | | | | | | * Renaming Text.Pandoc.Class.warn to addWarning avoids conflict with Text.Pandoc.Shared.warn. * Removed writeRTFWithEmbeddedImages from Text.Pandoc.Writers.RTF. This is no longer needed; we automatically handle embedded images using the PandocM functions. [API change]
| * New withWarningsToStderr exported from Text.Pandoc.Class.John MacFarlane2017-01-25
| | | | | | | | And use this in pandoc.hs so that messages actually get printed.
| * Make sure texMathToInlines issues warning.John MacFarlane2017-01-25
| |
| * Refactored math conversion in writers.John MacFarlane2017-01-25
| | | | | | | | | | | | | | | | | | | | | | * Remove exported module `Text.Pandoc.Readers.TeXMath` * Add exported module `Text.Pandoc.Writers.Math` * The function `texMathToInlines` now lives in `Text.Pandoc.Writers.Math` * Export helper function `convertMath` from `Text.Pandoc.Writers.Math` * Use these functions in all writers that do math conversion. This ensures that warnings will always be issued for failed math conversions.
| * Class: cleanup and clarification.Jesse Rosenthal2017-01-25
| |
| * Remove OverlappingInstances pragma.Jesse Rosenthal2017-01-25
| | | | | | | | It doesn't help to solve the problem in 7.8.