aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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).
2021-03-05Add fields for CSL optinos to Opt.John MacFarlane2-53/+46
* Add `optCSL`, `optBibliography`, `optCitationAbbreviations` to `Opt` [API change]. * Move `addMeta` from T.P.App.Opt to T.P.App.CommandLineOptions.
2021-03-05Logging: Add EnvironmentVariableUndefined constructor to LogMessage.John MacFarlane1-0/+6
[API change]
2021-03-05Shared: Change defaultUserDataDirs -> defaultUserDataDir.John MacFarlane2-14/+18
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-04Revert "Revert "Relax `--abbreviations` rules so that a period isn't required.John MacFarlane2-4/+4
This reverts commit 916ce4d51121e0529b938fda71f37e947882abe5. I was confused in thinking it wouldn't work.
2021-03-04Revert "Relax `--abbreviations` rules so that a period isn't required."John MacFarlane2-4/+4
This reverts commit e461b7dd45f717f3317216c7d3207a1d24bf1c85. Ill-advised change. This doesn't work because we parse strings in chunks.
2021-03-04Relax `--abbreviations` rules so that a period isn't required.John MacFarlane2-4/+4
Partially addresses #7124.
2021-03-04Update stack resolver.John MacFarlane1-10/+1
2021-03-04Update README.md.John MacFarlane1-6/+6
2021-03-04Update man page.John MacFarlane1-13/+54
2021-03-04Bump version to 2.12John MacFarlane1-1/+1
2021-03-04Update date on manual.John MacFarlane1-1/+1
2021-03-04Update AUTHORS.md.John MacFarlane1-0/+4
2021-03-04Update changelogJohn MacFarlane1-2/+8
2021-03-03Revert "Add T.P.Readers.LaTeX.Include."John MacFarlane4-87/+52
This reverts commit b569b0226d4bd5e0699077089d54fb03d4394b7d. Memory usage improvement in compilation wasn't very significant.
2021-03-03Add T.P.Readers.LaTeX.Include.John MacFarlane4-52/+87
2021-03-03Remove T.P.Readers.LaTeX.Accent.John MacFarlane4-83/+69
Incorporate accentCommands into T.P.Readers.LaTeX.Inline.
2021-03-03Move enquote commands to T.P.LaTeX.Lang.John MacFarlane3-24/+34
2021-03-03Moved more into T.P.Readers.LaTeX.Lang.John MacFarlane3-82/+97
2021-03-03Split out T.P.Readers.LaTeX.Inline.John MacFarlane3-341/+419
2021-03-02Split out T.P.Writers.LaTeX.Util.John MacFarlane3-243/+286
2021-03-02Split out T.P.Writers.LaTeX.Citation.John MacFarlane3-142/+188
2021-03-02Split out T.P.Writers.LaTeX.Lang.John MacFarlane3-180/+204
2021-03-02Split up T.P.Writers.Markdown...John MacFarlane4-591/+690
with T.P.Writers.Markdown.Types and T.P.Writers.Markdown.Inline. The module was difficult to compile on low-memory system.s
2021-03-02Add doc/libraries.md.John MacFarlane1-0/+59
A description of libraries that support pandoc.
2021-03-02stack.yaml - use citeproc 0.3.0.8John MacFarlane1-1/+1
2021-03-02Update changelog.John MacFarlane1-98/+182
2021-03-02MacOS release build: remove -split-sections.John MacFarlane1-2/+2
It doesn't seem to affect executable size at all.
2021-03-02trypandoc: remove unneeded imports.John MacFarlane1-4/+0
2021-03-02cabal.project: don't explicitly set -trypandoc.John MacFarlane1-1/+1
If we do, this can't be overridden on the command line.
2021-03-02Avoid split-sections for Windows rc.John MacFarlane1-2/+1
We get an error "too many sections." Maybe a bug in stack? https://stackoverflow.com/questions/64287505/ld-too-many-sections-90295
2021-03-01Use -split-sections in creating release binary.John MacFarlane3-4/+4
This is supposed to reduce executable size.
2021-03-01Make T.P.Readers.LaTeX.Types an unexported module.John MacFarlane2-2/+2
[API change] This is really an implementation detail that shouldn't be exposed in the public API.