aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2021-03-01Factor out T.P.Readers.LaTeX.Macro.John MacFarlane3-139/+156
2021-03-01Jira writer: use Span identifiers as anchorsAlbert Krewinkel2-2/+11
Closes: tarleb/jira-wiki-markup#3.
2021-02-28Removed unnecessary pragmas.John MacFarlane1-2/+0
2021-02-28Change T.P.Readers.LaTeX.SIunitx to export a command map...John MacFarlane2-16/+16
instead of individual commands.
2021-02-28Remove superfluous imports.John MacFarlane1-2/+0
2021-02-28T.P.Readers.LaTeX: Don't export tokenize, untokenize.John MacFarlane3-18/+10
[API change] These were only exported for testing, which seems the wrong thing to do. They don't belong in the public API and are not really usable as they are, without access to the Tok type which is not exported. Removed the tokenize/untokenize roundtrip test. We put a quickcheck property in the comments which may be used when this code is touched (if it is).
2021-02-28LaTeX writer: use function instead of map for accent lookup.John MacFarlane1-27/+25
2021-02-28Factor out T.P.Readers.LaTeX.Math.John MacFarlane3-193/+230
2021-02-28Fix CI for older cabal versions.John MacFarlane1-7/+16
We add fields to matrix.versions to handle the cabal command prefix (v2-, new-, nothing) and whether `--test-option` is supported.
2021-02-28CI: don't use --test-option with older cabal versions (< 3).John MacFarlane1-1/+2
2021-02-28Fix bug in last commit.John MacFarlane1-1/+1
2021-02-28Markdown reader efficiency improvements.John MacFarlane1-182/+208
Benchmarks show that these make the reader 13-17% faster, depending on extensions.
2021-02-28LaTeX reader: another small efficiency improvement.John MacFarlane1-6/+12