aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2019-03-02Update changelog.John MacFarlane1-44/+141
2019-03-02JATS reader: Support fig-group block element (#5317).John MacFarlane1-1/+4
2019-03-02Add John KetzerX to AUTHORSJohn MacFarlane1-0/+1
2019-03-02Require texmath 0.11.2.1John MacFarlane2-2/+2
2019-03-02Shared: remove withTempDir.John MacFarlane1-17/+0
2019-03-02Bump version to 2.7.John MacFarlane1-1/+1
2019-03-02Use XDG data directory for user data directory.John MacFarlane5-30/+27
Instead of `$HOME/.pandoc`, the default user data directory is now `$XDG_DATA_HOME/pandoc`, where `XDG_DATA_HOME` defaults to `$HOME/.local/share` but can be overridden by setting the environment variable. If this directory is missing, then `$HOME/.pandoc` is searched instead, for backwards compatibility. However, we recommend moving local pandoc data files from `$HOME/.pandoc` to `$HOME/.local/share/pandoc`. On Windows the default user data directory remains the same. Closes #3582.
2019-03-02Add new exported function defaultUserDataDirsJohn MacFarlane1-1/+17
2019-03-01Update MANUAL on slide shows to reflect changes.John MacFarlane1-3/+3
2019-03-01LaTeX(Beamer) writer: include contents under headers < slidelevel.John MacFarlane1-1/+8
Currently we keep the fancy title slide and add a new slide with the same title and whatever content was under the header. This changes behavior of slides, but is consistent with the new behavior of the revealjs and other HTML slide show writers. See #4317.
2019-03-01HTML writer: include content under title slides.John MacFarlane1-7/+9
This facilitates real 2D revealjs slideshows, with content under the top-level slide in each stack. It also enables notes on title slides. Closes #4317 and #5237.
2019-03-01LaTeX template: Add \frontmatter, \mainmatter, \backmatter for book classes.John MacFarlane1-0/+9
Closes #5306.
2019-03-01Rearrange --help output in a more rational way.John MacFarlane1-279/+280
Closes #5336.
2019-03-01PDF: change types of subsidiary functions to PandocIO,...John MacFarlane1-70/+70
...to allow warnings to be threaded through. Additional fix for #5343.
2019-03-01Make `--fail-if-warnings` work for PDF output.John MacFarlane1-4/+10
Closes #5343.
2019-03-01Remove license boilerplate (pandoc.hs).John MacFarlane1-18/+0
2019-03-01Remove license boilerplate.John MacFarlane134-2439/+0
The haddock module header contains essentially the same information, so the boilerplate is redundant and just one more thing to get out of sync.
2019-02-28Markdown Reader: yamlToMeta respects extensions (#5276)Mauro Bieg2-7/+7
Add ReaderOptions parameter to yamlToMeta [API change]. fixes #5272
2019-02-28Shared: add filterIpynbOutput. [API change]John MacFarlane5-10/+71
Add command line option `--ipynb-output=all|none|best`. Closes #5339.
2019-02-28ipynb writer: only include metadata under 'jupyter' field.John MacFarlane1-1/+1
2019-02-28Remove spaces on empty lines in manual.John MacFarlane1-9/+9
2019-02-28Clarify variable substitution indentation in templates (#5338)Agustín Martín Barbero1-0/+2
Add `The value of a variable will be indented to the same level as the variable.` to the MANUAL.
2019-02-27Add latexmk as an option for --pdf-engine.John MacFarlane3-84/+80
Closes #3195. Note that you can use --pdf-engine-opt=-outdir=bar to specify a persistent temp dir.
2019-02-27Remove workaround for foundation, now that the bug is fixed.John MacFarlane1-9/+1
2019-02-27Use latest skylighting.John MacFarlane2-3/+3
This should fix #5328.
2019-02-27Translations: reorder alphabetically (#5335)Mauro Bieg5-16/+15
remove `Author`, closes #5334
2019-02-27Powerpoint writer: add tests for underline.Jesse Rosenthal3-1/+1