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
Mauro Bieg
44f95484a4
LaTeX Writer: fix polyglossia to babel env mapping
...
allow for optional argument in square brackets, closes #2728
2016-03-20 19:17:30 +01: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
John MacFarlane
2e2298abf3
Fixed typo in deb, osx stack.yaml.
2016-03-19 15:33:18 -07:00
John MacFarlane
ad3a7bfe4d
texmath-0.8.5 in extra-deps in stack.full.yaml.
2016-03-19 15:32:12 -07:00
John MacFarlane
f939c210ea
Build vs pandoc-citeproc 0.9.1.1.
2016-03-19 14:55:48 -07:00
John MacFarlane
a2706ee075
Build pandoc-citeproc 0.9.1 for binary pkgs.
2016-03-19 14:51:17 -07:00
John MacFarlane
6a4c17642c
Build binary packages with with latest texmath.
2016-03-19 14:45:25 -07:00
John MacFarlane
33bad8de18
Depend on most recent aeson, highlighting-kate.
...
These aren't in stackage yet.
2016-03-19 14:19:13 -07:00
John MacFarlane
3dadc1b1bd
Use lts-5.8 resolver.
2016-03-19 14:16:08 -07:00
John MacFarlane
3336783906
Updated man page.
2016-03-19 14:14:53 -07:00
John MacFarlane
8aef9573c5
Updated changelog.
2016-03-19 14:14:42 -07:00
John MacFarlane
3af753de47
Merge pull request #2637 from mb21/latex-figure-label
...
LaTeX writer: figure label
2016-03-19 13:56:14 -07:00
John MacFarlane
3aa7bd1b7c
Added institute
variable in LaTeX and Beamer templates.
2016-03-19 13:48:06 -07:00
John MacFarlane
9a2326c397
Rebuilt man page.
2016-03-18 22:54:03 -07:00
John MacFarlane
9d669014a1
Updated changelog.
2016-03-18 22:50:14 -07:00
John MacFarlane
976e7e2054
ConTeXt writer: fix whitespace at line beginning in line blocks.
...
Add a `\strut` after `\crlf` before space.
Closes #2744 , #2745 . Thanks to @c-foster.
This uses the fix suggested by @c-foster.
Mid-line spaces are still not supported, because of limitations
of the Markdown parser.
2016-03-18 16:36:56 -07:00
John MacFarlane
e821b05125
LaTeX writer: Avoid double toprule in headerless table with caption.
...
Closes #2742 .
2016-03-18 16:16:18 -07:00
John MacFarlane
8d1c01809e
README: document that --toc works with docx.
...
Closes #2787 .
2016-03-18 14:54:09 -07:00
Jesse Rosenthal
28c7617f19
Docx reader: Handle alternate content
...
Some word functions -- especially graphics -- give various choices for
content so there can be backwards compatibility. This follows the
largely undocumented feature by working through the choices until we
find one that works.
Note that we had to split out the processing of child elems of runs into
a separate function so we can recurse properly. Any processing of an
element *within* a run (other than a plain run) should go into
`childElemToRun`.
2016-03-18 09:38:26 -04:00
Jesse Rosenthal
7f4a40474c
Docx reader: Add test for enumerated headers.
...
We don't want them to turn into a list.
2016-03-16 12:56:17 -04:00
Jesse Rosenthal
855c8b43f0
Docx reader: Don't make numbered heads into lists.
...
Word uses list numbering styles to number its headings. We only call
something a numbered list if it does not also heave a heading style.
2016-03-16 12:50:32 -04:00
Jesse Rosenthal
09b4f294bf
pandoc.hs: Also use filescope for json files.
...
JSON files have metadata and list structure, so they can't be simply
catted, but they're useful as intermediate build files in large projects.
2016-03-15 13:08:34 -04:00