summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* RST reader: more accurate parsing of references.John MacFarlane2017-12-14
| | | | | | | | | | | Previously we erroneously included the enclosing backticks in a reference ID (closes #4156). This change also disables interpretation of syntax inside references, as in docutils. So, there is no emphasis in `my *link*`_
* Merge pull request #4148 from stencila/jats-figuresJohn MacFarlane2017-12-14
|\ | | | | fig, table-wrap & caption Divs for JATS writer
| * Deduplicate JATS writer image mime type codeHamish Mackenzie2017-12-14
| |
| * 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.
* | Markdown reader: be pickier about table captions.John MacFarlane2017-12-14
| | | | | | | | | | | | | | A caption starts with a `:` which can't be followed by punctuation. Otherwise we can falsely interpret the start of a fenced div, or even a table header line like `:--:|:--:`, as a caption.
* | Update latex template to work with recent versions of beamer.John MacFarlane2017-12-13
| | | | | | | | | | | | | | The old template produced numbered sections with some recent versions of beamer. Thanks to Thomas Hodgson.
* | Removed whitespace at ends of line.John MacFarlane2017-12-13
| |
* | Merge pull request #4153 from tarleb/unify-lua-initJohn MacFarlane2017-12-13
|\ \ | | | | | | Unify lua initalization
| * | 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.
| * | Lua filters: drop unused code, language extensionsAlbert Krewinkel2017-12-13
| | |
| * | Custom writer: define instances for newtype wrapperAlbert Krewinkel2017-12-13
| | | | | | | | | | | | | | | | | | | | | The custom writer used its own `ToLuaStack` instance definitions, which made it difficult to share code with Lua filters, as this could result in conflicting instances. A `Stringify` wrapper is introduced to avoid this problem.
* | | Docx writer: Add tests for list continuation.Jesse Rosenthal2017-12-13
| | |
* | | Docx writer: Continue lists after interruption.Jesse Rosenthal2017-12-13
|/ / | | | | | | | | | | | | | | | | Docx expects that lists will continue where they left off after an interruption and introduces a new id if a list is starting again. So we keep track of the state of lists and use them to define a "start" attribute, if necessary. Closes #4025
* | Delete removed -S option from command in epub.md (#4151)Georger Araújo2017-12-13
| | | | | | | | Because `--smart/-S` has been removed. Maybe ` -f markdown+smart` shoud also be added?
* | Markdown reader: always use four space rule for example lists.John MacFarlane2017-12-13
| | | | | | | | | | | | | | | | It would be awkward to indent example list contents to the first non-space character after the label, since example list labels are often long. Thanks to Bernhard Fisseni for the suggestion.
* | Update man page.John MacFarlane2017-12-12
| |
* | Updated changelog.John MacFarlane2017-12-12
| |
* | Markdown: Improved computation of relative cell widths in pipe tables.John MacFarlane2017-12-12
| |
* | Pipe tables: use full text width for tables with wrapping cells.John MacFarlane2017-12-12
|/ | | | | | | | | | Previously we computed the column sizes based on the ratio between the header lines and the text width (as set by `--columns`). This meant that tables with very short header lines would be very narrow. With this change, pipe tables with wrapping cells will always take up the whole text width. The relative column widths will still be determined by the ratio of header lines, but they will be normalized to add up to 1.0.
* Add default.nix for working on pandoc with Nix (#4146)Hamish Mackenzie2017-12-12
|
* Spellcheck some changelog messagesAlexander Krotov2017-12-12
|
* Updated man page.John MacFarlane2017-12-11
|
* 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.
* Updated changelog.John MacFarlane2017-12-11
|
* Update man page.John MacFarlane2017-12-11
|
* Version to 2.1John MacFarlane2017-12-11
|
* Update cabal description to include powerpoint.John MacFarlane2017-12-11
|
* Added support for LaTeX pagestyle variable (#4135)Thomas Hodgson2017-12-11
| | | | | | | | * Add pagestyle support * Add pagestyle option to MANUAL.txt * Moved mention of pagestyle to the section on variables
* `--pdf-engine-opt`: fix bug where option order was reversed.John MacFarlane2017-12-11
| | | | Closes #4137.
* Add PowerPoint info to MANUAL and README.Jesse Rosenthal2017-12-11
|
* Fix comment that confused compiler.Jesse Rosenthal2017-12-11
|
* Remove redundant imports from Docx writer.Jesse Rosenthal2017-12-11
| | | | These were a result of moving functions to the OOXML module.
* Integrate Powerpoint writer into pandoc.Jesse Rosenthal2017-12-11
|
* Add Powerpoint writer.Jesse Rosenthal2017-12-11
| | | | | | | | | | | | | | | | | | | This imports the essential Powerpoint writer. It works following the standard Pandoc conventions for making other sorts of slides. At the moment, there are still these TODOs: 1. Syntax highlighting is not yet implemented. (This is difficult because there are no character classes in Powerpoint.) 2. Footnotes and Definition lists are not yet implemented. (Notes will usually take the form of a final slide. 3. Image placement and auto-resizing has a few glitches. 4. Reference powerpoint files don't work dependably from the command line. This will be implemented, but at the moment users are advised to change themes from within Powerpoint.
* Add necessary powerpoint functions to Class.Jesse Rosenthal2017-12-11
|
* Create shared OOXML writer file.Jesse Rosenthal2017-12-11
| | | | This is for functions used by both Powerpoint and Docx writers.
* Add default pptx data for Powerpoint writer.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.
* Lua filters: fix package loading for Lua 5.1Albert Krewinkel2017-12-10
| | | | | The list of package searchers is named `package.loaders` in Lua 5.1 and LuaJIT, and `package.searchers` in Lua 5.2 and later.
* Man writer: omit internal links.John MacFarlane2017-12-09
| | | | | | That is, just print the link text without the url. Closes #4136.
* Travis: fix path to ensure that installed ghc is first in path.John MacFarlane2017-12-08
|
* LaTeX reader: fix \ before newline.John MacFarlane2017-12-08
| | | | | | | | This should be a nonbreaking space, as long as it's not followed by a blank line. This has been fixed at the tokenizer level. Closes #4134.
* README: fix groff ms linkAlbert Krewinkel2017-12-08
|
* Add '-threaded' to ghc-options for executable.John MacFarlane2017-12-07
|
* Markdown reader: accept processing instructions as raw HTML.John MacFarlane2017-12-06
| | | | Closes #4125.
* 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.
* hlint Muse reader and testsAlexander Krotov2017-12-06
|
* Muse reader: add test for #disable-tables directive in Emacs modeAlexander Krotov2017-12-06
|