aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2019-12-07Fix regression in `makeSections`.John MacFarlane0-0/+0
Previously hierarchicalize (the ancestor of `makeSections`) would put header attributes on the containing Div. In 2.8 this behavior changed, which broke some tools depending on pandoc. Here we roll back this change, so that attributes again migrate from the header to the containing Div when `makeSections` is run. Note that attributes are retained on the header as well (unlike before) -- with the exception of the `id` attribute, which of course cannot be duplicated. Note that this is an empty commit. The previous commit, 8d0033111, was mistakenly recorded as an amendment to the --toc-depth fix, so the commit message for that is wrong; this message correctly describes the change in 8d0033111. Closes #5965.
2019-12-07Fix --toc-depth regression in 2.8.John MacFarlane1-6/+6
Closes #5967.
2019-12-07Fix --toc-depth regression in 2.8.John MacFarlane2-3/+18
Closes #5967.
2019-12-07Use doctemplates 0.8.John MacFarlane2-3/+3
2019-12-07Rename template 'filters' as 'pipes'John MacFarlane1-6/+6
to avoid confusion with the other notion of filter used by pandoc. We may want to rename this upstream in doctemplates as well.
2019-12-07Removed trailing whitespace in manual.John MacFarlane1-5/+5
2019-12-07Document display math syntax in manual.John MacFarlane1-0/+3
2019-12-05Slight tweak to RELEASE_CHECKLISTJohn MacFarlane1-1/+2
2019-12-05Update manual date and man page.John MacFarlane2-15/+31
2019-12-05Update changelogJohn MacFarlane1-0/+54
2019-12-05Makefile - fix emoji.json pathJohn MacFarlane1-1/+1
2019-12-05Bump to 2.8.1John MacFarlane1-1/+1
2019-12-05Avoid deprecation warning for minimumDef using CPP.John MacFarlane1-1/+6
2019-12-05Keep the \author{} command even if author is not specified (#5961)Yihui Xie4-2/+3
Otherwise there will be a LaTeX warning "No \author given" when the .tex file is compiled. This does not affect spacing in the title block.
2019-12-05Clean up manual on pdf generation backend options.John MacFarlane1-13/+22
See #5940.
2019-12-05Roll back part of of `--shift-heading-level-by` change.John MacFarlane3-15/+9
With positive heading shifts, starting in 2.8 this option caused metadata titles to be removed and changed to regular headings. This behavior is incompatible with the old behavior of `--base-header-level` and breaks old workflows, so with this commit we are rolling back this change. Now, there is an asymmetry in positive and negative heading level shifts: + With positive shifts, the metadata title stays the same and does not get changed to a heading in the body. + With negative shifts, a heading can be converted into the metadata title. I think this is a desirable combination of features, despite the asymmetry. One might, e.g., want to have a document with level-1 section headigs, but render it to HTML with level-2 headings, retaining the metadata title (which pandoc will render as a level-1 heading with the default template). Closes #5957. Revises #5615.
2019-12-05Update release checklist to include code signing step.John MacFarlane1-1/+2
This will address #5950.
2019-12-05HTML-based templates: Add CSS to suppress bullet on unordered task lists.John MacFarlane8-0/+8
2019-12-05HTML writer: add task-list class to ul if all elements are task list items.John MacFarlane2-5/+14
This will allow styling unordered task lists in a way that omits the bullet.
2019-12-05Fix makeSections so it doesn't turn column divs into sections.John MacFarlane2-1/+31
2019-12-04Fix regression with behavior of --variable.John MacFarlane1-2/+8
Previously -Vfoo=1 -Vfoo=2 would produce a list value for foo; with 2.8 it produced just '2'. This commit restores the earlier beahvior. Closes #5962.