Commit Graph
10211 Commits
Author SHA1 Message Date
John MacFarlane 420c86b69a Allow more customization of opendocument styles.
Automatic styles can now be inserted in the template,
since the template, not the writer, now provides the
enclosing `<office:automatic-styles>` tags.

Closes #2520.
2015-11-14 17:19:25 -08:00
John MacFarlane c31874467b opendocument template: Add "automatic-styles" tag.
This allows more customization.
See jgm/pandoc#2520.
2015-11-14 17:18:33 -08:00
Andrew Dunning 580a7fa38e Update LaTeX/ConTeXt link colour usage. 2015-11-14 20:17:31 -05:00
Andrew Dunning 06ad6bdedc Improve documentation of template updates.
Intermediary changes are not noted.
2015-11-14 19:39:12 -05:00
michaelbeaumont 8b289326a7 Interpret pauses correctly for all headers
Previously, when using headers below the slide level, pauses are left
uninterpreted into pauses. In my opinion, unexpected behavior but
intentional looking at the code.

Fixes #2530
2015-11-15 01:37:39 +01:00
John MacFarlane 0f3a68a39d Added note about default for --email-obfuscation.
See #2528.
2015-11-14 13:57:07 -08:00
John MacFarlane 55ea4d48b1 Slight improvement to changelog. 2015-11-14 13:53:50 -08:00
John MacFarlane baa5ea35de Updated changelog. 2015-11-14 13:51:24 -08:00
John MacFarlane 0a9bb963d9 Use latest pandoc-citeproc in osx, deb packages. 2015-11-14 13:50:01 -08:00
John MacFarlane cc062e7a23 Use lts-3.13 resolver. 2015-11-14 13:50:00 -08:00
John MacFarlane a63cb7ea0b Allow process 1.3. 2015-11-14 13:50:00 -08:00
Jesse Rosenthal 78c90bd749 Added test case for links in notes. 2015-11-14 13:49:02 -05:00
Jesse Rosenthal e5b374e2ca Follow relationships correctly in foot/endnotes.
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-14 13:41:34 -05:00
John MacFarlane ad321babca Use current pandoc-citeproc for deb and osx packages. 2015-11-13 19:05:58 -08:00
John MacFarlane acbd8beb95 make-windows-installer.bat: run tests. 2015-11-13 19:04:34 -08:00
John MacFarlane abca1da1ad Updated changelog. 2015-11-13 14:19:42 -08:00
John MacFarlane 37285b432c Text.Pandoc.Emoji: use hex escapes instead of Unicode in source.
Some of the unicode characters cause ghc parse errors in older
ghc versions.
2015-11-13 14:18:02 -08:00
John MacFarlane 73e6333fae Merge pull request #2526 from tarleb/org-definition-lists-fix
Org reader: Require whitespace around def list markers
2015-11-13 14:07:56 -08:00
Albert Krewinkel 67cb2809fd Org reader: Require whitespace around def list markers
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-13 22:04:17 +01:00
John MacFarlane c65674a331 Updated changelog. 2015-11-13 12:28:46 -08:00
John MacFarlane 028a605bf8 Merge pull request #2525 from tarleb/org-smart-fixes
Org reader: Fix emphasis rules for smart parsing
2015-11-13 12:27:23 -08:00
John MacFarlane 03ea420589 Updated changelog. 2015-11-13 12:16:11 -08:00
John MacFarlane 0a6aaf5e1b Added emoji extension to Markdown.
This is enabled by default in `markdown_github`.
Added `Ext_emoji` to `Extension` in `Text.Pandoc.Options` (API change).

Closes #2523.
2015-11-13 12:14:24 -08:00
Albert Krewinkel 220f3d12b8 Org reader: Fix emphasis rules for smart parsing
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-13 20:43:46 +01:00
John MacFarlane d8080db7f7 Allow :// in citation keys.
Closes jgm/pandoc-citeproc#166.
2015-11-13 11:00:56 -08:00
John MacFarlane a119ad8d09 Updated man page from README. 2015-11-12 19:52:02 -08:00
John MacFarlane 43bcf5b4d4 Makefile: include version in man page. 2015-11-12 19:51:36 -08:00
John MacFarlane cc31d7d14f Updated RELEASE_CHECKLIST with new deb procedure. 2015-11-12 19:45:13 -08:00
John MacFarlane c17238314c Updated changelog. 2015-11-12 19:43:37 -08:00
John MacFarlane 03743a3596 Added Arata Mizuki to contributor list. 2015-11-12 18:52:21 -08:00
John MacFarlane 193f00bc33 Bump version to 1.15.2. 2015-11-12 18:52:12 -08:00
John MacFarlane 51195b30dc Debian: added configurable VAGRANTBOX env variable.
This should make it easy to build in different virtual
machines, e.g. 32-bit.
2015-11-12 17:26:46 -08:00
John MacFarlane 0fd138167c Updated tests for template changes. 2015-11-12 16:09:41 -08:00
John MacFarlane fe56af9cd3 ConTeXt and LaTeX templates: more cleanup (Andrew Dunning).
- 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-12 16:01:19 -08:00
John MacFarlane ef963c3060 Merge pull request #141 from adunning/keywords
ConTeXt/LaTeX/Beamer clean-up
2015-11-12 16:00:56 -08:00
John MacFarlane a4759d8fef Updated date on README. 2015-11-12 15:56:42 -08:00
John MacFarlane 562d051075 README: consistent capitalization for pandoc and Markdown. 2015-11-12 13:37:59 -08:00
John MacFarlane c80c0df1fe EPUB writer: don't download linked media when data-external attribute set.
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-12 13:27:41 -08:00
John MacFarlane 83b1aa042d LaTeX writer: set colorlinks...
if `linkcolor`, `urlcolor`, `citecolor`, or `toccolor` is set.

Closes #2508.
2015-11-12 12:37:20 -08:00
John MacFarlane 64b32e1e81 Fixed shadowing error. 2015-11-09 11:25:05 -08:00
John MacFarlane 38197c0357 make_travis_yml.hs: don't suppress -Werror on ghc 7.10. 2015-11-09 11:20:34 -08:00
John MacFarlane c1e474f005 Restored Text.Pandoc.Compat.Monoid.
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-09 11:19:25 -08:00
John MacFarlane 23b693c029 Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."
This reverts commit c423dbb5a3.
2015-11-09 10:08:22 -08:00
John MacFarlane 777d717d22 Revert "Use Default-extensions rather than ghc-options for NoImplicitPrelude."
This reverts commit 67cabb2a0d.
2015-11-09 10:08:14 -08:00
John MacFarlane 384d03dcfe Revert "Give up support for ghc 7.4."
This reverts commit e0c83f74f3.
2015-11-09 10:07:52 -08:00
Andrew Dunning e0bd757310 Provide separate linkcontrastcolor in ConTeXt. 2015-11-09 11:37:43 -05:00
Andrew Dunning 2823096cb4 Rename ConTeXt style to linkstyle.
Not necessary to write `normal` to prevent links from rendering as bold.
2015-11-09 11:35:47 -05:00
Andrew Dunning 3ed48ae68f Make LaTeX/ConTeXt link colour optional.
Prevents a conflict when base text is not black. This makes the
`hidelinks` option redundant.
2015-11-09 11:10:47 -05:00
Andrew Dunning 6c27e5f2c1 Remove redundant center variable for reveal.js.
This is no longer needed with the updates to the template in https://github.com/jgm/pandoc-templates/commit/da139313d2e2ba99f4d31be6ea376dabf8c877ff
2015-11-09 09:38:12 -05:00
John MacFarlane e0c83f74f3 Give up support for ghc 7.4. 2015-11-08 21:43:31 -08:00