Commit graph

6947 commits

Author SHA1 Message Date
John MacFarlane
cc82851a6a Merge pull request #2876 from shosti/org-code-indent
Ignore leading space in org code blocks
2016-04-26 23:07:29 -07:00
John MacFarlane
1985164816 LaTeX writer: ignore --incremental unless -t beamer.
Closes #2843.
2016-04-26 21:50:37 -07:00
Emanuel Evans
1bfe39e24c
Ignore leading space in org code blocks
Fixes #2862

Also fix up tab handling for leading whitespace in code blocks.
2016-04-26 10:29:59 -07:00
John MacFarlane
a0fae92847 Require texmath 0.8.6.2.
Closes several texmath-related bugs:  #2775, #2310, #2310.

This fixes issues with sub/superscript positioning and
matrix column alignment in docx.
2016-04-20 15:05:41 -07:00
John MacFarlane
b8ce756b41 rtack.yaml: use data-default 0.6.0. 2016-04-18 15:33:30 -07:00
John MacFarlane
e053865746 Allow data-default 0.6.0. 2016-04-18 15:00:00 -07:00
Jesse Rosenthal
5c24e66c16 Docx Reader: Tests for track-changes moving 2016-04-16 08:39:25 -04:00
Jesse Rosenthal
a385ee1d4f Docx Reader: parse moveTo and moveFrom
`moveTo` and `moveFrom` are track-changes tags that are used when a
block of text is moved in the document. We now recognize these tags and
treat them the same as `insert` and `delete`, respectively. So,
`--track-changes=accept` will show the moved version, while
`--track-changes=reject` will show the original version.
2016-04-15 14:09:18 -04:00
John MacFarlane
4b49f923cb Markdown reader: Fix pandoc title blocks with lines ending in 2 spaces.
Closes #2799.

Also added -s to markdown-reader-more test.
2016-04-10 09:13:53 -07:00
John MacFarlane
773bbb8fc7 Markdown + HTML readers: be more forgiving about unescaped &.
We are now more forgiving about parsing invalid HTML with
unescaped `&` as raw HTML.  (Previously any unescaped `&`
would cause pandoc not to recognize the string as raw HTML.)

Closes #2410.
2016-04-10 07:39:36 -07:00
John MacFarlane
cb8b1c2655 README - improved documentation of --columns option. 2016-04-08 15:00:14 -07:00
John MacFarlane
676b800993 Merge pull request #2828 from adunning/patch-1
Recognize `la-x-classic` as Classical Latin.
2016-03-30 09:59:54 -07:00
Andrew Dunning
0c37a7c488 Recognize la-x-classic as Classical Latin.
This allows one to access the hyphenation patterns at <http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-la-x-classic.tex>, using its private language tag.
2016-03-30 14:15:47 +01:00
John MacFarlane
32ecd195bd Use texmath >= 0.8.6.1.
This fixes behavior of roots, e.g. `\sqrt[3]{x}`.
See #2824.
2016-03-29 22:57:37 -07:00
John MacFarlane
53fb682e77 stack.full.yaml: build local zip-archive, texmath. 2016-03-28 16:22:00 -07:00
John MacFarlane
d3f76150fa stack.full.yaml: also include local cmark-hs. 2016-03-27 12:33:41 -07:00
John MacFarlane
f74498cb47 EPUB writer: set 'navpage' variable on nav page.
This allows templates to treat it differently.
2016-03-26 13:14:50 -07:00
John MacFarlane
4d5450d493 Travis: use -fno-warn-unused-do-bind -Wall -Werror. 2016-03-25 12:04:27 -07:00
John MacFarlane
9f664ee6cf Add --pedantic to stack build on travis.
This turns on -Wall, -Werror.
-Werror is already there for cabal builds, but for some reason
travis isn't failing when errors occur.
2016-03-25 09:14:54 -07:00
John MacFarlane
9742c48647 Removed two superfluous lines. 2016-03-25 09:05:38 -07:00
John MacFarlane
90abe3216b Updated changelog. 2016-03-24 22:24:15 -07:00
John MacFarlane
f47b369f37 LaTeX writer: better positioning for hypertarget in figures.
Closes #2813.
2016-03-24 16:44:33 -07:00
John MacFarlane
bb6897a13e LaTeX writer: Fixed position of label in figures.
Partially addresses #2813.

This isn't perfect, because now the hypertarget is in the
wrong place -- when you link to the figure, the screen
is positioned with the caption at the top, and most of
the figure off screen.

So this needs a bit more tweaking.
2016-03-24 09:41:45 -07:00
John MacFarlane
be2693bc45 Travis: run tests when compiling from tarball.
This should help with bugs like #2811.
2016-03-24 09:03:13 -07:00
John MacFarlane
3bfb8ea032 Updated man page. 2016-03-24 09:00:23 -07:00
John MacFarlane
f7a209ba67 Updated changelog. 2016-03-24 09:00:00 -07:00
John MacFarlane
1de993c64a Bump version to 1.17.0.3. 2016-03-24 08:59:06 -07:00
John MacFarlane
8090051aae Merge pull request #2812 from mb21/patch-2
include .tei files in pandoc.cabal
2016-03-24 08:58:19 -07:00
Mauro Bieg
30ceb235ce include .tei files in pandoc.cabal
closes #2811
2016-03-24 13:41:12 +01:00
John MacFarlane
499985c1a3 Updated copyright dates to include 2016. 2016-03-22 17:20:39 -07:00
John MacFarlane
3660e55e48 Fixed copyright dates. 2016-03-22 17:17:21 -07:00
John MacFarlane
3e50a0ee98 Updated man page. 2016-03-22 17:07:18 -07:00
John MacFarlane
ab3e78fb35 Updated changelog. 2016-03-22 17:06:36 -07:00
John MacFarlane
e36e692e6b Version bump to 1.17.0.2. 2016-03-22 17:05:22 -07:00
John MacFarlane
b1ffdf3b01 Fixed bug in Markdown raw HTML parsing.
This was a regression, with the rewrite of `htmlInBalanced`
(from `Text.Pandoc.Readers.HTML`) in 1.17.

It caused newlines to be omitted in raw HTML blocks.

Closes #2804.
2016-03-22 16:56:10 -07:00
John MacFarlane
db207904ef Updated man page. 2016-03-21 15:39:57 -07:00
John MacFarlane
650c12df34 Updated changelog. 2016-03-21 15:39:46 -07:00
John MacFarlane
edcb8b6169 Version to 1.17.0.1. 2016-03-21 15:34:56 -07:00
John MacFarlane
2649a0d836 Improved documentation of templates.
Note that there's no docx template.
Closes #2797.
2016-03-21 15:34:09 -07:00
Jesse Rosenthal
a8a2d4f224 Fix stdin handling for file-scope
Regardless of input type, we should use default handling if we are
dealing with stdin. In other words, there should be no file-scope if
there are no files. This was an issue with pandoc json, which could be
piped on stdin, but which was read by default with `--file-scope`.
2016-03-21 17:02:07 -04:00
John MacFarlane
08c625cff0 Fixed link to TEI in README. 2016-03-20 15:23:33 -07:00
John MacFarlane
44428ca64d Changelog formatting. 2016-03-20 13:11:35 -07:00
John MacFarlane
5f91f06fd9 Clarify and shorten description of file-scope in changelog. 2016-03-20 13:04:25 -07:00
John MacFarlane
b0dc933a21 Fixed changelog. 2016-03-20 10:16:36 -07:00
John MacFarlane
b53036ba3f Fixed changelog formatting. 2016-03-20 09:57:32 -07:00
John MacFarlane
7e6c70e585 Fixed Chris Forster's name. 2016-03-20 09:54:14 -07:00
John MacFarlane
c7df80e0c3 Removed strip commands from make-windows-installer.bat. 2016-03-20 09:01:52 -07:00
John MacFarlane
128409f387 Don't hardcode pandoc version in osx/distribution.xml.
Instead, create it from a template, distribution.xml.in.
2016-03-19 18:53:43 -07:00
John MacFarlane
06bfac1095 Fixed version in osx/distribution.xml. 2016-03-19 18:32:39 -07:00
John MacFarlane
1f5c1b9fc9 make_osx_package.sh: Add quotes around env variable. 2016-03-19 18:13:27 -07:00