aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-06-29Update changelog.John MacFarlane1-1/+57
2020-06-29Merge pull request #6328 from lierdakil/defaults-meta-parseJohn MacFarlane3-57/+45
Unify defaults metadata and markdown metadata parsers
2020-06-29Org reader: keep unknown keyword lines as raw orgAlbert Krewinkel3-4/+18
The lines of unknown keywords, like `#+SOMEWORD: value` are no longer read as metadata, but kept as raw `org` blocks. This ensures that more information is retained when round-tripping org-mode files; additionally, this change makes it possible to support non-standard org extensions via filters.
2020-06-29Org reader: unify keyword handlingAlbert Krewinkel3-127/+127
Handling of export settings and other keywords (like `#+LINK`) has been combined and unified.
2020-06-29Org reader: support LATEX_HEADER_EXTRA and HTML_HEAD_EXTRA settingsAlbert Krewinkel3-40/+65
These export settings are treated like their non-extra counterparts, i.e., the values are added to the `header-includes` metadata list.
2020-06-29Org reader: allow multiple #+SUBTITLE export settingsAlbert Krewinkel3-1/+12
The values of all lines are read as inlines and collected in the `subtitle` metadata field.
2020-06-29Clean up T.P.R.MetadataNikolay Yakimov2-41/+25
2020-06-29Handle errors in yamlToMetaNikolay Yakimov2-11/+9
2020-06-29Unify defaults and markdown metadata parsersNikolay Yakimov3-29/+35
2020-06-28Remove obsolete RelaxedPolyRec extension (#6487)Nikolay Yakimov5-7/+0
2020-06-28doc/org.md: document behavior of `smart` extensionAlbert Krewinkel1-0/+27
See discussion in #4788. Closes: #4387
2020-06-28PDF: all verbose output now goes to stderr, not stdout.John MacFarlane1-21/+21
Closes #6483.
2020-06-28Delete misleading sentence in manualfor --verboseJohn MacFarlane1-2/+1
2020-06-28JATS reader: parse abstract element into metadata field of same name (#6482)Albert Krewinkel2-0/+26
Closes: #6480
2020-06-28Org reader: read `#+INSTITUTE` values as text with markupAlbert Krewinkel3-7/+22
The value is stored in the `institute` metadata field and used in the default beamer presentation template.
2020-06-28Org tests: group export settings test for Org readerAlbert Krewinkel1-74/+79
2020-06-28Bump hslua in stack.yamlJohn MacFarlane1-1/+1
2020-06-28Org reader: update behavior of author, keywords export settingsAlbert Krewinkel2-39/+44
The behavior of the `#+AUTHOR` and `#+KEYWORD` export settings has changed: Org now allows multiple such lines and adds a space between the contents of each line. Pandoc now always parses these settings as meta inlines; setting values are no longer treated as comma-separated lists. Note that a Lua filter can be used to restore the previous behavior.
2020-06-28Org reader: refactor export setting handlingAlbert Krewinkel1-79/+67
2020-06-27doc/org.md: describe all supported export options in detailAlbert Krewinkel1-0/+57
2020-06-27Org reader: read description lines as inlinesAlbert Krewinkel2-15/+63
`#+DESCRIPTION` lines are treated as text with markup. If multiple such lines are given, then all lines are read and separated by soft linebreaks. Closes: #6485
2020-06-25Org reader: honor tex export optionAlbert Krewinkel5-30/+148
The `tex` export option can be set with `#+OPTION: tex:nil` and allows three settings: - `t` causes LaTeX fragments to be parsed as TeX or added as raw TeX, - `nil` removes all LaTeX fragments from the document, and - `verbatim` treats LaTeX as text. The default is `t`. Closes: #4070
2020-06-24re-add pandoc-citeproc to cabal.project.John MacFarlane1-0/+4
2020-06-23Remove redundant pattern match in pptx writer.John MacFarlane1-3/+0
2020-06-23LaTeX reader: Retain the Div around tables with attributes.John MacFarlane3-33/+34
We'll need this to store table attributes until all writers are adjusted to react to attributes on the Table element.
2020-06-23Use released pandoc-citeproc.John MacFarlane2-7/+1
2020-06-23Cleanup changelog entries for jira, Lua (#6479)Albert Krewinkel1-14/+8
Shorten changelog by combining related entries; remove entry Lua regression, it affected only in the development version.
2020-06-23Add test for #6481.John MacFarlane1-0/+38
2020-06-23Markdown reader: Don't require blank line after grid table.John MacFarlane1-2/+2
This fixes #6481, allowing grid tables to be enclosed in fenced divs with no intervening blank lines.
2020-06-23CI: fix typo in GitHub CI workflow configAlbert Krewinkel1-2/+2
Switch `ignore-paths` with `paths-ignore`.
2020-06-22Update changelog, AUTHORS.md.John MacFarlane2-0/+376
2020-06-22Handle native Underline in Powerpoint writer.John MacFarlane3-1/+1
(Instead of old Span with underline class. Spans with `underline` will no longer be rendered as underlined text.)
2020-06-22Use native Underline instead of Span in JiraJohn MacFarlane4-8/+4
2020-06-22Update AUTHORSJohn MacFarlane1-0/+7
2020-06-22Bump version to 2.10. Update tested-with.John MacFarlane1-2/+3
We need a major version bump because of the new pandoc-types.
2020-06-22Use released pandoc-types 1.21.John MacFarlane2-7/+1
2020-06-22Use --enable-local-file-access in invoking wkhtmltopdf.John MacFarlane1-1/+2
wkhtmltopdf changed in recent versions to require this for access to local files. This fixes PDF via HTML5 with `--css`. Closes #6474.
2020-06-22Jira writer: always escape bracesAlbert Krewinkel3-3/+3
Braces are now always escaped, even within words or when surrounded by whitespace. Jira and Confluence treat braces specially. Package jira-wiki-markup must be version 1.3.2 or later. Fixes: #6478
2020-06-21MANUAL: clarify partial naming (#6476)Mauro Bieg1-6/+14
2020-06-20Recognize images with uppercase extensionsAlbert Krewinkel2-1/+6
Fixes: #6472
2020-06-20CI: use GitHub workflow command to set system pathAlbert Krewinkel1-2/+3
This way, the PATH environment variable does not have to be set repeatedly in each step.
2020-06-19Use latest skylighting.John MacFarlane2-4/+4
2020-06-17LaTeX writer: escape `^` specially for listings.John MacFarlane1-1/+1
Closes #6460.
2020-06-17RST reader: pass arbitrary attributes through in code blocks.John MacFarlane1-12/+12
Exceptions: name (which becomes the id), class (which becomes the classes), and number-lines (which is treated specially to fit with pandoc highlighting). Closes #6465.
2020-06-17Fix MIME type for TrueType fonts in EPUBs (#6464)Michael Reed1-1/+1
Per the EPUB 3.2 spec, "application/x-font-truetype" is no longer a valid identifier for TrueType (.ttf) fonts [1]. This fixes warnings when validating pandoc-generated EPUBs using `epubcheck` [2]. References [3]. [1]: https://www.w3.org/publishing/epub3/epub-spec.html#sec-core-media-types [2]: https://github.com/w3c/epubcheck
2020-06-15MANUAL: describe `jira` as "Jira/Confluence wiki markup"Albert Krewinkel1-2/+2
In the past, Jira's wiki markup was also used by – and could be imported into – Atlassian Confluence. Closes: #6351
2020-06-15Remove unused dependency `vector` (#6462)Laurent P. René de Cotret1-1/+0
2020-06-15linux CI: use ppa to install older ghc/cabal versions.John MacFarlane1-3/+14
2020-06-14Bump jira-wiki-markup in stack.yaml.John MacFarlane1-1/+1
2020-06-14Linux CI: use cabal 3.2 for everything.John MacFarlane1-4/+4
The ubuntu images no longer contain older cabal versions, it semes.