Commit graph

6897 commits

Author SHA1 Message Date
csforste
25a9ca697a Add TEI Writer. 2016-01-19 14:03:57 -05:00
John MacFarlane
f2c0974a26 HTML writer: harmless code simplification.
Since the 'math' is only put into the template if stMath is
set anyway, there's no need for this conditional.
2016-01-14 10:55:04 -08:00
John MacFarlane
20c55ab110 make_osx_package.sh: Use env variable for developer id certs. 2016-01-14 09:20:52 -08:00
John MacFarlane
f45a8e1d3b Org writer - pass through RawInline with format "org". 2016-01-13 23:01:51 -08:00
John MacFarlane
f8776ed871 Updated man page. 2016-01-13 10:36:02 -08:00
John MacFarlane
ee09ee107b Updated README date. 2016-01-13 07:52:02 -08:00
John MacFarlane
3004306c3d Version to 1.16.0.2, updated changelog. 2016-01-12 23:48:06 -08:00
Albert Krewinkel
fabbd1aa79 Prefix even empty figure names with "fig:"
The convention used by pandoc for figures is to mark them by prefixing
the name with "fig:".  The org reader failed to do this if a figure had
no name.  The test for this was broken as well.

This fixes #2643.
2016-01-11 22:23:59 +01:00
John MacFarlane
f34382ef2c Depend on deepseq rather than deepseq-generics.
See fpco/stackage#1096.
2016-01-11 12:49:28 -08:00
John MacFarlane
8611ac56a6 Fixed regression in latex smart quote parsing.
Closes #2645.

In cases where a match was not found for a quote, everything
from the open quote to the end of the paragraph was being dropped.
2016-01-11 12:17:49 -08:00
John MacFarlane
4db912f0f5 Release checklist: added note on regenerating Hackage docs. 2016-01-10 22:08:18 -08:00
John MacFarlane
293f31c698 Regenerated man page. 2016-01-10 16:48:47 -08:00
John MacFarlane
37ac274c51 README - changed date. 2016-01-10 16:48:47 -08:00
John MacFarlane
6936a6a4e7 osx package fixes: correct version, allow installation to any drive. 2016-01-10 16:48:46 -08:00
mb21
1fde92053f LaTeX writer: figure label 2016-01-10 13:30:32 +01:00
John MacFarlane
a412104636 Fixed typo in deb/stack.yaml. 2016-01-09 14:12:14 -08:00
John MacFarlane
5eb80872af Updated stack.yaml. 2016-01-09 13:54:36 -08:00
John MacFarlane
1fbbc2badc Updated changelog. 2016-01-09 13:25:48 -08:00
John MacFarlane
687c39e4c0 Version bump to 1.16.0.1 2016-01-09 13:13:28 -08:00
John MacFarlane
1506e62f48 LaTeX writer: restore old treatment of Span.
A Span is rendered with surrounding {braces}.

This was a regression in 1.16.  Closes #2624.
2016-01-09 12:16:24 -08:00
John MacFarlane
729911ad74 Fixed shadowing warning. 2016-01-08 20:20:37 -08:00
John MacFarlane
d5f67829dc Added some entity tests in Markdown reader tests. 2016-01-08 17:33:37 -08:00
John MacFarlane
5884ff6994 Work around tagsoup bug - not allowing uppercase x in hex entities.
Issue submitted at tagsoup.
2016-01-08 17:33:32 -08:00
John MacFarlane
12a5bd3c8d Entity handling fixes:
- Text.Pandoc.XML.fromEntities:  handle entities without a
  semicolon. Always lookup character references with the
  trailing ';', even if it wasn't present.  And never add
  it when looking up numerical entities.  (This is what
  tagsoup seems to require.)
- Text.Pandoc.Parsing.characterReference:  Always lookup
  character references with the trailing ';', and leave off
  the ';' when looking up numerical entities.

This fixes a regression for e.g. `⟨`.
2016-01-08 17:08:01 -08:00
John MacFarlane
52d95ddde1 Merge pull request #2632 from matt-e/fix-stack-build
Fix typo in stack build files
2016-01-07 17:41:33 -08:00
Matthew Eddey
1730e63950 Update stack.yaml
Another typo?
2016-01-07 16:22:53 -08:00
Matthew Eddey
dbff1d1f38 Update stack.full.yaml 2016-01-07 16:20:46 -08:00
John MacFarlane
c30ad6f1ce stack.yaml - use older aeson to avoid excessive memory use on compile. 2016-01-07 14:16:37 -08:00
John MacFarlane
0602a22071 deb/stack.yaml - use older aeson to avoid excessive memory use in compile.
With aeson 0.10 I was getting an out of memory error on a 2GB Ubuntu
64-bit VM.
2016-01-07 14:14:58 -08:00
John MacFarlane
eadf5ad2c1 deb/Makefile - make DEBPKGVER work. 2016-01-07 13:43:57 -08:00
John MacFarlane
f010b39999 debpkg - back to lts-3.20.
We get memory exhaustion on lts-4.0.  My guess is that it's
due to aeson-0.10.
2016-01-07 12:22:17 -08:00
John MacFarlane
6cf610d811 More deb packaging tweaks. 2016-01-07 11:40:01 -08:00
John MacFarlane
6cb94d593f Minor tweak in how make_deb.sh is called. 2016-01-07 11:37:31 -08:00
John MacFarlane
8a5950a674 deb/make_deb.sh - removed 'stack clean'. 2016-01-07 11:37:31 -08:00
John MacFarlane
9320d359a2 Merge pull request #2629 from tarleb/org-noexport-fix
Fix function dropping subtrees tagged :noexport:
2016-01-07 11:34:27 -08:00
John MacFarlane
d2dfaccb99 make_deb.sh - use --install-ghc flag instead of stack setup. 2016-01-07 11:33:22 -08:00
John MacFarlane
646ef17e55 deb pkg generation improvements.
Allow setting DEBPKGVER.
Bump to stack lts-4.0.
Make output verbose.
2016-01-07 11:24:51 -08:00
John MacFarlane
669153eace deb/Makefile: Renamed COMMIT -> TREE 2016-01-07 11:13:06 -08:00
John MacFarlane
af706bc477 make_deb.sh - added --stack-setup-yaml. 2016-01-07 11:12:59 -08:00
John MacFarlane
510a539009 Upgrade hsb2hs.yaml lts resolver. 2016-01-07 11:12:52 -08:00
Albert Krewinkel
b3b00da43d Fix function dropping subtrees tagged :noexport:
Continue scanning for comment subtrees beyond only the first block.

Note to self: when writing an recursive function, don't forget to, you
know, actually recurse.

Shout to @mrvdb for noticing this.

This fixes #2628.
2016-01-07 19:56:44 +01:00
John MacFarlane
c4fdf28815 Markdown reader: renormalize table column widths if they exceed 100%.
Closes #2626.
2016-01-07 10:40:30 -08:00
John MacFarlane
a5efd2af11 Improved default template lookup for custom lua scripts.
Previously, if you tried to do `pandoc -s -t /path/to/lua/script.lua`,
pandoc would look for the template in
`~/.pandoc/templates/default./path/to/lua/script.lua`.
With this change it will look in the more reasonable
`~/.pandoc/templates/default.script.lua`.

This makes it possible to store default templates for custom
writers.

Closes #2625.
2016-01-06 15:47:09 -08:00
John MacFarlane
f6fe430400 stack.yaml, stack.full.yaml - use lts-4.0 resolver. 2016-01-06 14:52:30 -08:00
John MacFarlane
197f301795 Revert "Make file globbing work on windows."
This reverts commit 363ecfebc3.
2016-01-06 11:11:59 -08:00
John MacFarlane
363ecfebc3 Make file globbing work on windows.
Windows cmd doesn't expand wildcards; the application has to
do this.  So on windows we use 'glob' to expand.
2016-01-06 10:44:56 -08:00
John MacFarlane
73d1175838 stack.yaml: bump pandoc-types version to 1.16.0.1. 2016-01-06 10:44:38 -08:00
John MacFarlane
2aee5a3660 Merge pull request #2622 from conklech/ignore-stack
Add .stack-work to gitignore
2016-01-05 20:59:35 -08:00
Christian Conkle
45f5fc99e9 Add .stack-work to gitignore
The .stack-work directory is analogous to a cabal sandbox;
it comprises temporary build artifacts.
2016-01-05 19:05:54 -08:00
John MacFarlane
a796538d84 RST, Markdown writers: Fixed rendering of grid tables with blank rows.
Closes #2615.
2016-01-05 14:04:10 -08:00