John MacFarlane
012da23893
REgenerate man page.
2020-10-14 09:59:04 -07:00
John MacFarlane
aa5d87961d
Fix CSL JSON conversion examples in MANUAL.
...
You need -f csljson.
2020-10-14 09:54:52 -07:00
John MacFarlane
435f3bd046
Update changelog.
2020-10-13 22:54:47 -07:00
John MacFarlane
0a50011e2b
Update man page.
2020-10-13 22:47:57 -07:00
John MacFarlane
0646873964
Version to 2.11.0.1
2020-10-13 22:47:56 -07:00
John MacFarlane
1122d22a2c
Use citeproc 0.1.0.1.
2020-10-13 22:44:05 -07:00
John MacFarlane
e0da02623e
LaTeX reader: support more acronym commands.
...
`\acl`, `\aclp`, and capitalized versions of already
supported commands.
Closes #6746 .
2020-10-13 21:00:02 -07:00
John MacFarlane
a55fb5f29d
LaTeX writer: escape option values in lstlistings environment.
...
Closes #6742 .
2020-10-13 20:53:39 -07:00
John MacFarlane
229e763646
Depend on latest citeproc.
...
This fixes the citation number issue with ieee.csl and other
styles that do not explicitly sort bibliographies. (Pandoc
was numbering them by their order in the bibliography file,
rather than the order cited, as required by the CSL spec.)
Closes #6741 .
2020-10-13 14:52:09 -07:00
John MacFarlane
6fce81fb61
Use latest citeproc (better grouping/collapsing behavior with prefixes).
2020-10-13 11:06:02 -07:00
John MacFarlane
82280cc62c
default.latex: fix CSLReference macro definition.
...
It improperly handled entry spacing and expected 3 parameters
instead of 2.
2020-10-13 10:09:19 -07:00
John MacFarlane
ef6627f645
LaTeX writer: fix handling of pt-BR.
...
For polyglossia we now use
`\setmainlanguage[variant=brazilian]{portuguese}`
and for babel
`\usepackage[shorthands=off,main=brazilian]{babel}`.
Closes #2953 .
2020-10-12 21:35:36 -07:00
John MacFarlane
12ff835a8a
Commonmark reader: add pipe_table extension after defaults.
...
Otherwise we get bad results for non-table, non-paragraph
lines containing pipe characters.
Closes #6739 .
See also jgm/commonmark-hs#52 .
2020-10-12 21:24:26 -07:00
John MacFarlane
2007cff203
Markdown writer: Fix autolinks rendering for gfm.
...
Previously, autolinks rendered as raw HTML, due to the
`class="uri"` added by pandoc's markdown reader.
Closes #6740 .
2020-10-12 18:57:04 -07:00
John MacFarlane
4789fc5904
Fix spelling errors in chengelog. See #6738 .
2020-10-12 08:57:17 -07:00
John MacFarlane
91eaaf3c3d
Fix spelling errors in MANUAL found by fossies codespell tool.
...
See #6738
2020-10-12 08:54:30 -07:00
Albert Krewinkel
74be44f91f
doc/org.md: fix typos
2020-10-12 17:01:04 +02:00
Albert Krewinkel
4d564ce597
doc/lua-filters.md: fix typos
...
Use American spelling.
2020-10-12 16:58:23 +02:00
John MacFarlane
34c75e0297
Fix advice about using bibutils in changelog.
...
Closes #6737 .
2020-10-11 08:53:45 -07:00
Albert Krewinkel
3bad78ca96
doc/lua-filters.md: describe parameters to pandoc.pipe
2020-10-11 13:05:27 +02:00
John MacFarlane
ce13579f8d
Travis rc build: only copy pandoc executable.
2020-10-11 00:02:26 -07:00
John MacFarlane
01810a88c3
Note in changelog about the removal of implicit citation processing...
...
when the `--bibliography` option is used.
2020-10-10 23:40:41 -07:00
John MacFarlane
47f4a1e77b
Put date on changelog for 2.11 release.
2020-10-10 22:52:35 -07:00
John MacFarlane
b438f0c7a7
pandoc.cabal - recognize new formats in description.
2020-10-10 22:20:56 -07:00
John MacFarlane
ad11ff34b1
Revised README.md.
2020-10-10 22:17:19 -07:00
John MacFarlane
e886686aaa
Update man page.
2020-10-10 16:45:02 -07:00
John MacFarlane
22a45f4ed6
Update changelog.
2020-10-10 16:44:44 -07:00
John MacFarlane
0b5e2601f5
LaTeX reader: allow blank lines inside \author
.
2020-10-10 16:28:52 -07:00
John MacFarlane
9ecf6a2d19
Added to AUTHORS.md.
2020-10-10 15:26:24 -07:00
John MacFarlane
3982d36806
changelog.md: add preliminary changes for 2.11 (provisional).
2020-10-10 15:22:06 -07:00
John MacFarlane
5cf3140b09
Add citeproc related options to sample defaults file.
2020-10-10 15:20:09 -07:00
John MacFarlane
2632138360
cabal.project: remove constraint on base16-bytestring.
...
It is no longer needed, since text-conversions has been updated.
2020-10-10 13:41:58 -07:00
John MacFarlane
270b4bc2bc
Update s5-fancy.html test with new mathjax URL.
2020-10-10 11:15:35 -07:00
Kolen Cheung
0166b8f857
Options.hs: defaultMathJaxURL: use tex-chtml-full instead of tex-mml-chtml ( #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-10 11:11:58 -07:00
John MacFarlane
72f2a1ee9c
Use released citeproc 0.1.
2020-10-09 16:35:05 -07:00
John MacFarlane
e7adc2917b
In fetching parent of dependent CSL style, first...
...
look locally, and only do an HTTP request if it's not
found locally.
2020-10-09 13:35:53 -07:00
John MacFarlane
9a6c42590f
LaTeX reader: Fix parsing of "show name" in newtheorem.
...
Previously we were just treating it as a string and
ignoring accents and formatting. See #6734 .
2020-10-08 22:47:32 -07:00
John MacFarlane
307ea358cb
More documentation on converting bib formats.
2020-10-08 22:10:30 -07:00
John MacFarlane
2d4214fa31
Extend fix to #6719 to JATS reader
2020-10-08 21:36:08 -07:00
John MacFarlane
f19286cf12
DocBook reader: don't squelch space at end of emphasis element.
...
Instead, include it after the emphasis. Closes #6719 .
Same fix was made for other inline elements, e.g. strikethrough.
2020-10-08 21:27:52 -07:00
John MacFarlane
dd3c4000ff
Small improvements to BibTeX parser.
2020-10-08 20:48:19 -07:00
John MacFarlane
0cfba4e36e
Fixed some bibtex comments in tests (closing }).
2020-10-08 20:42:36 -07:00
John MacFarlane
480f582664
Export ParseError from T.P.Parsing.
2020-10-08 18:55:20 -07:00
John MacFarlane
84eea72e79
MANUAL: Add note about lualatex using selnolig.
2020-10-08 17:25:36 -07:00
John MacFarlane
2054bcbff6
Fix custom writer test.
...
The custom writer is now less aggressive about escaping `"`.
2020-10-08 12:32:42 -07:00
John MacFarlane
641849b70a
Be less aggressive about using quotes for YAML values.
...
We need quotes if `[` or `{` or `'` is at the beginning of
the line, but not otherwise.
2020-10-08 10:54:53 -07:00
William Lupton
36e010cb4a
Fix apparent typos in sample.lua ( #6729 )
2020-10-08 09:42:36 -07:00
John MacFarlane
5a54595ae0
Use ghc 8.8.4 for CI build on macOS, because it is pre-installed.
2020-10-08 09:12:29 -07:00
John MacFarlane
2566ff6624
Qualify some uses of fail to avoid ambiguity.
2020-10-08 09:12:29 -07:00
Ian Max Andolina
d1e1898c52
Add info on how to debug Lua filters ( #6732 )
...
Add info on debugging Lua filters.
2020-10-08 11:56:08 +02:00