Commit graph

7861 commits

Author SHA1 Message Date
John MacFarlane
7ea4ad11bb Added skeleton for Tests.Command. 2017-02-04 17:38:03 +01:00
John MacFarlane
18ab864269 Moved tests/ -> test/. 2017-02-04 12:56:30 +01:00
John MacFarlane
8418c1a7d7 Implemented +/-smart in rst writer.
Moved unsmartify to Writers.Shared.
2017-02-04 12:52:08 +01:00
John MacFarlane
1feddee6d6 Small revision to deprecation message for --old-dashes. 2017-02-04 11:05:26 +01:00
John MacFarlane
7d3702e807 Simplified Opt structure in cli option parsing.
We should make this closer to the actual options,
and do processing outside.
2017-02-04 10:09:20 +01:00
John MacFarlane
3a332fa076 Better error messages for removed options.
See #3416.
2017-02-04 09:41:08 +01:00
John MacFarlane
b8f4512534 Added TODO comment. 2017-02-04 08:37:44 +01:00
John MacFarlane
76aa43c579 Docx reader: handle local namespace declarations.
Previously we didn't recognize math, for example, when
the xmlns declaration occured on the element and not the root.
Now we recognize either.

Closes #3365.

This patch defines findChildByName, findChildrenByName,
and findAttrByName in Util, and uses these in Parse.
2017-02-03 22:23:07 +01:00
Joachim Breitner
ed4f84e84b Manual: Mention limitations of Literate Haskell Support (#3413)
This fixes #3410.
2017-02-03 21:38:28 +01:00
John MacFarlane
23e6495624 Docx reader: Don't drop smartTag contents.
This just parses inside smartTags and yields their contents,
ignoring the attributes of the smartTag.  @jkr, you may want
to adjust this, but I wanted to get a fix in as fast as possible
for the dropped content.

Closes #2242; see also #3412.
2017-02-03 11:57:07 +01:00
Mauro Bieg
5cd475be70 HTML and DocBook writers: fix internal links with writerIdentifierPrefix opt (#3398)
closes #3397
2017-02-03 09:53:43 +01:00
Alexander Krotov
9327e70c10 Org.hs: remove misleading comment
This comment is likely copied from RST.hs where 'refs' variable indeed exists, but makes no sense here.
2017-02-02 08:58:35 +01:00
John MacFarlane
5b70b57c11 Added skeletons for docs on customizing pandoc and using pandoc API.
See #3289 and  #3288.
2017-02-01 12:50:44 +01:00
John MacFarlane
46742857b5 Added deb/.vagrant to gitignore 2017-02-01 12:36:56 +01:00
Alexander Krotov
59a2e5575a Reduce state in Org writer (#3404) 2017-02-01 12:00:40 +01:00
John MacFarlane
d4d3184060 make_macos_package.sh - install cpphs if not present. 2017-01-31 15:30:21 +01:00
John MacFarlane
5cc32b7032 stack.yaml - use latest skylighting. 2017-01-31 15:29:57 +01:00
John MacFarlane
c96b64e91b Name change OSX -> MacOS.
Add a -MacOS suffix to mac package rather than -OSX.
CHanged local names from osx to macos.
2017-01-31 15:06:58 +01:00
John MacFarlane
99c2a31749 Version bounds: require skylighting 0.1.1.4, bump bounds for blaze-*. 2017-01-31 14:45:36 +01:00
John MacFarlane
699c118885 Update test output for skylighting >= 0.1.1.3. 2017-01-31 14:45:25 +01:00
John MacFarlane
cb79e9c28d Windows builds: removed -S option from pandoc invocations. 2017-01-30 11:49:25 +01:00
John MacFarlane
7018003811 --mathml and MathML in HTMLMathMethod longer take an argument.
The argument was for a bridge javascript that used to be necessary
in 2004.  We have removed the script already.
2017-01-30 11:31:50 +01:00
John MacFarlane
42257b9be9 stack.yamls: Updated commit of pandoc-citeproc to build against. 2017-01-30 11:08:32 +01:00
John MacFarlane
d9809ac1a3 stack.yamls: Updated commit of pandoc-citeproc to build against. 2017-01-30 10:53:49 +01:00
John MacFarlane
5e2754f515 Make epub an alias for epub3, not epub2. 2017-01-30 10:19:30 +01:00
John MacFarlane
25c1f58d18 Use dev pandoc-citeproc in windows,osx,deb/stack.yaml. 2017-01-30 10:12:12 +01:00
John MacFarlane
e20e88220e Fixed some compiler warnings in tests. 2017-01-30 10:10:54 +01:00
John MacFarlane
ae8ac926a4 Merge branch 'typeclass' 2017-01-29 22:13:03 +01:00
John MacFarlane
a62550f46e Use latest master HEAD for templates. 2017-01-29 22:07:10 +01:00
John MacFarlane
661f1adedb Adjustments for building trypandoc with stack. 2017-01-29 22:01:11 +01:00
John MacFarlane
9a9a0ca62b Small update to release checklist. 2017-01-29 21:55:58 +01:00
John MacFarlane
47da92df2d Fixed up github changes target in Makefile so #s aren't escaped. 2017-01-29 21:55:08 +01:00
John MacFarlane
632d4347f4 Updated man page. 2017-01-29 21:19:16 +01:00
John MacFarlane
484c91ea36 Updated copyright to include 2017. 2017-01-29 21:17:42 +01:00
John MacFarlane
2e178f0990 Updated deb, osx, windows stack.yaml.
Use latest skylighting, pandoc-citeproc.
2017-01-29 21:15:30 +01:00
John MacFarlane
678aa66bb6 Updated changelog. 2017-01-29 21:09:21 +01:00
John MacFarlane
84bd0b027b Bump version to 1.19.2. 2017-01-29 21:08:33 +01:00
John MacFarlane
6af01bae97 Updated authors and date in MANUAL 2017-01-29 21:07:55 +01:00
John MacFarlane
1b416dd12b Use latest skylighting. 2017-01-29 20:53:22 +01:00
John MacFarlane
ea684d257e Fixed trypandoc. 2017-01-29 20:52:57 +01:00
John MacFarlane
d1dd4f2e26 Removed unneeded imports. 2017-01-29 20:34:43 +01:00
John MacFarlane
4f955085e0 LaTeX template: Moved geometry after hyperref.
Thanks to Václav Haisman.
Otherwise PDF sizes can be wrong in some circumstances.
2017-01-29 20:30:34 +01:00
John MacFarlane
411434bf13 Removed some old commented-out code. 2017-01-28 23:34:29 +01:00
John MacFarlane
2bac035632 Rely on skylighting 0.1.1.2. 2017-01-28 23:27:59 +01:00
John MacFarlane
d2e0592e01 LaTeX writer: export writeBeamer.
Removed writerBeamer from WriterOptions.
2017-01-28 09:52:45 +01:00
John MacFarlane
91cdcc796d HTML: export separate functions for slide formats.
writeS5, writeSlideous, writeRevealJs, writeDZSlides, writeSlidy.

Removed writerSlideVariant from WriterOptions.
2017-01-27 22:39:36 +01:00
John MacFarlane
5156a4fe3c Shared: rename compactify', compactify'DL -> compactify, compactifyDL. 2017-01-27 21:36:45 +01:00
John MacFarlane
56f74cb0ab Removed Shared.compactify.
Changed signatures on Parsing.tableWith and Parsing.gridTableWith.
2017-01-27 21:30:35 +01:00
John MacFarlane
86b9a51ee3 benchmark: allow benchmark arguments.
These pattern match: so, '--benchmark-arguments "markdown reader"'
will only benchmark the markdown reader; with just "markdown" it
will do the writer too; with no arguments all benchmarks are run.
2017-01-27 11:29:26 +01:00
John MacFarlane
8a61d943f5 Fix up benchmarks so they compile. 2017-01-27 11:15:55 +01:00