git.iko.soy/typeable/pandoc
on issue1234 help sign in
typeable/pandoc/pandoc.cabal
409 lines 17 kB history raw
1Name: pandoc
2Version: 1.12.4
3Cabal-Version: >= 1.10
4Build-Type: Custom
5License: GPL
6License-File: COPYING
7Copyright: (c) 2006-2013 John MacFarlane
8Author: John MacFarlane <jgm@berkeley.edu>
9Maintainer: John MacFarlane <jgm@berkeley.edu>
10Bug-Reports: https://github.com/jgm/pandoc/issues
11Stability: alpha
12Homepage: http://johnmacfarlane.net/pandoc
13Category: Text
14Tested-With: GHC == 7.4.2, GHC == 7.6.3, GHC == 7.8.1
15Synopsis: Conversion between markup formats
16Description: Pandoc is a Haskell library for converting from one markup
17 format to another, and a command-line tool that uses
18 this library. It can read markdown and (subsets of) HTML,
19 reStructuredText, LaTeX, DocBook, MediaWiki markup, Haddock
20 markup, OPML, Emacs Org-Mode, and Textile, and it can write
21 markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook, OPML,
22 OpenDocument, ODT, Word docx, RTF, MediaWiki, Textile,
23 groff man pages, plain text, Emacs Org-Mode, AsciiDoc,
24 EPUB (v2 and v3), FictionBook2, InDesign ICML, and several kinds
25 of HTML/javascript slide shows (S5, Slidy, Slideous, DZSlides,
26 reveal.js).
27 .
28 Pandoc extends standard markdown syntax with footnotes,
29 embedded LaTeX, definition lists, tables, and other
30 features. A compatibility mode is provided for those
31 who need a drop-in replacement for Markdown.pl.
32 .
33 In contrast to existing tools for converting markdown
34 to HTML, which use regex substitutions, pandoc has
35 a modular design: it consists of a set of readers,
36 which parse text in a given format and produce a native
37 representation of the document, and a set of writers,
38 which convert this native representation into a target
39 format. Thus, adding an input or output format requires
40 only adding a reader or writer.
41Data-Files:
42 -- templates
43 data/templates/default.html,
44 data/templates/default.html5,
45 data/templates/default.docbook,
46 data/templates/default.beamer,
47 data/templates/default.opendocument,
48 data/templates/default.opml,
49 data/templates/default.latex,
50 data/templates/default.context,
51 data/templates/default.texinfo,
52 data/templates/default.man,
53 data/templates/default.markdown,
54 data/templates/default.rst,
55 data/templates/default.plain,
56 data/templates/default.mediawiki,
57 data/templates/default.rtf,
58 data/templates/default.s5,
59 data/templates/default.slidy,
60 data/templates/default.slideous,
61 data/templates/default.revealjs,
62 data/templates/default.dzslides,
63 data/templates/default.asciidoc,
64 data/templates/default.textile,
65 data/templates/default.org,
66 data/templates/default.epub,
67 data/templates/default.epub3,
68 -- data for ODT writer
69 data/reference.odt,
70 -- data for docx writer
71 data/reference.docx,
72 -- stylesheet for EPUB writer
73 data/epub.css,
74 -- data for LaTeXMathML writer
75 data/LaTeXMathML.js,
76 data/MathMLinHTML.js,
77 -- data for dzslides writer
78 data/dzslides/template.html,
79 -- sample lua custom writer
80 data/sample.lua
81 -- documentation
82 README, COPYRIGHT
83Extra-Source-Files:
84 -- documentation
85 INSTALL, BUGS, CONTRIBUTING.md, changelog
86 -- code to create pandoc.1 man page
87 man/man1/pandoc.1.template,
88 man/man5/pandoc_markdown.5.template,
89 -- generated man pages (produced post-build)
90 man/man1/pandoc.1,
91 man/man5/pandoc_markdown.5,
92 -- tests
93 tests/bodybg.gif,
94 tests/docbook-reader.docbook
95 tests/docbook-reader.native
96 tests/html-reader.html,
97 tests/html-reader.native,
98 tests/opml-reader.opml,
99 tests/opml-reader.native,
100 tests/haddock-reader.haddock,
101 tests/haddock-reader.native,
102 tests/insert,
103 tests/lalune.jpg,
104 tests/movie.jpg,
105 tests/latex-reader.latex,
106 tests/latex-reader.native,
107 tests/textile-reader.textile,
108 tests/textile-reader.native,
109 tests/markdown-reader-more.txt,
110 tests/markdown-reader-more.native,
111 tests/markdown-citations.txt,
112 tests/markdown-citations.native,
113 tests/textile-reader.textile,
114 tests/mediawiki-reader.wiki,
115 tests/mediawiki-reader.native,
116 tests/rst-reader.native,
117 tests/rst-reader.rst,
118 tests/s5.basic.html,
119 tests/s5.fancy.html,
120 tests/s5.fragment.html,
121 tests/s5.inserts.html,
122 tests/s5.native,
123 tests/tables.context,
124 tests/tables.docbook,
125 tests/tables.html,
126 tests/tables.latex,
127 tests/tables.man,
128 tests/tables.plain,
129 tests/tables.markdown,
130 tests/tables.mediawiki,
131 tests/tables.textile,
132 tests/tables.native,
133 tests/tables.opendocument,
134 tests/tables.org,
135 tests/tables.asciidoc,
136 tests/tables.texinfo,
137 tests/tables.rst,
138 tests/tables.rtf,
139 tests/tables.txt,
140 tests/tables-rstsubset.native,
141 tests/tables.fb2,
142 tests/testsuite.native,
143 tests/testsuite.txt,
144 tests/writer.latex,
145 tests/writer.context,
146 tests/writer.docbook,
147 tests/writer.html,
148 tests/writer.man,
149 tests/writer.markdown,
150 tests/writer.plain,
151 tests/writer.mediawiki,
152 tests/writer.textile,
153 tests/writer.native,
154 tests/writer.opendocument,
155 tests/writer.org,
156 tests/writer.asciidoc,
157 tests/writer.rst,
158 tests/writer.rtf,
159 tests/writer.texinfo,
160 tests/writer.fb2,
161 tests/writer.opml,
162 tests/lhs-test.native,
163 tests/lhs-test-markdown.native,
164 tests/lhs-test.markdown,
165 tests/lhs-test.markdown+lhs,
166 tests/lhs-test.rst,
167 tests/lhs-test.rst+lhs,
168 tests/lhs-test.latex,
169 tests/lhs-test.latex+lhs,
170 tests/lhs-test.html,
171 tests/lhs-test.html+lhs,
172 tests/lhs-test.fragment.html+lhs,
173 tests/pipe-tables.txt,
174 tests/pipe-tables.native,
175 tests/fb2.basic.markdown,
176 tests/fb2.basic.fb2,
177 tests/fb2.titles.markdown,
178 tests/fb2.titles.fb2,
179 tests/fb2.images.markdown,
180 tests/fb2.images.fb2,
181 tests/fb2.images-embedded.html,
182 tests/fb2.images-embedded.fb2,
183 tests/fb2.math.markdown,
184 tests/fb2.math.fb2,
185 tests/fb2.test-small.png,
186 tests/fb2.test.jpg
187Extra-Tmp-Files: man/man1/pandoc.1,
188 man/man5/pandoc_markdown.5
190Source-repository head
191 type: git
192 location: git://github.com/jgm/pandoc.git
194Flag embed_data_files
195 Description: Embed data files in binary for relocatable executable.
196 Default: False
198Flag http-conduit
199 Description: Enable downloading of resources over https.
200 Default: True
202Library
203 Build-Depends: base >= 4.2 && <5,
204 syb >= 0.1 && < 0.5,
205 containers >= 0.1 && < 0.6,
206 unordered-containers >= 0.2 && < 0.3,
207 array >= 0.3 && < 0.6,
208 parsec >= 3.1 && < 3.2,
209 mtl >= 1.1 && < 2.2,
210 network >= 2 && < 2.6,
211 filepath >= 1.1 && < 1.4,
212 process >= 1 && < 1.3,
213 directory >= 1 && < 1.3,
214 bytestring >= 0.9 && < 0.11,
215 text >= 0.11 && < 1.2,
216 zip-archive >= 0.1.3.3 && < 0.3,
217 old-locale >= 1 && < 1.1,
218 time >= 1.2 && < 1.5,
219 HTTP >= 4000.0.5 && < 4000.3,
220 texmath >= 0.6.6 && < 0.7,
221 xml >= 1.3.12 && < 1.4,
222 random >= 1 && < 1.1,
223 extensible-exceptions >= 0.1 && < 0.2,
224 pandoc-types >= 1.12.3.3 && < 1.13,
225 aeson >= 0.7 && < 0.8,
226 tagsoup >= 0.13.1 && < 0.14,
227 base64-bytestring >= 0.1 && < 1.1,
228 zlib >= 0.5 && < 0.6,
229 highlighting-kate >= 0.5.6 && < 0.6,
230 data-default >= 0.4 && < 0.6,
231 temporary >= 1.1 && < 1.3,
232 blaze-html >= 0.5 && < 0.8,
233 blaze-markup >= 0.5.1 && < 0.7,
234 attoparsec >= 0.10 && < 0.12,
235 yaml >= 0.8.8.2 && < 0.9,
236 scientific >= 0.2 && < 0.3,
237 vector >= 0.10 && < 0.11,
238 hslua >= 0.3 && < 0.4,
239 binary >= 0.5 && < 0.8
240 Build-Tools: alex, happy
241 if flag(http-conduit)
242 Build-Depends: http-conduit >= 1.9 && < 2.2,
243 http-types >= 0.8 && < 0.9
244 cpp-options: -DHTTP_CONDUIT
245 if flag(embed_data_files)
246 cpp-options: -DEMBED_DATA_FILES
247 -- Build-Tools: hsb2hs -- not yet recognized by cabal
248 other-modules: Text.Pandoc.Data
249 if os(windows)
250 Cpp-options: -D_WINDOWS
251 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
252 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
253 Default-Language: Haskell98
254 Other-Extensions: PatternGuards, OverloadedStrings,
255 ScopedTypeVariables, GeneralizedNewtypeDeriving,
256 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
257 FlexibleInstances
258 Hs-Source-Dirs: src
260 Exposed-Modules: Text.Pandoc,
261 Text.Pandoc.Options,
262 Text.Pandoc.Pretty,
263 Text.Pandoc.Shared,
264 Text.Pandoc.Readers.HTML,
265 Text.Pandoc.Readers.LaTeX,
266 Text.Pandoc.Readers.Markdown,
267 Text.Pandoc.Readers.MediaWiki,
268 Text.Pandoc.Readers.RST,
269 Text.Pandoc.Readers.Org,
270 Text.Pandoc.Readers.DocBook,
271 Text.Pandoc.Readers.OPML,
272 Text.Pandoc.Readers.TeXMath,
273 Text.Pandoc.Readers.Textile,
274 Text.Pandoc.Readers.Native,
275 Text.Pandoc.Readers.Haddock,
276 Text.Pandoc.Writers.Native,
277 Text.Pandoc.Writers.Docbook,
278 Text.Pandoc.Writers.OPML,
279 Text.Pandoc.Writers.HTML,
280 Text.Pandoc.Writers.ICML,
281 Text.Pandoc.Writers.LaTeX,
282 Text.Pandoc.Writers.ConTeXt,
283 Text.Pandoc.Writers.OpenDocument,
284 Text.Pandoc.Writers.Texinfo,
285 Text.Pandoc.Writers.Man,
286 Text.Pandoc.Writers.Markdown,
287 Text.Pandoc.Writers.RST,
288 Text.Pandoc.Writers.Org,
289 Text.Pandoc.Writers.AsciiDoc,
290 Text.Pandoc.Writers.Custom,
291 Text.Pandoc.Writers.Textile,
292 Text.Pandoc.Writers.MediaWiki,
293 Text.Pandoc.Writers.RTF,
294 Text.Pandoc.Writers.ODT,
295 Text.Pandoc.Writers.Docx,
296 Text.Pandoc.Writers.EPUB,
297 Text.Pandoc.Writers.FB2,
298 Text.Pandoc.PDF,
299 Text.Pandoc.UTF8,
300 Text.Pandoc.Templates,
301 Text.Pandoc.XML,
302 Text.Pandoc.SelfContained,
303 Text.Pandoc.Process
304 Other-Modules: Text.Pandoc.Readers.Haddock.Lex,
305 Text.Pandoc.Readers.Haddock.Parse,
306 Text.Pandoc.Writers.Shared,
307 Text.Pandoc.Asciify,
308 Text.Pandoc.MIME,
309 Text.Pandoc.Parsing,
310 Text.Pandoc.UUID,
311 Text.Pandoc.ImageSize,
312 Text.Pandoc.Slides,
313 Text.Pandoc.Highlighting,
314 Text.Pandoc.Compat.Monoid,
315 Text.Pandoc.Compat.TagSoupEntity,
316 Paths_pandoc
318 Buildable: True
320Executable pandoc
321 Build-Depends: pandoc,
322 pandoc-types >= 1.12.3.3 && < 1.13,
323 base >= 4.2 && <5,
324 directory >= 1 && < 1.3,
325 filepath >= 1.1 && < 1.4,
326 network >= 2 && < 2.6,
327 text >= 0.11 && < 1.2,
328 bytestring >= 0.9 && < 0.11,
329 extensible-exceptions >= 0.1 && < 0.2,
330 highlighting-kate >= 0.5.6 && < 0.6,
331 aeson >= 0.7 && < 0.8,
332 yaml >= 0.8.8.2 && < 0.9,
333 containers >= 0.1 && < 0.6,
334 HTTP >= 4000.0.5 && < 4000.3
335 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
336 Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
337 if os(windows)
338 Cpp-options: -D_WINDOWS
339 Default-Language: Haskell98
340 Other-Extensions: PatternGuards, OverloadedStrings,
341 ScopedTypeVariables, GeneralizedNewtypeDeriving,
342 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
343 FlexibleInstances
344 Hs-Source-Dirs: .
345 Main-Is: pandoc.hs
346 Buildable: True
348-- NOTE: A trick in Setup.hs makes sure this won't be installed:
349Executable make-pandoc-man-pages
350 Main-Is: make-pandoc-man-pages.hs
351 Hs-Source-Dirs: man
352 Build-Depends: pandoc,
353 base >= 4.2 && < 5,
354 directory >= 1 && < 1.3,
355 filepath >= 1.1 && < 1.4,
356 old-time >= 1.0 && < 1.2,
357 time >= 1.2 && < 1.5
358 Default-Language: Haskell98
360Test-Suite test-pandoc
361 Type: exitcode-stdio-1.0
362 Main-Is: test-pandoc.hs
363 Hs-Source-Dirs: tests
364 Build-Depends: base >= 4.2 && < 5,
365 syb >= 0.1 && < 0.5,
366 pandoc,
367 pandoc-types >= 1.12.3.3 && < 1.13,
368 bytestring >= 0.9 && < 0.11,
369 text >= 0.11 && < 1.2,
370 directory >= 1 && < 1.3,
371 filepath >= 1.1 && < 1.4,
372 process >= 1 && < 1.3,
373 highlighting-kate >= 0.5.6 && < 0.6,
374 Diff >= 0.2 && < 0.4,
375 test-framework >= 0.3 && < 0.9,
376 test-framework-hunit >= 0.2 && < 0.4,
377 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
378 QuickCheck >= 2.4 && < 2.8,
379 HUnit >= 1.2 && < 1.3,
380 containers >= 0.1 && < 0.6,
381 ansi-terminal >= 0.5 && < 0.7
382 Other-Modules: Tests.Old
383 Tests.Helpers
384 Tests.Arbitrary
385 Tests.Shared
386 Tests.Walk
387 Tests.Readers.LaTeX
388 Tests.Readers.Markdown
389 Tests.Readers.Org
390 Tests.Readers.RST
391 Tests.Writers.Native
392 Tests.Writers.ConTeXt
393 Tests.Writers.HTML
394 Tests.Writers.Markdown
395 Tests.Writers.AsciiDoc
396 Tests.Writers.LaTeX
397 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
398 Default-Language: Haskell98
400benchmark benchmark-pandoc
401 Type: exitcode-stdio-1.0
402 Main-Is: benchmark-pandoc.hs
403 Hs-Source-Dirs: benchmark
404 Build-Depends: pandoc,
405 base >= 4.2 && < 5,
406 syb >= 0.1 && < 0.5,
407 criterion >= 0.5 && < 0.9
408 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
409 Default-Language: Haskell98