summaryrefslogtreecommitdiff
path: root/pandoc.hs
Commit message (Collapse)AuthorAge
* pandoc `--help` now says something about pdf output.John MacFarlane2013-04-26
| | | | Closes #720.
* Added `Text.Pandoc.Writers.Custom`, `--print-custom-lua-writer`.John MacFarlane2013-04-14
| | | | | | | | | | pandoc -t data/sample.lua will load the script sample.lua and use it as a custom writer. data/sample.lua is provided as an example. Added `--print-custom-lua-writer` option to print the sample script.
* Have `--help` print in and out formats in alphabetical order.John MacFarlane2013-04-08
|
* Reveal.js improvements.John MacFarlane2013-03-23
| | | | | Changed name to revealjs (from reveal_js). Set revealjs-url template variable to 'reveal.js' by default.
* Added basic support for reveal.js.Jamie F. Olson2013-03-21
| | | | | | | | Support unordered and ordered lists with "fragment" elements. Modified by JGM to remove the --reveal_js-url command-line option. Instead use -V reveal_js-url=... as with slidy and the other slide formats. Also cleaned up the list code in the HTML writer.
* Added Text.Pandoc.Writers.OPML.John MacFarlane2013-03-19
| | | | | | | | TODO: * Document in README * Add tests * Add template (and add template to cabal file)
* Added Text.Pandoc.Readers.OPML, exporting readOPML.John MacFarlane2013-03-19
| | | | | | | | | The _note attribute is supported. This is unofficial, but used e.g. in OmniOutliner and supported by multimarkdown. We treat the contents as markdown blocks under a section header. Added to documentation and tests.
* Fixed numbering mismatch between TOC and sections in HTML.John MacFarlane2013-03-16
| | | | | | | Also made `--number-offset` affect TOC numbering as well as section numbering, as it should have all along. Closes #789.
* Hide Text.Pandoc.Highlighting.John MacFarlane2013-03-05
| | | | | | | * Moved code for translating listings language names to highlighting-kate names and back from LaTeX reader to Highlighting. * Text.Pandoc.Highlighting no longer exposed (API change) * Text.Pandoc.Highlighting exports toListingsLang, fromListingsLang
* `--number-from` -> `--number-offset`John MacFarlane2013-02-23
| | | | | | | Also `writerNumberFrom` -> `writeNumberOffset`. The offset is a list of numbers (0 by default). These are added to the section, subsection, etc. numbers that would have been generated automatically.
* `--number-from` implies `--number-sections`.John MacFarlane2013-02-22
|
* Added `--number-from` option and `writerNumberFrom`.John MacFarlane2013-02-21
| | | | These still aren't hooked up to anything in the writers.
* Changes to --version.John MacFarlane2013-02-07
| | | | | Print default user data directory. Put language names in lowercase and omit 'alert' and 'alert_indent'.
* Changes to --version.John MacFarlane2013-02-07
| | | | | Print default user data directory. Put language names in lowercase and omit 'alert' and 'alert_indent'.
* Added `--default-image-extension` and `readerDefaultImageExtension`.John MacFarlane2013-02-05
| | | | Note: Currently this only affects the markdown reader.
* Updated copyright dates.John MacFarlane2013-01-19
|
* RTF writer: Added writeRTFWithEmbeddedImages.John MacFarlane2013-01-18
| | | | | | | * RTF writer: Export writeRTFWithEmbeddedImages instead of rtfEmbedImage. * Text.Pandoc: Use writeRTFWithEmbeddedImages for RTF. * Moved code for embedding images in RTF out of pandoc.hs.
* Added `writerHtmlQTags` and `--html-q-tags` option.John MacFarlane2013-01-15
| | | | | | | | | | The previous default was to use `<q>` tags in HTML5. But `<q>` tags are also valid HTML4, and they are not very robust in HTML5. Some user agents don't support them, and some CSS resets prevent pandoc's quotes CSS from working properly (e.g. bootstrap). It seems a better default just to insert quote characters, but the option is provided for those who have gotten used to using `<q>` tags.
* pandoc.hs: Fix writerSourceDirectory when a URL is provided.John MacFarlane2013-01-11
| | | | It should be the URL up to the path.
* Options: Added phpMarkdownExtraExtensions.John MacFarlane2013-01-10
| | | | And added markdown_phpextra input/output format.
* Changed --toc-level to --toc-depth.John MacFarlane2013-01-05
|
* Changed `--epub-toc-level` to `--toc-level`.John MacFarlane2013-01-05
| | | | | Also writerEpubTOCLevel -> writerTOCLevel. So far this is only implemented in the EPUB writer.
* Renamed local variable for consistency (EPUB->Epub).John MacFarlane2013-01-04
|
* Renamed writerEPUBMetadata -> writerEpubMetadata.John MacFarlane2013-01-04
| | | | API change for consistency.
* Added `--epub-chapter-level` and `--epub-toc-level` options.John MacFarlane2013-01-04
| | | | | Also added writerEpubChapterLevel and writerEpubTOCLevel fields to WriterOptions.
* Changed type of 'readers' in Text.Pandoc, so all readers are in IO.John MacFarlane2013-01-03
| | | | | | | | | Users who want pure readers can still get them; this just affects the function getReader that looks up a reader based on the format name. The point of this change is to make it possible to print warnings from the parser.
* Fixed paths for LaTeXMathML and MathMLinHTML scripts.John MacFarlane2013-01-03
|
* Data files changes.John MacFarlane2012-12-29
| | | | | | | | | | * Added `embed_data_files` flag. (not yet used) * Shared no longer exports `findDataFile`. * `readDataFile` now returns a strict bytestring. * Shared now exports `readDataFileUTF8` which returns a string like the old `readDataFile`. * Rewrote modules to use new data file functions and to avoid using functions from Paths_pandoc directly.
* Cabal file changes.John MacFarlane2012-12-29
* Remove executable and library flags. * Expose `Text.Pandoc.XML` and `Text.Pandoc.Biblio`. * Depend on pandoc library in executable, so we don't recompile everything. * Move pandoc.hs from src/ to .