John MacFarlane
a9a05110d0
Remove some unused packages from pandoc.cabal.
2021-03-09 12:34:36 -08:00
John MacFarlane
7a1d0f01e9
Use -Wunused-packages on ghc >= 8.10.
2021-03-09 12:34:36 -08:00
Albert Krewinkel
d7f8fbf04b
Org writer: fix operator precedence mistake in previous commit
2021-03-09 21:16:11 +01:00
Albert Krewinkel
b9b2586ed3
Org writer: prevent unintended creation of ordered list items
...
Adjust line wrapping if default wrapping would cause a line to be read
as an ordered list item.
Fixes #7132
2021-03-09 18:14:54 +01:00
John MacFarlane
0515c44859
linux/make_artifacts.sh: Use -f when removing artifacts/DONE.
2021-03-08 15:02:26 -08:00
John MacFarlane
cac796e1ab
ARM build script: more reliable detection of completion.
...
Previously we downloaded the tar.gz before it was complete.
2021-03-08 14:51:03 -08:00
John MacFarlane
31ca011e4a
Use correct architecture in .tar.gz for linux.
2021-03-08 11:58:14 -08:00
John MacFarlane
7683912591
build-arm.sh: fix elapsed time.
2021-03-08 11:57:52 -08:00
John MacFarlane
f49cd6343a
Update RELEASE-CHECKLIST
2021-03-08 08:17:18 -08:00
John MacFarlane
3a763ac770
Update date in changelog and manual.
2021-03-08 07:45:23 -08:00
Albert Krewinkel
3e8546feed
Fix, amend changelog.
2021-03-08 13:02:50 +01:00
Albert Krewinkel
eb184d9148
Jira writer: use noformat instead of code for unknown languages.
...
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-08 12:50:35 +01:00
John MacFarlane
efc9f4a762
More changelog fixes.
2021-03-07 22:18:49 -08:00
John MacFarlane
17cfcfb194
Update changelog.
2021-03-07 22:13:43 -08:00
John MacFarlane
459085c642
build-arm.sh: env variable for ARTIFACTS.
2021-03-07 20:58:36 -08:00
John MacFarlane
f8e848094c
build-arm.sh: print total build time
2021-03-07 19:02:36 -08:00
John MacFarlane
7eb4662df4
Fixed build-arm script.
...
Use environment variables which can be set to use different
AMIs, keys, or instance types.
Correctly detect successful build.
2021-03-07 18:06:38 -08:00
John MacFarlane
5aa73bd0a2
LaTeX reader: handle table cells containing &
in \verb
.
...
Closes #7129 .
2021-03-07 15:49:02 -08:00
John MacFarlane
75d4bca862
build-arm.sh: retrieve build artifacts after success.
2021-03-07 13:27:55 -08:00
John MacFarlane
c652dcc16b
LaTeX reader: support hyperref command.
...
Closes #7127 .
2021-03-07 13:22:00 -08:00
John MacFarlane
d560038342
Add script to build an ARM binary on AWS.
2021-03-07 13:10:27 -08:00
John MacFarlane
09f81c16c5
Set --user in docker run to avoid permission issues.
...
We were unable previously to write to the artifacts directory.
2021-03-06 17:03:36 -08:00
John MacFarlane
cf175c9752
Avoid subprocess for docker run.
2021-03-06 16:59:35 -08:00
John MacFarlane
271dd9e344
make debpkg: send docker output to docker.log in the host.
...
Otherwise once the container is gone we can't figure out
what happened.
2021-03-06 16:34:45 -08:00
John MacFarlane
1eb882fcdb
linux build script: set architecture to 'unknown' when no match.
2021-03-06 13:45:16 -08:00
John MacFarlane
f31ddecdac
Makefile: Remove ARCH
2021-03-06 13:44:36 -08:00
John MacFarlane
086406cadf
linux build script: handle architecture for aarch64.
2021-03-06 13:44:14 -08:00
John MacFarlane
09548d8992
Fix linux nightly build to use ghc 8.10.3.
...
With 9.0.1 we can't yet build all dependencies.
2021-03-06 12:47:42 -08:00
John MacFarlane
faa77316ca
Don't --rm docker.
2021-03-06 12:31:04 -08:00
John MacFarlane
735a69de6b
Allow --resource-path
to accumulate.
...
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-06 10:32:51 -08:00
John MacFarlane
26524246d0
Fix docker image.
2021-03-06 09:50:31 -08:00
John MacFarlane
ce7706d75b
More Makefile tweaks around docker linux build.
2021-03-05 23:59:50 -08:00
John MacFarlane
70f9709455
Makefile: choose linux docker image depending on arch.
2021-03-05 23:32:03 -08:00
John MacFarlane
9837444330
Makefile: exit smoothly if no prior benchmark files found.
2021-03-05 21:11:35 -08:00
John MacFarlane
5c4eb7246b
Makefile: debpkg: use new multi-arch GHC 8.10.4 docker...
...
...created by Olivier Benz. This should allow us to
build on arm architecture.
2021-03-05 19:11:12 -08:00
John MacFarlane
df00cf05cb
Allow ${.}
in defaults files paths...
...
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-05 11:56:41 -08:00
John MacFarlane
6dd7520cc4
Implement environment variable interpolation in defaults files.
...
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).
2021-03-05 10:46:01 -08:00
John MacFarlane
a832469006
Add fields for CSL optinos to Opt.
...
* Add `optCSL`, `optBibliography`, `optCitationAbbreviations` to
`Opt` [API change].
* Move `addMeta` from T.P.App.Opt to T.P.App.CommandLineOptions.
2021-03-05 10:42:33 -08:00
John MacFarlane
ccc530c588
Logging: Add EnvironmentVariableUndefined constructor to LogMessage.
...
[API change]
2021-03-05 10:28:46 -08:00
John MacFarlane
5f9327cfc8
Shared: Change defaultUserDataDirs -> defaultUserDataDir.
...
Rationale: the manual says that the XDG data directory will
be used if it exists, otherwise the legacy data directory.
So we should just determine this and use this directory,
rather than having a search path which could cause some
things to be taken from one data directory and others from
others.
[API change]
2021-03-05 10:25:18 -08:00
John MacFarlane
030209fc29
Revert "Revert "Relax --abbreviations
rules so that a period isn't required.
...
This reverts commit 916ce4d511
.
I was confused in thinking it wouldn't work.
2021-03-04 16:25:13 -08:00
John MacFarlane
916ce4d511
Revert "Relax --abbreviations
rules so that a period isn't required."
...
This reverts commit e461b7dd45
.
Ill-advised change. This doesn't work because we parse
strings in chunks.
2021-03-04 16:22:08 -08:00
John MacFarlane
e461b7dd45
Relax --abbreviations
rules so that a period isn't required.
...
Partially addresses #7124 .
2021-03-04 16:02:46 -08:00
John MacFarlane
46e2b3dc8d
Update stack resolver.
2021-03-04 09:00:23 -08:00
John MacFarlane
5d60fcf4d7
Update README.md.
2021-03-04 08:58:28 -08:00
John MacFarlane
ba2793e4fa
Update man page.
2021-03-04 08:57:53 -08:00
John MacFarlane
e649b69564
Bump version to 2.12
2021-03-04 08:57:27 -08:00
John MacFarlane
bd988beb38
Update date on manual.
2021-03-04 08:49:45 -08:00
John MacFarlane
349c09b377
Update AUTHORS.md.
2021-03-04 08:48:07 -08:00
John MacFarlane
00f5a07789
Update changelog
2021-03-04 08:44:58 -08:00