aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-03-21Docx writer: Use w:br without attributes for line breaks.John MacFarlane3-4/+1
We previously added the attribute `type="textWrapping"`, but this causes problems on Word Online. Closes #5377.
2019-03-20Improve pdfSize in ImageSize.John MacFarlane2-21/+27
Improves fix to #4322.
2019-03-18Improved fix to #5340 and added test.John MacFarlane2-2/+16
2019-03-18Improve autolink detection in LaTeX reader.John MacFarlane1-2/+2
This determines whether `\url` or `\href` is used. Closes #5340.
2019-03-17Properly escape attributes in Markdown writer.John MacFarlane2-4/+16
Closes #5369.
2019-03-17Add test case for #5368.John MacFarlane1-0/+23
2019-03-14Markdown writer: be sure implicit figures work in list contexts.John MacFarlane1-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-14Remove clone of pandoc-citeproc.John MacFarlane1-1/+0
It wasn't being used; cabal.project specifies the version to use. Closes #5366.
2019-03-13Use cmark-gfm-0.1.8.John MacFarlane3-2/+3
2019-03-13Update changelogJohn MacFarlane1-0/+76
2019-03-13Update manual date and man page.John MacFarlane2-8/+28
2019-03-13Updated tested-with.John MacFarlane1-2/+2
2019-03-13Bump to 2.7.1John MacFarlane1-1/+1
2019-03-13Update AUTHORSJohn MacFarlane1-0/+2
2019-03-13Tests.Old: specify --data-dir=../data.John MacFarlane1-3/+2
Remove old pandoc_datadir environment variable, which doesn't do anything.
2019-03-13 LaTeX template: Improve readability (#5363)Andrew Dunning5-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-13LaTeX reader test: Allow compilation of file (#5364)Andrew Dunning1-9/+4
The test could not compile in LaTeX due to missing `setspace` package. Remove redundant packages.
2019-03-13Revise last commit, adding an upper bound for cmark-gfm.John MacFarlane1-1/+1
2019-03-13Exclude cmark-gfm-hs 0.1.7, which is buggy.John MacFarlane1-1/+1
2019-03-12Use latest pandoc-citeproc.John MacFarlane2-2/+2
2019-03-11docx writer: avoid extra copy of abstractNum and num elements...John MacFarlane28-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-10LaTeX reader: support `\underline`, `\ul`, `\uline` (#5359)Paul Tilley1-0/+5
These are parsed as a Span with class `underline`, as with other readers.
2019-03-10ipynb reader: removed vestigial ReaderOptions param.John MacFarlane1-18/+16
2019-03-09Include execution output in ipynb test.John MacFarlane4-8/+29
2019-03-09Add recommendation to use `raw_attribute` with ipynb.John MacFarlane1-0/+12
See #5354.
2019-03-09ipynb reader: remove sensitivity to `raw_html`, `raw_tex` extensions.John MacFarlane1-6/+2
We now include every output format. Pruning is handled by `--ipynb-output=`.
2019-03-09Markdown writer: improve handling of raw blocks/inline.John MacFarlane1-34/+55
We now emit raw content using `raw_attribute` when no more direct method is available.
2019-03-09Makefile - remove --resolver from quick target.John MacFarlane1-1/+1
2019-03-09Ipynb reader/writer: better handling of cell metadata.John MacFarlane5-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-08Allow -o/--output to be used with --print-*.John MacFarlane2-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-07Update pandoc-citeproc version in cabal.project.John MacFarlane1-1/+1
2019-03-07Use latest pandoc-citeproc, texmath.John MacFarlane1-2/+2
2019-03-07Add inNote to Footcite and FootcitesJohn MacFarlane1-2/+2
2019-03-07Add tectonic as an option for --pdf-engine. (#5346)Cormac Relf4-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-06filterIpynbOutput - go back to just including one block per format.John MacFarlane1-4/+3
In the end we need a 1-1 map of mime types to output blocks.
2019-03-06Fixed mistake in filterIpynbOutput (prefer lower, not higher rank!)John MacFarlane1-4/+3
2019-03-06Improve filterIpynbOutput.John MacFarlane1-4/+7
- Ensure that images are prioritized over text. - Allow multiple RawBlocks for same format.
2019-03-06ipynb writer: recurse into native divs for output cell data.John MacFarlane1-0/+1
See #5354.
2019-03-06Shared.filterIpynbOutput: 'best' should include everything for ipynb.John MacFarlane1-1/+5
2019-03-04LaTeX writer: Add classes for frontmatter support (#5353)Andrew Dunning1-2/+2
Remove frontmatter from scrreprt The KOMA-Script `scrreprt` class follows the pattern of `report`, and does not support `\frontmatter`. Use frontmatter for more classes
2019-03-04 LaTeX template: Robust section numbering removal (#5351)Andrew Dunning5-5/+5
Ensures that section numbering does not reappear with custom section levels. See <https://tex.stackexchange.com/questions/473653/>. Update tests
2019-03-04LaTeX writer/template: better handling of front/main/backmatter.John MacFarlane2-31/+34
In pandoc 2.7 we assumed that every class with chapters would accept `\frontmatter`, `\mainmatter`, and `\backmatter`. This is not so (e.g. report does not). So pandoc 2.7 breaks on report class by including an unsupported command. So we replace the book-class variable in the template with two variables, has-chapters and has-frontmatter, and set these intelligently in the writer. Closes #5348.
2019-03-03Added to AUTHORS.md.John MacFarlane1-0/+2
2019-03-03Another small changelog fix.John MacFarlane1-1/+1
2019-03-03Fix typo in changelog.John MacFarlane1-1/+2
2019-03-03Update manual date, man page, README.md.John MacFarlane3-93/+100
2019-03-03cabal.project - update pandoc-citeproc version.John MacFarlane1-1/+1
2019-03-03Update bash completion template.John MacFarlane1-1/+5
Added `--ipynb-output` and `latexmk` pdf-engine.
2019-03-02Use latest pandoc-citeproc. Updated cahngelog.John MacFarlane2-2/+2
2019-03-02Changelog rewording and reformatting.John MacFarlane1-40/+49