aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-10-11Fix advice about using bibutils in changelog.John MacFarlane1-2/+2
Closes #6737.
2020-10-11doc/lua-filters.md: describe parameters to `pandoc.pipe`Albert Krewinkel1-1/+13
2020-10-11Travis rc build: only copy pandoc executable.John MacFarlane1-1/+1
2020-10-10Note in changelog about the removal of implicit citation processing...John MacFarlane1-0/+5
when the `--bibliography` option is used.
2020-10-10Put date on changelog for 2.11 release.John MacFarlane1-1/+1
2020-10-10pandoc.cabal - recognize new formats in description.John MacFarlane1-2/+3
2020-10-10Revised README.md.John MacFarlane1-0/+8
2020-10-10Update man page.John MacFarlane1-568/+710
2020-10-10Update changelog.John MacFarlane1-0/+1
2020-10-10LaTeX reader: allow blank lines inside `\author`.John MacFarlane2-6/+20
2020-10-10Added to AUTHORS.md.John MacFarlane1-0/+8
2020-10-10changelog.md: add preliminary changes for 2.11 (provisional).John MacFarlane1-0/+382
2020-10-10Add citeproc related options to sample defaults file.John MacFarlane1-2/+15
2020-10-10cabal.project: remove constraint on base16-bytestring.John MacFarlane1-2/+0
It is no longer needed, since text-conversions has been updated.
2020-10-10Update s5-fancy.html test with new mathjax URL.John MacFarlane1-1/+1
2020-10-10Options.hs: defaultMathJaxURL: use tex-chtml-full instead of tex-mml-chtml ↵Kolen Cheung1-1/+1
(#6600) Closes #6599 c.f. https://docs.mathjax.org/en/latest/web/components/combined.html Note that while this use the full variant of the js, this drops the mathml support. That should be okay, because pandoc renders math in HTML as TeX when using mathjax. This change reduces latency.
2020-10-09Use released citeproc 0.1.John MacFarlane2-7/+1
2020-10-09In fetching parent of dependent CSL style, first...John MacFarlane1-1/+5
look locally, and only do an HTTP request if it's not found locally.
2020-10-08LaTeX reader: Fix parsing of "show name" in newtheorem.John MacFarlane3-7/+8
Previously we were just treating it as a string and ignoring accents and formatting. See #6734.
2020-10-08More documentation on converting bib formats.John MacFarlane1-0/+12
2020-10-08Extend fix to #6719 to JATS readerJohn MacFarlane2-13/+23
2020-10-08DocBook reader: don't squelch space at end of emphasis element.John MacFarlane2-16/+24
Instead, include it after the emphasis. Closes #6719. Same fix was made for other inline elements, e.g. strikethrough.
2020-10-08Small improvements to BibTeX parser.John MacFarlane1-10/+11
2020-10-08Fixed some bibtex comments in tests (closing }).John MacFarlane2-2/+4
2020-10-08Export ParseError from T.P.Parsing.John MacFarlane1-1/+2
2020-10-08MANUAL: Add note about lualatex using selnolig.John MacFarlane1-9/+10
2020-10-08Fix custom writer test.John MacFarlane1-2/+2
The custom writer is now less aggressive about escaping `"`.
2020-10-08Be less aggressive about using quotes for YAML values.John MacFarlane122-622/+627
We need quotes if `[` or `{` or `'` is at the beginning of the line, but not otherwise.
2020-10-08Fix apparent typos in sample.lua (#6729)William Lupton1-8/+7
2020-10-08Use ghc 8.8.4 for CI build on macOS, because it is pre-installed.John MacFarlane1-1/+1
2020-10-08Qualify some uses of fail to avoid ambiguity.John MacFarlane1-6/+6
2020-10-08Add info on how to debug Lua filters (#6732)Ian Max Andolina1-0/+19
Add info on debugging Lua filters.
2020-10-07Use double quotes for YAML metadata.John MacFarlane128-883/+883
Closes #6727.
2020-10-07Use golden test framework for command tests.John MacFarlane1-27/+59
This means that `--accept` can be used to update expected output.
2020-10-07Remove redundant import.John MacFarlane1-1/+0
2020-10-07Remove redundant import.John MacFarlane1-1/+1
2020-10-07Raise informative errors when YAML metadata parsing fails.John MacFarlane6-42/+37
Closes #6730. Previously the command would succeed, returning empty metadata, with no errors or warnings. API changes: - Remove now unused CouldNotParseYamlMetadata constructor for LogMessage (T.P.Logging). - Add 'Maybe FilePath' parameter to yamlToMeta in T.P.Readers.Markdown.
2020-10-07Cleaner solution to #6723.John MacFarlane1-4/+4
2020-10-07Fix URL prefixes in citations also when they occur in notes.John MacFarlane9-131/+410
Update chicago-fullnote-bibliography.csl and adjust tests. Closes #6723.
2020-10-07Use lastest citeproc.John MacFarlane2-2/+2
2020-10-07Use latest citeproc.John MacFarlane3-5/+3
Better solution to the problem of entities in CSL JSON output.
2020-10-06Unescape entities in writing CSL JSON.John MacFarlane2-2/+22
The renderCslJson function escapes `<`, `>`, and `&` as entities. This is appropriate when generating HTML, but in CSL JSON these are supposed to appear unescaped. Closes jgm/citeproc#17.
2020-10-06DOCX reader: Allow empty dates in comments and tracked changes (#6726)Diego Balseiro8-23/+42
For security reasons, some legal firms delete the date from comments and tracked changes. * Make date optional (Maybe) in tracked changes and comments datatypes * Add tests
2020-10-06Incorporate `https://doi.org/` prefix added by CSL style...John MacFarlane1-1/+12
...into linked DOI, and similarly for other URLs linked in the bibliography. We want to avoid having a URL in which only the latter part is linked. Closes #6723.
2020-10-06Fix URL for "short DOIs" in citations. See #6723.John MacFarlane1-1/+6
Short DOIs begin 10/abcd and should be links to `https://doi.org/abcd` (omitting the `10/`).
2020-10-05Run nightly one hour later.John MacFarlane1-1/+1
2020-10-05Fixed regresison in last commit.John MacFarlane3-23/+44
Parsing of YAML bibliographies was broken; this fixes it.
2020-10-05Removed the idpred from metaValueToReference.John MacFarlane3-22/+13
This isn't really necessary; we do filtering at other points now.
2020-10-05Add yamlToRefs, yamlBsToRefs.John MacFarlane3-10/+74
T.P.Readers.Markdown now exports yamlToRefs. [API change] T.P.Readers.Metadata exports yamlBsToRefs. [API change] These allow specifying an id filter so we parse only references that are used in the document. Improves timing with a 3M yaml references file from 36s to 17s.
2020-10-05Improve searching for CSL files...John MacFarlane1-6/+15
...and CSL abbreviation files. Use resource path to search in both USERDATADIR/csl and USERDATADIR/csl/dependent. Also, add .csl or .json extension as needed, so you can just do --csl zoology.