summaryrefslogtreecommitdiff
path: root/pandoc.cabal
Commit message (Collapse)AuthorAge
* Declare alex and happy as build-tools.John MacFarlane2013-09-16
| | | | Closes #986.
* Fixed a couple test files in cabal file.John MacFarlane2013-09-09
|
* Added `--metadata/-M` option.John MacFarlane2013-09-01
| | | | | This is like `--variable/-V`, but actually adds to metadata, not just variables.
* Added markdown citation parsing test.John MacFarlane2013-08-26
|
* Removed tests relating to citation processing.John MacFarlane2013-08-25
|
* Removed dependency on citeproc-hs.John MacFarlane2013-08-24
| | | | | | | | | | | | | | | | | | | | | | | | Going forward we'll use pandoc-citeproc, as an external filter. The `--bibliography`, `--csl`, and `--citation-abbreviation` fields have been removed. Instead one must include `bibliography`, `csl`, or `csl-abbrevs` fields in the document's YAML metadata. The filter can then be used as follows: pandoc --filter pandoc-citeproc The `Text.Pandoc.Biblio` module has been removed. Henceforth, `Text.CSL.Pandoc` from pandoc-citations can be used by library users. The Markdown and LaTeX readers now longer format bibliographies and citations. That must be done using `processCites` or `processCites'` from Text.CSL.Pandoc. All bibliography-related fields have been removed from `ReaderOptions` and `WriterOptions`: `writerBiblioFiles`, `readerReferences`, `readerCitationStyle`. API change.
* Moved most of Text.Pandoc.Readers.TeXMath to texmath 0.6.4.John MacFarlane2013-08-24
|
* Removed scripts directory.John MacFarlane2013-08-18
| | | | | This has been put in its own github repo: https://github.com/jgm/pandoc-filters-python
* Added scripts/deflists.py to filter examples.John MacFarlane2013-08-16
|
* Updated for removed unMeta, unFormat in pandoc-types.John MacFarlane2013-08-14
|
* Added Tests.Walk.John MacFarlane2013-08-10
| | | | This verifies that walk and query match the generic traversals.
* Pass writename as argument to filters.John MacFarlane2013-08-08
| | | | | | | | | | | | | | | | | This way filters can figure out what the target format is and react appropriately. Example: #!/usr/bin/env runghc import Text.Pandoc.JSON import Data.Char main = toJSONFilter cap where cap (Just "html") (Str xs) = Str $ map toUpper xs cap _ x = x This capitalizes text only for html output.
* Added Text.Pandoc.Process (pipeProcess).John MacFarlane2013-08-08
| | | | | A souped up version of readProcessWithErrorCode that uses lazy bytestrings and allows setting environment.
* Revert "Revert "Added `--filter` option.""John MacFarlane2013-08-08
| | | | This reverts commit 2e5edbb27837372f658b1abbe05371be57415847.
* Added Text.Pandoc.Compat.TagSoupEntity.John MacFarlane2013-08-08
| | | | | This allows pandoc to compile with tagsoup 0.13.x. Thanks to Dirk Ullrich for the patch.
* Added Text.Pandoc.Compat.Monoid.John MacFarlane2013-08-08
| | | | | This allows pandoc to compile with base < 4.5, where Data.Monoid doesn't export `<>`. Thanks to Dirk Ullirch for the patch.
* Require latest version of texmath.John MacFarlane2013-08-05
| | | | Closes #935.
* Remove CPP from default-extensions; add pragmas to modules as needed.John MacFarlane2013-08-04
|
* pandoc.cabal: Removed support for ghc version < 7.2.John MacFarlane2013-08-03
| | | | | There is no point to supporting them, since pandoc-types requires at least ghc 7.2 for GHC generics.
* Revert "Added `--filter` option."John MacFarlane2013-07-23
| | | | This reverts commit 85dacbb282f34dc45a810d7c7b5a2d639b70e1f5.
* Added `--filter` option.John MacFarlane2013-07-23
| | | | | | | | | | | This makes it easier to use JSON filters. Instead of doing pandoc -t json | ./filter | pandoc -f json you can just do pandoc --filter ./filter
* Require highlighting-kate 0.5.5.John MacFarlane2013-07-22
| | | | | 0.5.4 has a serious memory leak that affects the mandoc parser. See highlighting-kate#34.
* cabal: Added http-conduit flag, which allows fetching https resources.John MacFarlane2013-07-04
| | | | | | | It also brings in a large number of dependencies (http-conduit and its dependencies), which is why for now it is an optional flag. Closes #820.
* Markdown reader: Better error messages for yaml headers.John MacFarlane2013-07-02
|
* Created Text.Pandoc.Writers.Shared, improved metaToJSON.John MacFarlane2013-07-01
| | | | | | | * Text.Pandoc.Writers.Shared contains shared functions used only in writers. * metaToJSON now takes a WriterOptions parameter, and will return an empty object if standalone is not specified.
* Require highlighting-kate 0.5.4.John MacFarlane2013-06-26
|
* Use new flexible metadata type.John MacFarlane2013-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | * Depend on pandoc 1.12. * Added yaml dependency. * `Text.Pandoc.XML`: Removed `stripTags`. (API change.) * `Text.Pandoc.Shared`: Added `metaToJSON`. This will be used in writers to create a JSON object for use in the templates from the pandoc metadata. * Revised readers and writers to use the new Meta type. * `Text.Pandoc.Options`: Added `Ext_yaml_title_block`. * Markdown reader: Added support for YAML metadata block. Note that it must come at the beginning of the document. * `Text.Pandoc.Parsing.ParserState`: Replace `stateTitle`, `stateAuthors`, `stateDate` with `stateMeta`. * RST reader: Improved metadata. Treat initial field list as metadata when standalone specified. Previously ALL fields "title", "author", "date" in field lists were treated as metadata, even if not at the beginning. Use `subtitle` metadata field for subtitle. * `Text.Pandoc.Templates`: Export `renderTemplate'` that takes a string instead of a compiled template.. * OPML template: Use 'for' loop for authors. * Org template: '#+TITLE:' is inserted before the title. Previously the writer did this.
* Revised Text.Pandoc.Templates to accept JSON contexts.John MacFarlane2013-06-24
| | | | | | | | | | | | Currently the library is set up with a shim for association lists, for compatibility, but this can change when the writers are changed. New export: `varListToJSON`. Removed `Empty`. Simplified template type to a newtype.
* Use aeson for json.John MacFarlane2013-06-24
| | | | Benchmarked: about twice as slow as json!
* Set default stack size to 16M.John MacFarlane2013-05-29
| | | | | This is needed for some large conversions, esp. if pandoc is compiled with 64-bit ghc.
* Bump upper bound for criterion.John MacFarlane2013-05-07
|
* Use latest highlighting-kate and texmath.John MacFarlane2013-05-07
| | | | Closes #849.
* Version bump to 1.11.2.John MacFarlane2013-05-01
|
* PDF: On Windows, create temdir in working directory.John MacFarlane2013-04-26
| | | | | | | | Reason: the path to the system temp directory may contain tildes, which causes problems in LaTeX when the username is more than eight characters. Closes #777.
* Added Text.Pandoc.Asciify utility module.John MacFarlane2013-04-23
| | | | This has functions to create ascii-only versions of identifiers.
* Added CONTRIBUTING.md.John MacFarlane2013-04-14
|
* Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane2013-04-14
| | | | | | | | | | pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script.
* Added stubs for haddock reader tests.John MacFarlane2013-03-28
| | | | | Modify tests/haddock-reader.haddock and tests/haddock-reader.native.
* Mention haddock reader in cabal description.John MacFarlane2013-03-28
|
* Add reader for Haddock markup based on Haddock's own lexer/parser.David Lazar2013-03-28
|
* Removed blaze_html_0_5 flag, require blaze-html >= 0.5.John MacFarlane2013-03-26
| | | | | | | Reason: < 0.5 does not provide a monoid instance for Attribute, which is now needed by the HTML writer. Closes #803.
* Slidy: Use slidy.js rather than slidy.js.gz.John MacFarlane2013-03-25
| | | | | | | Reason: some browsers have trouble with the gzipped js file, at least on the local file system. Closes #795.
* Documented revealjs in README and pandoc.cabal description.John MacFarlane2013-03-23
|
* Added default.revealjs template to cabal file.John MacFarlane2013-03-23
|
* Added OPML template, tests.John MacFarlane2013-03-20
| | | | | Minor fixes to OPML writer. Improved OPML reader tests.
* Added Text.Pandoc.Writers.OPML.John MacFarlane2013-03-19
| | | | | | | | TODO: * Document in README * Add tests * Add template (and add template to cabal file)
* Added Text.Pandoc.Readers.OPML, exporting readOPML.John MacFarlane2013-03-19
| | | | | | | | | The _note attribute is supported. This is unofficial, but used e.g. in OmniOutliner and supported by multimarkdown. We treat the contents as markdown blocks under a section header. Added to documentation and tests.
* Revert "LaTeX reader: citation handling changes."John MacFarlane2013-03-17
| | | | This reverts commit f7229b147314042f946dfded3b441ab0fae260a0.
* Version bump to 1.11.1.John MacFarlane2013-03-16
|
* Version bump to 1.11.0.1.John MacFarlane2013-03-16
|