summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc.hs
Commit message (Collapse)AuthorAge
* Add support for Slideous output.Jonas Smedegaard2012-05-24
|
* Export readDocBook in Text.Pandoc.John MacFarlane2012-05-12
|
* Added skeleton of basic docbook reader.John MacFarlane2012-04-14
|
* Added beamer+lhs as output format.John MacFarlane2012-03-09
|
* Made `beamer` an output format, removed `pdf` as output format.John MacFarlane2012-01-28
| | | | | | | | | | | Removed `--beamer` option; instead, use `beamer` as output format. There is no longer a `pdf` output format; instead, pandoc tries to produce a pdf if the output file has a `.pdf` extension. (The output format can be latex -- the default for pdf output, latex+lhs, or beamer.) This seems more consistent with the way pandoc currently works (e.g. we have an `html5` output format, not an `--html5` option).
* Doc fixes in Text.Pandoc.John MacFarlane2012-01-24
|
* Text.Pandoc: Added ToFilter instance for a -> [a] types.John MacFarlane2012-01-24
|
* Added ToJsonFilter class, deprecated old jsonFilter function.John MacFarlane2012-01-24
|
* Removed `beamer` output format; added `--beamer` option.John MacFarlane2012-01-21
|
* Added Docx writer.John MacFarlane2012-01-19
| | | | | | | | | | | * New module `Text.Pandoc.Docx`. * New output format `docx`. * Added reference.docx. * New option `--reference-docx`. The writer includes support for highlighted code blocks and math (which is converted from TeX to OMML using texmath's new OMML module).
* Made `html5` and `html5+lhs` output formats.John MacFarlane2011-12-29
| | | | | Deprecated the `--html5`/`-5` flag. Use the output format instead.
* Added 'beamer' as an output format.John MacFarlane2011-12-29
| | | | | | | | | Beamer output uses the default LaTeX template, with some customizations via variables. Added `writerBeamer` to `WriterOptions`. Added `--beamer` option to `markdown2pdf`.
* Renamed to AsciiDoc. Fixed display math and escapes.John MacFarlane2011-11-18
| | | | AsciiDoc does not seem to have consistent escaping rules.
* Added an asciidoc writer (partial).John MacFarlane2011-11-16
| | | | | | | | | | | | | Still TODO: - documentation in README - add default.asciidoc to templates/ - lists - tables - proper escaping - footnotes with blank lines - print separately at end? currently they are just ignored. - fix header (date gives weird result on pandoc README)
* Added dzslides output option.John MacFarlane2011-10-01
| | | | | | * Added DZSlides to HTMLSlideVariant. * Added support for dzslides in HTML writer. * Added dzslides template.
* RTF writer: Embed images when possible.John MacFarlane2011-01-28
| | | | | | * Resolves Issue #275. * PNG and JPEG supported. * Export rtfEmbedImage.
* Text.Pandoc: Added jsonFilter for easy construction of scripts.John MacFarlane2011-01-22
| | | | | | | | | | | | | Here's an example of its use: -- removelinks.hs - removes links from document import Text.Pandoc main = interact $ jsonFilter $ bottomUp removeLink removeLink :: Inline -> Inline removeLink (Link xs _) = Emph xs removeLink x = x
* Export readNative in Text.Pandoc.Shared.John MacFarlane2011-01-20
|
* Added Text.Pandoc.Readers.Native (readNative).John MacFarlane2011-01-19
| | | | | | | | | | | | | readNative can now read full pandoc documents, block lists, blocks, inline lists, or inlines. It will interpret Str "hi" as if it were Pandoc (Meta [] [] []) [Plain [Str "hi"]] This should make testing easier.
* Fixed the parser for rst+lhs - set stateLiterateHaskell.John MacFarlane2011-01-14
|
* Text.Pandoc: Improved readers, writers lists for lhs variants.John MacFarlane2011-01-11
| | | | | Now the lhs variants set the needed literate Haskell flag in parser state and writer options.
* Use functions from Text.Pandoc.Generic instead of processWith(M).John MacFarlane2010-12-24
|
* Added support to write natbib or biblatex citations in latex output.Nathan Gass2010-12-13
|
* Added JSON reader and writer.John MacFarlane2010-12-11
|\ | | | | | | | | The JSON reader is about 20x faster than the native reader. So this can be a good way to serialize a pandoc document.
* | Moved 'readers' and 'writers' to Text.Pandoc.John MacFarlane2010-12-10
|/ | | | This allows library users to avoid repetitive case statements...
* Added Org-mode writerPuneeth Chaganti2010-12-04
| | | | | | + Added Text/Pandoc/Writers/Org.hs + Added to pandoc.cabal + Added to pandoc.hs and Text/Pandoc.hs exports.
* Basic Textile Readerpaul.rivier2010-12-03
|
* Merge branch 'textile'John MacFarlane2010-11-27
|\ | | | | | | | | | | | | Conflicts: README man/man1/pandoc.1.md pandoc.cabal
| * Added Textile writer module.John MacFarlane2010-05-17
| |
* | Moved Text.Pandoc.Writers.S5 -> Text.Pandoc.S5.John MacFarlane2010-07-22
| | | | | | | | Now it doesn't export a writer, just some CSS and JS.
* | Moved s5 writing from S5 module to HTML.John MacFarlane2010-07-22
| | | | | | | | | | Now s5 is handled in more or less the same way as slidy, as a variant of HTML.
* | Export HTMLSlideVariant in Text.Pandoc.John MacFarlane2010-07-22
| |
* | Moved Pandoc prettyprinting code from Shared to new Native writer.John MacFarlane2010-07-05
| | | | | | | | | | + Text.Pandoc.Writers.Native + The function prettyPandoc is now gone. Use writeNative instead.
* | Moved parsing functions from Text.Pandoc.Shared to new module.John MacFarlane2010-07-05
| | | | | | | | + Text.Pandoc.Parsing
* | Added an EPUB writer.John MacFarlane2010-07-05
| | | | | | | | | | | | | | | | + New writer module Text.Pandoc.Writers.EPUB + Stylesheet in epub.css + --epub-stylesheet command-line option. + New utility module Text.Pandoc.UUID to generate random UUIDs for EPUBs.
* | Made a proper ODT writer.John MacFarlane2010-07-05
|/ | | | | | | | | | | | | | + Transformed the old Text.Pandoc.ODT module into a proper writer module, Text.Pandoc.Writers.ODT. + Instead of saveOpenDocumentAsODT, we now have writeODT, which takes a Pandoc document and produces a bytestring. saveOpenDocumentAsODT has been removed. + To extract the images and insert them into the ODT, we now use processPandocM on the Pandoc document rather than a custom XML parser. + Handle the case where the image is remote (or not found) by converting the Image element into an Emph with the label. + Plumbing in pandoc.hs changed slightly to accomodate this, and to allow other writers that live in the IO monad.
* Updated copyright notices.John MacFarlane2010-03-23
|
* Added plain writer.fiddlosopher2010-03-18
| | | | | | | | Text.Pandoc.Writers.Markdown now exports a writePlain, which writes plain text without links, pictures, or special formatting (not even markdown conventions). git-svn-id: https://pandoc.googlecode.com/svn/trunk@1907 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use System.IO.UTF8 only if ghc < 6.12.fiddlosopher2009-12-31
| | | | | | | GHC >= 6.12 (base >= 4.2) uses iconv to convert to unicode Strings. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1748 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use Text.Pandoc.Templates instead of Text.Pandoc.DefaultTemplates.fiddlosopher2009-12-31
| | | | | | (in pandoc.hs and Text.Pandoc) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1689 788f1e2b-df1e-0410-8736-df70ead52e1b
* Renamed headers -> templates.fiddlosopher2009-12-31
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1677 788f1e2b-df1e-0410-8736-df70ead52e1b
* Added haddock comments warning that readers assume \n line endings.fiddlosopher2009-10-04
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1608 788f1e2b-df1e-0410-8736-df70ead52e1b
* Export HTMLMathMethod in Text.Pandoc.fiddlosopher2009-05-03
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1575 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use Paths_pandoc to get version number.fiddlosopher2009-04-18
| | | | | | (Instead of hard-coding it into Text/Pandoc.hs.) git-svn-id: https://pandoc.googlecode.com/svn/trunk@1560 788f1e2b-df1e-0410-8736-df70ead52e1b
* Version bump to 1.2.fiddlosopher2009-02-14
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1546 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved all haskell source to src subdirectory.fiddlosopher2009-01-24
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1528 788f1e2b-df1e-0410-8736-df70ead52e1b
* Moved everything from src into the top-level directory.fiddlosopher2007-11-29
| | | | git-svn-id: https://pandoc.googlecode.com/svn/trunk@1104 788f1e2b-df1e-0410-8736-df70ead52e1b
* Reverted back to state as of r1062. The template haskell changesfiddlosopher2007-11-03
| | | | | | | are more trouble than they're worth. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1064 788f1e2b-df1e-0410-8736-df70ead52e1b
* Use template haskell to avoid the need for templates:fiddlosopher2007-11-03
| | | | | | | | | | | | | | | | | | + Added library Text.Pandoc.Include, with a template haskell function $(includeStrFrom fname) to include a file as a string constant at compile time. + This removes the need for the 'templates' directory or Makefile target. These have been removed. + The base source directory has been changed from src to . + A new 'data' directory has been added, containing the ASCIIMathML.js script, writer headers, and S5 files. + The src/wrappers directory has been moved to 'wrappers'. + The Text.Pandoc.ASCIIMathML library is no longer needed, since Text.Pandoc.Writers.HTML can use includeStrFrom to include the ASCIIMathML.js code directly. It has been removed. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1063 788f1e2b-df1e-0410-8736-df70ead52e1b
* Removed 'version' constant from Main.hs; added 'pandocVersion' to Text.Pandoc.fiddlosopher2007-10-15
| | | | | | | | This way all programs that use pandoc libraries will have access to the version number. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1052 788f1e2b-df1e-0410-8736-df70ead52e1b