Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-01-05 | ghc 7.10.1 RC1 requires FlexibleContexts ↵ | Mark Wright | 1 | -1/+1 | |
https://ghc.haskell.org/trac/ghc/wiki/Migration/7.10#Inferredtype-signaturesnowmayrequiretoenableFlexibleContextsGADTsorTypeFamilies | |||||
2014-12-19 | Added Text.Pandoc.Compat.Locale to assist with transition to time 1.5. | John MacFarlane | 1 | -2/+1 | |
2014-12-15 | EPUB writer: include "landmarks" section in nav document for epub3. | John MacFarlane | 1 | -3/+23 | |
Closes #1757. | |||||
2014-12-15 | EPUB writer: Removed playOrder from navpoint elements in ncx file. | John MacFarlane | 1 | -2/+1 | |
These aren't required, and they make manual modification of epubs difficult. Closes #1760. | |||||
2014-11-17 | Really fix #1758. Add `id="cover"` to body on cover page. | John MacFarlane | 1 | -2/+3 | |
Not title page! | |||||
2014-11-16 | Use regular page template for nav.xhtml. | John MacFarlane | 1 | -11/+8 | |
This includes the HTML doctype. Closes #1759. | |||||
2014-10-08 | EPUB reader: Further URI handling improvements. | John MacFarlane | 1 | -25/+12 | |
Now we outsource most of the work to `fetchItem'`. Also, do not include queries in file extensions. Improves fix to #1671. It is possible that this will have some unexpected effects, so further testing would be good. | |||||
2014-10-08 | EPUB writer: correctly resolve relative URIs. (Closes #1671.) | John MacFarlane | 1 | -11/+14 | |
2014-10-08 | Fixed absolute URI detection in EPUB writer. Closes #1672. | John MacFarlane | 1 | -2/+2 | |
2014-10-08 | EPUB writer: Don't add sourceURL to absolute URIs! | John MacFarlane | 1 | -5/+10 | |
Closes #1669. If there are further issues, please open a new, targeted issue on the tracker. Some notes on the further issues you gestured at: Data URIs are indeed dereferenced, but why is this a problem? (The function being used to fetch from URLs is used for many different formats. Preserving data URIs would make sense in EPUBs, but not for e.g. PDF output. And by dereferencing we can get a smaller, more efficient EPUB, with the data stored as bytes in a file rather than encoded in textual representation.) "absolute uris are not recognized" -- I assume that is the problem just fixed. If not, please open a new issue. "relative uris are resolved (wrongly) like file paths" -- can you give an example? `<base>` tag is ignored. Yes. I didn't know about the base tag. Could you open a new issue just for this? | |||||
2014-09-01 | EPUB writer: Don't include nav node in spine unless --toc was requested. | John MacFarlane | 1 | -4/+2 | |
Previously we included it in the spine with `linear="no"`, leading to odd results in some readers. Closes #1593. | |||||
2014-09-01 | EPUB writer: Fixed typo. | John MacFarlane | 1 | -1/+1 | |
2014-08-31 | EPUB writer: Extract title even from structured title. | John MacFarlane | 1 | -7/+21 | |
Added docTitle'. | |||||
2014-08-31 | EPUB writer: Don't use opf:title-type for epub2. | John MacFarlane | 1 | -2/+2 | |
It is not supported and epubcheck complains. | |||||
2014-08-30 | Merge branch 'mime' of https://github.com/Aelve/John into Aelve-mime | John MacFarlane | 1 | -2/+2 | |
Conflicts: src/Text/Pandoc/Writers/Docx.hs | |||||
2014-08-19 | EPUB writer: don't use page-progression-direction in EPUB2. | John MacFarlane | 1 | -16/+14 | |
Also, if page-progression-direction not specified in metadata, don't include the attribute even in EPUB3; not including it is the same as including it with the value "default", as we did before. Closes #1550. | |||||
2014-08-17 | MIME cleanup. | Artyom Kazak | 1 | -2/+2 | |
* Create a type synonym for MIME type (instead of `String`). * Add `getMimeTypeDef` function. * Avoid recreating MIME type `Map`s every time. * Move “Formula-...” case handling into `getMimeType`. | |||||
2014-08-11 | EPUB Writer: Added page-progression-direction meta field | Matthew Pickering | 1 | -2/+21 | |
2014-08-11 | EPUB Writer: Added explicit imports | Matthew Pickering | 1 | -18/+26 | |
2014-08-04 | Clean up `mediaTypeOf` a bit. | Artyom Kazak | 1 | -6/+6 | |
2014-08-02 | Text.Pandoc.SelfContained changes. | John MacFarlane | 1 | -2/+1 | |
* mkSelfContained now takes just two arguments, WriterOptions and the string. * It no longer looks in data files. This only made sense when we had copies of slidy and S5 code there. * Shared.fetchItem' is used instead of the nearly duplicate getItem. | |||||
2014-07-31 | New module, Text.Pandoc.MediaBag. | John MacFarlane | 1 | -1/+2 | |
Moved `MediaBag` definition and functions from Shared: `lookupMedia`, `mediaDirectory`, `insertMedia`, `extractMediaBag`. Removed `emptyMediaBag`; use `mempty` instead, since `MediaBag` is a Monoid. | |||||
2014-07-31 | Made MediaBag a newtype, and added mime type information to media. | John MacFarlane | 1 | -1/+1 | |
Shared now exports functions for interacting with a MediaBag: - `emptyMediaBag` - `lookuMedia` - `insertMedia` - `mediaDirectory` - `extractMediaBag` | |||||
2014-07-30 | Allow --self-contained to get content from MediaBag. | John MacFarlane | 1 | -1/+1 | |
Added a parameter to makeSelfContained (API change). | |||||
2014-07-30 | PDF, Docx, EPUB, and ODT writers now automatically use MediaBag. | John MacFarlane | 1 | -1/+2 | |
The MediaBag is thread through from the reader, with no need to extract to files. | |||||
2014-07-20 | EPUB writer: Avoid excess whitespace in nav.xhtml. | John MacFarlane | 1 | -1/+1 | |
This should improve TOC view in iBooks. Closes #1392. | |||||
2014-07-15 | EPUB writer: Keep newlines between block elements. | John MacFarlane | 1 | -1/+1 | |
This allows easier diff-ability. Closes #1424. | |||||
2014-07-13 | EPUB writer: Use stringify instead of custom plainify. | John MacFarlane | 1 | -16/+10 | |
As far as I can tell, it does about the same thing. | |||||
2014-07-13 | Use renderTags' for all tag rendering. | John MacFarlane | 1 | -2/+2 | |
This properly handles tags that should be self-closing. Previously `<hr/>` would appear in EPUB output as `<hr></hr>`. Closes #1420. | |||||
2014-07-07 | EPUB writer: better handle HTML media tags. | John MacFarlane | 1 | -1/+6 | |
2014-05-19 | EPUB writer: Handle multiple dates with OPF `event` attributes. | John MacFarlane | 1 | -9/+38 | |
Note: in EPUB3 we can have only one dc:date, so only the first one is used. | |||||
2014-05-19 | Avoid `import Prelude hiding (catch)`. | John MacFarlane | 1 | -7/+3 | |
See #1309. | |||||
2014-05-15 | EPUB writer: Fixed regression on cover image. | John MacFarlane | 1 | -5/+5 | |
In 1.12.4 and 1.12.4.2, the cover image would not appear properly, because the metadata id was not correct. This was introduced by the fix to #1254. Now we derive the id from the actual cover image filename, which we preserve rather than using "cover-image." | |||||
2014-05-09 | Update copyright notices for 2014, add missing notices | Albert Krewinkel | 1 | -2/+2 | |
2014-04-24 | EPUB writer: Fixed some idrefs to match changes in ids. | John MacFarlane | 1 | -3/+3 | |
2014-04-23 | EPUB writer: include extension in epub ids. | John MacFarlane | 1 | -6/+11 | |
This fixes a problem with duplicate extensions for fonts and images with the same base name but different extensions. Closes #1254. | |||||
2014-03-14 | EPUB writer: Handle files linked in raw img tags. | John MacFarlane | 1 | -1/+1 | |
See #1170. | |||||
2014-03-14 | EPUB writer: Handle media in audio source tags. | John MacFarlane | 1 | -27/+28 | |
This should resolve the rest of #1170, but it needs extensive testing. Note that we now use a 'media' directory rather than 'images'. | |||||
2014-03-14 | EPUB writer: Incorporate files linked in <video> tags. | John MacFarlane | 1 | -10/+46 | |
src and poster will both be incorporated into content.opf and the epub container. This partially address #1170. Still need to do something similar for <audio>. | |||||
2014-01-06 | EPUB writer: Strip out footnotes from toc entries. | John MacFarlane | 1 | -5/+6 | |
2014-01-06 | EPUB writer: Avoid duplicate notes when headings contain notes. | John MacFarlane | 1 | -1/+7 | |
This arose because the headings are copied into the metadata "title" field, and the note gets rendered twice. We strip the note now before putting the heading in "title". | |||||
2013-12-19 | HLint: use fromMaybe | Henry de Valence | 1 | -6/+6 | |
Replace uses of `maybe x id` with `fromMaybe x`. | |||||
2013-12-13 | EPUB writer: Fixed bug with `--epub-stylesheet`. | John MacFarlane | 1 | -2/+1 | |
Now the contents of `writerEpubStylesheet` (set by `--epub-stylesheet`) should again work, and take precedence over a stylesheet specified in the metadata. | |||||
2013-12-03 | EPUB writer: Allow 'stylesheet' in metadata. | John MacFarlane | 1 | -11/+22 | |
The value is a path to the stylesheet. | |||||
2013-12-01 | EPUB writer: Allow partial dates: YYYY, YYYY-MM. | John MacFarlane | 1 | -3/+14 | |
Improves on #1074, since now we don't default to January 1. | |||||
2013-11-30 | EPUB writer: Insert "svg" property as needed in opf (EPUB 3). | John MacFarlane | 1 | -3/+9 | |
2013-11-30 | EPUB writer: Simplify imageTypeOf using getMimeType. | John MacFarlane | 1 | -9/+3 | |
2013-11-30 | EPUB writer: Add properties attribute to cover-image item for EPUB v3. | John MacFarlane | 1 | -1/+6 | |
2013-11-30 | Fixed `cover-image` in EPUB YAML metadata. | John MacFarlane | 1 | -1/+2 | |
2013-11-30 | Allow specification of epub-cover-image in YAML metadata. | John MacFarlane | 1 | -9/+8 | |