2007-07-07 07:25:44 +02:00
|
|
|
Name: pandoc
|
2008-01-08 21:25:46 +01:00
|
|
|
Version: 0.47
|
2007-11-06 01:07:17 +01:00
|
|
|
Cabal-Version: >= 1.2
|
2006-10-17 16:22:29 +02:00
|
|
|
License: GPL
|
2006-12-20 04:23:00 +01:00
|
|
|
License-File: COPYING
|
2008-01-08 18:26:16 +01:00
|
|
|
Copyright: (c) 2006-2008 John MacFarlane
|
2007-07-07 23:57:18 +02:00
|
|
|
Author: John MacFarlane <jgm@berkeley.edu>
|
|
|
|
Maintainer: John MacFarlane <jgm@berkeley.edu>
|
2006-12-20 21:20:10 +01:00
|
|
|
Stability: alpha
|
2007-09-13 19:26:01 +02:00
|
|
|
Homepage: http://johnmacfarlane.net/pandoc
|
2008-02-24 06:48:22 +01:00
|
|
|
Package-URL: http://pandoc.googlecode.com/files/pandoc-0.47.tar.gz
|
2006-10-17 16:22:29 +02:00
|
|
|
Category: Text
|
2006-12-20 20:53:56 +01:00
|
|
|
Tested-With: GHC
|
2007-07-16 03:51:03 +02:00
|
|
|
Synopsis: Conversion between markup formats
|
2007-07-12 10:29:36 +02:00
|
|
|
Description: Pandoc is a Haskell library for converting from one markup
|
|
|
|
format to another, and a command-line tool that uses
|
|
|
|
this library. It can read markdown and (subsets of)
|
|
|
|
reStructuredText, HTML, and LaTeX, and it can write
|
2007-07-15 04:58:30 +02:00
|
|
|
markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook,
|
|
|
|
RTF, groff man pages, and S5 HTML slide shows.
|
2007-07-12 10:29:36 +02:00
|
|
|
.
|
|
|
|
Pandoc extends standard markdown syntax with footnotes,
|
|
|
|
embedded LaTeX, definition lists, tables, and other
|
|
|
|
features. A compatibility mode is provided for those
|
|
|
|
who need a drop-in replacement for Markdown.pl.
|
|
|
|
.
|
|
|
|
In contrast to existing tools for converting markdown
|
|
|
|
to HTML, which use regex substitutions, pandoc has
|
|
|
|
a modular design: it consists of a set of readers,
|
|
|
|
which parse text in a given format and produce a native
|
|
|
|
representation of the document, and a set of writers,
|
|
|
|
which convert this native representation into a target
|
|
|
|
format. Thus, adding an input or output format requires
|
|
|
|
only adding a reader or writer.
|
2007-11-06 01:07:17 +01:00
|
|
|
Flag splitBase
|
2007-11-22 20:08:34 +01:00
|
|
|
Description: Choose the new, smaller, split-up base package.
|
|
|
|
Default: True
|
2008-02-09 04:21:19 +01:00
|
|
|
Flag highlighting
|
|
|
|
Description: Compile in support for syntax highlighting of code blocks.
|
|
|
|
Default: False
|
2006-10-17 16:22:29 +02:00
|
|
|
|
2007-11-06 01:07:17 +01:00
|
|
|
Library
|
|
|
|
if flag(splitBase)
|
|
|
|
Build-Depends: base >= 3, pretty, containers
|
|
|
|
else
|
|
|
|
Build-Depends: base < 3
|
2008-02-09 04:21:19 +01:00
|
|
|
if flag(highlighting)
|
|
|
|
Build-depends: highlighting-kate
|
2008-03-06 19:35:55 +01:00
|
|
|
Build-Depends: parsec < 3, xhtml, mtl, network, filepath
|
2007-11-29 03:02:38 +01:00
|
|
|
Hs-Source-Dirs: .
|
2007-11-06 01:07:17 +01:00
|
|
|
Exposed-Modules: Text.Pandoc,
|
|
|
|
Text.Pandoc.Blocks,
|
|
|
|
Text.Pandoc.Definition,
|
|
|
|
Text.Pandoc.CharacterReferences,
|
|
|
|
Text.Pandoc.Shared,
|
|
|
|
Text.Pandoc.UTF8,
|
|
|
|
Text.Pandoc.ASCIIMathML,
|
2008-02-09 04:20:55 +01:00
|
|
|
Text.Pandoc.DefaultHeaders,
|
2008-02-09 04:21:19 +01:00
|
|
|
Text.Pandoc.Highlighting,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Readers.HTML,
|
|
|
|
Text.Pandoc.Readers.LaTeX,
|
|
|
|
Text.Pandoc.Readers.Markdown,
|
|
|
|
Text.Pandoc.Readers.RST,
|
2007-12-02 01:36:32 +01:00
|
|
|
Text.Pandoc.Readers.TeXMath,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.Docbook,
|
|
|
|
Text.Pandoc.Writers.HTML,
|
|
|
|
Text.Pandoc.Writers.LaTeX,
|
|
|
|
Text.Pandoc.Writers.ConTeXt,
|
2008-03-19 19:45:51 +01:00
|
|
|
Text.Pandoc.Writers.OpenDocument,
|
2008-02-24 21:40:17 +01:00
|
|
|
Text.Pandoc.Writers.Texinfo,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.Man,
|
|
|
|
Text.Pandoc.Writers.Markdown,
|
|
|
|
Text.Pandoc.Writers.RST,
|
|
|
|
Text.Pandoc.Writers.RTF,
|
|
|
|
Text.Pandoc.Writers.S5
|
2008-03-19 19:46:01 +01:00
|
|
|
Other-Modules: Text.Pandoc.XML
|
2008-06-17 21:07:21 +02:00
|
|
|
Ghc-Options: -O2 -Wall
|
2007-11-22 20:08:34 +01:00
|
|
|
Ghc-Prof-Options: -auto-all
|
2007-11-06 01:07:17 +01:00
|
|
|
|
|
|
|
Executable pandoc
|
2007-11-29 03:02:38 +01:00
|
|
|
Hs-Source-Dirs: .
|
2007-11-06 01:07:17 +01:00
|
|
|
Main-Is: Main.hs
|
2008-06-17 21:07:21 +02:00
|
|
|
Ghc-Options: -O2 -Wall
|
2007-11-22 20:08:34 +01:00
|
|
|
Ghc-Prof-Options: -auto-all
|