Jesse Rosenthal
650fa20788
Readers: pass errors straight up to PandocMonad.
...
Since we've unified error types, we can just throw the same error at
the toplevel.
2017-01-25 17:07:40 +01:00
Jesse Rosenthal
3574b98f81
Unify Errors.
2017-01-25 17:07:40 +01:00
Jesse Rosenthal
b53ebcdf8e
Working on readers.
2017-01-25 17:07:40 +01:00
Hubert Plociniczak
c924611de5
Basic support for images in ODT documents
...
Highly influenced by the docx support, refactored
some code to avoid DRY.
2016-10-12 17:50:35 +02:00
Jesse Rosenthal
99eac312fe
Binary fmts throw PandocError on zip-archive fail
...
Commit 91dc3342
made `readDocx` throw PandocError if there was an
unarchiving error. This extends that fix to `readOdt` and `readEPUB`.
2016-05-01 18:27:20 -04:00
John MacFarlane
23b693c029
Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."
...
This reverts commit c423dbb5a3
.
2015-11-09 10:08:22 -08:00
John MacFarlane
c423dbb5a3
Use -XNoImplicitPrelude and 'import Prelude' explicitly.
...
This is needed for ghci to work with pandoc, given that we
now use a custom prelude.
Closes #2503 .
2015-11-08 16:56:59 -08:00
John MacFarlane
82b3e0ab97
Use custom Prelude to avoid compiler warnings.
...
- The (non-exported) prelude is in prelude/Prelude.hs.
- It exports Monoid and Applicative, like base 4.8 prelude,
but works with older base versions.
- It exports (<>) for mappend.
- It hides 'catch' on older base versions.
This allows us to remove many imports of Data.Monoid
and Control.Applicative, and remove Text.Pandoc.Compat.Monoid.
It should allow us to use -Wall again for ghc 7.10.
2015-10-14 09:09:10 -07:00
MarLinn
f068093555
Added odt reader
...
Fully implemented features:
* Paragraphs
* Headers
* Basic styling
* Unordered lists
* Ordered lists
* External Links
* Internal Links
* Footnotes, Endnotes
* Blockquotes
Partly implemented features:
* Citations
Very basic, but pandoc can't do much more
* Tables
No headers, no sizing, limited styling
2015-07-23 15:37:01 -07:00