Skip to content

pandoc 1.15.0.6

@jgm jgm released this · 706 commits to master since this release

  • --self-contained: Fixed overaggressive CSS minimization (#2301, 2286). Previously --self-contained wiped out all spaces in CSS, including semantically significant spaces. This was a regression from 1.14.x.

  • Markdown reader: don't allow bare URI links or autolinks in link label (#2300). Added test cases.

  • Text.Pandoc.Parsing, uri: Improved bare autolink detection (#2299). Previously we disallowed - at the end of an autolink, and disallowed the combination =-. This commit liberalizes the rules for allowing punctuation in a bare URI, and adds test cases. One potential drawback is that you can no longer put a bare URI in em dashes like this: this uri---http://example.com---is an example. But in this respect we now match github's treatment of bare URIs.

  • HTML writer: support speaker notes in dzslides. With this change <div class="notes"> and also <div class="notes" role="note"> will be output if -t dzslides is used. So we can have speaker notes in dzslides too. Thanks to maybegeek.

  • Updated dzslides template.

  • Improved documentation of options to print system default files (#2298). --print-default-data-file and --print-default-template.

  • DokuWiki writer: use $..$ for Math instead of <math>..</math> (Tiziano Müller). MathJax seems currently to be the only maintained math rendering extension for DokuWiki.

  • Text.Pandoc.Shared: Changed hierarchicalize so it treats references div as top-level header (#2294). This fixes a bug with --section-divs, where the final references section added by pandoc-citeproc, enclosed in its own div, got nested in the div for the section previous to it.

  • Allow vector 0.11.

  • Require cmark > 0.4.

Downloads

pandoc 1.15.0.5

@jgm jgm released this · 722 commits to master since this release

  • HTML writer: Fixed email javascript obfuscation with mailto: URLs (#2280). This fixes a potential security issue. Because single quotes weren't being escaped in the link portion, a specially crafted email address could allow javascript code injection.

  • Markdown/HTML readers: Avoid parsing partial URLs like <www.pandoc.org/blah#foo> as HTML tags (#2277).

  • RST reader: allow inline formatting in definition list field names (Lars-Dominik Braun).

  • PDF: Make sure --latex-engine-opt goes before the filename on the command line. LaTeX needs the argument to come after the options (#1779).

  • CommonMark writer: fixed tags used for super/subscript.

  • ConTeXt template: activate hanging indent for definition lists (mb21).

  • Make cabal require hsb2hs >= 0.3.1 if embed_data_files specified. This is done by adding hookedPrograms in Setup.hs, which allows us to include hsb2hs in Build-Tools in cabal.

  • Improved Windows installer (thanks to nkalvi).

    • When per-machine installation is chosen, the system path is updated instead of the user's.
    • An appropriate default is used for per-machine installation directory.
    • Admin privileges are no longer required for a per-user install
  • Travis: unpack sdist for build to catch packaging bugs.

  • Improved documentation on where user templates go (#2272).

Downloads

pandoc 1.15.0.4

@jgm jgm released this · 752 commits to master since this release

For binary packages see pandoc 1.15.

  • Added pandoc.1 man page to the repository. It is no longer
    built as part of the cabal build process. (This proved too
    fragile.) pandoc.1 can be regenerated (make man/pandoc.1)
    when README is changed.

  • Copying of the man page now respects --destdir (#2262).

  • Improved error messages for filters. User is now informed if
    the filter requires an interpreter that isn't found in the path,
    or if the filter returns an error status.

Downloads

pandoc 1.15.0.3

@jgm jgm released this · 759 commits to master since this release

This release just fixes a packaging bug in 1.15.0.2. For binary packages, see pandoc 1.15.

  • Ensure target directory is created when installing man page.

Downloads

pandoc 1.15.0.2

@jgm jgm released this · 761 commits to master since this release

This release just fixes a packaging bug in 1.15.0.1. For binary packages, see pandoc 1.15.

  • Added files needed for building man page to Extra-Source-Files.

Downloads

pandoc 1.15.0.1

@jgm jgm released this · 763 commits to master since this release

Note: Because this release only affects building of man pages, we have not provided a binary package. Please see pandoc 1.15 for the latest binary package.

  • Man page is now built and installed as part of the cabal build process. Removed Makefile target for man page.

Downloads

pandoc 1.15

@jgm jgm released this · 766 commits to master since this release

Note: This is a fairly minor update. The bump in major version number is due to the removal of Text.Pandoc.ManPages and the --man1 and --man5 options, which were only in pandoc for one day.

Note to packagers:

  1. There is no longer a separate pandoc_markdown.5 man page. The two man pages have been merged into pandoc.1.
  2. To create pandoc.1, just do make man/man1/pandoc.1 after building pandoc.

  • Man page changes:

    • Removed --man1, --man5 options (breaking change).
    • Removed Text.Pandoc.ManPages module (breaking API change).
    • Makefile target for man/man1/pandoc.1. This uses pandoc to create the man page from README using a custom template and filters.
    • Added man/ directory with template and filters needed to build man page.
    • We no longer have two man pages: pandoc.1 and pandoc_markdown.5. Now there is just pandoc.1, which has all the content from README. This change was needed because of the extensive cross-references between parts of the README.
    • Removed old data/pandoc.1.template and data/pandoc_markdown.5.template.
  • OpenDocument writer: Do not add a carriage return after a hard line break (Michael Chladek).

  • ConTeXt writer:

    • use \goto for internal links.
    • Added a % at end for \reference to avoid spurious space.
  • Ignore sandbox on 'make quick'

Downloads

pandoc 1.14.1

@jgm jgm released this · 778 commits to master since this release

  • Added --man1 and --man5 options to pandoc, allowing pandoc to generate its own man pages. Man pages are no longer automatically generated in the build process (the process for this was too complex and prone to failure, #2190). The make-pandoc-man-pages executable has been removed. The man/ directory has been removed, and man page templates have been moved to data/. NOTE TO PACKAGERS: You will no longer find pandoc's man pages in man/, but you can generate them using pandoc --man1 > pandoc.1 and pandoc --man5 > pandoc_markdown.5.

  • Added new unexported module: Text.Pandoc.ManPages.

  • README now acts like a data file (even though it isn't in data/). So, for example, pandoc --print-default-data-file README will produce the README.) This change was required for the --man1 and --man5 options, since the man pages are produced from the README, but it may be useful for other purposes as well.

  • Allow reference.docx and reference.odt to be used with --print-default-data-file and to shadow defaults if placed in the user data directory. Note that as of 1.14, we no longer include these files as data files; instead, we include their components. This change causes pandoc to behave as if it has these data files; they are constructed on demand when needed using getDefaultReferenceDocx and getDefaultReferenceODT.

  • Fixed regression in CSS parsing with --self-contained (#2224). Pandoc 1.14.0.x used css-text to parse the CSS, but its parser silently drops big sections of CSS. This commit replaces the use of css-text with a small but principled CSS preprocessor, which removes whitespace and comments and replaces url() with base 64 data when possible.

  • Use https:// instead of // for MathJax and KaTeX CDN URLs (#1920). This will allow math to work when pages are being viewed locally.

  • Text.Pandoc.Options: Export plainExtensions. These are the extensions used in plain output.

  • LaTeX reader: Don't parse _ and ^ as sub/superscript outside of math mode; treat them as regular inline text. Normally these will cause an error in LaTeX, but there are contexts (e.g. alltt environments) where they are allowed.

  • HTML reader: allow <body> to close <head>.

  • DocBook reader: support mediaobjects and figures (#2184, mb21).

  • RST reader: Fix reference names with special characters (Lars-Dominik Braun).

  • Textile writer: escape + and - as entities (#2225).

  • DokuWiki writer: Use proper <code> tags for code blocks (#2213).

  • Plain writer: don't use symbols for super/subscript (#2237). Simplified code by using plainExtensions.

  • InDesign writer: Properly escape URLs containing more than one colon character (gohai).

  • Docx writer: Make sure we use dist version of reference.docx (and not the user's version) for certain settings. Taking some settings values from a user-supplied reference.docx can lead to corruption. This fixes a regression from the last release (#2249).

  • Text.Pandoc.Shared: exports getDefaultReferenceDocx and getDefaultReferenceODT (API change). These functions have been removed from the Docx and ODT writers.

  • LaTeX template (Xavier Olive):

    • Added CJKmainfont and CJKoptions variables.
    • Allow dvipsnames (e.g. MidnightBlue) for colors (Xavier Olive).
  • Epub templates: use author.role, not author.type.

  • Bump cmark version to >= 0.3.4.

  • Improved Windows installer (#2205, thanks to nkalvi). Users can now select a per-user or systemwide install, and can set the installation path. At the end of installation, the install location is given. The install location is also now given in the list of installed programs in Control Panel. Cleaner WiX syntax is used for setting the path.

  • Added download_stats target to Makefile.

Downloads

pandoc 1.14.0.4

@jgm jgm released this · 822 commits to master since this release

  • Added missing commonmark template.

  • Improved try pandoc (moved button, show raw command).

NOTE: There are no binary packages for this release. Please see the 1.14.1 release.

Downloads

pandoc 1.14.0.3

@jgm jgm released this · 827 commits to master since this release

  • Allow compilation with syb 0.5.*.

  • Custom writer: fixed some compiler warnings for ghc < 7.10.

Downloads

Something went wrong with that request. Please try again.