aboutsummaryrefslogtreecommitdiff
path: root/pandoc.cabal
AgeCommit message (Collapse)AuthorFilesLines
2017-12-23Bump to 2.0.6.John MacFarlane1-1/+1
2017-12-21Mention JATS output (and input) in MANUAL, README, cabal description.John MacFarlane1-1/+1
2017-12-21Merge pull request #4177 from stencila/jats-xml-readerJohn MacFarlane1-0/+3
Add Basic JATS reader based on DocBook reader
2017-12-21Lua modules: added pandoc.utils moduleAlbert Krewinkel1-0/+1
A new module `pandoc.utils` has been created. It holds utility functions like `sha1`, which was moved from the main `pandoc` module.
2017-12-21Lua modules: make a Haskell module for each Lua moduleAlbert Krewinkel1-0/+1
Definitions for the `pandoc.mediabag` modules are moved to a separate Haskell module. Change: minor
2017-12-21Lua modules: move to dedicated submoduleAlbert Krewinkel1-1/+1
The Haskell module defining the Lua `pandoc` module is moved to Text.Pandoc.Lua.Module.Pandoc. Change: minor
2017-12-21Removed default.theme data file.John MacFarlane1-2/+0
It is no longer needed now that we have `--print-highlight-style`. See #4096.
2017-12-20Add Basic JATS reader based on DocBook readerHamish Mackenzie1-0/+3
2017-12-14Merge pull request #4148 from stencila/jats-figuresJohn MacFarlane1-0/+1
fig, table-wrap & caption Divs for JATS writer
2017-12-13Custom writer: use init file to setup Lua interpreterAlbert Krewinkel1-1/+2
The same init file (`data/init`) that is used to setup the Lua interpreter for Lua filters is also used to setup the interpreter of custom writers.lua.
2017-12-13fig, table-wrap & caption Divs for JATS writerHamish Mackenzie1-0/+1
Support writing <fig> and <table-wrap> elements with <title> and <caption> inside them by using Divs with class set to on of fig, table-wrap or cation. The title is included as a Heading so the constraint on where Heading can occur is also relaxed. Also leaves out empty alt attributes on links.
2017-12-11Change version to 2.0.5.John MacFarlane1-1/+1
Note that we don't need to bump the second number for an additional module and exported function.
2017-12-11Version to 2.1John MacFarlane1-1/+1
2017-12-11Update cabal description to include powerpoint.John MacFarlane1-3/+4
2017-12-11Integrate Powerpoint writer into pandoc.Jesse Rosenthal1-0/+42
2017-12-10Changes for skylighting-0.5.John MacFarlane1-1/+1
This fixes a bug in 2.0.4, whereby pandoc could not read the theme files generated with `--print-highlight-style`. It also fixes some CSS issues involving line numbers. Highlighted code blocks are now enclosed in a div with class sourceCode. Highlighting CSS no longer sets a generic color for pre and code; we only set these for class `sourceCode`. This will close #4133 and #4128.
2017-12-07Add '-threaded' to ghc-options for executable.John MacFarlane1-1/+1
2017-12-06Lua filters: use script to initialize the interpreterAlbert Krewinkel1-0/+2
The file `init.lua` is used to initialize the Lua interpreter which is used in Lua filters. This gives users the option to require libraries which they want to use in all of their filters, and to extend default modules.
2017-12-02Lua filters: refactor lua module handlingAlbert Krewinkel1-1/+2
The integration with Lua's package/module system is improved: A pandoc-specific package searcher is prepended to the searchers in `package.searchers`. The modules `pandoc` and `pandoc.mediabag` can now be loaded via `require`.
2017-12-04Bump lower bound of hsluaAlbert Krewinkel1-1/+1
The release hslua 0.9.3 contains a new function which makes using Haskell functions as package loaders much easier.
2017-12-02Bump bounds for binary, http-types, tasty-hunitJohn MacFarlane1-3/+3
2017-12-02Bump to 2.0.4, update changelog.John MacFarlane1-1/+1
2017-12-02Update tested-with.John MacFarlane1-1/+1
2017-11-30Use latest tagsoup.John MacFarlane1-1/+1
This fixes a bug in parsing tags with `&` following. Closes #4094. Closes #4088.
2017-11-28Add basic lua List module (#4099)Albert Krewinkel1-0/+2
The List module is automatically loaded, but not assigned to a global variable. It can be included in filters by calling `List = require 'List'`. Lists of blocks, lists of inlines, and lists of classes are now given `List` as a metatable, making working with them more convenient. E.g., it is now possible to concatenate lists of inlines using Lua's concatenation operator `..` (requires at least one of the operants to have `List` as a metatable): function Emph (emph) local s = {pandoc.Space(), pandoc.Str 'emphasized'} return pandoc.Span(emph.content .. s) end Closes: #4081
2017-11-27Use skylighting 0.4.4.1.John MacFarlane1-1/+1
Closes #4103 (wrong color of unmarked code text when numerLines is used).
2017-11-21Use skylighting 0.4.4.John MacFarlane1-1/+1
2017-11-21Relax `http-types` dependency. (#4084)Justus Sagemüller1-1/+1
2017-11-20Version to 2.0.3.John MacFarlane1-1/+1
2017-11-18Lua filters: preload text module (#4077)Albert Krewinkel1-0/+1
The `text` module is preloaded in lua. The module contains some UTF-8 aware string functions, implemented in Haskell. The module is loaded on request only, e.g.: text = require 'text' function Str (s) s.text = text.upper(s.text) return s end
2017-11-11Require latest pandoc-types.John MacFarlane1-2/+2
2017-11-11Bump to 2.0.2.John MacFarlane1-1/+1
2017-11-11Use lua filter to generate man page from MANUAL.John MacFarlane1-3/+1
Instead of three Haskell filters. This is easier and faster.
2017-11-11Add lua filter functions to walk inline and block elements.John MacFarlane1-0/+1
Refactored some code from Text.Pandoc.Lua.PandocModule into new internal module Text.Pandoc.Lua.Filter. Add `walk_inline` and `walk_block` in pandoc lua module.
2017-11-04Use skylighting 0.4.3.2.John MacFarlane1-1/+1
2017-11-04Bump to 2.0.1.1.John MacFarlane1-1/+1
2017-11-03Use texmath 0.10.John MacFarlane1-1/+1
2017-11-03Use latest skylighting.John MacFarlane1-1/+1
2017-11-02Use latest skylighting; ensure no duplicate ids on code lines.John MacFarlane1-1/+1
The line identifiers are built using the code block's identifier as a prefix. If the code block has null identifier, we use "cb1", "cb2", etc. Closes #4031.
2017-11-02Bump tasty upper bound.John MacFarlane1-1/+1
2017-11-01Merge pull request #4001 from labdsf/fb2-testsJohn MacFarlane1-0/+1
Add new style FB2 tests
2017-10-31Version to 2.0.1.John MacFarlane1-1/+1
2017-10-30Bump to 2.0.0.1.John MacFarlane1-1/+1
2017-10-29Added creole reader test files to pandoc.cabal.John MacFarlane1-0/+2
2017-10-28Add new style FB2 testsAlexander Krotov1-0/+1
2017-10-27Removed unnecessary build-deps.John MacFarlane1-7/+2
2017-10-26Use CamelCase for JavaScript for uniformityKolen Cheung1-1/+1
other instances when javascript is refered to in pandoc is also in CamelCase, the official casing of JavaScript.
2017-10-26Bring MANUAL, README, and pandoc.cabal description in sync.John MacFarlane1-10/+10
2017-10-26Creole reader (#3994)Sascha Wilde1-0/+2
This is feature complete but not very thoroughly tested yet.
2017-10-26Use skylighting 0.4.2.John MacFarlane1-2/+2
This prevents the problem with extra space around highlighted code blocks (closes #3996). Note that we no longer put an enclosing div around highlighted code blocks. The pre is the outer element, just as for unhighlighted blocks.