2007-07-07 05:25:44 +00:00
|
|
|
Name: pandoc
|
2010-03-29 07:15:28 -07:00
|
|
|
Version: 1.5.1.1
|
2009-02-26 15:58:32 +00:00
|
|
|
Cabal-Version: >= 1.2
|
2008-08-09 16:51:08 +00:00
|
|
|
Build-Type: Custom
|
2006-10-17 14:22:29 +00:00
|
|
|
License: GPL
|
2006-12-20 03:23:00 +00:00
|
|
|
License-File: COPYING
|
2009-12-31 22:44:08 +00:00
|
|
|
Copyright: (c) 2006-2010 John MacFarlane
|
2007-07-07 21:57:18 +00:00
|
|
|
Author: John MacFarlane <jgm@berkeley.edu>
|
|
|
|
Maintainer: John MacFarlane <jgm@berkeley.edu>
|
2008-12-23 02:57:00 +00:00
|
|
|
Bug-Reports: http://code.google.com/p/pandoc/issues/list
|
2006-12-20 20:20:10 +00:00
|
|
|
Stability: alpha
|
2007-09-13 17:26:01 +00:00
|
|
|
Homepage: http://johnmacfarlane.net/pandoc
|
2006-10-17 14:22:29 +00:00
|
|
|
Category: Text
|
2009-12-31 16:48:41 +00:00
|
|
|
Tested-With: GHC == 6.10.4, GHC == 6.12.1
|
2007-07-16 01:51:03 +00:00
|
|
|
Synopsis: Conversion between markup formats
|
2007-07-12 08:29:36 +00: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 02:58:30 +00:00
|
|
|
markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook,
|
2008-08-27 05:50:26 +00:00
|
|
|
OpenDocument, ODT, RTF, MediaWiki, groff man pages, and
|
2008-07-27 03:25:51 +00:00
|
|
|
S5 HTML slide shows.
|
2007-07-12 08:29:36 +00: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.
|
2010-03-18 02:39:23 +00:00
|
|
|
Data-Files:
|
2009-12-31 01:11:13 +00:00
|
|
|
-- templates
|
|
|
|
templates/html.template, templates/docbook.template,
|
2009-12-31 01:10:42 +00:00
|
|
|
templates/opendocument.template, templates/latex.template,
|
|
|
|
templates/context.template, templates/texinfo.template,
|
|
|
|
templates/man.template, templates/markdown.template,
|
2010-03-18 06:45:43 +00:00
|
|
|
templates/rst.template, templates/plain.template,
|
2009-12-31 01:11:13 +00:00
|
|
|
templates/mediawiki.template, templates/rtf.template,
|
|
|
|
-- data for ODT writer
|
2009-12-31 22:40:59 +00:00
|
|
|
reference.odt,
|
2008-08-13 03:02:42 +00:00
|
|
|
-- data for LaTeXMathML writer
|
2010-03-18 06:45:56 +00:00
|
|
|
data/LaTeXMathML.js,
|
|
|
|
data/MathMLinHTML.js,
|
2008-08-09 23:45:40 +00:00
|
|
|
-- data for S5 writer
|
2010-01-01 01:25:24 +00:00
|
|
|
s5/default/slides.js.comment,
|
|
|
|
s5/default/slides.js.packed,
|
|
|
|
s5/default/s5-core.css,
|
|
|
|
s5/default/framing.css,
|
|
|
|
s5/default/pretty.css,
|
|
|
|
s5/default/opera.css,
|
|
|
|
s5/default/outline.css,
|
|
|
|
s5/default/print.css,
|
2009-12-31 01:11:13 +00:00
|
|
|
-- documentation
|
2010-04-06 23:00:42 -07:00
|
|
|
README, INSTALL, COPYRIGHT, BUGS, changelog
|
2009-12-31 01:11:13 +00:00
|
|
|
Extra-Source-Files:
|
|
|
|
-- sources for man pages
|
|
|
|
man/man1/pandoc.1.md, man/man1/markdown2pdf.1.md,
|
2008-08-09 23:45:40 +00:00
|
|
|
-- tests
|
|
|
|
tests/bodybg.gif,
|
|
|
|
tests/html-reader.html,
|
|
|
|
tests/html-reader.native,
|
|
|
|
tests/insert,
|
|
|
|
tests/lalune.jpg,
|
2008-08-11 06:57:53 +00:00
|
|
|
tests/movie.jpg,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/latex-reader.latex,
|
|
|
|
tests/latex-reader.native,
|
2008-08-11 06:57:53 +00:00
|
|
|
tests/markdown-reader-more.txt,
|
|
|
|
tests/markdown-reader-more.native,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/rst-reader.native,
|
|
|
|
tests/rst-reader.rst,
|
|
|
|
tests/s5.basic.html,
|
|
|
|
tests/s5.fancy.html,
|
|
|
|
tests/s5.fragment.html,
|
|
|
|
tests/s5.inserts.html,
|
|
|
|
tests/s5.native,
|
|
|
|
tests/tables.context,
|
|
|
|
tests/tables.docbook,
|
|
|
|
tests/tables.html,
|
|
|
|
tests/tables.latex,
|
|
|
|
tests/tables.man,
|
2010-03-20 14:47:57 -07:00
|
|
|
tests/tables.plain,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/tables.markdown,
|
|
|
|
tests/tables.mediawiki,
|
|
|
|
tests/tables.native,
|
|
|
|
tests/tables.opendocument,
|
|
|
|
tests/tables.texinfo,
|
|
|
|
tests/tables.rst,
|
|
|
|
tests/tables.rtf,
|
|
|
|
tests/tables.txt,
|
2010-03-20 14:47:57 -07:00
|
|
|
tests/tables-rstsubset.native,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/testsuite.native,
|
|
|
|
tests/testsuite.txt,
|
2010-03-20 14:47:57 -07:00
|
|
|
tests/writer.latex,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/writer.context,
|
|
|
|
tests/writer.docbook,
|
|
|
|
tests/writer.html,
|
|
|
|
tests/writer.man,
|
|
|
|
tests/writer.markdown,
|
2010-03-20 14:47:57 -07:00
|
|
|
tests/writer.plain,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/writer.mediawiki,
|
|
|
|
tests/writer.native,
|
|
|
|
tests/writer.opendocument,
|
|
|
|
tests/writer.rst,
|
|
|
|
tests/writer.rtf,
|
|
|
|
tests/writer.texinfo,
|
2009-02-14 18:54:30 +00:00
|
|
|
tests/lhs-test.native,
|
|
|
|
tests/lhs-test.markdown,
|
|
|
|
tests/lhs-test.markdown+lhs,
|
|
|
|
tests/lhs-test.rst,
|
|
|
|
tests/lhs-test.rst+lhs,
|
|
|
|
tests/lhs-test.latex,
|
|
|
|
tests/lhs-test.latex+lhs,
|
|
|
|
tests/lhs-test.html,
|
|
|
|
tests/lhs-test.html+lhs,
|
|
|
|
tests/lhs-test.fragment.html+lhs,
|
2008-08-09 23:45:40 +00:00
|
|
|
tests/RunTests.hs
|
2010-02-06 18:55:28 +00:00
|
|
|
Extra-Tmp-Files: man/man1/pandoc.1, man/man1/markdown2pdf.1
|
2008-08-09 23:45:40 +00:00
|
|
|
|
2010-04-20 22:59:38 -07:00
|
|
|
Flag threaded
|
|
|
|
Description: Compile markdown2pdf with -threaded option.
|
|
|
|
Default: True
|
2008-02-09 03:21:19 +00:00
|
|
|
Flag highlighting
|
|
|
|
Description: Compile in support for syntax highlighting of code blocks.
|
2008-08-04 03:15:34 +00:00
|
|
|
Default: False
|
2008-07-31 23:16:12 +00:00
|
|
|
Flag executable
|
|
|
|
Description: Build the pandoc executable.
|
|
|
|
Default: True
|
2009-01-31 18:30:26 +00:00
|
|
|
Flag wrappers
|
2010-02-06 18:55:28 +00:00
|
|
|
Description: Build the wrappers (markdown2pdf).
|
2009-12-07 08:26:22 +00:00
|
|
|
Default: True
|
2008-08-04 03:15:34 +00:00
|
|
|
Flag citeproc
|
|
|
|
Description: Compile in support for citeproc-hs bibliographic formatting.
|
|
|
|
Default: False
|
2006-10-17 14:22:29 +00:00
|
|
|
|
2007-11-06 00:07:17 +00:00
|
|
|
Library
|
2008-12-01 04:54:29 +00:00
|
|
|
Build-Depends: pretty >= 1, containers >= 0.1,
|
2010-04-23 22:43:47 -07:00
|
|
|
parsec >= 2.1, xhtml >= 3000.0,
|
2008-09-10 21:57:45 +00:00
|
|
|
mtl >= 1.1, network >= 2, filepath >= 1.1,
|
2010-01-03 08:24:54 +00:00
|
|
|
process >= 1, directory >= 1,
|
2009-12-31 22:40:59 +00:00
|
|
|
bytestring >= 0.9, zip-archive >= 0.1.1.4,
|
2010-02-02 07:37:01 +00:00
|
|
|
utf8-string >= 0.3, old-time >= 1,
|
2010-03-19 02:33:15 +00:00
|
|
|
HTTP >= 4000.0.5, texmath, xml >= 1.3.5 && < 1.4,
|
|
|
|
extensible-exceptions
|
2008-12-01 04:54:29 +00:00
|
|
|
if impl(ghc >= 6.10)
|
2009-07-04 07:27:17 +00:00
|
|
|
Build-depends: base >= 4 && < 5, syb
|
2008-12-01 04:54:29 +00:00
|
|
|
else
|
2010-03-19 02:33:15 +00:00
|
|
|
Build-depends: base >= 3 && < 4
|
2008-02-09 03:21:19 +00:00
|
|
|
if flag(highlighting)
|
2008-09-10 21:57:45 +00:00
|
|
|
Build-depends: highlighting-kate >= 0.2.3
|
2008-08-03 23:33:40 +00:00
|
|
|
cpp-options: -D_HIGHLIGHTING
|
2008-08-04 03:15:34 +00:00
|
|
|
if flag(citeproc)
|
|
|
|
Build-depends: citeproc-hs
|
2008-08-12 01:23:17 +00:00
|
|
|
Exposed-Modules: Text.Pandoc.Biblio
|
2008-08-04 03:15:34 +00:00
|
|
|
cpp-options: -D_CITEPROC
|
2009-01-24 20:00:26 +00:00
|
|
|
Hs-Source-Dirs: src
|
2007-11-06 00:07:17 +00:00
|
|
|
Exposed-Modules: Text.Pandoc,
|
|
|
|
Text.Pandoc.Blocks,
|
|
|
|
Text.Pandoc.Definition,
|
|
|
|
Text.Pandoc.CharacterReferences,
|
|
|
|
Text.Pandoc.Shared,
|
2008-07-31 23:16:02 +00:00
|
|
|
Text.Pandoc.ODT,
|
2008-02-09 03:21:19 +00:00
|
|
|
Text.Pandoc.Highlighting,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Readers.HTML,
|
|
|
|
Text.Pandoc.Readers.LaTeX,
|
|
|
|
Text.Pandoc.Readers.Markdown,
|
|
|
|
Text.Pandoc.Readers.RST,
|
2007-12-02 00:36:32 +00:00
|
|
|
Text.Pandoc.Readers.TeXMath,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Writers.Docbook,
|
|
|
|
Text.Pandoc.Writers.HTML,
|
|
|
|
Text.Pandoc.Writers.LaTeX,
|
|
|
|
Text.Pandoc.Writers.ConTeXt,
|
2008-03-19 18:45:51 +00:00
|
|
|
Text.Pandoc.Writers.OpenDocument,
|
2008-02-24 20:40:17 +00:00
|
|
|
Text.Pandoc.Writers.Texinfo,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Writers.Man,
|
|
|
|
Text.Pandoc.Writers.Markdown,
|
|
|
|
Text.Pandoc.Writers.RST,
|
2008-07-27 03:25:51 +00:00
|
|
|
Text.Pandoc.Writers.MediaWiki,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.Writers.RTF,
|
2009-12-31 01:10:49 +00:00
|
|
|
Text.Pandoc.Writers.S5,
|
|
|
|
Text.Pandoc.Templates
|
2008-08-01 00:45:07 +00:00
|
|
|
Other-Modules: Text.Pandoc.XML,
|
2010-05-06 20:27:10 -07:00
|
|
|
Text.Pandoc.UTF8,
|
2009-04-18 16:15:56 +00:00
|
|
|
Paths_pandoc
|
2009-12-31 16:48:05 +00:00
|
|
|
Extensions: CPP
|
2009-12-31 16:48:50 +00:00
|
|
|
if impl(ghc >= 6.12)
|
|
|
|
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
|
|
|
|
else
|
|
|
|
Ghc-Options: -O2 -Wall
|
2009-04-29 19:29:09 +00:00
|
|
|
Ghc-Prof-Options: -auto-all -caf-all
|
2010-04-10 11:16:48 -07:00
|
|
|
Buildable: True
|
2008-07-31 23:16:12 +00:00
|
|
|
|
2007-11-06 00:07:17 +00:00
|
|
|
Executable pandoc
|
2009-01-24 20:00:26 +00:00
|
|
|
Hs-Source-Dirs: src
|
2009-01-31 17:13:30 +00:00
|
|
|
Main-Is: pandoc.hs
|
2009-12-31 16:48:50 +00:00
|
|
|
if impl(ghc >= 6.12)
|
2010-04-20 22:59:38 -07:00
|
|
|
Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
|
2009-12-31 16:48:50 +00:00
|
|
|
else
|
2010-04-20 22:59:38 -07:00
|
|
|
Ghc-Options: -O2 -Wall
|
2009-04-29 19:28:45 +00:00
|
|
|
Ghc-Prof-Options: -auto-all -caf-all
|
2009-12-31 16:48:05 +00:00
|
|
|
Extensions: CPP
|
2008-07-31 23:16:12 +00:00
|
|
|
|
2008-08-03 23:33:40 +00:00
|
|
|
if flag(highlighting)
|
|
|
|
cpp-options: -D_HIGHLIGHTING
|
2008-08-04 03:15:34 +00:00
|
|
|
if flag(citeproc)
|
2008-12-29 22:45:18 +00:00
|
|
|
Build-depends: citeproc-hs >= 0.2
|
2008-08-04 03:15:34 +00:00
|
|
|
cpp-options: -D_CITEPROC
|
2008-07-31 23:16:12 +00:00
|
|
|
if flag(executable)
|
|
|
|
Buildable: True
|
|
|
|
else
|
|
|
|
Buildable: False
|
2008-08-04 03:15:34 +00:00
|
|
|
|
2009-05-01 04:18:14 +00:00
|
|
|
Executable markdown2pdf
|
|
|
|
Hs-Source-Dirs: src
|
|
|
|
Main-Is: markdown2pdf.hs
|
2010-04-20 22:59:38 -07:00
|
|
|
if flag(threaded)
|
|
|
|
Ghc-Options: -Wall -threaded
|
|
|
|
else
|
|
|
|
Ghc-Options: -Wall
|
2009-05-01 04:18:14 +00:00
|
|
|
Ghc-Prof-Options: -auto-all
|
2009-12-31 16:48:05 +00:00
|
|
|
Extensions: CPP
|
2009-06-25 01:12:07 +00:00
|
|
|
if flag(wrappers)
|
|
|
|
Buildable: True
|
|
|
|
else
|
|
|
|
Buildable: False
|
2009-05-01 04:18:14 +00:00
|
|
|
|