aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-12-27Removed extra comment.John MacFarlane1-1/+0
2017-12-27Revert "data/sample.lua: Fixed problem with definition lists."John MacFarlane1-3/+5
This reverts commit 0e3736422ee97a5cfedc255705f566a319f954f9 in favor of @tarleb's fix.
2017-12-27Add custom tests to pandoc.cabalJohn MacFarlane1-0/+2
2017-12-27Update changelog.John MacFarlane1-0/+2
2017-12-27Updated man page.John MacFarlane1-249/+358
2017-12-27Update manual date and man page.John MacFarlane2-23/+37
2017-12-27Merge pull request #4204 from mb21/extension-docsJohn MacFarlane1-187/+284
MANUAL introduce dedicated extensions section
2017-12-27Fix regression of DefinitionLists in custom writerAlbert Krewinkel1-1/+11
Pairs where serialized as two-element lists instead, and are now pushed again as a table with a single key/value pair. Fixes: #4202
2017-12-27Makefile: Add 'pandoc-templates' target.John MacFarlane2-4/+11
2017-12-27Update changelog.John MacFarlane1-5/+11
2017-12-27data/sample.lua: fixed problem with tables.John MacFarlane1-1/+1
Closes #4202.
2017-12-27data/sample.lua: Fixed problem with definition lists.John MacFarlane1-5/+3
2017-12-27Added tests for custom writer.John MacFarlane3-0/+990
2017-12-27MANUAL.txt introduce dedicated extensions sectionmb211-187/+284
2017-12-27Docx reader: add tests for structured document tags unwrapping.Jesse Rosenthal3-0/+14
2017-12-27Docx Reader: preprocess Document body to unwrap "w:sdt" elementsJesse Rosenthal1-1/+31
We walk through the document (using the zipper in Text.XML.Light.Cursor) to unwrap the sdt tags before doing the rest of the parsing of the document. Note that the function is generically named `walkDocument` in case we need to do any further preprocessing in the future. Closes #4190
2017-12-27Fix custom writer regressionAlbert Krewinkel1-2/+1
An additional `Lua.call` was left in during refactoring, which caused an exception "attempt to call a nil value". Fixes: #4202
2017-12-26Update changelog.John MacFarlane1-0/+17
2017-12-26Use lts-10.1 resolver.John MacFarlane2-4/+3
2017-12-26Updated reference.docx.John MacFarlane10-38/+415
Instead of just "Hello, world", the document now contains exemplars of most of the styles that have an effect on pandoc documents. This makes it easier to see the effect of style changes. Closes #4175.
2017-12-26LaTeX writer: Allow fragile=singleslide attribute in beamer slides.John MacFarlane1-2/+2
Closes #4169.
2017-12-26Add opus to MIME type table as audio/ogg.John MacFarlane1-0/+1
See #4198.
2017-12-26LaTeX reader: support `\foreignlanguage` from babel.John MacFarlane2-0/+36
2017-12-26Tweaks to lua-filters.md docsJohn MacFarlane1-2/+3
2017-12-26HTML writer: Use br elements in line blocks...John MacFarlane17-18/+1
instead of relying on CSS. Closes #4162. HTML-based templates have had the custom CSS for div.line-block removed. Those maintaining custom templates will want to remove this too. We still enclose line blocks in a div with class line-block.
2017-12-24Use pandoc-citeproc 0.12.2 in binary pgksJohn MacFarlane1-1/+2
2017-12-24Fixed changelog typoJohn MacFarlane1-1/+1
2017-12-24Update changelog.John MacFarlane1-0/+200
2017-12-24RST reader: allow empty list items (as docutils does).John MacFarlane2-2/+12
Closes #4193.
2017-12-23Add Hamish Mackenzie to authors.John MacFarlane1-0/+1
2017-12-23Bump to 2.0.6.John MacFarlane1-1/+1
2017-12-23JATS reader: handle author-notes.John MacFarlane1-5/+6
2017-12-23JATS reader: code refactoring.John MacFarlane1-63/+48
2017-12-23Plain writer: don't linkify table of contents.John MacFarlane1-10/+12
2017-12-23Fixed bug: when target is PDF, writer extensions were being ignored.John MacFarlane1-3/+3
E.g. `-t latex-smart -o file.pdf` would produce a different latex intermediate than `-t latex-smart -o file.tex`. Thanks to Bernhard Fisseni for pointing this out. This is a regression since pandoc 2.0 (introduced in commit c7e3c1ec).
2017-12-23Lua modules: add function pandoc.utils.hierarchicalizeAlbert Krewinkel5-9/+85
Convert list of Pandoc blocks into (hierarchical) list of Elements.
2017-12-23JATS reader: include institute metadata.John MacFarlane1-2/+11
2017-12-23JATS reader: process author metadata.John MacFarlane3-6/+40
2017-12-23Lua modules: add function pandoc.utils.normalize_dateAlbert Krewinkel5-4/+36
The function parses a date and converts it (if possible) to "YYYY-MM-DD" format.
2017-12-23Lua modules: add function pandoc.utils.to_roman_numeralAlbert Krewinkel4-4/+37
The function allows conversion of numbers below 4000 into roman numerals.
2017-12-23data/init.lua: load pandoc.utils by defaultAlbert Krewinkel1-0/+1
2017-12-23JATS reader: better citation handling.John MacFarlane1-3/+79
We now convert a ref-list element into a list of citations in metadata, suitable for use with pandoc-citeproc. We also convert references to pandoc citation elements. Thus a JATS article with embedded bibliographic information can be processed with pandoc and pandoc-citeproc to produce a formatted bibliography.
2017-12-23HTML Reader: be more forgiving about figcaptionmb212-4/+39
fixes #4183
2017-12-22Merge pull request #4189 from mb21/export-blocksToInlinesJohn MacFarlane3-3/+4
API change: export blocksToInlines' from Text.Pandoc.Shared
2017-12-22`latex_macros` extension changes.John MacFarlane6-15/+55
Don't pass through macro definitions themselves when `latex_macros` is set. The macros have already been applied. If `latex_macros` is enabled, then `rawLaTeXBlock` in Text.Pandoc.Readers.LaTeX will succeed in parsing a macro definition, and will update pandoc's internal macro map accordingly, but the empty string will be returned. Together with earlier changes, this closes #4179.
2017-12-22Markdown reader: improved raw tex parsing.John MacFarlane3-10/+11
+ Preserve original whitespace between blocks. + Recognize `\placeformula` as context.
2017-12-22LaTeX reader: use applyMacros in rawLaTeXBlock, rawLaTeXInline.John MacFarlane1-2/+5
2017-12-22LaTeX reader: Refactored inlineCommand.John MacFarlane1-24/+11
2017-12-22API change: export blocksToInlines' from Text.Pandoc.Sharedmb213-3/+4
2017-12-22doc/lua-filter.md: document pandoc.utils.stringifyAlbert Krewinkel1-10/+27
Change: minor