aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
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
2013-04-14Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane1-1/+5
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.
2013-03-28Added stubs for haddock reader tests.John MacFarlane1-0/+2
Modify tests/haddock-reader.haddock and tests/haddock-reader.native.
2013-03-28Mention haddock reader in cabal description.John MacFarlane1-8/+9
2013-03-28Add reader for Haddock markup based on Haddock's own lexer/parser.David Lazar1-1/+5
2013-03-26Removed blaze_html_0_5 flag, require blaze-html >= 0.5.John MacFarlane1-9/+1
Reason: < 0.5 does not provide a monoid instance for Attribute, which is now needed by the HTML writer. Closes #803.
2013-03-25Slidy: Use slidy.js rather than slidy.js.gz.John MacFarlane1-1/+1
Reason: some browsers have trouble with the gzipped js file, at least on the local file system. Closes #795.
2013-03-23Documented revealjs in README and pandoc.cabal description.John MacFarlane1-1/+2
2013-03-23Added default.revealjs template to cabal file.John MacFarlane1-0/+1
2013-03-20Added OPML template, tests.John MacFarlane1-7/+16
Minor fixes to OPML writer. Improved OPML reader tests.
2013-03-19Added Text.Pandoc.Writers.OPML.John MacFarlane1-1/+2
TODO: * Document in README * Add tests * Add template (and add template to cabal file)
2013-03-19Added Text.Pandoc.Readers.OPML, exporting readOPML.John MacFarlane1-1/+4
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.
2013-03-17Revert "LaTeX reader: citation handling changes."John MacFarlane1-2/+0
This reverts commit f7229b147314042f946dfded3b441ab0fae260a0.
2013-03-16Version bump to 1.11.1.John MacFarlane1-1/+1
2013-03-16Version bump to 1.11.0.1.John MacFarlane1-1/+1
2013-03-16Bumped QuickCheck version bound.John MacFarlane1-1/+1
2013-03-09LaTeX reader: citation handling changes.John MacFarlane1-0/+2
Previously, a LaTeX citation would always be parsed as a Citation element, with the raw LaTeX in the [Inline] part. Now, the LaTeX citation is parsed as a Citation element only if `--biblio` was specified (i.e. only if there is a nonempty set of references in readerReferences). Otherwise it is parsed as raw LaTeX. This will make it possible to simplify some things in the markdown writer. It also makes the LaTeX reader behave more like the Markdown reader.
2013-03-06Bump syb version to < 0.5.John MacFarlane1-3/+3
2013-03-05Hide Text.Pandoc.Highlighting.John MacFarlane1-1/+2
* Moved code for translating listings language names to highlighting-kate names and back from LaTeX reader to Highlighting. * Text.Pandoc.Highlighting no longer exposed (API change) * Text.Pandoc.Highlighting exports toListingsLang, fromListingsLang
2013-03-04pandoc.cabal: Require latest h-k, texmath, citeproc-hs, zip-archive.John MacFarlane1-6/+6
Pandoc will compile with older versions, but there will be bugs relating to these functions. Making the current versions dependencies is the only way to get packages updated in the distros.
2013-02-19Allow compilation with blaze-html 0.6.John MacFarlane1-2/+2
2013-02-13Increased upper bound for Diff.John MacFarlane1-1/+1
2013-02-12Version bump to 1.11, Text.Pandoc.Parsing no longer exposed.John MacFarlane1-2/+2
2013-02-09Version to 1.10.1.1 since we no longer have API change.John MacFarlane1-1/+1
2013-02-09Revert "Hide module Text.Pandoc.Parsing."John MacFarlane1-1/+1
This reverts commit 18a5c9a8bf071398f3976a7c2c255638e135de7c. We want to do this eventually, but as it requires a major version bump, let's wait til later.
2013-02-05Revert "Hide module Text.Pandoc.Highlighting."John MacFarlane1-1/+1
This reverts commit 01753ead71f6a08929f1535fcb497ff6d6015289. We need it after all in pandoc.hs.
2013-02-05Version bump to 1.11 due to API changes.John MacFarlane1-1/+1
2013-02-05Hide module Text.Pandoc.Highlighting.John MacFarlane1-1/+1
This is really an auxiliary module.
2013-02-05Hide module Text.Pandoc.Parsing.John MacFarlane1-1/+1
2013-01-28Version bump to 1.10.1.John MacFarlane1-1/+1
2013-01-25Increased ansi-terminal upper bound.John MacFarlane1-1/+1
2013-01-25Relaxed old-time version bound, allowing 1.0.*.John MacFarlane1-1/+1
I see no reason for the restriction, which requires a recent Haskell Platform. The module is only used in make-pandoc-man-pages anyway.
2013-01-23Version bump to 1.10.0.5.John MacFarlane1-1/+1
2013-01-23Use hsb2hs preprocessor instead of TH for embed_data_files.John MacFarlane1-5/+2
This should work on Windows, unlike the TH solution with file-embed.
2013-01-23Eliminated use of TH in test suite.John MacFarlane1-2/+1
2013-01-23Added Text.Pandoc.Data (non-exported) if embed_data_files selected.John MacFarlane1-0/+3
This module just exports the association list of embedded data files, which is used by Shared.
2013-01-21Updated tested-with in cabal file.John MacFarlane1-1/+1
2013-01-20Version bump to 1.10.0.4.John MacFarlane1-1/+1
2013-01-20Bump version to 1.10.0.3; added further missing fb2 tests.John MacFarlane1-2/+9
Updated changelog.
2013-01-20Version bump to 1.10.0.2.John MacFarlane1-1/+1