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
|
2008-08-01 08:35:42 +02:00
|
|
|
Build-Type: Simple
|
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,
|
2008-08-06 01:10:04 +02:00
|
|
|
OpenDocument, ODT, RTF, MediaWiki, groff man pages, and
|
2008-07-27 05:25:51 +02:00
|
|
|
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.
|
2008-07-31 09:57:32 +02:00
|
|
|
Extra-Source-Files: README, INSTALL, COPYRIGHT, COPYING,
|
2008-08-01 08:35:42 +02:00
|
|
|
data/ASCIIMathML.js.comment,
|
|
|
|
data/ASCIIMathML.js.packed,
|
|
|
|
data/headers/ConTeXt.header,
|
|
|
|
data/headers/Docbook.header,
|
|
|
|
data/headers/LaTeX.header,
|
|
|
|
data/headers/OpenDocument.header,
|
|
|
|
data/headers/RTF.header,
|
|
|
|
data/headers/S5.header,
|
|
|
|
data/ui/default/slides.js.comment,
|
|
|
|
data/ui/default/slides.js.packed,
|
|
|
|
data/ui/default/s5-core.css,
|
|
|
|
data/ui/default/framing.css,
|
|
|
|
data/ui/default/pretty.css,
|
|
|
|
data/ui/default/opera.css,
|
|
|
|
data/ui/default/outline.css,
|
|
|
|
data/ui/default/print.css,
|
2008-08-01 08:34:23 +02:00
|
|
|
odt-styles/reference.odt
|
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.
|
2008-08-04 05:15:34 +02:00
|
|
|
Default: False
|
2008-08-01 01:16:12 +02:00
|
|
|
Flag executable
|
|
|
|
Description: Build the pandoc executable.
|
|
|
|
Default: True
|
|
|
|
Flag library
|
|
|
|
Description: Build the pandoc library.
|
|
|
|
Default: True
|
2008-08-03 10:43:28 +02:00
|
|
|
Flag utf8
|
|
|
|
Description: Compile in support for UTF-8 input and output.
|
|
|
|
Default: True
|
2008-08-04 05:15:34 +02:00
|
|
|
Flag citeproc
|
|
|
|
Description: Compile in support for citeproc-hs bibliographic formatting.
|
|
|
|
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-08-04 01:33:40 +02:00
|
|
|
cpp-options: -D_HIGHLIGHTING
|
2008-08-03 10:43:28 +02:00
|
|
|
if flag(utf8)
|
|
|
|
Build-depends: utf8-string
|
2008-08-04 01:33:40 +02:00
|
|
|
cpp-options: -D_UTF8
|
2008-08-04 05:15:34 +02:00
|
|
|
if flag(citeproc)
|
|
|
|
Build-depends: citeproc-hs
|
|
|
|
cpp-options: -D_CITEPROC
|
2008-08-03 10:43:28 +02:00
|
|
|
Build-Depends: parsec < 3, xhtml, mtl, network, filepath, process, directory,
|
2008-08-01 17:17:48 +02:00
|
|
|
template-haskell, bytestring
|
2007-11-29 03:02:38 +01:00
|
|
|
Hs-Source-Dirs: .
|
2007-11-06 01:07:17 +01:00
|
|
|
Exposed-Modules: Text.Pandoc,
|
2008-08-04 05:15:34 +02:00
|
|
|
Text.Pandoc.Biblio,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Blocks,
|
|
|
|
Text.Pandoc.Definition,
|
|
|
|
Text.Pandoc.CharacterReferences,
|
|
|
|
Text.Pandoc.Shared,
|
2008-08-01 01:16:02 +02:00
|
|
|
Text.Pandoc.ODT,
|
2007-11-06 01:07:17 +01:00
|
|
|
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,
|
2008-07-27 05:25:51 +02:00
|
|
|
Text.Pandoc.Writers.MediaWiki,
|
2007-11-06 01:07:17 +01:00
|
|
|
Text.Pandoc.Writers.RTF,
|
|
|
|
Text.Pandoc.Writers.S5
|
2008-08-01 02:45:07 +02:00
|
|
|
Other-Modules: Text.Pandoc.XML,
|
2008-08-02 19:22:55 +02:00
|
|
|
Text.Pandoc.TH,
|
2008-08-01 02:45:07 +02:00
|
|
|
Text.XML.Light,
|
|
|
|
Text.XML.Light.Types,
|
|
|
|
Text.XML.Light.Output,
|
|
|
|
Text.XML.Light.Input,
|
2008-08-01 08:35:42 +02:00
|
|
|
Text.XML.Light.Proc,
|
2008-08-01 02:45:07 +02:00
|
|
|
Text.XML.Light.Cursor
|
2008-08-02 01:29:55 +02:00
|
|
|
Extensions: CPP, TemplateHaskell, FlexibleInstances
|
2008-08-01 01:16:02 +02:00
|
|
|
Ghc-Options: -O2 -Wall -threaded
|
2007-11-22 20:08:34 +01:00
|
|
|
Ghc-Prof-Options: -auto-all
|
2007-11-06 01:07:17 +01:00
|
|
|
|
2008-08-01 01:16:12 +02:00
|
|
|
if flag(library)
|
|
|
|
Buildable: True
|
|
|
|
else
|
|
|
|
Buildable: False
|
|
|
|
|
2007-11-06 01:07:17 +01:00
|
|
|
Executable pandoc
|
2008-08-01 01:16:02 +02:00
|
|
|
Hs-Source-Dirs: .
|
|
|
|
Main-Is: Main.hs
|
|
|
|
Ghc-Options: -O2 -Wall -threaded
|
|
|
|
Ghc-Prof-Options: -auto-all
|
2008-08-04 01:33:40 +02:00
|
|
|
Extensions: CPP
|
2008-08-01 01:16:12 +02:00
|
|
|
|
2008-08-04 01:33:40 +02:00
|
|
|
if flag(highlighting)
|
|
|
|
cpp-options: -D_HIGHLIGHTING
|
2008-08-03 10:43:28 +02:00
|
|
|
if flag(utf8)
|
2008-08-04 01:33:40 +02:00
|
|
|
cpp-options: -D_UTF8
|
2008-08-04 05:15:34 +02:00
|
|
|
if flag(citeproc)
|
|
|
|
Build-depends: citeproc-hs
|
|
|
|
cpp-options: -D_CITEPROC
|
2008-08-01 01:16:12 +02:00
|
|
|
if flag(executable)
|
|
|
|
Buildable: True
|
|
|
|
else
|
|
|
|
Buildable: False
|
2008-08-04 05:15:34 +02:00
|
|
|
|