aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-06-09Use skylighting 0.7.2. Adjust tests.John MacFarlane4-15/+11
This should fix commercialhaskell/stackage#3719, once a new release is made.
2018-06-08pandoc.lua: fix a typo (#4692)Felix Yan1-1/+1
2018-06-07LaTeX writer: properly handle footnotes in table captions.John MacFarlane1-17/+22
Refactored code from figure captions to use in both places. Closes #4683.
2018-06-07beamer output: fix single digit column percentage (#4691)Mauro Bieg4-7/+34
fixes #4690
2018-06-05Add missing re-export of "breezeDark" style (#4687)Adrian Sieber1-0/+1
2018-06-03Allow tasty 1.1 (#4685)Felix Yan1-1/+1
All tests pass with tasty 1.1.0.1 here.
2018-06-03Regression: make --pdf-engine work with full paths (#4682)Mauro Bieg2-53/+62
Fixes #4681.
2018-06-02Support --number-sections in RST output...John MacFarlane2-0/+5
via the "section-numbering" directive in standalone output.
2018-06-01LaTeX reader: handle includes without surrounding blanklines.John MacFarlane4-7/+26
In addition, `\input` can now be used in an inline context, e.g. to provide part of a paragraph, as it can in LaTeX. Closes #4553.
2018-06-01Muse reader: get rid of non-exhaustive pattern match warningmb211-1/+1
2018-05-31Muse reader: add support for floating imagesAlexander Krotov2-6/+24
2018-05-30Add version bound in custom-setup for Cabal.John MacFarlane1-1/+1
2018-05-31Muse reader: add support for images with specified widthAlexander Krotov2-4/+15
2018-05-30Travis: Added /opt/cabal/bin to path.John MacFarlane1-1/+1
2018-05-30Clarify how Ext_east_asian_line_breaks extension works (API docs).kaizhang911-1/+4
Note that it will not take effect when readers/writers are called as libraries (#4674).
2018-05-30Fixed cabal versions in travis.John MacFarlane1-3/+3
2018-05-30Use cabal 2.0 in travis.John MacFarlane1-3/+3
2018-05-30Require cabal-version >= 2.0. This is needed for haddock-library.John MacFarlane1-1/+1
2018-05-30Revert "ALlow compilation with haddock-library 1.4 and above."John MacFarlane2-15/+2
This reverts commit 50c71b5bc5db797ac46550ed54e91196269716e3. This was a bad idea, since tests depend on recent haddock-library. We'd be able to build but fail tests.
2018-05-30ALlow compilation with haddock-library 1.4 and above.John MacFarlane2-2/+15
haddock-library-1.6 requires Cabal >= 2.0. This change allows systems with older Cabal versions to build pandoc.
2018-05-30LaTeX reader `rawLaTeXBlock`: handle macros that resolve to a...John MacFarlane2-1/+37
...`\begin` or `\end`. Fixes #4667.
2018-05-30LaTeX reader: tighten up reading of beamer overlay specifications.John MacFarlane1-9/+20
Ideally we'd turn these on only when reading beamer, but currently beamer is not distinguished from latex as an input format. This commit also activates parsing of overlay specifications after commands in general (e.g. `\item`), since they can occur in many contexts in beamer. Closes #4669.
2018-05-30Markdown writer: preserve `implicit_figures` with attributes...John MacFarlane2-5/+18
...even if `implicit_attributes` is not set, by rendering in raw HTML. Fixes #4677.
2018-05-30Muse reader: parse image URLs without "guard" and "takeExtension"Alexander Krotov2-5/+6
2018-05-28Muse reader: split link and image parsing into separate functionsAlexander Krotov1-10/+17
2018-05-27Muse reader: parse links starting with "URL:" explicitlyAlexander Krotov1-12/+19
instead of trying to strip "URL:" prefix after parsing.
2018-05-27Muse reader: test image with space in filenameAlexander Krotov1-0/+3
2018-05-20Correct the macOS homebrew note (#4664)Ian1-3/+3
By default for all versions of macOS > 10.10 (released in 2015), homebrew does install binary packages, it does not use source to build. So update note to mention a source build is only an issue for old versions of the OS.
2018-05-20Use haddock-library 1.6.0.John MacFarlane4-15/+4
2018-05-19Clarify macos install in INSTALL.md.John MacFarlane1-3/+6
Make the binary package installer the recommended method, and note that homebrew installs from source and takes a lot of disk space. Closes #4661.
2018-05-16LaTeX reader: parse more siunitx unit commands.John MacFarlane1-1/+73
Improves on earlier fix for #4296.
2018-05-16Custom writer: fix error message on script failureAlbert Krewinkel1-1/+1
Error messages produced by Lua were not displayed by Pandoc. The writer was using the bottom-most stack element, while the error message is the top-most element. This lead to the writer to always show "Lua 5.3" as error message, disregarding the actual message.
2018-05-15rawLaTeXBlock: don't expand macros in macro definitions!John MacFarlane2-11/+19
Closes #4653. Note that this only affected LaTeX in markdown. Added regression test.
2018-05-14Docx writer: be sensitive to `toc` in YAML metadata.John MacFarlane1-4/+11
Closes #4645.
2018-05-14Make internal links work in ODT/OpenDocument.John MacFarlane2-49/+64
This adds proper bookmarks to the headers with non-null IDs. Closes #4358.
2018-05-14Require texmath >= 0.11.John MacFarlane1-1/+1
Although pandoc compiles with 0.10, the tests assume texmath 0.11. Closes #4651.
2018-05-12EPUB writer: properly escape pagetitle.John MacFarlane1-3/+6
Previously we weren't escaping `&` and other XML characters in the pagetitle, so a title containing a `&` would be invalid.
2018-05-11Removed inadvertently added .orig files from repository.John MacFarlane79-10389/+0
These were added by https://github.com/schrieveslaach/pandoc/commit/96d10c72cc95e56c9e49db3e6db7118e89d1f1e0 Closes #4648.
2018-05-11Dockerfile fixes.John MacFarlane1-1/+2
Note that stack no longer provides a static binary, so we use an older one from their GitHub releases.
2018-05-10Update changelog.John MacFarlane1-1/+1
2018-05-10Update version on man page.John MacFarlane1-1/+1
2018-05-10Bump version to 2.2.1.John MacFarlane1-1/+1
2018-05-10Update manual date and man page.John MacFarlane2-8/+10
2018-05-10Update changelog.John MacFarlane1-3/+15
2018-05-10Use texmath-0.11.John MacFarlane4-4/+4
2018-05-09MANUAL: clarify pipe table width calculation (#4630)Mauro Bieg1-4/+6
closes #4520
2018-05-09Org reader: fix image filename recognitionAlbert Krewinkel1-6/+7
Use a function from the *filepath* library to check whether a string is a valid file name. The custom validity checker that was used before gave wrong results, e.g. for absolute file paths on Windows (kawabata/ox-pandoc#52).
2018-05-09Update changelog.John MacFarlane2-0/+59
2018-05-09Restored and undeprecated gladtex for HTML math.John MacFarlane5-7/+67
- Added `GladTeX` constructor to `Text.Pandoc.Options.HTMLMathMethod` [API change, reverts removal in v2.2] - Restored and undeprecated `--gladtex` option, removed in v2.2. Closes #4607.
2018-05-09Fix regression with tex math environments in HTML + MathJax.John MacFarlane2-11/+15
Closes #4639.