Commit graph

13774 commits

Author SHA1 Message Date
Nils Carlson
2332a08f1e
DocBook reader: bibliomisc and anchor support (#6754)
Also do some minor refactoring - bibliodiv without
a title no longer results in an empty Header.
2020-10-16 23:52:19 -07:00
Albert Krewinkel
ae4e9d3b38
Relax upper bound on hslua, allow hslua-1.3.* 2020-10-16 21:41:05 +02:00
Nick Fleisher
f0e7d400c2
MANUAL: remove org from list of input formats supporting raw_tex (#6753)
Also update man page.
2020-10-16 11:52:06 -07:00
John MacFarlane
eb3307da4e Fix handling of xdata in bibtex/biblatex bibliographies.
Closes #6752.
2020-10-15 17:41:45 -07:00
Michael Hoffmann
988d381aad
Fix some small typos in the API documentation (#6751)
While reading the docs I found a couple of small typos.
2020-10-15 17:09:29 -07:00
John MacFarlane
3c8b3eba17 Require citeproc 0.1.0.2. 2020-10-15 13:00:37 -07:00
Albert Krewinkel
6c40f305be
changelog: fix table markup broken in previous commit
Reverts parts of 90af138443.
2020-10-15 10:52:22 +02:00
Albert Krewinkel
7f57546345
Fix remaining typos in tests
See: #6738
2020-10-14 22:39:29 +02:00
Albert Krewinkel
90af138443
Fix typos in comments, doc strings, error messages, and tests
Typos reported by
https://fossies.org/linux/test/pandoc-master.tar.gz/codespell.html

See: #6738
2020-10-14 22:26:51 +02:00
John MacFarlane
0b3b77415f Modify fix to #6742 to use stringToLaTeX. 2020-10-14 10:22:15 -07:00
John MacFarlane
f415723a8c Update changelog. 2020-10-14 09:59:37 -07:00
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