Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2021-03-05 | Implement environment variable interpolation in defaults files. | John MacFarlane | 3 | -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-05 | Add fields for CSL optinos to Opt. | John MacFarlane | 2 | -53/+46 | |
* Add `optCSL`, `optBibliography`, `optCitationAbbreviations` to `Opt` [API change]. * Move `addMeta` from T.P.App.Opt to T.P.App.CommandLineOptions. | |||||
2021-03-05 | Logging: Add EnvironmentVariableUndefined constructor to LogMessage. | John MacFarlane | 1 | -0/+6 | |
[API change] | |||||
2021-03-05 | Shared: Change defaultUserDataDirs -> defaultUserDataDir. | John MacFarlane | 2 | -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-04 | Revert "Revert "Relax `--abbreviations` rules so that a period isn't required. | John MacFarlane | 2 | -4/+4 | |
This reverts commit 916ce4d51121e0529b938fda71f37e947882abe5. I was confused in thinking it wouldn't work. | |||||
2021-03-04 | Revert "Relax `--abbreviations` rules so that a period isn't required." | John MacFarlane | 2 | -4/+4 | |
This reverts commit e461b7dd45f717f3317216c7d3207a1d24bf1c85. Ill-advised change. This doesn't work because we parse strings in chunks. | |||||
2021-03-04 | Relax `--abbreviations` rules so that a period isn't required. | John MacFarlane | 2 | -4/+4 | |
Partially addresses #7124. | |||||
2021-03-04 | Update stack resolver. | John MacFarlane | 1 | -10/+1 | |
2021-03-04 | Update README.md. | John MacFarlane | 1 | -6/+6 | |
2021-03-04 | Update man page. | John MacFarlane | 1 | -13/+54 | |
2021-03-04 | Bump version to 2.12 | John MacFarlane | 1 | -1/+1 | |
2021-03-04 | Update date on manual. | John MacFarlane | 1 | -1/+1 | |
2021-03-04 | Update AUTHORS.md. | John MacFarlane | 1 | -0/+4 | |
2021-03-04 | Update changelog | John MacFarlane | 1 | -2/+8 | |
2021-03-03 | Revert "Add T.P.Readers.LaTeX.Include." | John MacFarlane | 4 | -87/+52 | |
This reverts commit b569b0226d4bd5e0699077089d54fb03d4394b7d. Memory usage improvement in compilation wasn't very significant. | |||||
2021-03-03 | Add T.P.Readers.LaTeX.Include. | John MacFarlane | 4 | -52/+87 | |
2021-03-03 | Remove T.P.Readers.LaTeX.Accent. | John MacFarlane | 4 | -83/+69 | |
Incorporate accentCommands into T.P.Readers.LaTeX.Inline. | |||||
2021-03-03 | Move enquote commands to T.P.LaTeX.Lang. | John MacFarlane | 3 | -24/+34 | |
2021-03-03 | Moved more into T.P.Readers.LaTeX.Lang. | John MacFarlane | 3 | -82/+97 | |
2021-03-03 | Split out T.P.Readers.LaTeX.Inline. | John MacFarlane | 3 | -341/+419 | |
2021-03-02 | Split out T.P.Writers.LaTeX.Util. | John MacFarlane | 3 | -243/+286 | |
2021-03-02 | Split out T.P.Writers.LaTeX.Citation. | John MacFarlane | 3 | -142/+188 | |
2021-03-02 | Split out T.P.Writers.LaTeX.Lang. | John MacFarlane | 3 | -180/+204 | |
2021-03-02 | Split up T.P.Writers.Markdown... | John MacFarlane | 4 | -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-02 | Add doc/libraries.md. | John MacFarlane | 1 | -0/+59 | |
A description of libraries that support pandoc. | |||||
2021-03-02 | stack.yaml - use citeproc 0.3.0.8 | John MacFarlane | 1 | -1/+1 | |
2021-03-02 | Update changelog. | John MacFarlane | 1 | -98/+182 | |
2021-03-02 | MacOS release build: remove -split-sections. | John MacFarlane | 1 | -2/+2 | |
It doesn't seem to affect executable size at all. | |||||
2021-03-02 | trypandoc: remove unneeded imports. | John MacFarlane | 1 | -4/+0 | |
2021-03-02 | cabal.project: don't explicitly set -trypandoc. | John MacFarlane | 1 | -1/+1 | |
If we do, this can't be overridden on the command line. | |||||
2021-03-02 | Avoid split-sections for Windows rc. | John MacFarlane | 1 | -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-01 | Use -split-sections in creating release binary. | John MacFarlane | 3 | -4/+4 | |
This is supposed to reduce executable size. | |||||
2021-03-01 | Make T.P.Readers.LaTeX.Types an unexported module. | John MacFarlane | 2 | -2/+2 | |
[API change] This is really an implementation detail that shouldn't be exposed in the public API. | |||||
2021-03-01 | Factor out T.P.Readers.LaTeX.Macro. | John MacFarlane | 3 | -139/+156 | |
2021-03-01 | Jira writer: use Span identifiers as anchors | Albert Krewinkel | 2 | -2/+11 | |
Closes: tarleb/jira-wiki-markup#3. | |||||
2021-02-28 | Removed unnecessary pragmas. | John MacFarlane | 1 | -2/+0 | |
2021-02-28 | Change T.P.Readers.LaTeX.SIunitx to export a command map... | John MacFarlane | 2 | -16/+16 | |
instead of individual commands. | |||||
2021-02-28 | Remove superfluous imports. | John MacFarlane | 1 | -2/+0 | |
2021-02-28 | T.P.Readers.LaTeX: Don't export tokenize, untokenize. | John MacFarlane | 3 | -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-28 | LaTeX writer: use function instead of map for accent lookup. | John MacFarlane | 1 | -27/+25 | |
2021-02-28 | Factor out T.P.Readers.LaTeX.Math. | John MacFarlane | 3 | -193/+230 | |
2021-02-28 | Fix CI for older cabal versions. | John MacFarlane | 1 | -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-28 | CI: don't use --test-option with older cabal versions (< 3). | John MacFarlane | 1 | -1/+2 | |
2021-02-28 | Fix bug in last commit. | John MacFarlane | 1 | -1/+1 | |
2021-02-28 | Markdown reader efficiency improvements. | John MacFarlane | 1 | -182/+208 | |
Benchmarks show that these make the reader 13-17% faster, depending on extensions. | |||||
2021-02-28 | LaTeX reader: another small efficiency improvement. | John MacFarlane | 1 | -6/+12 | |
2021-02-28 | LaTeX reader efficiency improvements. | John MacFarlane | 1 | -31/+42 | |
In conjunction with other changes this makes the reader almost twice as fast on our benchmark as it was on Feb. 10. | |||||
2021-02-28 | Move setDefaultLanguage to T.P.Readers.LaTeX.Lang. | John MacFarlane | 2 | -16/+22 | |
2021-02-28 | LaTeX reader: remove two unnecessary parsers in inline. | John MacFarlane | 1 | -2/+0 | |
These are handled anyway by regularSymbol. | |||||
2021-02-28 | trypandoc: add 2 second timeout. | John MacFarlane | 2 | -2/+3 | |