Alexander Sulfrian
79f25fb9ce
TWiki Reader: add basic syntax test
2014-10-30 20:02:05 +01:00
Alexander Sulfrian
c3780992ab
TWiki Reader: add new new twiki reader
2014-10-30 19:54:48 +01:00
John MacFarlane
e4c6997c81
Version bump to 1.13.2.
...
This is needed because of the addition of KaTeX to
HTMLMathMethod.
2014-10-20 21:21:18 -07:00
John MacFarlane
7ac1b6b022
Adde network dependency under network-uri flag in test section.
2014-09-28 09:10:42 -07:00
RyanGlScott
9cf9985ecf
Bump text, random, http-client upper bounds
2014-09-22 21:47:16 -05:00
John MacFarlane
6ce7081617
Version bump to 1.13.1.
2014-08-30 13:50:49 -07:00
John MacFarlane
8f53918ebe
Added new dokuwiki multiblock table tests to pandoc.cabal.
2014-08-30 13:14:50 -07:00
John MacFarlane
c956eb617d
Capitalized Build-Depends for consistency.
2014-08-24 08:34:30 -07:00
Gabor Pali
80af713743
Fix build dependencies for the trypandoc flag.
...
Build dependencies of the trypandoc executable are required, regardless of the
trypandoc flag was set to either True or False. Correct package description
to make them truly optional.
2014-08-24 16:49:26 +02:00
John MacFarlane
604e1da878
Added network-uri flag.
...
This addresses the split of network and network-uri.
2014-08-20 15:34:13 -07:00
John MacFarlane
915ff1c9d3
Added tables.dokuwiki and tables.icml to extra-source-files.
2014-08-17 16:23:26 -07:00
John MacFarlane
886cc0dd36
Added trypandoc flag to build trypandoc cgi executable.
...
Supporting files are in trypandoc/.
2014-08-17 16:11:09 -07:00
John MacFarlane
90e4603f8a
Bump version to 1.13.0.1.
2014-08-17 13:24:52 -07:00
John MacFarlane
4c8c63d89e
Added dokuwiki template to pandoc.cabal.
2014-08-13 16:56:57 -07:00
John MacFarlane
670441a5a4
Included Tests.Writers.Docbook in test modules.
2014-08-13 16:46:00 -07:00
John MacFarlane
3b7d276ab0
Added make-pandoc-man-pages flag
...
Previously we built this by default, but most users won't need
to build it, since we include built man pages with the package.
2014-08-13 13:52:46 -07:00
John MacFarlane
a0e795fc40
Added Makefile to rebuild man pages.
...
This should only be needed by developers.
2014-08-13 12:31:19 -07:00
John MacFarlane
40e67b8737
Revised tests directory.
...
Renamed some tests, introducing subsidiary directories
for fb2, docx, epub.
Cleaned up tests in cabal file.
Combined dokuwiki-writer and dokuwiki_inline_formatting tests.
2014-08-13 11:16:50 -07:00
John MacFarlane
1d6e1cf9f3
Removed special testHook from Setup.
...
This was just too fragile and dependent on a changing Cabal API
(see #1526 ).
Instead of passing the bulid directory to the test program, we
now let the test program find itself (using executable-path)
and then find the pandoc executable relative to itself.
2014-08-13 08:12:07 -07:00
John MacFarlane
e883ef4eb9
Merge pull request #1527 from mpickering/juicypixels
...
Attempts to convert gif, tiff and bmp to png in pdf writer
2014-08-12 16:57:22 -07:00
Matthew Pickering
57bebe26df
PDF Writer: Attempts to convert images to pdf renderable formats
...
Now depends on the JuicyPixels library.
Will attempt to convert an image (gif, tiff, bmp) to png when converting
to pdf.
2014-08-13 00:37:18 +01:00
Matthew Pickering
063ba81622
EPUB Tests: Added wasteland test
...
This epub contains many epub:type elements including footnotes and
titlepage.
2014-08-13 00:25:18 +01:00
Jesse Rosenthal
0808449547
Docx: Add dropcap tests.
2014-08-11 23:10:50 -04:00
John MacFarlane
7ec953e31b
Require zip-archive 0.2.3.4, with normalized path comparison.
2014-08-11 12:13:32 -07:00
Matthew Pickering
f33ae631f3
Improved EPUB Tests
...
Rewrote features test to remove all unimplemented features.
There are now all three examples of where an image can be included in
the test.
1. Cover image
2. As a spine elemnt
3. In the document
Tests have also been added to make sure that the mediabag contains all
these images after processing.
2014-08-10 14:58:53 +01:00
John MacFarlane
7ec8dd956f
Removed OMath module, depend on texmath >= 0.8.
2014-08-10 06:19:41 -07:00
Matthew Pickering
edc57f77fc
Added Text.Pandoc.Readers.Docx.Fonts
2014-08-09 22:37:12 -04:00
John MacFarlane
10b662c120
EPUB test renaming.
...
Renamed epub test files so they're identified more clearly as
epub: features.{epub,native} -> epub.features.{epub,native},
and similarly with formatting.{epub,native}.
Added epub test files to cabal file, so they'll be included in
the tarball.
2014-08-07 22:25:06 -07:00
John MacFarlane
17e48ba81e
Merge pull request #1494 from jkr/math-module
...
Math module
2014-08-07 13:44:19 -07:00
Jesse Rosenthal
98d14b2b2a
Docx reader: Test inline image code.
2014-08-07 15:34:49 -04:00
Jesse Rosenthal
a7967d1aef
Docx reader: Split math out into math module.
...
Could use some cleanup, but this is the first step for getting
an OMML reader into TeXMath.
2014-08-07 12:20:22 -04:00
Jesse Rosenthal
cdd769624f
Remove now-unnecessary TexChar
...
TeXMath does the work now.
2014-08-06 11:20:41 -04:00
John MacFarlane
4630cff2a6
Merge branch 'epubend' of https://github.com/mpickering/pandoc into mpickering-epubend
...
Conflicts:
pandoc.cabal
2014-08-04 07:36:18 -07:00
Artyom Kazak
f6cf8e8b4b
Add plain writer testing module to .cabal file.
2014-08-03 18:32:31 +04:00
John MacFarlane
cbaaa17d49
Bump aeson upper bound.
2014-08-02 15:14:15 -07:00
Matthew Pickering
8460ea417f
EPUB Reader: Integrated into program
2014-07-31 21:39:50 +01:00
Jesse Rosenthal
ed71e9b31d
Docx tests: rewrite mediabag tests.
...
This will allow us to test the whole mediabag (making sure, for example,
that images are added with the correct keys) instead of just individual
extracted images. We compare each entry in the media bag to an image
extracted on the fly from the docx. As a result, we only need one file
to test with.
The image in the current tests was also replaced with a smaller one.
2014-07-31 15:47:45 -04:00
John MacFarlane
6dd2418476
New module, Text.Pandoc.MediaBag.
...
Moved `MediaBag` definition and functions from Shared:
`lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`.
Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag`
is a Monoid.
2014-07-31 12:00:21 -07:00
Jesse Rosenthal
16f88edb3b
Docx tests: Added media test comparison function.
...
Also tell pandoc.cabal that we'll be needing base64, since we want to
compare strings here.
2014-07-30 22:31:38 -04:00
Jesse Rosenthal
54708da371
Add and update docx tests in pandoc.cabal.
2014-07-29 13:05:19 -04:00
Matthew Pickering
9e4604fa0b
Added compatability layer to support directory-1.1
2014-07-27 00:36:23 +01:00
Matthew Pickering
00cb9836b8
Txt2Tags Reader: Updated README and package description
2014-07-27 00:12:57 +01:00
Matthew Pickering
e340a7da02
Txt2Tags Reader: Added tests
2014-07-27 00:12:57 +01:00
Matthew Pickering
7d04d383a6
Added txt2tags reader
...
http://txt2tags.org/
There are two points which currently do not match the official
implementation.
1. In the official implementation lists can not be nested like the
following but the reader would interpret this as a bullet list with the
first item being a numbered list.
```
- + This is not a list
```
2. The specification describes how URIs automatically becomes links.
Unfortunately as is often the case, their definitiong of URI is not
clear. I tried three solutions but was unsure about which to adopt.
* Using isURI from Network.URI, this matches far too many strings and is
therefore unsuitable
* Using uri from Text.Pandoc.Shared, this doesn't match all strings that
the reference implementation matches
* Try to simulate the regex which is used in the native code
I went with the third approach but it is not perfect, for example
trailing punctuation is captured in Urls.
2014-07-27 00:12:56 +01:00
John MacFarlane
999b952a21
Require highlighting-kate >= 0.5.8.5.
2014-07-19 17:16:41 -07:00
John MacFarlane
047f9b3714
Merge pull request #1430 from jkr/anchor-fix-2
...
Fix auto identified headers when already auto-id'ed
2014-07-15 20:27:28 -07:00
John MacFarlane
454d0e4d85
Require highlighting-kate 0.5.8.4.
...
For correct highlighting of identifiers in prolog and other languages.
2014-07-15 13:31:31 -07:00
Jesse Rosenthal
643435f1de
Docx reader: Add test
...
Test auto ident header anchors with pandoc-generated pandoc.
2014-07-15 18:32:19 +01:00
Jesse Rosenthal
fe2eda9d54
Docx Reader: Add a compatibility layer for Except.
...
mtl switched from ErrorT to ExceptT, but we're not sure which mtl we'll
be dealing with. This should make errors work with both.
The main difference (beside the name of the module and the monad
transformer) is that Except doesn't require an instance of an Error
Typeclass. So we define that for compatability. When we switch to a
later mtl, using Control.Monad.Exception, we can just erase the instance
declaration, and all should work fine.
2014-07-12 18:04:06 +01:00
John MacFarlane
7d9136edbb
Minor line wrapping.
2014-07-07 16:20:18 -06:00
John MacFarlane
616cf6c539
Merge branch 'dokuwiki' of https://github.com/claremacrae/pandoc into claremacrae-dokuwiki
2014-07-07 16:15:35 -06:00
Jesse Rosenthal
9f4bacf86f
Docx Reader: Add new file, TexChar.
...
This will allow us to deal with unicode characters from word equations. This
part of the process will need to continue to be improved.
2014-07-02 16:53:28 -04:00
Clare Macrae
717e16660d
Merge remote-tracking branch 'jgm/master' into dokuwiki
2014-06-29 19:22:31 +01:00
John MacFarlane
b2127311cb
Require haddock-library >= 1.1 and simplify haddock reader code.
...
See #1346 .
2014-06-26 12:35:13 -07:00
Jesse Rosenthal
8517a4f2e5
Add Reducible to cabal file.
2014-06-23 17:08:17 -04:00
John MacFarlane
84391a887d
Require highlighting-kate >= 0.5.8.3.
...
This change to highlighting-kate means that PHP fragments no longer
need to start with `<?php`. Closes #1271 .
2014-06-19 11:52:58 -07:00
John MacFarlane
cf15b929f8
Added haddock writer tests.
2014-06-18 17:55:21 -07:00
John MacFarlane
0d364a284d
Added haddock template.
2014-06-18 17:49:32 -07:00
John MacFarlane
35e57db5c2
Finished first draft of Haddock writer.
2014-06-18 17:09:36 -07:00
John MacFarlane
ab390a10ec
Removed old haddock reader code. Add dependency on haddock-library.
...
This also removes the dependency on alex and happy.
2014-06-18 11:33:09 -07:00
John MacFarlane
bbe99003f8
Naming: Use Docx instead of DocX.
...
For consistency with the existing writer.
2014-06-16 22:44:40 -07:00
John MacFarlane
7c1d38ac7d
Bump version to 1.13
2014-06-16 22:18:01 -07:00
Jesse Rosenthal
cfd5290fc5
Reference new DocX tests in cabal file.
2014-06-16 07:18:52 -04:00
Jesse Rosenthal
7f4668d871
Add files to cabal.
...
Note there is a build warning for unused `makeImagesSelfContained`
function, since there isn't yet a command-line-option to make use of it.
2014-06-16 07:18:40 -04:00
John MacFarlane
f011d24165
Require aeson >= 0.7.0.5 to avoid build problems.
2014-06-06 22:20:21 -07:00
John MacFarlane
aff6ba921b
Require texmath >= 0.6.6.3. Closes #1324 .
...
This fixes \tilde{E}, especially in docx.
2014-06-03 17:17:33 -07:00
John MacFarlane
356a32e938
Version bump to 1.12.5.
2014-06-03 11:02:11 -07:00
John MacFarlane
4552555625
Require latest texmath. Closes #1319 .
...
This allows `\left` to be used with `]`, `)`, etc.
2014-06-02 13:50:58 -07:00
John MacFarlane
e1cf47efa0
Templates: Fail informatively on template syntax errors.
...
With the move from parsec to attoparsec, we lost good error
reporting. In fact, since we weren't testing for end of input,
malformed templates would fail silently. Here we revert back to
Parsec for better error messages.
2014-06-01 23:45:05 -07:00
John MacFarlane
9cf5f74e8f
PDF writer: Fixed treatment of data uris for images.
...
Closes #1062 .
2014-05-28 10:41:40 -07:00
John MacFarlane
2d90803b7c
Require latest highlighting-kate. Fixes #1317 .
2014-05-27 12:12:02 -07:00
John MacFarlane
fd11a5a5eb
Require latest zip-archive.
...
This has fixes for unicode path names. Note that compiling
pandoc against zip-archive 0.2.3 or 0.2.3.1 will lead to invalid
zip containers, causing LibreOffice (e.g.) to regard ODTs as corrupt.
2014-05-27 11:22:53 -07:00
John MacFarlane
ee8c8da8cc
Removed dependency on conduit.
...
* http-conduit flag is now https.
* Instead of http-conduit, we depend on http-client and http-client-tls.
2014-05-18 22:07:00 -07:00
John MacFarlane
650f831949
travis: Test with ghc 7.8.2 rather than 7.8.1.
2014-05-16 09:50:30 -07:00
Michael Snoyman
46e7bcae69
Allow scientific 0.3
2014-05-16 09:32:24 +03:00
John MacFarlane
8de5daed57
Require highlighting-kate 0.5.8.1.
...
0.5.8 has a serious bug that causes error failure with ocaml and fsharp.
2014-05-15 12:58:30 -07:00
John MacFarlane
cf533a1c2c
Bump version to 1.12.4.2.
2014-05-14 13:46:09 -07:00
John MacFarlane
06edff7402
Added default.icml to data-files so it installs with the package.
2014-05-12 12:30:30 -07:00
John MacFarlane
02b8608aab
Version bump to 1.12.4.1.
2014-05-12 12:08:36 -07:00
John MacFarlane
e52196691b
Require highlighting-kate >= 0.5.8.
...
This fixes a performance regression.
2014-05-12 09:21:16 -07:00
Albert Krewinkel
8fdbef841d
Update copyright notices for 2014, add missing notices
2014-05-09 00:46:08 +02:00
John MacFarlane
249c3e8c5a
Bumped version bound for mtl.
2014-05-07 11:21:04 -07:00
John MacFarlane
b71810d7e6
Require latest texmath.
2014-05-07 11:10:25 -07:00
John MacFarlane
985ba0b32b
Require latest highlighting-kate.
2014-05-07 11:09:45 -07:00
John MacFarlane
41c89d51c7
AsciiDoc writer: Added test for empty table cells.
2014-05-03 21:24:20 -07:00
John MacFarlane
7f86f95f36
Require pandoc-types 1.12.3.3.
...
Fixes #1269 .
2014-04-29 22:25:46 -07:00
John MacFarlane
a744e3868e
Bump version to 1.12.4.
2014-04-25 20:14:39 -07:00
John MacFarlane
aeec883e0e
Merge pull request #1260 from joehillen/tabs-in-cabalfile
...
change tabs to spaces in pandoc.cabal
2014-04-24 16:48:02 -07:00
John MacFarlane
58c9946cda
Bumped upper bounds for http-conduit and network.
2014-04-24 13:16:10 -07:00
John MacFarlane
b08de8fe35
Require aeson >= 0.7.
2014-04-24 11:55:20 -07:00
John MacFarlane
d16775e1c7
Render numbers in YAML metadata without decimals when possible.
...
The change to aeson > 0.7 caused numbers to be rendered with
decimals. This change causes them to be rendered without decimals
wehn possible.
2014-04-24 11:09:07 -07:00
Joe Hillenbrand
8b0279b4ac
change tabs to spaces in pandoc.cabal
2014-04-22 10:50:22 -07:00
John MacFarlane
d8d4ede4d6
Require yaml >= 0.8.8.2.
...
Otherwise we have problems with integers being rendered with
decimal points.
2014-04-14 17:06:38 -07:00
John MacFarlane
714d4707b5
Require tagsoup 0.13.1.
...
This fixes a bug in parsing of script tags.
See #1248 .
2014-04-14 17:05:20 -07:00
John MacFarlane
f48b564ac7
Updated GHC versions in tested-with field.
2014-04-10 11:04:05 -07:00
John MacFarlane
9f3f4298dd
Moved some doc files from data-files to extra-source-files.
...
They aren't needed at runtime.
We keep README and COPYRIGHT in data to ensure that they'll be
available on all systems on which pandoc is installed.
Closes #1123 .
2014-04-06 15:04:50 -07:00
Sergei Trofimovich
8890c2ba3d
pandoc.cabal: allow QuickCheck-2.7
...
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2014-04-04 23:49:21 +03:00
John MacFarlane
64a571775d
Updated README and pandoc.cabal with icml writer.
2014-03-04 10:29:13 -08:00
John MacFarlane
ae86e24ff6
Merge branch 'master' of https://github.com/mb21/pandoc into mb21-master
2014-03-04 10:15:43 -08:00
John MacFarlane
1046339755
Added org-mode to list of readers in cabal description.
2014-03-04 10:15:04 -08:00
Albert Krewinkel
24b2ac43b0
Add a simple Emacs Org-mode reader
...
The basic structure of org-mode documents is recognized; however,
org-mode features like todo markers, tags etc. are not supported yet.
2014-03-04 10:40:40 +01:00
mb21
80511f1b34
InDesign ICML Writer
2014-02-28 13:35:35 +01:00
John MacFarlane
19b127b898
PDF: Use ; for TEXINPUTS separator on Windows.
...
Closes #1151 , I hope. Testing needed.
2014-02-23 20:36:21 -08:00
John MacFarlane
4a84e9691e
Version bump to 1.12.3.3.
...
No changes to source: just to regenerate tarball with latest alex,
happy, to satisfy GHC 7.8.
2014-02-03 14:08:13 -08:00
John MacFarlane
406c311115
Version bump to 1.12.3.2.
2014-02-03 13:32:50 -08:00
John MacFarlane
dc2c23a25f
Bumped version bounds for blaze-html, blaze-markup.
2014-01-27 21:08:56 -08:00
John MacFarlane
a1abb3eeea
Allow binary 0.5. Version bump to 1.12.3.1.
2014-01-14 10:13:08 -08:00
John MacFarlane
32c82903f3
Require latest texmath, highlighting-kate.
2014-01-09 23:12:19 -08:00
John MacFarlane
c26fd3556b
Relaxed version bounds on attoparsec, text, aeson.
2014-01-09 16:05:20 -08:00
John MacFarlane
5c8c380a79
Better exif parsing, including image resolution.
...
This introduces a dependency on binary >= 0.6, but we depend
on binary >= 0.5 via zip-archive anyway.
Closes #976 .
2014-01-09 11:16:55 -08:00
John MacFarlane
9bd7ed7225
Increase upper bound for text.
2014-01-06 22:35:54 -08:00
John MacFarlane
6ddd9f3239
Increase upper bound on process.
2014-01-06 22:35:06 -08:00
John MacFarlane
452a140d0c
Pretty: Added nestle. API change, minor version bump to 1.12.3.
2014-01-02 21:09:39 -08:00
John MacFarlane
3f26a02737
Allow temporary 1.2.
2013-12-26 11:12:37 -08:00
John MacFarlane
26052d3cba
Allow zip-archive 0.2.
2013-12-10 10:24:02 -08:00
John MacFarlane
afa88b4a25
Relaxed version bounds for array, http-conduit, process.
2013-12-09 21:07:33 -08:00
John MacFarlane
9673587b38
Version mubp to 1.12.2.1
2013-12-08 14:35:42 -08:00
John MacFarlane
f8b4a9e669
Require texmath >= 0.6.5.2.
2013-11-06 09:26:37 -08:00
John MacFarlane
cf0472a4c6
Version bump to 1.12.2.
2013-11-03 21:24:34 -08:00
John MacFarlane
0d95c15e83
TexMath: Export readTeXMath', which attends to display/inline.
...
Deprecate readTeXMath, and use readTeXMath' in all the writers.
Require texmath >= 0.6.5.
2013-11-01 14:28:24 -07:00
John MacFarlane
1a2832e96a
Bump version to 1.12.1.
2013-10-20 13:43:00 -07:00
John MacFarlane
e2acc46f50
Removed data files for s5, slideous, slidy.
...
Users of s5 and slideous will have to download the needed
files, as has been documented for some time in the README.
slidy files will be sought on the web, as before.
2013-10-20 13:35:04 -07:00
John MacFarlane
dc853a1cd9
Version bump to 1.12.0.3.
2013-10-19 16:39:57 -07:00
John MacFarlane
f37fa15518
Require pandoc-types 1.12.3.
...
This will enforce a certain JSON encoding.
2013-10-15 22:53:03 -07:00
John MacFarlane
627c54011b
Revert "Setup.hs: Better way of handling man page building."
...
This reverts commit ed061b91c8
.
2013-10-08 20:52:56 -07:00
John MacFarlane
ed061b91c8
Setup.hs: Better way of handling man page building.
...
Previously we tried to remove make-pandoc-man-pages from the list
of packages to be haddocked, installed, copied, etc.
It works better to set 'Buildable: False' on make-pandoc-man-pages,
then have the buildHook temporarily set Buildable to True. This
allows make-pandoc-man-pages to be built (and used in generating
the man pages), but not installed.
2013-10-06 18:04:18 -07:00
John MacFarlane
d6ccebdb2c
Require pandoc-types >= 1.12.2.2.
2013-10-01 22:50:02 -07:00
John MacFarlane
3081fce90e
Require pandoc-types >= 1.12.2.
2013-09-29 11:19:04 -07:00
John MacFarlane
f9430e995e
Bump version to 1.12.0.2 and update changelog.
2013-09-20 20:31:43 -07:00
John MacFarlane
1b42093890
Removed stringable as a dependency. IT is not used.
2013-09-20 20:30:36 -07:00
John MacFarlane
6a2ca0b295
Version bump to 1.12.0.1.
2013-09-20 10:30:46 -07:00
John MacFarlane
652f9a88f4
Handle Boolean values in --metadata
.
...
Note that anything not parseable as a YAML boolean or string
is treated as a literal string.
Note that you can still get a string value with "yes" or any
of the strings interpretable as booleans:
-M boolvalue=yes -M stringvalue='"yes"'
2013-09-19 20:21:35 -07:00
John MacFarlane
32afe85754
Allow --metadata
to be repeated for the same key to form a list.
...
This also has the effect that `--bibliography` can be repeated,
as before.
2013-09-17 21:04:27 -07:00
John MacFarlane
c04d243795
Depend on pandoc-types 1.12.1.
2013-09-17 08:34:43 -07:00
John MacFarlane
2b2d0064be
Declare alex and happy as build-tools.
...
Closes #986 .
2013-09-16 08:10:53 -07:00
John MacFarlane
c2960d9ded
Fixed a couple test files in cabal file.
2013-09-09 22:15:19 -07:00
John MacFarlane
53f61019e2
Added --metadata/-M
option.
...
This is like `--variable/-V`, but actually adds to metadata, not
just variables.
2013-09-01 15:40:28 -07:00
John MacFarlane
4e4c948b41
Added markdown citation parsing test.
2013-08-26 22:30:27 -07:00
John MacFarlane
152d2919ab
Removed tests relating to citation processing.
2013-08-25 07:41:37 -07:00
John MacFarlane
deb59b6235
Removed dependency on citeproc-hs.
...
Going forward we'll use pandoc-citeproc, as an external filter.
The `--bibliography`, `--csl`, and `--citation-abbreviation` fields
have been removed. Instead one must include `bibliography`, `csl`,
or `csl-abbrevs` fields in the document's YAML metadata. The filter
can then be used as follows:
pandoc --filter pandoc-citeproc
The `Text.Pandoc.Biblio` module has been removed. Henceforth,
`Text.CSL.Pandoc` from pandoc-citations can be used by library users.
The Markdown and LaTeX readers now longer format bibliographies and
citations. That must be done using `processCites` or `processCites'`
from Text.CSL.Pandoc.
All bibliography-related fields have been removed from `ReaderOptions`
and `WriterOptions`: `writerBiblioFiles`, `readerReferences`,
`readerCitationStyle`.
API change.
2013-08-24 22:33:01 -07:00
John MacFarlane
74250b6c35
Moved most of Text.Pandoc.Readers.TeXMath to texmath 0.6.4.
2013-08-24 16:10:13 -07:00
John MacFarlane
70386a6a54
Removed scripts directory.
...
This has been put in its own github repo:
https://github.com/jgm/pandoc-filters-python
2013-08-18 15:37:27 -07:00
John MacFarlane
caa89efc32
Added scripts/deflists.py to filter examples.
2013-08-16 20:57:34 -07:00
John MacFarlane
3e8bd8aa15
Updated for removed unMeta, unFormat in pandoc-types.
2013-08-14 23:24:45 -07:00
John MacFarlane
6f736dfa75
Added Tests.Walk.
...
This verifies that walk and query match the generic traversals.
2013-08-10 19:04:15 -07:00
John MacFarlane
99bb066bb9
Pass writename as argument to filters.
...
This way filters can figure out what the target format is
and react appropriately.
Example:
#!/usr/bin/env runghc
import Text.Pandoc.JSON
import Data.Char
main = toJSONFilter cap
where cap (Just "html") (Str xs) = Str $ map toUpper xs
cap _ x = x
This capitalizes text only for html output.
2013-08-08 15:15:58 -07:00
John MacFarlane
7d694e1569
Added Text.Pandoc.Process (pipeProcess).
...
A souped up version of readProcessWithErrorCode that uses lazy bytestrings
and allows setting environment.
2013-08-08 15:15:12 -07:00
John MacFarlane
2677e84663
Revert "Revert "Added --filter
option.""
...
This reverts commit 2e5edbb278
.
2013-08-08 11:09:00 -07:00
John MacFarlane
12e7ec4070
Added Text.Pandoc.Compat.TagSoupEntity.
...
This allows pandoc to compile with tagsoup 0.13.x.
Thanks to Dirk Ullrich for the patch.
2013-08-08 10:42:52 -07:00
John MacFarlane
802dc9a8b9
Added Text.Pandoc.Compat.Monoid.
...
This allows pandoc to compile with base < 4.5, where Data.Monoid
doesn't export `<>`. Thanks to Dirk Ullirch for the patch.
2013-08-08 10:41:39 -07:00