aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-11-01Updates to default CSS (#6786)Mauro Bieg6-43/+213
- Fix margin before codeblock - Add `monobackgroundcolor` variable, making the background color and padding of code optional. - Ensure that backgrounds from highlighting styles take precedence over monobackgroundcolor - Remove list markers from TOC - Add margin-bottom where needed - Remove italics from blockquote styling - Change borders and spacing in tables to be more consistent with other output formats - Style h5, h6 - Decrease root font-size to 18px - Update tests for styles.html changes - Add CSS example to MANUAL
2020-11-01Fix code example in lua-filters.md.John MacFarlane1-1/+2
Closes #6795, thanks to Odin Kroeger.
2020-11-01Use latest commonmark, commonmark-extensions.John MacFarlane2-4/+4
This fixes a bug with nested blocks in footnotes with the `footnote` extension to `commonmark`. See jgm/commonmark-hs#63.
2020-11-01Citeproc: use comma for in-text citations inside footnotes.John MacFarlane2-9/+19
When an author-in-text citation like `@foo` occurs in a footnote, we now render it with: `AUTHOR NAME + COMMA + SPACE + REST`. Previously we rendered: `AUTHOR NAME + SPACE + "(" + REST + ")"`. This gives better results. Note that normal citations are still rendered in parentheses.
2020-11-01Improve deNote.John MacFarlane1-4/+5
2020-11-01Use latest citeproc.John MacFarlane2-2/+2
2020-10-31CI: improve JATS format validator workflowAlbert Krewinkel1-8/+14
2020-10-31JATS templates: ensure jats_publishing output is validAlbert Krewinkel3-0/+17
2020-10-31CI: validate JATS old-style writer test outputAlbert Krewinkel1-0/+47
2020-10-30Fix duplicate "class" attribute in HTML writerAndy Morris3-14/+16
2020-10-29Use new citeproc; do note capitalization here, not in citeproc.John MacFarlane5-7/+16
2020-10-29Allow citation-abbreviations in defaults file.John MacFarlane2-0/+6
2020-10-29LaTeX writer: Improved calculation of table column widths.John MacFarlane4-49/+79
We now have LaTeX do the calculation, using `\tabcolsep`. So we should now have accurate relative column widths no matter what the text width. The default template has been modified to load the calc package if tables are used.
2020-10-27Use latest citeproc. Closes #6783.John MacFarlane3-5/+32
2020-10-27Remove obsolete commentJohn MacFarlane1-1/+0
2020-10-27Citeproc: properly handle `csl` field with `data:` URI.John MacFarlane1-1/+1
This is used with the JATS writer, so this fixes a regression in pandoc 2.11 with JATS output and citeproc. Closes #6783.
2020-10-26Add PandocBibliographyError and use it in parsing bibliographies.John MacFarlane2-5/+10
This ensures that bibliography parsing errors generate messages that include the bibliography file name -- otherwise it can be quite mysterious where it is coming from. [API change] New PandocBibliographyError constructor on PandocError type.
2020-10-26DocBook Reader: fix duplicate bibliography bug (#6773)Nils Carlson2-5/+24
Also add unit test to ensure the behavior stays consistent.
2020-10-23HTML reader: Parse contents of iframes.John MacFarlane1-4/+17
See #6770.
2020-10-23HTML reader: parse inline svg as image...John MacFarlane1-0/+17
...unless `raw_html` is set in the reader (in which case the svg is passed through as raw HTML). Closes #6770.
2020-10-23Update man page.John MacFarlane1-1/+3
2020-10-23Update changelog.John MacFarlane1-1/+4
2020-10-23Document that --html-q-tags requires the smart extension on the reader.John MacFarlane1-1/+3
Closes #6766.
2020-10-23Update changelog.John MacFarlane1-1/+6
2020-10-23Commonmark writer: fix regression with fenced divs.John MacFarlane2-1/+24
Starting with 2.10.1, fenced divs no longer render with HTML div tags in commonmark output. This is a regression due to our transition from cmark-gfm. This commit fixes it. Closes #6768.
2020-10-22Update changelog, regenerate man page.John MacFarlane2-1/+8
2020-10-22Bump to 2.11.0.4.John MacFarlane1-1/+1
2020-10-22stack.yaml - use latest release of skylighting.John MacFarlane1-2/+2
2020-10-22Require citeproc >= 0.1.0.3.John MacFarlane3-7/+6
In the previous release we pointed to this with cabal.project and stack.yaml, but jumped the gun because citeproc 0.1.0.3 had not yet been officially released.
2020-10-22Update RELEASE-CHECKLIST.John MacFarlane1-0/+1
2020-10-22Update manual date and regenerate man page.John MacFarlane2-8/+8
2020-10-22Bump to 2.11.0.3 and update changelog.John MacFarlane2-1/+41
2020-10-22ConTeXt template: adds \setupinterlinespace to fonts larger than normal (#6763)Denis Maier3-9/+9
2020-10-22improve explanation of "indent" variable (#6767)Cyrus Yip1-1/+1
2020-10-21Use latest citeproc.John MacFarlane3-2/+35
This fixes a problem with author-in-text citations for references including both an author and an editor. Previously, both were included in the text, but only the author should be. Closes #6765. Added a test.
2020-10-21citeproc - improved removal of final period...John MacFarlane2-5/+33
...in citations inside notes in note-based styles. These citations are put in parentheses, but the final period must be removed. See jgm/citeproc#20
2020-10-19More refinements to --version output.John MacFarlane1-3/+4
Add ipynb version. Put user data directory on same line as heading "User data directory" (dropping "default").
2020-10-19Normalize rewritten image paths with --extract-media.John MacFarlane1-1/+2
This change will avoid mixed paths like this one when `--extract-media` is used with a Word file: `![](C:\Git\TIJ4\Markdown/media/image30.wmf)` Instead we'll get `![](C:\Git\TIJ4\Markdown`media`image30.wmf)`. Closes #6761.
2020-10-19Modify --version output.John MacFarlane1-8/+8
Use space more efficiently and report the citeproc version along with skylighting, texmath, and pandoc-types.
2020-10-19Update changelogJohn MacFarlane1-0/+13
2020-10-19Update man page.John MacFarlane1-1/+1
2020-10-19Bump version to 2.11.0.2John MacFarlane1-1/+1
2020-10-19Update tests for latex template changes.John MacFarlane4-4/+8
2020-10-19Do not load amssymb if not needed (#6762)Angelo Peronio1-1/+3
Fixes #6469. From https://tex.stackexchange.com/a/549938
2020-10-16DocBook reader: bibliomisc and anchor support (#6754)Nils Carlson1-3/+11
Also do some minor refactoring - bibliodiv without a title no longer results in an empty Header.
2020-10-16Relax upper bound on hslua, allow hslua-1.3.*Albert Krewinkel1-2/+2
2020-10-16MANUAL: remove org from list of input formats supporting raw_tex (#6753)Nick Fleisher2-2/+2
Also update man page.
2020-10-15Fix handling of xdata in bibtex/biblatex bibliographies.John MacFarlane2-2/+38
Closes #6752.
2020-10-15Fix some small typos in the API documentation (#6751)Michael Hoffmann2-4/+4
While reading the docs I found a couple of small typos.
2020-10-15Require citeproc 0.1.0.2.John MacFarlane3-3/+3