aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2021-03-06Don't --rm docker.John MacFarlane1-1/+0
2021-03-06Allow `--resource-path` to accumulate.John MacFarlane3-2/+9
Previously, if `--resource-path` were used multiple times, the last resource path would replace the others. With this change, each time `--resource-path` is used, it prepends the specified path components to the existing resource path. Similarly, when `resource-path` is specified in a defaults file, the paths provided will be prepended to the existing resource path. This change also allows one to avoid using the OS-specific path separator; instead, one can simply use `--resource-path` a number of times with single paths. This form of command will not have an OS-dependent behavior. This change facilitates the use of multiple, small defaults files: each can specify a directory containing its own resources without clobbering the resource paths set by the others. Closes #6152.
2021-03-06Fix docker image.John MacFarlane1-7/+1
2021-03-05More Makefile tweaks around docker linux build.John MacFarlane1-5/+6
2021-03-05Makefile: choose linux docker image depending on arch.John MacFarlane1-1/+10
2021-03-05Makefile: exit smoothly if no prior benchmark files found.John MacFarlane1-1/+1
2021-03-05Makefile: debpkg: use new multi-arch GHC 8.10.4 docker...John MacFarlane1-1/+2
...created by Olivier Benz. This should allow us to build on arm architecture.
2021-03-05Allow `${.}` in defaults files paths...John MacFarlane2-2/+24
to refer to the directory where the default file is. This will make it possible to create moveable "packages" of resources in a directory. Closes #5871.
2021-03-05Implement environment variable interpolation in defaults files.John MacFarlane3-14/+147
This allows the syntax `${HOME}` to be used, in fields that expect file paths only. Any environment variable may be interpolated in this way. A warning will be raised for undefined variables. The special variable `USERDATA` is automatically set to the user data directory in force when the defaults file is parsed. (Note: it may be different from the eventual user data directory, if the defaults file or further command line options change that.) Closes #5982. Closes #5977. Closes #6108 (path not taken).