aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-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.
2015-10-30Textile reader: don't do smart punctuation unless explicitly asked.John MacFarlane3-15/+14
Closes #2480. Note that although smart punctuation is part of the textile spec, it's not always wanted when converting from textile to, say, Markdown. So it seems better to make this an option.
2015-10-29Beamer template: fix incompatibility of section slides with natbib.John MacFarlane1-7/+15
Natbib (and presumably biblatex) bibliography commands create their own section. Since these are in frame environments, we have an incompatibility with the `\AtBeginSection` macro which creates a special frame when a new section occurs. (We can't have a frame inside another frame.) This change disables `\AtBeginSection` inside bibliography slides. Thinks to Yihui Xie for bringing the problem to my attention. This supersedes #145. See discussion there.
2015-10-28Revert "New approach to stack build on appveyor."John MacFarlane3-171/+33
This reverts commit cdd6389e91357c48dc3bb859695ab4538da4d004.
2015-10-28New approach to stack build on appveyor.John MacFarlane3-33/+171
This uses system lua library. See https://github.com/osa1/hslua/issues/22#issuecomment-151281274