summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/ICML.hs
Commit message (Collapse)AuthorAge
* ICML writer: intersperse line breaksmb212015-12-17
| | | | | instead of appending them to every ParagraphStyleRange closes #2501
* ICML writer: added figure handling, closes #2590mb212015-12-16
|
* ICML writer: removed redundant import.John MacFarlane2015-12-13
|
* Fixed ICML image syntax for local files.John MacFarlane2015-12-13
| | | | | | | | | | | `file:filename` rather than `file://./filename`. I think this is right; it matches what we had before with people actually using the ICML writer, and seems to match examples in the spec. I don't have a copy of InDesign I can test on, though. @DigitalPublishingToolkit and @mb21, can you have a look?
* Use posix path separators in ICML link URIs.John MacFarlane2015-12-13
| | | | Closes #2589.
* Implemented SoftBreak and new `--wrap` option.John MacFarlane2015-12-11
| | | | | | | | | | | | | | | | Added threefold wrapping option. * Command line option: deprecated `--no-wrap`, added `--wrap=[auto|none|preserve]` * Added WrapOption, exported from Text.Pandoc.Options * Changed type of writerWrapText in WriterOptions from Bool to WrapOption. * Modified Text.Pandoc.Shared functions for SoftBreak. * Supported SoftBreak in writers. * Updated tests. * Updated README. Closes #1701.
* Merge branch 'new-image-attributes' of https://github.com/mb21/pandoc into ↵John MacFarlane2015-11-19
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mb21-new-image-attributes * Bumped version to 1.16. * Added Attr field to Link and Image. * Added `common_link_attributes` extension. * Updated readers for link attributes. * Updated writers for link attributes. * Updated tests * Updated stack.yaml to build against unreleased versions of pandoc-types and texmath. * Fixed various compiler warnings. Closes #261. TODO: * Relative (percentage) image widths in docx writer. * ODT/OpenDocument writer (untested, same issue about percentage widths). * Update pandoc-citeproc.
| * Updated readers, writers and README for link attributemb212015-08-07
| |
| * ICML writer: changed type of `writeICML`.John MacFarlane2015-08-05
| | | | | | | | | | | | | | | | API change: It is now `WriterOptions -> Pandoc -> IO String`. Also handle new image attributes. (mb21)
| * ICML writer: Add Cite style to citations.John MacFarlane2015-08-05
| | | | | | | | (mb21)
* | ICML writer: better handling of math.John MacFarlane2015-11-16
| | | | | | | | | | Instead of just printing the raw tex, we now try to fake it with unicode characters.
* | Revert "Use -XNoImplicitPrelude and 'import Prelude' explicitly."John MacFarlane2015-11-09
| | | | | | | | This reverts commit c423dbb5a34c2d1195020e0f0ca3aae883d0749b.
* | Use -XNoImplicitPrelude and 'import Prelude' explicitly.John MacFarlane2015-11-08
| | | | | | | | | | | | | | This is needed for ghci to work with pandoc, given that we now use a custom prelude. Closes #2503.
* | Use custom Prelude to avoid compiler warnings.John MacFarlane2015-10-14
|/ | | | | | | | | | | | | - 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.
* Fix InDesign crash with URLs containing more than one colon charactergohai2015-06-09
| | | | Colons are valid characters in URLs, and used e.g. by the Internet Archive's Wayback Machine - a popular resource amongst researchers. When InDesign encounters a HyperlinkURLDestination with more than one colon character in it, it crashes when placing the ICML. (This was tested against CS6.) The IDML specification hints at this requirement in section 6.4.1: "The colon apppears in the Name attribute of the style, but is encoded as %3a when it appears in the Self attribute". Follow this example for all colon characters in URLs.
* Fix image URIs in ICML output (v2)gohai2015-05-11
| | | | InDesign expects LinkResourceURI to start with "file:" for local filenames, and won't render/link the image without.
* ICML writer: Better handling of raw blocks and inlines.John MacFarlane2015-02-17
| | | | | | | | Previously these were always escaped and printed verbatim. Now they are ignored unless the format is "icml", in which case they are passed through unescaped. Closes #1951.
* ghc 7.10.1 RC1 requires FlexibleContexts ↵Mark Wright2015-01-05
| | | | https://ghc.haskell.org/trac/ghc/wiki/Migration/7.10#Inferredtype-signaturesnowmayrequiretoenableFlexibleContextsGADTsorTypeFamilies
* ICML writer: Don't force all citations into footnotes.John MacFarlane2014-11-30
|
* Removed space at ends of lines in source.John MacFarlane2014-07-12
|
* InDesign ICML Writermb212014-02-28