aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-01-04Added a needed pragma.John MacFarlane1-0/+1
2020-01-04Add type annotations to assist ghci.John MacFarlane4-7/+13
2020-01-04Remove unneeded import.John MacFarlane1-1/+1
2020-01-04HTML writer: Add newlines to make slide show output more readable.John MacFarlane1-6/+8
2020-01-03PDF: fix runTeXProgram so that the input source is always overwritten.John MacFarlane1-22/+23
Previously it wasn't overridden if the file already existed, which led to bad results on subsequent runs when `pdf-engine-opt=-output-directory=` was used to specify an explicit temp dir. Closes #6027.
2020-01-03Fix test/tables.orgAlbert Krewinkel1-4/+4
Editor usage mistake caused a broken reference file.
2020-01-03Org writer: remove extra spaces from table cellsAlbert Krewinkel2-30/+30
Closes: #6024
2020-01-01LaTeX writer: properly handle unnumbered headings level 4+.John MacFarlane2-2/+2
Closes #6018. Previously the `\paragraph` command was used instead of `\paragraph*` for unnumbered level 4 headings.
2019-12-30BCP47: change getLang so it can handle block-level contents.John MacFarlane1-3/+5
Some readers (e.g. RST) will populate the `lang` metadata field with block-level content. `getLang` has been modified to handle this. Previously in these cases the LaTeX writer would not properly set the "main language" of the document. Closes #6008.
2019-12-30Update JATS dtd (#6020)Arfon Smith3-10/+10
The current DTD for the JATS writer template is for Journal Publishing (JATS-journalpublishing1.dtd), which does not permit ext-link as a valid child (https://jats.nlm.nih.gov/publishing/tag-library/1.1/element/publisher-name.html). This update modifies the default output template to be the less restrictive JATS archiving and interchange DTD which systems like PubMed use internally to represent their articles.
2019-12-27Fix parsing bug affected indented code after raw HTML.John MacFarlane3-8/+47
Closes #6009, #5360.
2019-12-27Allow framebreaks for beamer's TOC (#6012)Heiko Schlittermann1-1/+1
2019-12-27Add a needed try.John MacFarlane1-2/+3
2019-12-26Use HTTPS in copyright message (#6010)Felix Yan1-1/+1
Since the website now redirect to https automatically, it would be nice to just use https in the help text.
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