John MacFarlane
2c7bf41d26
Added wmf and emf mime types.
2014-01-07 10:32:47 -08:00
John MacFarlane
4501344d45
MIME: Add entry for jfif.
2013-11-30 19:43:12 -08:00
John MacFarlane
e290d91c93
MIME: In looking up extensions, drop the encoding info.
...
E.g. for 'image/jpg;base64' we should lookup 'image/jpg'.
2013-11-19 13:09:34 -08:00
John MacFarlane
7102254e24
PDF generation improvements.
...
* `Text.Pandoc.PDF` exports `makePDF` instead of `tex2pdf`.
(API change.)
* `makePDF` walks the pandoc AST and checks for the existence of
images in the local directory. If they are not found, it attempts
to find them, either in the directory containing the first source
file, or at an absolute URL, or at a URL relative to the base URL
of the first command line argument.
* Closes #917 .
2013-07-20 12:14:43 -07:00
John MacFarlane
820a9143e7
MIME: Support vs and fs as text/plain.
...
These are used in revealjs css.
2013-01-17 11:40:14 -08:00
John MacFarlane
1dcd7c66eb
Added MIME types for .wof and .eot.
...
Closes #640 .
i#
2012-10-11 09:33:10 -07:00
John MacFarlane
6d7f0a1b81
Fixed whitespace errors.
2012-07-26 22:32:53 -07:00
John MacFarlane
83238cb686
Added webm to mime types. Closes #543 .
2012-06-28 09:48:07 -07:00
John MacFarlane
8f1bfec7b9
Added --epub-embed-font
option.
...
* This can be repeated for multiple fonts.
* Added parameter for fonts to embed to writeEPUB.
* Added ttf, otf to Mime types in Text.Pandoc.MIME.
2012-01-30 13:09:52 -08:00
John MacFarlane
09fe08b452
Added 'layout-cache' to getMimeType.
...
This ensures that the META-INF/manifest.xml for ODT files will
have everything it needs. Fixes a bug using modified ODT
files as `--reference-odt`.
2012-01-14 10:18:37 -08:00
John MacFarlane
1c28c5308f
Added unexported Text.Pandoc.MIME.
...
Moved getMimeType from Text.Pandoc.Shared to Text.Pandoc.MIME,
so we won't have an API change.
2011-07-19 12:01:20 -07:00