aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2015-11-14Use latest pandoc-citeproc in osx, deb packages.John MacFarlane2-4/+4
2015-11-14Use lts-3.13 resolver.John MacFarlane1-1/+1
2015-11-14Allow process 1.3.John MacFarlane1-2/+2
2015-11-14Added test case for links in notes.Jesse Rosenthal3-0/+5
2015-11-14Follow relationships correctly in foot/endnotes.Jesse Rosenthal1-27/+40
There are separate relationship (link) files for foot and endnotes. These had previously been grouped together which led to links not working correctly in notes. This should finally fix that.
2015-11-13Use current pandoc-citeproc for deb and osx packages.John MacFarlane2-2/+2
2015-11-13make-windows-installer.bat: run tests.John MacFarlane1-1/+3
2015-11-13Updated changelog.John MacFarlane1-0/+3
2015-11-13Text.Pandoc.Emoji: use hex escapes instead of Unicode in source.John MacFarlane1-870/+870
Some of the unicode characters cause ghc parse errors in older ghc versions.
2015-11-13Merge pull request #2526 from tarleb/org-definition-lists-fixJohn MacFarlane2-2/+9
Org reader: Require whitespace around def list markers
2015-11-13Org reader: Require whitespace around def list markersAlbert Krewinkel2-2/+9
Definition list markers (i.e. double colons `::`) must be surrounded by whitespace to start a definition item. This rule was not checked before, resulting in bugs with footnotes and some link types. Thanks to @conklech for noticing and reporting this issue. This fixes #2518.
2015-11-13Updated changelog.John MacFarlane1-0/+3
2015-11-13Merge pull request #2525 from tarleb/org-smart-fixesJohn MacFarlane2-4/+18
Org reader: Fix emphasis rules for smart parsing
2015-11-13Updated changelog.John MacFarlane1-0/+2
2015-11-13Added `emoji` extension to Markdown.John MacFarlane7-1/+938
This is enabled by default in `markdown_github`. Added `Ext_emoji` to `Extension` in `Text.Pandoc.Options` (API change). Closes #2523.
2015-11-13Org reader: Fix emphasis rules for smart parsingAlbert Krewinkel2-4/+18
Smart quotes, ellipses, and dashes should behave like normal quotes, single dashes, and dots with respect to text markup parsing. The parser state was not updated properly in all cases, which has been fixed. Thanks to @conklech for reporting this issue. This fixes #2513.
2015-11-13Allow `://` in citation keys.John MacFarlane1-1/+2
Closes jgm/pandoc-citeproc#166.
2015-11-12Updated man page from README.John MacFarlane1-148/+256
2015-11-12Makefile: include version in man page.John MacFarlane1-0/+1
2015-11-12Updated RELEASE_CHECKLIST with new deb procedure.John MacFarlane1-1/+1
2015-11-12Updated changelog.John MacFarlane1-0/+176
2015-11-12Added Arata Mizuki to contributor list.John MacFarlane1-0/+1
2015-11-12Bump version to 1.15.2.John MacFarlane1-1/+1
2015-11-12Debian: added configurable VAGRANTBOX env variable.John MacFarlane2-2/+3
This should make it easy to build in different virtual machines, e.g. 32-bit.
2015-11-12Updated tests for template changes.John MacFarlane6-34/+28
2015-11-12ConTeXt and LaTeX templates: more cleanup (Andrew Dunning).John MacFarlane1-10/+7
- Formatting of some conditionals is adjusted to provide cleaner spacing and punctuation in generated preamble. - `$for$` is always provided where the user might want to use multiple options (does not change existing functionality). - `hyperref` link rendering revised per discussion in https://github.com/jgm/pandoc-templates/commit/a84f822c30fde1802131c1c7d69d6ebae4550f72: - the `hidelinks` option is now effectively the default (and has been removed as a separate option), rather than setting all links to black; - link colours can be enabled more easily (using a slightly darker version of the old Pandoc defaults) using a new `colorlinks` variable; - `pdfborder={0 0 0}` is automatically enabled in `hyperref` when `colorlinks` is enabled, and is now only applied. - ConTeXt only: - microtype applied to both regular text and small caps; - `indenting` variable added; - renamed `style` to `linkstyle` for consistency (had not yet made it into the README through my oversight, which I will correct); - separated `linkcontrastcolor` from `linkcolor`; - matching LaTeX `hyperref` usage, only disable link styling rather than providing a specific setting.
2015-11-12Updated date on README.John MacFarlane1-1/+1
2015-11-12README: consistent capitalization for pandoc and Markdown.John MacFarlane1-95/+95
2015-11-12EPUB writer: don't download linked media when `data-external` attribute set.John MacFarlane2-2/+20
By default pandoc downloads all linked media and includes it in the EPUB container. This can be disabled by setting `data-external` on the tags linking to media that should not be downloaded. Example: <audio controls="1"> <source src="http://www.sixbarsjail.it/tmp/bach_toccata.mp3" type="audio/mpeg"></source> </audio> Closes #2473.
2015-11-12LaTeX writer: set `colorlinks`...John MacFarlane1-1/+4
if `linkcolor`, `urlcolor`, `citecolor`, or `toccolor` is set. Closes #2508.
2015-11-09Fixed shadowing error.John MacFarlane1-3/+3
2015-11-09make_travis_yml.hs: don't suppress -Werror on ghc 7.10.John MacFarlane1-1/+1
2015-11-09Restored Text.Pandoc.Compat.Monoid.John MacFarlane22-30/+64
Don't use custom prelude for latest ghc. This is a better approach to making 'stack ghci' and 'cabal repl' work. Instead of using NoImplicitPrelude, we only use the custom prelude for older ghc versions. The custom prelude presents a uniform API that matches the current base version's prelude. So, when developing (presumably with latest ghc), we don't use a custom prelude at all and hence have no trouble with ghci. The custom prelude no longer exports (<>): we now want to match the base 4.8 prelude behavior.
2015-11-09Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane109-118/+12
This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
2015-11-09Revert "Use Default-extensions rather than ghc-options for NoImplicitPrelude."John MacFarlane1-8/+4
This reverts commit 67cabb2a0d09df17fa4f86b77f66e39a6f036c1d.
2015-11-09Revert "Give up support for ghc 7.4."John MacFarlane3-2/+5
This reverts commit e0c83f74f39ca94437d0b6f823c6f932aa663fe0.
2015-11-09Remove redundant `center` variable for reveal.js.Andrew Dunning1-3/+0
This is no longer needed with the updates to the template in https://github.com/jgm/pandoc-templates/commit/da139313d2e2ba99f4d31be6ea376dabf8c877ff
2015-11-08Give up support for ghc 7.4.John MacFarlane3-5/+2
2015-11-08Use Default-extensions rather than ghc-options for NoImplicitPrelude.John MacFarlane1-4/+8
To satisfy 'cabal check'.
2015-11-08Merge pull request #2502 from minoki/latex-comment-environmentJohn MacFarlane1-1/+2
LaTeX reader: Handle `comment` environment.
2015-11-08Merge pull request #2505 from tarleb/org-header-markup-fixJohn MacFarlane2-1/+12
Org reader: fix markup parsing in headers
2015-11-08Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane109-12/+118
This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
2015-11-08Org reader: fix markup parsing in headersAlbert Krewinkel2-1/+12
Markup as the very first item in a header wasn't recognized. This was caused by an incorrect parser state: positions at which inline markup can start need to be marked explicitly by changing the parser state. This wasn't done for headers. The proper function to update the state is now called at the beginning of the header parser, fixing this issue. This fixes #2504.
2015-11-08LaTeX reader: Handle `comment` environment.ARATA Mizuki1-1/+2
The `comment` environment is handled in a similar way to the `verbatim` environment, except that its content is discarded.
2015-11-04Merge pull request #2472 from adunning/patch-1John MacFarlane1-15/+21
Update LaTeX/ConTeXt variable usage in README.
2015-11-01LaTeX writer: properly handle footnotes in captions.John MacFarlane1-15/+18
Closes #1506.
2015-11-01LaTeX writer: avoid footnotes in list of figures.John MacFarlane1-1/+14
Footnotes aren't allowed in the list of figures. This patch causes footnotes to be stripped from captions when entered into the list of figures. Footnotes still don't actually WORK in captions in latex/pdf, but at least an error is no longer raised. See #1506.
2015-10-30Pipe tables with long lines now get relative cell widths.John MacFarlane3-14/+39
If a pipe table contains a line longer than the column width (as set by `--columns` or 80 by default), relative widths are computed based on the widths of the separator lines relative to the column width. This should solve persistent problems with long pipe tables in LaTeX/PDF output, and give more flexibility for determining relative column widths in other formats, too. For narrower pipe tables, column widths of 0 are used, telling pandoc not to specify widths explicitly in output formats that permit this. Closes #2471.
2015-10-30HTML writer: use width on whole table if col widths sum to < 100%.John MacFarlane2-5/+12
Otherwise some browsers display the table with the columns separated far apart.
2015-10-30Beamer template: added code to prevent slide breaks inside paragraphs.John MacFarlane1-13/+8
This will matter, in practice, only when `allowframebreaks` is used. It is especially helpful for bibliography slides. Closes #2442. Thanks to Nick Bart for the solution.