aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-12-22Change date on changelog.John MacFarlane1-1/+1
2019-12-22Macos release workflow: just copy pandoc.1 rather than regenerating.John MacFarlane1-4/+1
2019-12-22trypandoc: add jira as input format.John MacFarlane1-0/+1
2019-12-22Update changelog.John MacFarlane1-2/+9
2019-12-22Ensure that later default file values for `variable` replace earlier ones.John MacFarlane1-1/+3
The semigroup instance for doctemplates Context does a left-biased union on the underlying Map. That means that if you union `{a: 1}` and `{a: 2}`, you get `{a: 1}`. This commit causes pandoc to do the operation in the opposite order, so that later default files take precedence in the values they assign to keys. See #5988.
2019-12-22Improve pandoc man page generation.John MacFarlane5-14/+13
Use before and after includes rather than special template.
2019-12-22doc/lua-filters.md: replace metadata example with image centering (#6004)Albert Krewinkel1-22/+23
Metadata defaults can be given via the command line `--metadata-file`. Adding raw format snippets is a common use case for Lua filters, so it seems sensible to provide an example. Thanks to @efx for proposing this filter. Closes: pandoc/lua-filters#70
2019-12-22Use alpine 3.10 in building linux binary.John MacFarlane1-1/+1
For some reason the bulid fails with alpine 3.11, with a linker error finding -lz. See #6003. It would be good to figure out how to make it work with alpine 3.11.
2019-12-22changelog: combine entries for issue #5984.Albert Krewinkel1-5/+4
2019-12-21Revert "linux release-candidate build: try setting LIBRARY_PATH."John MacFarlane1-1/+0
This reverts commit 392c14311f5f48b0bfaa4e141c36ea2c365b90b1. It didn't help.
2019-12-21linux release-candidate build: try setting LIBRARY_PATH.John MacFarlane1-0/+1
For some reason ld can't find zlib in the latest build. Maybe this will help?
2019-12-21HTML writer: more tweaks to avoid round-trip failures...John MacFarlane1-2/+5
having to do with makeSections.
2019-12-21HTML reader tests: modify round-trip tests...John MacFarlane1-0/+4
to avoid a special failure case involving makeSections.
2019-12-21Update README.md.John MacFarlane1-0/+3
2019-12-21Update man page and MANUAL date.John MacFarlane2-4/+7
2019-12-21Update changelog.John MacFarlane2-13/+50
2019-12-21Fix regression with --number-sections.John MacFarlane1-2/+1
Starting with 2.8, `--number-sections` also had the effect of `--section-divs`, even if `--section-divs` was not specified.
2019-12-20Added glsl mime type for WebGL maps (#6000)Jared Lander1-0/+1
Added glsl mime type for WebGL maps
2019-12-20MANUAL: A bit clearer explanation for `--base-header-level`.John MacFarlane1-2/+3
We now say exactly how to work around the deprecation of this option.
2019-12-20Jira writer: use jira-wiki-markup rendererAlbert Krewinkel3-412/+286
Pandoc's AST is translated into the Jira AST, which is then rendered by the dedicated Jira printer. The following improvements are included in this change: - non-jira raw blocks are fully discarded instead of showing as blank lines; - table cells can contain multiple blocks; - unnecessary blank lines are removed from the output; - markup chars within words are properly surrounded by braces; - preserving soft linebreaks via `--wrap=preserve` is supported. Note that backslashes are rendered as HTML entities, as there appears no alternative to produce a plain backslash if it is followed by markup. This may cause problems when used with confluence, where rendering seems to fail in this case. Closes: #5926
2019-12-19Org reader: report errors properlyAlbert Krewinkel1-2/+1
Errors during parsing are now returned in full and no longer replaced by a custom message.
2019-12-19Org reader: fix parsing problem for colons in headlineAlbert Krewinkel3-11/+37
Fixed a problem where words surrounded by colons could causing parse failures in some cases when they occurred in headers. Fixes: #5993
2019-12-18Org reader: wrap named table in div, using name as idAlbert Krewinkel3-21/+27
Closes: #5984
2019-12-18pandoc.cabal: remove redundancies in extra-source-filesAlbert Krewinkel1-3/+0
2019-12-17Add Jira to list of input formats in cabal description.John MacFarlane1-2/+2
2019-12-17Add jira reader (#5913)Albert Krewinkel10-0/+769
Closes #5556
2019-12-17Adjust test to work with Windows (I hope).John MacFarlane1-1/+1
2019-12-17Provisional changelog.John MacFarlane1-1/+29
2019-12-17Bump to 2.9.1.John MacFarlane1-1/+1
2019-12-17Improved --toc generation.John MacFarlane4-9/+61
2019-12-17PDF: Ensure UTF8 when printing source in --verbose mode.John MacFarlane1-1/+1
This may fix #5997.
2019-12-17Templates: strip directory before trying to find partial in data files.John MacFarlane1-3/+4
Closes #5987.
2019-12-17Improved makeSections so we don't get doubled attributes.John MacFarlane4-18/+23
Closes #5986.
2019-12-17HTML reader: Add "nav" to list of block-level tags.John MacFarlane1-1/+2
2019-12-17Added test for #5986.John MacFarlane1-0/+16
2019-12-17Add section-divs command test (failing).John MacFarlane1-0/+25
2019-12-17lua-filters.md remove spurious dot in title (#5996)Mauro Bieg1-1/+1
2019-12-13Org reader: add table labels to caption if both are presentAlbert Krewinkel2-4/+12
The table `#+NAME:` or `#+LABEL:` is added to the table's caption in the form of an empty span with the label set as the span's ID. Closes: #5984
2019-12-12Change misleading module comment.John MacFarlane1-1/+1
2019-12-11Regenerate man page.John MacFarlane2-9/+25
2019-12-11Use pandoc-citeproc 0.16.4.1 (cabal).John MacFarlane1-1/+1
2019-12-11Bump pandoc-citeproc version to 0.16.4.1.John MacFarlane1-1/+1
2019-12-11Update changelog.John MacFarlane2-0/+64
2019-12-11Bump version to 2.9 because of API change in Templates, Class.John MacFarlane1-1/+1
2019-12-11Improved template API and fixed a bug. Closes #5979.John MacFarlane3-43/+65
* Text.Pandoc.Templates [API change] + Add Monad wrappers `WithDefaultPartials` and `WithPartials`. Wrapping these around an instance of `PandocMonad` gives us different instances of `TemplateMonad`, with different search behavior in retrieving partials. To compile a template and limit partial search to pandoc's data files, use `runWithDefaultPartials (compileTemplate ...)`. To compile a template and allow partials to be found locally (either on the file system or via HTTP, in the event that the main template has an absolute URL), ue `runWithPartials (compileTemplate ...)`. + Export `getTemplate`, which seeks a template locally, or via HTTP if the template has an absolute URL, falling back to the data files if not found. + Export `compileDefaultTemplate` -- does `getDefaultTemplate` and compiles the result, raising an error on failure. * Text.Pandoc.Class [API change] + Remove `TemplateMonad` instances for `PandocIO` and `PandocPure`. These were too limiting and caused a bug whereby a local partial could be used even when the default template was requested. We now rely on instances provided in the Templates module. Text.Pandoc.App.OutputSettings + Simplify template retrieval code.
2019-12-11ConTeXt template: Adjustments to title formatting (#5949)Denis Maier2-7/+7
Added `\setupinterlinespace` to `title`, `subtitle`, `date` and `author` elements. Otherwise longer titles that run over multiple lines will look squashed as `\tfd` etc. won't adapt the line spacing to the font size.
2019-12-11Add title-slide-attributes variable to reveal.js template. (#5981)Frederik Elwert2-1/+12
2019-12-10Fix README.md so that relative links from manual become absolute.John MacFarlane2-16/+26
Previously they'd be broken links when viewed on GitHub or Hackage. So we add the base URL for the pandoc manual.
2019-12-09More informative JSON parse error.John MacFarlane1-1/+1
Closes #5973.
2019-12-08Use external emojis package.John MacFarlane7-10416/+10
Moved the emoji-specified code into an external package we can depend on.