2007-07-07 05:25:44 +00:00
|
|
|
Name: pandoc
|
2008-01-08 20:25:46 +00:00
|
|
|
Version: 0.47
|
2007-11-06 00:07:17 +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
|
2008-01-08 17:26:16 +00:00
|
|
|
Copyright: (c) 2006-2008 John MacFarlane
|
2007-07-07 21:57:18 +00:00
|
|
|
Author: John MacFarlane <jgm@berkeley.edu>
|
|
|
|
Maintainer: John MacFarlane <jgm@berkeley.edu>
|
2006-12-20 20:20:10 +00:00
|
|
|
Stability: alpha
|
2007-09-13 17:26:01 +00:00
|
|
|
Homepage: http://johnmacfarlane.net/pandoc
|
2008-02-24 05:48:22 +00:00
|
|
|
Package-URL: http://pandoc.googlecode.com/files/pandoc-0.47.tar.gz
|
2006-10-17 14:22:29 +00:00
|
|
|
Category: Text
|
2006-12-20 19:53:56 +00:00
|
|
|
Tested-With: GHC
|
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-10 17:34:02 +00:00
|
|
|
OpenDocument, ODT, PDF, 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.
|
2008-08-09 23:45:40 +00:00
|
|
|
Extra-Source-Files:
|
|
|
|
-- documentation
|
|
|
|
README, INSTALL, COPYRIGHT, COPYING, changelog,
|
|
|
|
-- sources for man pages
|
2008-08-10 17:34:02 +00:00
|
|
|
man/man1/pandoc.1.md,
|
2008-08-09 23:45:40 +00:00
|
|
|
man/man1/html2markdown.1.md, man/man1/hsmarkdown.1.md,
|
|
|
|
-- Makefile
|
|
|
|
Makefile,
|
|
|
|
-- wrappers
|
2008-08-10 17:34:02 +00:00
|
|
|
html2markdown, hsmarkdown,
|
2008-08-09 23:45:40 +00:00
|
|
|
-- data for DefaultHeaders.hs
|
2008-08-01 06:35:42 +00:00
|
|
|
data/headers/ConTeXt.header,
|
|
|
|
data/headers/Docbook.header,
|
|
|
|
data/headers/LaTeX.header,
|
|
|
|
data/headers/OpenDocument.header,
|
|
|
|
data/headers/RTF.header,
|
|
|
|
data/headers/S5.header,
|
2008-08-09 23:45:40 +00:00
|
|
|
-- data for ASCIIMathML writer
|
|
|
|
data/ASCIIMathML.js.comment,
|
|
|
|
data/ASCIIMathML.js.packed,
|
|
|
|
-- data for S5 writer
|
2008-08-01 06:35:42 +00:00
|
|
|
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-09 23:45:40 +00:00
|
|
|
-- data for ODT writer
|
|
|
|
odt-styles/meta.xml,
|
|
|
|
odt-styles/content.xml,
|
|
|
|
odt-styles/settings.xml,
|
|
|
|
odt-styles/META-INF/manifest.xml,
|
|
|
|
odt-styles/Thumbnails/thumbnail.png,
|
|
|
|
odt-styles/styles.xml,
|
|
|
|
odt-styles/mimetype,
|
|
|
|
odt-styles/reference.odt,
|
|
|
|
-- tests
|
|
|
|
tests/bodybg.gif,
|
|
|
|
tests/writer.latex,
|
|
|
|
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,
|
|
|
|
tests/tables.markdown,
|
|
|
|
tests/tables.mediawiki,
|
|
|
|
tests/tables.native,
|
|
|
|
tests/tables.opendocument,
|
|
|
|
tests/tables.texinfo,
|
|
|
|
tests/tables.rst,
|
|
|
|
tests/tables.rtf,
|
|
|
|
tests/tables.txt,
|
|
|
|
tests/testsuite.native,
|
|
|
|
tests/testsuite.txt,
|
|
|
|
tests/writer.context,
|
|
|
|
tests/writer.docbook,
|
|
|
|
tests/writer.html,
|
|
|
|
tests/writer.man,
|
|
|
|
tests/writer.markdown,
|
|
|
|
tests/writer.mediawiki,
|
|
|
|
tests/writer.native,
|
|
|
|
tests/writer.opendocument,
|
|
|
|
tests/writer.rst,
|
|
|
|
tests/writer.rtf,
|
|
|
|
tests/writer.texinfo,
|
|
|
|
tests/Diff.hs,
|
|
|
|
tests/RunTests.hs
|
|
|
|
Extra-Tmp-Files: man/man1/pandoc.1, man/man1/hsmarkdown.1,
|
2008-08-10 17:34:02 +00:00
|
|
|
man/man1/html2markdown.1
|
2008-08-09 23:45:40 +00:00
|
|
|
|
2007-11-06 00:07:17 +00:00
|
|
|
Flag splitBase
|
2007-11-22 19:08:34 +00:00
|
|
|
Description: Choose the new, smaller, split-up base package.
|
|
|
|
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
|
|
|
|
Flag library
|
|
|
|
Description: Build the pandoc library.
|
|
|
|
Default: True
|
2008-08-08 00:11:58 +00:00
|
|
|
Flag utf8-string
|
|
|
|
Description: Use utf8-string library for UTF-8 I/O.
|
2008-08-03 08:43:28 +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
|
|
|
|
if flag(splitBase)
|
|
|
|
Build-Depends: base >= 3, pretty, containers
|
|
|
|
else
|
|
|
|
Build-Depends: base < 3
|
2008-02-09 03:21:19 +00:00
|
|
|
if flag(highlighting)
|
|
|
|
Build-depends: highlighting-kate
|
2008-08-03 23:33:40 +00:00
|
|
|
cpp-options: -D_HIGHLIGHTING
|
2008-08-08 00:11:58 +00:00
|
|
|
if flag(utf8-string)
|
2008-08-03 08:43:28 +00:00
|
|
|
Build-depends: utf8-string
|
2008-08-08 00:11:58 +00:00
|
|
|
cpp-options: -D_UTF8STRING
|
|
|
|
else
|
|
|
|
Other-Modules: Text.Pandoc.UTF8
|
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
|
2008-08-03 08:43:28 +00:00
|
|
|
Build-Depends: parsec < 3, xhtml, mtl, network, filepath, process, directory,
|
2008-08-01 15:17:48 +00:00
|
|
|
template-haskell, bytestring
|
2007-11-29 02:02:38 +00:00
|
|
|
Hs-Source-Dirs: .
|
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-08-10 17:33:20 +00:00
|
|
|
Text.Pandoc.PDF,
|
2007-11-06 00:07:17 +00:00
|
|
|
Text.Pandoc.ASCIIMathML,
|
2008-02-09 03:20:55 +00:00
|
|
|
Text.Pandoc.DefaultHeaders,
|
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,
|
|
|
|
Text.Pandoc.Writers.S5
|
2008-08-01 00:45:07 +00:00
|
|
|
Other-Modules: Text.Pandoc.XML,
|
2008-08-02 17:22:55 +00:00
|
|
|
Text.Pandoc.TH,
|
2008-08-01 00:45:07 +00:00
|
|
|
Text.XML.Light,
|
|
|
|
Text.XML.Light.Types,
|
|
|
|
Text.XML.Light.Output,
|
|
|
|
Text.XML.Light.Input,
|
2008-08-01 06:35:42 +00:00
|
|
|
Text.XML.Light.Proc,
|
2008-08-01 00:45:07 +00:00
|
|
|
Text.XML.Light.Cursor
|
2008-08-01 23:29:55 +00:00
|
|
|
Extensions: CPP, TemplateHaskell, FlexibleInstances
|
2008-07-31 23:16:02 +00:00
|
|
|
Ghc-Options: -O2 -Wall -threaded
|
2007-11-22 19:08:34 +00:00
|
|
|
Ghc-Prof-Options: -auto-all
|
2007-11-06 00:07:17 +00:00
|
|
|
|
2008-07-31 23:16:12 +00:00
|
|
|
if flag(library)
|
|
|
|
Buildable: True
|
|
|
|
else
|
|
|
|
Buildable: False
|
|
|
|
|
2007-11-06 00:07:17 +00:00
|
|
|
Executable pandoc
|
2008-07-31 23:16:02 +00:00
|
|
|
Hs-Source-Dirs: .
|
|
|
|
Main-Is: Main.hs
|
|
|
|
Ghc-Options: -O2 -Wall -threaded
|
|
|
|
Ghc-Prof-Options: -auto-all
|
2008-08-03 23:33:40 +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-08 00:11:58 +00:00
|
|
|
if flag(utf8-string)
|
|
|
|
Build-depends: utf8-string
|
|
|
|
cpp-options: -D_UTF8STRING
|
|
|
|
else
|
|
|
|
Other-Modules: Text.Pandoc.UTF8
|
2008-08-04 03:15:34 +00:00
|
|
|
if flag(citeproc)
|
|
|
|
Build-depends: citeproc-hs
|
|
|
|
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
|
|
|
|