summaryrefslogtreecommitdiff
path: root/pandoc.cabal
Commit message (Collapse)AuthorAge
...
* | Lua modules: make a Haskell module for each Lua moduleAlbert Krewinkel2017-12-21
| | | | | | | | | | | | | | Definitions for the `pandoc.mediabag` modules are moved to a separate Haskell module. Change: minor
* | Lua modules: move to dedicated submoduleAlbert Krewinkel2017-12-21
| | | | | | | | | | | | | | The Haskell module defining the Lua `pandoc` module is moved to Text.Pandoc.Lua.Module.Pandoc. Change: minor
* | Removed default.theme data file.John MacFarlane2017-12-21
|/ | | | | It is no longer needed now that we have `--print-highlight-style`. See #4096.
* Merge pull request #4148 from stencila/jats-figuresJohn MacFarlane2017-12-14
|\ | | | | fig, table-wrap & caption Divs for JATS writer
| * fig, table-wrap & caption Divs for JATS writerHamish Mackenzie2017-12-13
| | | | | | | | | | | | | | | | | | 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.
* | Custom writer: use init file to setup Lua interpreterAlbert Krewinkel2017-12-13
|/ | | | | | 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.
* Change version to 2.0.5.John MacFarlane2017-12-11
| | | | | Note that we don't need to bump the second number for an additional module and exported function.
* Version to 2.1John MacFarlane2017-12-11
|
* Update cabal description to include powerpoint.John MacFarlane2017-12-11
|
* Integrate Powerpoint writer into pandoc.Jesse Rosenthal2017-12-11
|
* Changes for skylighting-0.5.John MacFarlane2017-12-10
| | | | | | | | | | | | | | 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.
* Add '-threaded' to ghc-options for executable.John MacFarlane2017-12-07
|
* Lua filters: use script to initialize the interpreterAlbert Krewinkel2017-12-06
| | | | | | | 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.
* Lua filters: refactor lua module handlingAlbert Krewinkel2017-12-02
| | | | | | | 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`.
* Bump lower bound of hsluaAlbert Krewinkel2017-12-04
| | | | | The release hslua 0.9.3 contains a new function which makes using Haskell functions as package loaders much easier.
* Bump bounds for binary, http-types, tasty-hunitJohn MacFarlane2017-12-02
|
* Bump to 2.0.4, update changelog.John MacFarlane2017-12-02
|
* Update tested-with.John MacFarlane2017-12-02
|
* Use latest tagsoup.John MacFarlane2017-11-30
| | | | | | This fixes a bug in parsing tags with `&` following. Closes #4094. Closes #4088.
* Add basic lua List module (#4099)Albert Krewinkel2017-11-28
| | | | | | | | | | | | | | | | | | 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
* Use skylighting 0.4.4.1.John MacFarlane2017-11-27
| | | | | Closes #4103 (wrong color of unmarked code text when numerLines is used).
* Use skylighting 0.4.4.John MacFarlane2017-11-21
|
* Relax `http-types` dependency. (#4084)Justus Sagemüller2017-11-21
|
* Version to 2.0.3.John MacFarlane2017-11-20
|
* Lua filters: preload text module (#4077)Albert Krewinkel2017-11-18
| | | | | | | | | | | 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
* Require latest pandoc-types.John MacFarlane2017-11-11
|
* Bump to 2.0.2.John MacFarlane2017-11-11
|
* Use lua filter to generate man page from MANUAL.John MacFarlane2017-11-11
| | | | | | Instead of three Haskell filters. This is easier and faster.
* Add lua filter functions to walk inline and block elements.John MacFarlane2017-11-11
| | | | | | | 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.
* Use skylighting 0.4.3.2.John MacFarlane2017-11-04
|
* Bump to 2.0.1.1.John MacFarlane2017-11-04
|
* Use texmath 0.10.John MacFarlane2017-11-03
|
* Use latest skylighting.John MacFarlane2017-11-03
|
* Use latest skylighting; ensure no duplicate ids on code lines.John MacFarlane2017-11-02
| | | | | | | | 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.
* Bump tasty upper bound.John MacFarlane2017-11-02
|
* Merge pull request #4001 from labdsf/fb2-testsJohn MacFarlane2017-11-01
|\ | | | | Add new style FB2 tests
| * Add new style FB2 testsAlexander Krotov2017-10-28
| |
* | Version to 2.0.1.John MacFarlane2017-10-31
| |
* | Bump to 2.0.0.1.John MacFarlane2017-10-30
| |
* | Added creole reader test files to pandoc.cabal.John MacFarlane2017-10-29
|/
* Removed unnecessary build-deps.John MacFarlane2017-10-27
|
* Use CamelCase for JavaScript for uniformityKolen Cheung2017-10-26
| | | other instances when javascript is refered to in pandoc is also in CamelCase, the official casing of JavaScript.
* Bring MANUAL, README, and pandoc.cabal description in sync.John MacFarlane2017-10-26
|
* Creole reader (#3994)Sascha Wilde2017-10-26
| | | | This is feature complete but not very thoroughly tested yet.
* Use skylighting 0.4.2.John MacFarlane2017-10-26
| | | | | | | | | 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.
* Updated Glob upper bound.John MacFarlane2017-10-23
|
* Use doctemplates 0.2.1: allows `$--` line comments in templates.John MacFarlane2017-10-20
| | | | Closes #3806.
* Export Text.Pandoc.BCP47John MacFarlane2017-10-17
|
* Split list of authors from MANUAL.txt into separate file, AUTHORS.md.John MacFarlane2017-10-17
| | | | It was getting too long for a man page.
* Improved handling of include files in LaTeX reader.John MacFarlane2017-10-16
| | | | | | | | | | | | | Previously `\include` wouldn't work if the included file contained, e.g., a begin without a matching end. We've changed the Tok type so that it stores a full SourcePos, rather than just a line and column. So tokens keeep track of the file they came from. This allows us to use a simpler method for includes, which doesn't require parsing the included document as a whole. Closes #3971.