Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-03-28 | Update data/jats.csl to avoid commas between name-part elements. | John MacFarlane | 1 | -2/+2 | |
Closes #5397. | |||||
2019-03-28 | HTML writer: Don't add data- prefix to RDFa attributes. | John MacFarlane | 1 | -2/+19 | |
Closes #5403. | |||||
2019-03-28 | Markdown reader: fenced div takes priority over setext header. | John MacFarlane | 2 | -2/+11 | |
For ::: {.cell} --- ::: | |||||
2019-03-28 | Ipynb reader: use `html` for a raw cell with no format. | John MacFarlane | 1 | -1/+1 | |
The nbformat spec says that when no format is specified, the raw cell will be rendered in every markup format. Pandoc doesn't have a construct that works this way, so we just fall back to `html`. | |||||
2019-03-28 | Ipynb writer: fixed carry-over of nbformat from metadata. | John MacFarlane | 1 | -1/+1 | |
Previously we wrongly assumed it would be in a MetaString. It's an a MetaInlines. | |||||
2019-03-28 | stack.yml - remove -Wmissing-home-modules | John MacFarlane | 1 | -1/+1 | |
This seems to cause problems with stack ghci. | |||||
2019-03-28 | Shared - improve metaToJSON with numbers. | John MacFarlane | 1 | -5/+8 | |
We now do a better job marshalling numbers from MetaString OR MetaInlines into JSON Number. | |||||
2019-03-28 | Markdown writer: better rendering of numbers. | John MacFarlane | 1 | -1/+4 | |
If the number is integral, we render it as an integral not a float. Closes #5398. | |||||
2019-03-28 | Markdown writer: proper rendering of empty map in YAML metadata. | John MacFarlane | 1 | -1/+3 | |
Should be `{}` not empty string. Partially addresses #5398. | |||||
2019-03-28 | Use strict instead of lazy sum. | John MacFarlane | 2 | -5/+5 | |
sum is lazy; replace with `foldl' (+) 0` to avoid stack overflow in Text.Pandoc.Pretty with very long strings. Closes #5401. | |||||
2019-03-28 | Revert "appveyor - just build dependencies." | John MacFarlane | 1 | -18/+18 | |
This reverts commit f520c4dfbb1c63123a9a088d560d16dee8e0d686. | |||||
2019-03-28 | stack.yaml: remove RTS options | John MacFarlane | 1 | -1/+1 | |
2019-03-28 | appveyor - just build dependencies. | John MacFarlane | 1 | -18/+18 | |
This should build up our cache so we can build the whole thing. | |||||
2019-03-27 | appveyor - save cache on error. | John MacFarlane | 1 | -0/+1 | |
Hopefully this will allow new ghc builds to complete within 60 minutes, after a try or two. | |||||
2019-03-27 | ipynb writer: preserve nbformat_minor if it's given. | John MacFarlane | 1 | -2/+10 | |
This helps with round-tripping. | |||||
2019-03-27 | Writers.Shared.metaValueToJSON: use Number Values for integers. | John MacFarlane | 1 | -4/+9 | |
Pandoc's MetaValue doesn't have a distinguished number type, so numbers are put in MetaStrings. If the MetaString consists entirely of digits, we convert it to a Number. We should probably consider adding a MetaNumber constructor to MetaValue, for better round-tripping with JSON etc. This change aids round-tripping in ipynb metadata fields, like `toc_depth`. | |||||
2019-03-27 | ipynb reader: avoid introducing spurious `.0` on integers in metadata. | John MacFarlane | 2 | -1/+5 | |
2019-03-27 | circleci - drop test on ghc 7.10, add ghc 8.6.4. | John MacFarlane | 1 | -10/+3 | |
2019-03-27 | Drop support for ghc < 8. | John MacFarlane | 5 | -18/+2 | |
2019-03-27 | CONTRIBUTING: replace reference to travis with circleci. | John MacFarlane | 1 | -2/+1 | |
2019-03-27 | circleci: back to -j2. | John MacFarlane | 1 | -3/+3 | |
2019-03-27 | circleci: recognize both Warning: and warning:. | John MacFarlane | 1 | -1/+1 | |
2019-03-27 | circelci: try using -j1. | John MacFarlane | 1 | -3/+3 | |
2019-03-27 | Remove install step from make quick-cabal. | John MacFarlane | 1 | -2/+0 | |
2019-03-27 | Add ghc-options to cabal.project. | John MacFarlane | 2 | -2/+4 | |
2019-03-27 | Quote RTS options in stack.yaml. | John MacFarlane | 1 | -1/+1 | |
2019-03-27 | circleci config - remove GHC_OPTS. | John MacFarlane | 1 | -5/+4 | |
Build into stack.yaml and cabal.project.local instead. | |||||
2019-03-27 | Add nice default ghc options to stack.yaml. | John MacFarlane | 1 | -1/+1 | |
2019-03-27 | Another try at circleci config. | John MacFarlane | 1 | -4/+4 | |
2019-03-27 | circleci config - don't use 'all' for cabal test. | John MacFarlane | 1 | -2/+2 | |
2019-03-27 | circleci - ensure that config doesn't change between build and test. | John MacFarlane | 1 | -3/+3 | |
Print test output directly. | |||||
2019-03-26 | circleci tweak - move up cabal v2-test. | John MacFarlane | 1 | -1/+1 | |
2019-03-26 | circleci - explicitly specify ghc version for cabal builds. | John MacFarlane | 1 | -4/+4 | |
2019-03-26 | JATS writer: Ensure that plain strings go inside `<pub-id>` tag. | John MacFarlane | 1 | -1/+9 | |
See #5397. | |||||
2019-03-26 | circleci - set path to use installed ghc. | John MacFarlane | 1 | -6/+1 | |
2019-03-26 | Fixed typo in circleci config. | John MacFarlane | 1 | -1/+1 | |
2019-03-26 | more circleci diagnostics | John MacFarlane | 1 | -1/+4 | |
2019-03-26 | circleci tweaks - mostly diagnostic. | John MacFarlane | 1 | -20/+25 | |
2019-03-26 | circleci: explicitly specify ghc version to use. | John MacFarlane | 1 | -5/+7 | |
2019-03-25 | LaTeX template: Add pandoc to PDF metadata (#5388) | Andrew Dunning | 5 | -5/+5 | |
Credits pandoc in content creator metadata (the default is 'LaTeX with hyperref'). | |||||
2019-03-25 | circleci: fix typo. | John MacFarlane | 1 | -1/+1 | |
2019-03-25 | appveyor.yml - use ghc 8.6.4. | John MacFarlane | 1 | -4/+4 | |
Hopefully this will fix segault issues on Windows. See #5037. | |||||
2019-03-25 | HTML reader: read `data-foo` attribute into `foo`. | John MacFarlane | 2 | -2/+3 | |
The HTML writer adds the `data-` prefix for HTML5 for nonstandard attributes. But the attributes are represented in the AST without the `data-` prefix, so we should strip this when reading HTML. Closes #5392. | |||||
2019-03-22 | LaTeX template: Group graphics-related code (#5389) | Andrew Dunning | 5 | -35/+18 | |
* LaTeX template: Group graphics-related code The default figure placement was added in <https://github.com/jgm/pandoc/commit/f3ab4bc2b99e9f7f3917708a9110d6500aa051a0>; there does not appear to have been a reason for placing it at the end of the preamble. * Update tests | |||||
2019-03-22 | LaTeX writer: Fix footnotes in table caption and cells. | John MacFarlane | 2 | -13/+55 | |
This fixes a bug wherein footnotes appeared in the wrong order, and with duplicate numbers, when in table captions and cells. We now use regular `\footnote` commands, even in the table caption and the minipages containing cells. Apparently longtable knows how to handle this. Closes #5367. | |||||
2019-03-22 | fetchItem: don't treat UNC paths as protocol-relative URLs. | John MacFarlane | 1 | -1/+2 | |
These are paths beginning `//?/UNC/...`. Closes #5127. | |||||
2019-03-21 | LaTeX template: Move \setstretch after front matter (#5378) | Andrew Dunning | 1 | -1/+3 | |
Ensures that `\maketitle`, `\tableofcontents`, and so forth are not affected by changes to line spacing. Closes #5179 by partially working around <https://github.com/reutenauer/polyglossia/issues/218>. | |||||
2019-03-21 | Improve pdfSize in ImageSize by ignoring all whitespace in /MediaBox command ↵ | richarddavis | 1 | -1/+4 | |
(#5383) This fix ignores all whitespace in the PDF /MediaBox line so that a wider range of PDF sizes can be read. This improves fix to #4322. | |||||
2019-03-21 | Docx writer: Use w:br without attributes for line breaks. | John MacFarlane | 3 | -4/+1 | |
We previously added the attribute `type="textWrapping"`, but this causes problems on Word Online. Closes #5377. | |||||
2019-03-20 | Improve pdfSize in ImageSize. | John MacFarlane | 2 | -21/+27 | |
Improves fix to #4322. |