Commit graph

6578 commits

Author SHA1 Message Date
Jesse Rosenthal
186a955bd0 Docx reader: Add test cases for dummy list items. 2015-11-18 14:03:10 -05:00
Jesse Rosenthal
5527465c77 Docx reader: Handle dummy list items.
These come up when people create a list item and then delete the
bullet. It doesn't refer to any real list item, and we used to ignore
it.

We handle it with a DummyListItem type, which, in Docx.hs, is turned
into a normal paragraph with a "ListParagraph" class. If it follow
another list item, it is folded as another paragraph into that item. If
it doesn't, it's just its own (usually indented, and therefore
block-quoted) paragraph.
2015-11-18 13:02:57 -05:00
John MacFarlane
1f2c37392c Added 'navigation' variable to beamer template.
Valid values are `empty` (the default), `horizontal`, `vertical`,
and `frame`.  Note that this changes the default behavior from
`horizontal` to `empty`.  Closes #2543.
2015-11-17 10:55:55 -08:00
John MacFarlane
995f28ff07 Haddock writer: omit formatting inside links.
It isn't supported by Haddock.

Closes #2515.
2015-11-16 20:53:01 -08:00
John MacFarlane
469338a272 Textile reader: skip over attribute in image source.
We don't have a place yet for styles or sizes on images, but
we can skip the attributes rather than incorrectly taking them
to be part of the filename.

Closes #2515.
2015-11-16 20:43:07 -08:00
John MacFarlane
f096f032f0 ICML writer: better handling of math.
Instead of just printing the raw tex, we now try to fake
it with unicode characters.
2015-11-16 20:24:34 -08:00
John MacFarlane
46ff0e988a Merge pull request #2540 from adunning/patch-3
Allow .adoc file extension for AsciiDoc.
2015-11-16 11:56:08 -08:00
Andrew Dunning
ec0a22746b Allow .adoc file extension for AsciiDoc.
`.adoc` is the extension recommended at <http://asciidoctor.org/docs/asciidoc-writers-guide/>.
2015-11-16 13:37:13 -05:00
John MacFarlane
74cf52728e HTML writer: Include example class for example lists.
Closes #2524.
2015-11-16 09:57:28 -08:00
John MacFarlane
e44149931e Improved implicit pandoc-citeproc inclusion.
The filter pandoc-citeproc is automatically used when
`--bibliography` is specified on the command line, unless
`--natbib` or `--biblatex` is used.

However, previously this only worked if `--bibliography`
was spelled out in full, and not if `--biblio` was used.
This patch fixes that problem.
2015-11-16 09:46:11 -08:00
John MacFarlane
a081df1c41 reveal.js template: Fixed parallaxBackground options.
`parallaxBackgroundHorizontal` and `parallaxBackgroundVertical` need
integer values, not strings.  (Vaughn Iverson)
2015-11-16 07:48:09 -08:00
John MacFarlane
5985688122 Updated man page. 2015-11-16 07:41:37 -08:00
John MacFarlane
0555d028b5 Bump version to 1.15.2.1. Updated changelog. 2015-11-16 07:40:08 -08:00
John MacFarlane
d58d242931 Updated man page. 2015-11-16 07:02:33 -08:00
John MacFarlane
bfea92273d Added stack.yaml to other-source-files so it gets into tarball. 2015-11-16 07:02:04 -08:00
John MacFarlane
6a226041ad Use generic example.com link in README and changelog. 2015-11-16 06:53:52 -08:00
John MacFarlane
c65d13ac2d Use example.com for sample link in changelog. 2015-11-16 06:47:53 -08:00
John MacFarlane
23c6f0c4fe Added two missing test cases to extra-source-files in pandoc.cabal.
Otherwise they don't get into the tarball.  Closes #2537.
2015-11-16 06:44:03 -08:00
John MacFarlane
a52b18807a 'make dist' - use stack to build from tarball. 2015-11-15 23:15:51 -08:00
John MacFarlane
b59d0fb6bd Adjusted trypandoc makefile for use of sandbox. 2015-11-15 14:21:51 -08:00
John MacFarlane
c720cbf9f2 Fixed bug in make_osx_package.sh script. 2015-11-15 13:39:29 -08:00
John MacFarlane
b98fced1c2 make_osx_package.sh: be compatible with OSX >= 10.7. 2015-11-15 12:48:54 -08:00
John MacFarlane
fce995a764 Build deb pkg on wheezy so we require a lower libc version. 2015-11-15 12:46:39 -08:00
John MacFarlane
48503f9161 deb/Vagrantfile improvements.
- Reduce memory size.
- Retrieve key.
2015-11-15 11:53:28 -08:00
John MacFarlane
35faf0cdd8 Vagrantfile: Install certificates needed for stack to work. 2015-11-15 10:09:46 -08:00
John MacFarlane
87470bdcef Removed 'changes' Makefile target. 2015-11-15 10:06:26 -08:00
John MacFarlane
fc56d9d227 Updated man page. 2015-11-15 10:05:59 -08:00
John MacFarlane
8914b6530a Added 'make changes_github' and 'make changes', updated release checklist. 2015-11-15 08:19:26 -08:00
John MacFarlane
07e1234c3b Added 'make changes' target.
This copies to osx clipboard a github-markdown version of the
changes from the latest release in the changelog.
2015-11-15 08:17:09 -08:00
John MacFarlane
9ebd601d89 Updated changelog. 2015-11-15 08:09:37 -08:00
John MacFarlane
593cbd8142 Docx writer: insert space between footnote ref and footnote.
This matches Word's default behavior.  Closes #2527.
2015-11-15 07:53:40 -08:00
John MacFarlane
87f20f11e2 Use stack for Windows installer. 2015-11-14 22:23:47 -08:00
John MacFarlane
2725ad3be5 Merge pull request #2533 from adunning/patch-4
Fix math cross-reference in README.
2015-11-14 21:25:53 -08:00
John MacFarlane
db47cc2140 Merge pull request #2531 from adunning/patch-3
Improve documentation of template updates.
2015-11-14 21:25:23 -08:00
John MacFarlane
012110d62c Use latest pandoc-citeproc in deb and osx packages. 2015-11-14 20:48:22 -08:00
John MacFarlane
8f5ff7075c Derive Generic instances for types in Text.Pandoc.Options. 2015-11-14 17:46:55 -08:00
Andrew Dunning
3026c8dc25 Fix math cross-reference. 2015-11-14 20:22:55 -05:00
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
Andrew Dunning
06ad6bdedc Improve documentation of template updates.
Intermediary changes are not noted.
2015-11-14 19:39:12 -05: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