aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-03-15Use doclayout 0.3.0.2.John MacFarlane1-1/+1
This further reduces time and memory needed to compile pandoc.
2021-03-15Remove an unneeded importJohn MacFarlane1-1/+0
2021-03-15Use foldl' instead of foldl everywhere.John MacFarlane16-29/+34
2021-03-14Require latest doclayout and skylighting.John MacFarlane2-5/+6
2021-03-14Handle 'nocite' better with --biblatex and --natbib.John MacFarlane2-2/+13
Previously the nocite metadata field was ignored with these formats. Now it populates a `nocite-ids` template variable and causes a `\nocite` command to be issued. Closes #4585.
2021-03-14Use latest dev version of doclayout.John MacFarlane1-3/+2
This reduces compile time/memory consumption for pandoc considerably. See jgm/doclayout#1.
2021-03-13T.P.App.FormatHeuristics: shorten code, improve docs.Albert Krewinkel1-7/+13
2021-03-13MediaWiki reader: Allow block-level content in notes (ref).John MacFarlane2-1/+21
Closes #7145.
2021-03-13Use integral values for w:tblW in docx.John MacFarlane4-1/+1
Cloess #7141.
2021-03-13Add ghcid-test to MakefileJohn MacFarlane1-0/+3
2021-03-13Use eciteproc >= 0.3.0.9John MacFarlane2-1/+2
2021-03-13stack.yaml: add jira-wiki-markup-1.3.4 to extra-depsAlbert Krewinkel1-0/+1
2021-03-13Use jira-wiki-markup 1.3.4Albert Krewinkel3-4/+3
Jira reader: * Fixed parsing of autolinks (i.e., of bare URLs in the text). Previously an autolink would take up the rest of a line, as spaces were allowed characters in these items. * Emoji character sequences no longer cause parsing failures. This was due to missing backtracking when emoji parsing fails. Jira writer: * Block quotes are only rendered as `bq.` if they do not contain a linebreak.
2021-03-13Jira reader: mark divs created from panels with class "panel".Albert Krewinkel2-2/+8
Closes: tarleb/jira-wiki-markup#2
2021-03-13Jira writer: improve div/panel handlingAlbert Krewinkel2-11/+58
Include div attributes in panels, always render divs with class `panel` as panels, and avoid nesting of panels.
2021-03-12Citeproc: apply fixLinks correctly.John MacFarlane1-5/+5
This is code that incorporates a prefix like `https://doi.org/` into a following link when appropriate. But it didn't work because we were walking with a `[Inline] -> [Inline]` function on an `Inlines`. Changed the point of application of `fixLink` to resolve the issue. Closes #7130.
2021-03-12Simplify compactDL.John MacFarlane1-13/+11
2021-03-11JATS templates: support 'equal-contrib' attrib for authorsAlbert Krewinkel3-2/+11
Authors who contributed equally to a paper may be marked with `equal-contrib`.
2021-03-10HTML writer: Add warnings on duplicate attribute values.John MacFarlane3-18/+38
This prevents emitting invalid HTML. Ultimately it would be good to prevent this in the types themselves, but this is better for now. T.P.Logging: Add DuplicateAttribute constructor to LogMessage. [API change]
2021-03-09Re-add a needed dependency for benchmark.John MacFarlane1-0/+1
2021-03-09RST reader: fix logic for ending comments.John MacFarlane2-1/+18
Previously comments sometimes got extended too far. Closes #7134.
2021-03-09Revert "Use -Wunused-packages on ghc >= 8.10."John MacFarlane1-2/+0
This reverts commit 7a1d0f01e94d115f361ead110b60174bfc732033. This option gives confusing output when a build is interrupted, suggesting that packages aren't required when we just didn't get to the model that requires them.
2021-03-09Remove some unused packages from pandoc.cabal.John MacFarlane1-4/+2
2021-03-09Use -Wunused-packages on ghc >= 8.10.John MacFarlane1-0/+2
2021-03-09Org writer: fix operator precedence mistake in previous commitAlbert Krewinkel1-1/+2
2021-03-09Org writer: prevent unintended creation of ordered list itemsAlbert Krewinkel2-4/+17
Adjust line wrapping if default wrapping would cause a line to be read as an ordered list item. Fixes #7132
2021-03-08linux/make_artifacts.sh: Use -f when removing artifacts/DONE.John MacFarlane1-1/+2
2021-03-08ARM build script: more reliable detection of completion.John MacFarlane2-1/+10
Previously we downloaded the tar.gz before it was complete.
2021-03-08Use correct architecture in .tar.gz for linux.John MacFarlane1-1/+1
2021-03-08build-arm.sh: fix elapsed time.John MacFarlane1-2/+6
2021-03-08Update RELEASE-CHECKLISTJohn MacFarlane1-0/+1
2021-03-08Update date in changelog and manual.John MacFarlane3-14/+50
2021-03-08Fix, amend changelog.Albert Krewinkel1-5/+8
2021-03-08Jira writer: use noformat instead of code for unknown languages.Albert Krewinkel3-38/+37
Code blocks that are not marked as a language supported by Jira are rendered as preformatted text with `{noformat}` blocks. Fixes: tarleb/jira-wiki-markup#4
2021-03-07More changelog fixes.John MacFarlane1-2/+7
2021-03-07Update changelog.John MacFarlane1-0/+39
2021-03-07build-arm.sh: env variable for ARTIFACTS.John MacFarlane1-1/+5
2021-03-07build-arm.sh: print total build timeJohn MacFarlane1-0/+3
2021-03-07Fixed build-arm script.John MacFarlane1-13/+19
Use environment variables which can be set to use different AMIs, keys, or instance types. Correctly detect successful build.
2021-03-07LaTeX reader: handle table cells containing `&` in `\verb`.John MacFarlane2-1/+33
Closes #7129.
2021-03-07build-arm.sh: retrieve build artifacts after success.John MacFarlane1-0/+7
2021-03-07LaTeX reader: support hyperref command.John MacFarlane1-4/+13
Closes #7127.
2021-03-07Add script to build an ARM binary on AWS.John MacFarlane1-0/+82
2021-03-06Set --user in docker run to avoid permission issues.John MacFarlane1-0/+1
We were unable previously to write to the artifacts directory.
2021-03-06Avoid subprocess for docker run.John MacFarlane1-2/+2
2021-03-06make debpkg: send docker output to docker.log in the host.John MacFarlane1-2/+4
Otherwise once the container is gone we can't figure out what happened.
2021-03-06linux build script: set architecture to 'unknown' when no match.John MacFarlane1-0/+1
2021-03-06Makefile: Remove ARCHJohn MacFarlane1-1/+0
2021-03-06linux build script: handle architecture for aarch64.John MacFarlane1-3/+4
2021-03-06Fix linux nightly build to use ghc 8.10.3.John MacFarlane1-0/+7
With 9.0.1 we can't yet build all dependencies.