git.iko.soy/typeable/pandoc
on 1.0 help sign in
history ofMain.hs
all commits
000b89cUse Data.List's 'intercalate' instead of custom 'joinWithSep'.fiddlosopher 3d2ff3dRemoved PDF writer from core pandoc, restored markdown2pdf.fiddlosopher d00da31Simplified and improved UTF8 handling:fiddlosopher f53fb55Support for display math; changed ASCIIMathML -> LaTeXMathML: Resolves Issue #47.fiddlosopher 0f4bdc6Added Text.Pandoc.PDF module, 'pdf' as new output option.fiddlosopher 80715bdAdded Text.Pandoc.UTF8 as a backup for when utf8-string is not present.fiddlosopher 1bfe1b8Added support for Cite to Markdown reader, and conditional support for citeproc module. + The citeproc cabal configuration option sets the _CITEPROC macro, which conditionally includes code for handling citations. + Added Text.Pandoc.Biblio module. + Made highlighting option default to False.fiddlosopher 6ff1e2aImproved configuration options and CPP macros.fiddlosopher ed4b003Added 'utf8' configuration flag to pandoc.cabal. This makes it possible to compile pandoc without utf8, using '-f-utf8' at configuration time. Utf-8 support is still the default.fiddlosopher 8440385Compatibility fixes for CPP, Cabal, and haddock: + Use CPP in "Extensions" field in pandoc.cabal. + Removed use of backslash string continuations in source files.fiddlosopher ebcebccUse utf8-string's System.IO.UTF8 to replace Text.Pandoc.UTF8. + removed Text/Pandoc/UTF8.hs + removed UTF8.hs notice from debian/copyright + adjusted main.hs, Text/Pandoc.hs, and Text/Pandoc/ODT.hs to use System.IO.UTF8 instead of Text.Pandoc.UTF8 + Added dependency on utf8-string to pandoc.cabalfiddlosopher d072ad4Added 'odt' output option to pandoc: Not a writer, but a module that inserts the output of the OpenDocument writer into an ODT archive. This replaces markdown2odt.fiddlosopher ddaec05Added MediaWiki writer.fiddlosopher a8920f4Cleaned up Main.hs to eliminate -Wall warnings.fiddlosopher 2baf6d0Andrea Rossato's patch for OpenDocument support.fiddlosopher 858269dChanges to Texinfo writer: + No space between paragraph and following @verbatim (provides more pleasing appearance in text formats) + Blank line consistently after list environments. + Removed deVerb. + Use @code instead of @verb for inline code (this solves the character escaping problem for texi2dvi and texi2pdf). + Modified test suite accordingly. + Added Peter Wang to copyright statement (for Texinfo.hs). + Added news of Texinfo writer to README. + Added Texinfo to list of formats in man page, and removed extra 'groff'. + Updated macports with Texinfo format. + Updated FreeBSD pkg-descr with Texinfo format. + Updated web page with Texinfo writer. + Added demos for Texinfo writer. + Added Texinfo to package description in debian/control. + Added texi & texinfo extensions to Main.hs, and fixed bug in determining default output extension. + Changed from texinfo to texi extension in web demo.fiddlosopher 49e0e50Committed novalazy's initial patch for texinfo output, including tests for texinfo writer.fiddlosopher d4d905fHave --version print a list of supported languages for syntax highlighting.fiddlosopher 04b3245Added build option for syntax highlighting, with *optional* dependency on highlighting-kate. + pandoc.cabal includes a flag, 'highlighting', that causes a dependency on highlighting-kate. + if Setup.hs detects this dependency, it copies templates/Highlighting.yes.hs to Text/Pandoc/Highlighting.hs. Otherwise, it copies templates/Highlighting.no.hs. + The HTML writer imports this new module instead of Text.Highlighting.Kate. The new module exports highlightHtml, which either uses highlighting-kate to perform syntax highlighting or automatically returns a failure code, depending on whether highlighting support was selected. + --version now prints information about whether syntax highlighting support is compiled in.fiddlosopher ba6981aRemoved Text.Regex dependencies by rewriting using plain Haskell: + from Text.Pandoc.Writers.RTF + from Text.Pandoc.Writers.HTML + from Main + from pandoc.cabalfiddlosopher d474852Removed unnecessary imports.fiddlosopher c453e2fMade -c/--css option repeatable on the command line (like -H, -A, -B). Documented repeatability of these options in README.fiddlosopher 8fca649Changed copyright dates where appropriate to include 2008.fiddlosopher 5df912bAdded optional HTML sanitization using a whitelist. When this option is specified (--sanitize-html on the command line), unsafe HTML tags will be replaced by HTML comments, and unsafe HTML attributes will be removed. This option should be especially useful for those who want to use pandoc libraries in web applications, where users will provide the input.fiddlosopher a505f70Made -H, -A, and -B cumulative: if they are specified multiple times, multiple files will be included.fiddlosopher ef028feAdded --gladtex and --mimetex options. + New HTMLMathMethod structure in WriterOptions keeps track of how to display math in HTML output. + If none of the special options are selected, default to displaying TeX math verbatim, with no enclosing $'s, in HTML.fiddlosopher 0b15448Added HTMLMathMethod writer option. This selects between asciimathml, mimetex, gladtex, and plain math.fiddlosopher 9a67a48Moved everything from src into the top-level directory.fiddlosopher fe68476Reverted back to state as of r1062. The template haskell changes are more trouble than they're worth.fiddlosopher 4a841bfUse template haskell to avoid the need for templates: + 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.fiddlosopher