aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-04-26Use texmath-0.10.1.2.John MacFarlane2-1/+2
Closes #4597.
2018-04-26Make `--ascii` work for all XML formats (ICML, OPML, JATS,...).John MacFarlane2-5/+7
Also document in manual.
2018-04-26Make `--ascii` work with `ms` and `man` output.John MacFarlane1-8/+16
2018-04-26RST reader: flatten nested inlines, closes #4368 (#4554)Francesco Occhipinti3-10/+106
nested inlines are not valid RST syntax, so we flatten them following some readability criteria discussed in #4368.
2018-04-26DocBook Reader: Read Latex math as output by asciidoctor (#4569)Joe Hermaszewski1-11/+48
2018-04-26Add background-image variable to default.latex (#4601)John Muccigrosso1-0/+5
New variable with same name as comparable variable in (proposed) reveal.js template, so that background images can indicated for both presentation formats with one variable.
2018-04-26Adding background-image variable to reveal.js template (#4600)John Muccigrosso1-0/+5
2018-04-26Remove unused importAlexander Krotov1-1/+1
2018-04-26Muse reader: allow nested footnotesAlexander Krotov2-1/+10
2018-04-26Muse reader: use Data.Map.member instead of lookupAlexander Krotov1-3/+3
2018-04-26Simplify curSlideHasSpeakerNotesAlexander Krotov1-4/+2
2018-04-25stack.yaml: use latest pandoc-citeproc.John MacFarlane2-2/+2
2018-04-25LaTeX reader: fixed previous commit.John MacFarlane1-3/+3
2018-04-25LaTeX reader: Improve handling of raw LaTeX (for markdown etc.).John MacFarlane1-31/+32
Previously there were some bugs in how macros were handled. Closes #4589, #4594.
2018-04-25Add tests for #4589 and #4594 (currently failing).John MacFarlane2-0/+38
2018-04-25Ms template: Fix date.John MacFarlane2-2/+8
Previously .ND was used, but this only works if you have a title page, which we don't. Thanks to @teoric.
2018-04-25LaTeX reader: support `\MakeUppercase`, `\MakeLowercase'.John MacFarlane1-1/+17
Also `\MakeTextUppercase`, `\MakeTextLowercase` from textcase and `\uppercase`, `\lowercase`. We don't mimic exactly the quirky semantic differences between these commands, but just uppercase/lowercase regular strings within them. We leave commands and code alone. Closes #4595.
2018-04-25Removed deprecated ancient HTML math methods.John MacFarlane8-518/+4
Removed `--latexmathml`, `--gladtex`, `--mimetex`, `--jsmath`, `-m`, `--asciimathml` options. Removed `JsMath`, `LaTeXMathML`, and `GladTeX` constructors from `Text.Pandoc.Options.HTMLMathMethod` [API change]. Removed unneeded data file LaTeXMathML.js and updated tests. Bumped version to 2.2.
2018-04-25Added license of TikiWiki reader to COPYRIGHT.John MacFarlane1-0/+6
Closes #4591. Ideally the author will relicense as GPL v2 or later.
2018-04-25Remove nonfree ICC profiles from thumbnails in test docx files.John MacFarlane18-0/+0
Closes #4588.
2018-04-25Added licensing headers for DocBook, EPUB, JATS, OPML readers.John MacFarlane5-1/+130
See #4592.
2018-04-25Clarified dual-licensing of templates. Closes #4593.John MacFarlane1-2/+3
2018-04-24Powerpoint writer: Remove docProps/thumbnail.jpeg in data dir.Jesse Rosenthal2-1/+0
This file wasn't used in the production of documents. It's supposed to be a thumbnail of the current document, and we can't actually produce that ourselves. It turns out that the file contains a nonfree ICC color calibration file, so the best thing to do would be to remove it altogether. Fixes: #4588
2018-04-24Update changelog.John MacFarlane1-0/+3
2018-04-24Use latest haddock-library even for stack.lts9 build.John MacFarlane2-0/+2
2018-04-24use the `-threaded` GHC flag when building benchmarks, related to #4130 (#4587)Francesco Occhipinti1-2/+2
2018-04-23Update changelog.John MacFarlane1-0/+27
2018-04-23Revised Dockerfile for static linux build.John MacFarlane1-7/+11
2018-04-23stack.lts9.yaml - remove constraint on haddock-libraryJohn MacFarlane1-1/+0
2018-04-23CONTRIBUTING.md: added note about --trace.John MacFarlane1-0/+4
2018-04-22Update man page.John MacFarlane1-74/+174
2018-04-22RST reader: allow < 3 spaces indent under directives.John MacFarlane2-3/+23
Closes #4579.
2018-04-22Fix link in README.John MacFarlane2-2/+6
2018-04-22New README template, take in/out formats from manual.John MacFarlane4-125/+195
2018-04-22MANUAL: consolidate input/output format documentation (#4577)Mauro Bieg1-113/+146
* MANUAL: consolidate format lists * MANUAL: make formats a proper list
2018-04-22Travis: hide successes on tests.John MacFarlane1-1/+1
2018-04-21stack.lts9.yaml - use older haddock-library.John MacFarlane2-2/+1
The newer version can't be compiled with the old stack/Cabal we have on alpine.
2018-04-21Small test suite update. Markdown tables.John MacFarlane1-8/+8
2018-04-21Markdown reader/writer: spacing adjustments in tables.John MacFarlane25-152/+174
* Markdown writer now includes a blank line at the end of the row in a single-row multiline table, to prevent it from being interpreted as a simple table. Closes #4578. * Markdown reader does a better job computing the relative width of the last column in a multiline table, so we can round-trip tables without constantly shrinking the last column.
2018-04-21makePDF: Don't try to convert eps files.John MacFarlane1-0/+2
pdflatex converts them itself, and JuicyPixels can't do it. See #2067.
2018-04-21makePDF: For pdflatex, use a temp dir in the working directory.John MacFarlane1-3/+5
Otherwise we can have problems with things like epstopdf.pl, which pdflatex runs to convert eps files and which won't run on a file above the working directory in restricted mode.
2018-04-21Mime: Use the alias application/eps for eps.John MacFarlane1-1/+1
Instead of application/postscript. This will ensure that we retain the eps extension after reading the image into a mediabag and writing it again. See #2067.
2018-04-20dockerfile: upgrade stack.John MacFarlane1-0/+2
2018-04-20Update man page.John MacFarlane1-15/+44
2018-04-19Update changelog.John MacFarlane1-5/+79
2018-04-19Markdown reader: allow empty attributes.John MacFarlane1-0/+2
See #2944.
2018-04-19RST writer: use more consistent indentation.John MacFarlane7-89/+86
Previously we used an odd mix of 3- and 4-space indentation. Now we use 3-space indentation, except for ordered lists, where indentation must depend on the width of the list marker. Closes #4563.
2018-04-19Parsing.uri: don't treat `*` characters at end as part of URI.John MacFarlane1-1/+1
This fixes #4561, a bug parsing emphasized bare links in RST.
2018-04-19Text.Pandoc.Class.writeMedia: unescape URI-escaping in file path.John MacFarlane1-1/+1
This avoids writing things like `file%20one.png` to the file system.
2018-04-19EPUB reader: fix images with space in file path.John MacFarlane1-2/+2
Closes #4344.