Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2019-03-18 | Improved fix to #5340 and added test. | John MacFarlane | 2 | -2/+16 | |
2019-03-18 | Improve autolink detection in LaTeX reader. | John MacFarlane | 1 | -2/+2 | |
This determines whether `\url` or `\href` is used. Closes #5340. | |||||
2019-03-17 | Properly escape attributes in Markdown writer. | John MacFarlane | 2 | -4/+16 | |
Closes #5369. | |||||
2019-03-17 | Add test case for #5368. | John MacFarlane | 1 | -0/+23 | |
2019-03-14 | Markdown writer: be sure implicit figures work in list contexts. | John MacFarlane | 1 | -11/+13 | |
Previously they would sometimes not work: e.g., when they occured in final paragraphs in lists that were originally parsed as Plain and converted later using PlainToPara. Closes #5368. | |||||
2019-03-14 | Remove clone of pandoc-citeproc. | John MacFarlane | 1 | -1/+0 | |
It wasn't being used; cabal.project specifies the version to use. Closes #5366. | |||||
2019-03-13 | Use cmark-gfm-0.1.8. | John MacFarlane | 3 | -2/+3 | |
2019-03-13 | Update changelog | John MacFarlane | 1 | -0/+76 | |
2019-03-13 | Update manual date and man page. | John MacFarlane | 2 | -8/+28 | |
2019-03-13 | Updated tested-with. | John MacFarlane | 1 | -2/+2 | |
2019-03-13 | Bump to 2.7.1 | John MacFarlane | 1 | -1/+1 | |
2019-03-13 | Update AUTHORS | John MacFarlane | 1 | -0/+2 | |
2019-03-13 | Tests.Old: specify --data-dir=../data. | John MacFarlane | 1 | -3/+2 | |
Remove old pandoc_datadir environment variable, which doesn't do anything. | |||||
2019-03-13 | LaTeX template: Improve readability (#5363) | Andrew Dunning | 5 | -58/+63 | |
+ LaTeX template: Improve template readability Use `hidelinks` option for hyperref, which has the same effect as `pdfborder={0 0 0}`, but its purpose is clearer. Use a simpler conditional for Polyglossia/Babel. Format comments more consistently. + Update tests + Remove hyperref breaklinks option. According to the documentation, hyperref sets this automatically as appropriate to the driver. | |||||
2019-03-13 | LaTeX reader test: Allow compilation of file (#5364) | Andrew Dunning | 1 | -9/+4 | |
The test could not compile in LaTeX due to missing `setspace` package. Remove redundant packages. | |||||
2019-03-13 | Revise last commit, adding an upper bound for cmark-gfm. | John MacFarlane | 1 | -1/+1 | |
2019-03-13 | Exclude cmark-gfm-hs 0.1.7, which is buggy. | John MacFarlane | 1 | -1/+1 | |
2019-03-12 | Use latest pandoc-citeproc. | John MacFarlane | 2 | -2/+2 | |
2019-03-11 | docx writer: avoid extra copy of abstractNum and num elements... | John MacFarlane | 28 | -1/+9 | |
...in numbering.xml. This caused pandoc-produced docx files to be uneditable using Word Online. The problem was that recent versions of reference.docx include samples of various kinds of text, including lists. The numering elements for these were getting copied over to the new docx, where they clashed with the autogenerated elements produced by pandoc. This didn't confuse Desktop Word, but it did confuse Word Online. Closes #5358. | |||||
2019-03-10 | LaTeX reader: support `\underline`, `\ul`, `\uline` (#5359) | Paul Tilley | 1 | -0/+5 | |
These are parsed as a Span with class `underline`, as with other readers. | |||||
2019-03-10 | ipynb reader: removed vestigial ReaderOptions param. | John MacFarlane | 1 | -18/+16 | |
2019-03-09 | Include execution output in ipynb test. | John MacFarlane | 4 | -8/+29 | |
2019-03-09 | Add recommendation to use `raw_attribute` with ipynb. | John MacFarlane | 1 | -0/+12 | |
See #5354. | |||||
2019-03-09 | ipynb reader: remove sensitivity to `raw_html`, `raw_tex` extensions. | John MacFarlane | 1 | -6/+2 | |
We now include every output format. Pruning is handled by `--ipynb-output=`. | |||||
2019-03-09 | Markdown writer: improve handling of raw blocks/inline. | John MacFarlane | 1 | -34/+55 | |
We now emit raw content using `raw_attribute` when no more direct method is available. | |||||
2019-03-09 | Makefile - remove --resolver from quick target. | John MacFarlane | 1 | -1/+1 | |
2019-03-09 | Ipynb reader/writer: better handling of cell metadata. | John MacFarlane | 5 | -17/+24 | |
We now handle even complex cell metadata in the Div's attributes. Simple metadata fields are rendered as a plain string, and complex ones as JSON. | |||||
2019-03-08 | Allow -o/--output to be used with --print-*. | John MacFarlane | 2 | -22/+38 | |
`--print-default-data-file` `--print-highlighting-style` `--print-default-template` Note that `-o` must occur BEFORE the `--print*` command on the command line (this is documented). Closes #5357. | |||||
2019-03-07 | Update pandoc-citeproc version in cabal.project. | John MacFarlane | 1 | -1/+1 | |
2019-03-07 | Use latest pandoc-citeproc, texmath. | John MacFarlane | 1 | -2/+2 | |
2019-03-07 | Add inNote to Footcite and Footcites | John MacFarlane | 1 | -2/+2 | |
2019-03-07 | Add tectonic as an option for --pdf-engine. (#5346) | Cormac Relf | 4 | -34/+86 | |
Closes #5345 Runs tectonic on STDIN instead of a temporary .tex file, so that it looks in the working directory for `\include` and `\input` like the rest of the engines. Allows overriding the output directory without messing up the args with `--pdf-engine-opt=--outdir --pdf-engine-opt="$DIR"`. | |||||
2019-03-06 | filterIpynbOutput - go back to just including one block per format. | John MacFarlane | 1 | -4/+3 | |
In the end we need a 1-1 map of mime types to output blocks. | |||||
2019-03-06 | Fixed mistake in filterIpynbOutput (prefer lower, not higher rank!) | John MacFarlane | 1 | -4/+3 | |
2019-03-06 | Improve filterIpynbOutput. | John MacFarlane | 1 | -4/+7 | |
- Ensure that images are prioritized over text. - Allow multiple RawBlocks for same format. | |||||
2019-03-06 | ipynb writer: recurse into native divs for output cell data. | John MacFarlane | 1 | -0/+1 | |
See #5354. | |||||
2019-03-06 | Shared.filterIpynbOutput: 'best' should include everything for ipynb. | John MacFarlane | 1 | -1/+5 | |