aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2013-10-20Bump version to 1.12.1.John MacFarlane1-1/+1
2013-10-20Removed data files for s5, slideous, slidy.John MacFarlane1-23/+0
Users of s5 and slideous will have to download the needed files, as has been documented for some time in the README. slidy files will be sought on the web, as before.
2013-10-19Version bump to 1.12.0.3.John MacFarlane1-1/+1
2013-10-15Require pandoc-types 1.12.3.John MacFarlane1-3/+3
This will enforce a certain JSON encoding.
2013-10-08Revert "Setup.hs: Better way of handling man page building."John MacFarlane1-3/+1
This reverts commit ed061b91c8e3247e1d3b1538eca24687adf0e575.
2013-10-06Setup.hs: Better way of handling man page building.John MacFarlane1-1/+3
Previously we tried to remove make-pandoc-man-pages from the list of packages to be haddocked, installed, copied, etc. It works better to set 'Buildable: False' on make-pandoc-man-pages, then have the buildHook temporarily set Buildable to True. This allows make-pandoc-man-pages to be built (and used in generating the man pages), but not installed.
2013-10-01Require pandoc-types >= 1.12.2.2.John MacFarlane1-3/+3
2013-09-29Require pandoc-types >= 1.12.2.John MacFarlane1-3/+3
2013-09-20Bump version to 1.12.0.2 and update changelog.John MacFarlane1-1/+1
2013-09-20Removed stringable as a dependency. IT is not used.John MacFarlane1-1/+0
2013-09-20Version bump to 1.12.0.1.John MacFarlane1-1/+1
2013-09-19Handle Boolean values in `--metadata`.John MacFarlane1-0/+2
Note that anything not parseable as a YAML boolean or string is treated as a literal string. Note that you can still get a string value with "yes" or any of the strings interpretable as booleans: -M boolvalue=yes -M stringvalue='"yes"'
2013-09-17Allow `--metadata` to be repeated for the same key to form a list.John MacFarlane1-0/+1
This also has the effect that `--bibliography` can be repeated, as before.
2013-09-17Depend on pandoc-types 1.12.1.John MacFarlane1-3/+3
2013-09-16Declare alex and happy as build-tools.John MacFarlane1-1/+2
Closes #986.
2013-09-09Fixed a couple test files in cabal file.John MacFarlane1-2/+2
2013-09-01Added `--metadata/-M` option.John MacFarlane1-0/+1
This is like `--variable/-V`, but actually adds to metadata, not just variables.
2013-08-26Added markdown citation parsing test.John MacFarlane1-0/+1
2013-08-25Removed tests relating to citation processing.John MacFarlane1-7/+0
2013-08-24Removed dependency on citeproc-hs.John MacFarlane1-6/+1
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.
2013-08-24Moved most of Text.Pandoc.Readers.TeXMath to texmath 0.6.4.John MacFarlane1-1/+1
2013-08-18Removed scripts directory.John MacFarlane1-10/+0
This has been put in its own github repo: https://github.com/jgm/pandoc-filters-python
2013-08-16Added scripts/deflists.py to filter examples.John MacFarlane1-0/+1
2013-08-14Updated for removed unMeta, unFormat in pandoc-types.John MacFarlane1-0/+9
2013-08-10Added Tests.Walk.John MacFarlane1-0/+1
This verifies that walk and query match the generic traversals.
2013-08-08Pass writename as argument to filters.John MacFarlane1-1/+1
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.
2013-08-08Added Text.Pandoc.Process (pipeProcess).John MacFarlane1-1/+2
A souped up version of readProcessWithErrorCode that uses lazy bytestrings and allows setting environment.
2013-08-08Revert "Revert "Added `--filter` option.""John MacFarlane1-0/+1
This reverts commit 2e5edbb27837372f658b1abbe05371be57415847.
2013-08-08Added Text.Pandoc.Compat.TagSoupEntity.John MacFarlane1-1/+2
This allows pandoc to compile with tagsoup 0.13.x. Thanks to Dirk Ullrich for the patch.
2013-08-08Added Text.Pandoc.Compat.Monoid.John MacFarlane1-0/+1
This allows pandoc to compile with base < 4.5, where Data.Monoid doesn't export `<>`. Thanks to Dirk Ullirch for the patch.
2013-08-05Require latest version of texmath.John MacFarlane1-1/+1
Closes #935.
2013-08-04Remove CPP from default-extensions; add pragmas to modules as needed.John MacFarlane1-4/+0
2013-08-03pandoc.cabal: Removed support for ghc version < 7.2.John MacFarlane1-40/+6
There is no point to supporting them, since pandoc-types requires at least ghc 7.2 for GHC generics.
2013-07-23Revert "Added `--filter` option."John MacFarlane1-1/+0
This reverts commit 85dacbb282f34dc45a810d7c7b5a2d639b70e1f5.
2013-07-23Added `--filter` option.John MacFarlane1-0/+1
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
2013-07-22Require highlighting-kate 0.5.5.John MacFarlane1-3/+3
0.5.4 has a serious memory leak that affects the mandoc parser. See highlighting-kate#34.
2013-07-04cabal: Added http-conduit flag, which allows fetching https resources.John MacFarlane1-0/+8
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.
2013-07-02Markdown reader: Better error messages for yaml headers.John MacFarlane1-1/+1
2013-07-01Created Text.Pandoc.Writers.Shared, improved metaToJSON.John MacFarlane1-0/+1
* 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.
2013-06-26Require highlighting-kate 0.5.4.John MacFarlane1-3/+3
2013-06-24Use new flexible metadata type.John MacFarlane1-3/+5
* 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.
2013-06-24Revised Text.Pandoc.Templates to accept JSON contexts.John MacFarlane1-0/+3
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.
2013-06-24Use aeson for json.John MacFarlane1-3/+2
Benchmarked: about twice as slow as json!
2013-05-29Set default stack size to 16M.John MacFarlane1-2/+2
This is needed for some large conversions, esp. if pandoc is compiled with 64-bit ghc.
2013-05-07Bump upper bound for criterion.John MacFarlane1-1/+1
2013-05-07Use latest highlighting-kate and texmath.John MacFarlane1-2/+2
Closes #849.
2013-05-01Version bump to 1.11.2.John MacFarlane1-1/+1
2013-04-26PDF: On Windows, create temdir in working directory.John MacFarlane1-0/+2
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.
2013-04-23Added Text.Pandoc.Asciify utility module.John MacFarlane1-0/+1
This has functions to create ascii-only versions of identifiers.
2013-04-14Added CONTRIBUTING.md.John MacFarlane1-1/+1