aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-07-12Merge pull request #6513 from brisad/masterJohn MacFarlane4-1/+43
Escape starting periods in ms writer code blocks
2020-07-12Merge pull request #6506 from bewuethr/fix-manual-typoJohn MacFarlane1-1/+1
Fix typo in MANUAL.txt
2020-07-12Merge pull request #6509 from lierdakil/docx-smush-inlines-refactorJohn MacFarlane3-63/+40
[Docx Reader] Refactor/update Text.Pandoc.Readers.Docx.Combine.smushInlines
2020-07-12Merge pull request #6508 from lierdakil/bench-bs-readersJohn MacFarlane1-25/+35
[Bench] Benchmark bytestring readers
2020-07-12Ms writer: fix code highlighting with blank lines.John MacFarlane1-5/+5
Previously blank lines were simply omitted from highligted code.
2020-07-12RST reader: fix spurious newlines in some attributes from directives.John MacFarlane1-1/+2
2020-07-12RST reader: avoid extra newline in included code blocks.John MacFarlane1-2/+2
2020-07-09Fix Typos in Lua Filters Doctajmone1-4/+4
2020-07-08Escape starting periods in ms writer code blocksMichael Hoffmann4-1/+43
If a line of ms code block output starts with a period (.), it should be prepended by '\&' so that it is not interpreted as a roff command. Fixes #6505
2020-07-07[Docx Reader] Use null instead of isEmpty in Readers.Docx.CombineNikolay Yakimov1-9/+5
2020-07-07[Bench] Benchmark bytestring readersNikolay Yakimov1-25/+35
2020-07-07[Docx Reader] Remove unused LANGUAGE from Readers.Docx.CombineNikolay Yakimov1-2/+0
2020-07-07[Docx Reader] Remove no-op stack/unstackInlines in Readers.Docx.CombineNikolay Yakimov1-6/+4
2020-07-07[Docx Reader] Get rid of unused NullModifier in Readers.Docx.CombineNikolay Yakimov1-18/+15
2020-07-07[Docx Reader] Refactor/update smushInlinesNikolay Yakimov3-45/+33
2020-07-05Fix typo in MANUAL.txtBenjamin Wuethrich1-1/+1
2020-07-02Revert "Ipnyb: allow lossless round-tripping of markdown cell content."John MacFarlane3-10/+6
This reverts commit efbc2050315b60c8a753dee6255465f1083019ab.
2020-07-02Revert "Ipynb reader: fix duplication of 'source' attribute."John MacFarlane1-1/+1
This reverts commit 2d009366cef2358ec2c99612ae2c73068841306c.
2020-07-02Ipynb reader: fix duplication of 'source' attribute.John MacFarlane1-1/+1
See #5408.
2020-07-02CONTRIBUTING.md: Advertise the official nightlies in GitHub actions.John MacFarlane1-3/+9
Replaces #6500, thanks to @ickc.
2020-07-01HTML writer: improve alt-text/caption handling for HTML5Albert Krewinkel6-9/+17
Screen readers read an image's `alt` attribute and the figure caption, both of which come from the same source in pandoc. The figure caption is hidden from screen readers with the `aria-hidden` attribute. This improves accessibility. For HTML4, where `aria-hidden` is not allowed, pandoc still uses an empty `alt` attribute to avoid duplicate contents. Closes: #6491
2020-07-01Org reader: respect tables-excluding export settingAlbert Krewinkel4-2/+15
Tables can be removed from the final document with the `#+OPTION: |:nil` export setting.
2020-06-30Org reader: respect export setting disabling footnotesAlbert Krewinkel4-2/+23
Footnotes can be removed from the final document with the `#+OPTION: f:nil` export setting.
2020-06-30Ipnyb: allow lossless round-tripping of markdown cell content.John MacFarlane3-6/+10
The reader now parses the contents of the markdown cell to a Pandoc structure, but *also* stores the raw markdown in a `source` attribute on the cell Div. When we convert back to markdown, this attribute is stripped off and the original source is used. When we convert to other formats, the attribute is usually ignored (though it will come through in HTML as a `data-source` attribute, not unhelpfully). I'll note some potential drawbacks of this approach: - It makes it impossible to use pandoc to clean up or change the contents of markdown cells, e.g. going from `+smart` to `-smart`. - There may be formats where the addition of the `source` attribute is problematic. I can't think of any, though. Closes #5408.
2020-06-30Fix date on changelogJohn MacFarlane1-1/+1
2020-06-30Org reader: respect export setting which disables entitiesAlbert Krewinkel4-6/+22
MathML-like entities, e.g., `\alpha`, can be disabled with the `#+OPTION: e:nil` export setting.
2020-06-29Add Vaibhav Sagar to authors.John MacFarlane1-0/+1
2020-06-29Fix 'make pandoc-templates'.John MacFarlane1-2/+2
2020-06-29rc action: use older stack that supports i386 for Windows i386 build.John MacFarlane1-1/+2
2020-06-29README.md.John MacFarlane1-2/+2
2020-06-29Update manual date, generate man page.John MacFarlane2-26/+112
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