git.iko.soy/typeable/pandoc
on sable help sign in
typeable/pandoc/pandoc.cabal
426 lines 18 kB history raw
1Name: pandoc
2Version: 1.12.0.2
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.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, and Textile, and it can write markdown,
21 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, Sable, and several kinds of
25 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 S5 writer
78 data/s5/default/slides.js,
79 data/s5/default/s5-core.css,
80 data/s5/default/framing.css,
81 data/s5/default/pretty.css,
82 data/s5/default/opera.css,
83 data/s5/default/outline.css,
84 data/s5/default/print.css,
85 data/s5/default/slides.css,
86 data/s5/default/iepngfix.htc,
87 data/s5/default/blank.gif,
88 data/s5/default/bodybg.gif,
89 -- data for slidy writer
90 data/slidy/styles/slidy.css,
91 data/slidy/scripts/slidy.js,
92 data/slidy/graphics/fold.gif,
93 data/slidy/graphics/unfold.gif,
94 data/slidy/graphics/nofold-dim.gif,
95 data/slidy/graphics/unfold-dim.gif,
96 data/slidy/graphics/fold-dim.gif,
97 -- data for slideous writer
98 data/slideous/slideous.css,
99 data/slideous/slideous.js,
100 -- data for dzslides writer
101 data/dzslides/template.html,
102 -- sample lua custom writer
103 data/sample.lua
104 -- documentation
105 README, INSTALL, COPYRIGHT, BUGS, CONTRIBUTING.md, changelog
106Extra-Source-Files:
107 -- code to create pandoc.1 man page
108 man/man1/pandoc.1.template,
109 man/man5/pandoc_markdown.5.template,
110 -- generated man pages (produced post-build)
111 man/man1/pandoc.1,
112 man/man5/pandoc_markdown.5,
113 -- tests
114 tests/bodybg.gif,
115 tests/docbook-reader.docbook
116 tests/docbook-reader.native
117 tests/html-reader.html,
118 tests/html-reader.native,
119 tests/opml-reader.opml,
120 tests/opml-reader.native,
121 tests/haddock-reader.haddock,
122 tests/haddock-reader.native,
123 tests/insert,
124 tests/lalune.jpg,
125 tests/movie.jpg,
126 tests/latex-reader.latex,
127 tests/latex-reader.native,
128 tests/textile-reader.textile,
129 tests/textile-reader.native,
130 tests/markdown-reader-more.txt,
131 tests/markdown-reader-more.native,
132 tests/markdown-citations.txt,
133 tests/markdown-citations.native,
134 tests/textile-reader.textile,
135 tests/mediawiki-reader.wiki,
136 tests/mediawiki-reader.native,
137 tests/rst-reader.native,
138 tests/rst-reader.rst,
139 tests/s5.basic.html,
140 tests/s5.fancy.html,
141 tests/s5.fragment.html,
142 tests/s5.inserts.html,
143 tests/s5.native,
144 tests/tables.context,
145 tests/tables.docbook,
146 tests/tables.html,
147 tests/tables.latex,
148 tests/tables.man,
149 tests/tables.plain,
150 tests/tables.markdown,
151 tests/tables.mediawiki,
152 tests/tables.textile,
153 tests/tables.native,
154 tests/tables.opendocument,
155 tests/tables.org,
156 tests/tables.asciidoc,
157 tests/tables.texinfo,
158 tests/tables.rst,
159 tests/tables.rtf,
160 tests/tables.txt,
161 tests/tables-rstsubset.native,
162 tests/tables.fb2,
163 tests/tables.sable,
164 tests/testsuite.native,
165 tests/testsuite.txt,
166 tests/writer.latex,
167 tests/writer.context,
168 tests/writer.docbook,
169 tests/writer.html,
170 tests/writer.man,
171 tests/writer.markdown,
172 tests/writer.plain,
173 tests/writer.mediawiki,
174 tests/writer.textile,
175 tests/writer.native,
176 tests/writer.opendocument,
177 tests/writer.org,
178 tests/writer.asciidoc,
179 tests/writer.rst,
180 tests/writer.rtf,
181 tests/writer.texinfo,
182 tests/writer.fb2,
183 tests/writer.sable,
184 tests/writer.opml,
185 tests/lhs-test.native,
186 tests/lhs-test-markdown.native,
187 tests/lhs-test.markdown,
188 tests/lhs-test.markdown+lhs,
189 tests/lhs-test.rst,
190 tests/lhs-test.rst+lhs,
191 tests/lhs-test.latex,
192 tests/lhs-test.latex+lhs,
193 tests/lhs-test.html,
194 tests/lhs-test.html+lhs,
195 tests/lhs-test.fragment.html+lhs,
196 tests/pipe-tables.txt,
197 tests/pipe-tables.native,
198 tests/fb2.basic.markdown,
199 tests/fb2.basic.fb2,
200 tests/fb2.titles.markdown,
201 tests/fb2.titles.fb2,
202 tests/fb2.images.markdown,
203 tests/fb2.images.fb2,
204 tests/fb2.images-embedded.html,
205 tests/fb2.images-embedded.fb2,
206 tests/fb2.math.markdown,
207 tests/fb2.math.fb2,
208 tests/fb2.test-small.png,
209 tests/fb2.test.jpg
210Extra-Tmp-Files: man/man1/pandoc.1,
211 man/man5/pandoc_markdown.5
213Source-repository head
214 type: git
215 location: git://github.com/jgm/pandoc.git
217Flag embed_data_files
218 Description: Embed data files in binary for relocatable executable.
219 Default: False
221Flag http-conduit
222 Description: Enable downloading of resources over https.
223 Default: True
225Library
226 Build-Depends: base >= 4.2 && <5,
227 syb >= 0.1 && < 0.5,
228 containers >= 0.1 && < 0.6,
229 unordered-containers >= 0.2 && < 0.3,
230 array >= 0.3 && < 0.5,
231 parsec >= 3.1 && < 3.2,
232 mtl >= 1.1 && < 2.2,
233 network >= 2 && < 2.5,
234 filepath >= 1.1 && < 1.4,
235 process >= 1 && < 1.2,
236 directory >= 1 && < 1.3,
237 bytestring >= 0.9 && < 0.11,
238 text >= 0.11 && < 0.12,
239 zip-archive >= 0.1.3.3 && < 0.2,
240 old-locale >= 1 && < 1.1,
241 time >= 1.2 && < 1.5,
242 HTTP >= 4000.0.5 && < 4000.3,
243 texmath >= 0.6.4 && < 0.7,
244 xml >= 1.3.12 && < 1.4,
245 random >= 1 && < 1.1,
246 extensible-exceptions >= 0.1 && < 0.2,
247 pandoc-types >= 1.12.2.2 && < 1.13,
248 aeson >= 0.6 && < 0.7,
249 tagsoup >= 0.12.5 && < 0.14,
250 base64-bytestring >= 0.1 && < 1.1,
251 zlib >= 0.5 && < 0.6,
252 highlighting-kate >= 0.5.5 && < 0.6,
253 data-default >= 0.4 && < 0.6,
254 temporary >= 1.1 && < 1.2,
255 blaze-html >= 0.5 && < 0.7,
256 blaze-markup >= 0.5.1 && < 0.6,
257 attoparsec >= 0.10 && < 0.11,
258 yaml >= 0.8.3 && < 0.9,
259 vector >= 0.10 && < 0.11,
260 hslua >= 0.3 && < 0.4
261 Build-Tools: alex, happy
262 if flag(http-conduit)
263 Build-Depends: http-conduit >= 1.9 && < 1.10,
264 http-types >= 0.8 && < 0.9
265 cpp-options: -DHTTP_CONDUIT
266 if flag(embed_data_files)
267 cpp-options: -DEMBED_DATA_FILES
268 -- Build-Tools: hsb2hs -- not yet recognized by cabal
269 other-modules: Text.Pandoc.Data
270 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
271 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
272 Default-Language: Haskell98
273 Other-Extensions: PatternGuards, OverloadedStrings,
274 ScopedTypeVariables, GeneralizedNewtypeDeriving,
275 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
276 FlexibleInstances
277 Hs-Source-Dirs: src
279 Exposed-Modules: Text.Pandoc,
280 Text.Pandoc.Options,
281 Text.Pandoc.Pretty,
282 Text.Pandoc.Shared,
283 Text.Pandoc.Readers.HTML,
284 Text.Pandoc.Readers.LaTeX,
285 Text.Pandoc.Readers.Markdown,
286 Text.Pandoc.Readers.MediaWiki,
287 Text.Pandoc.Readers.RST,
288 Text.Pandoc.Readers.DocBook,
289 Text.Pandoc.Readers.OPML,
290 Text.Pandoc.Readers.TeXMath,
291 Text.Pandoc.Readers.Textile,
292 Text.Pandoc.Readers.Native,
293 Text.Pandoc.Readers.Haddock,
294 Text.Pandoc.Writers.Native,
295 Text.Pandoc.Writers.Docbook,
296 Text.Pandoc.Writers.OPML,
297 Text.Pandoc.Writers.HTML,
298 Text.Pandoc.Writers.LaTeX,
299 Text.Pandoc.Writers.ConTeXt,
300 Text.Pandoc.Writers.OpenDocument,
301 Text.Pandoc.Writers.Texinfo,
302 Text.Pandoc.Writers.Man,
303 Text.Pandoc.Writers.Markdown,
304 Text.Pandoc.Writers.RST,
305 Text.Pandoc.Writers.Org,
306 Text.Pandoc.Writers.AsciiDoc,
307 Text.Pandoc.Writers.Custom,
308 Text.Pandoc.Writers.Textile,
309 Text.Pandoc.Writers.MediaWiki,
310 Text.Pandoc.Writers.RTF,
311 Text.Pandoc.Writers.ODT,
312 Text.Pandoc.Writers.Docx,
313 Text.Pandoc.Writers.EPUB,
314 Text.Pandoc.Writers.FB2,
315 Text.Pandoc.Writers.Sable,
316 Text.Pandoc.PDF,
317 Text.Pandoc.UTF8,
318 Text.Pandoc.Templates,
319 Text.Pandoc.XML,
320 Text.Pandoc.SelfContained,
321 Text.Pandoc.Process
322 Other-Modules: Text.Pandoc.Readers.Haddock.Lex,
323 Text.Pandoc.Readers.Haddock.Parse,
324 Text.Pandoc.Writers.Shared,
325 Text.Pandoc.Asciify,
326 Text.Pandoc.MIME,
327 Text.Pandoc.Parsing,
328 Text.Pandoc.UUID,
329 Text.Pandoc.ImageSize,
330 Text.Pandoc.Slides,
331 Text.Pandoc.Highlighting,
332 Text.Pandoc.Compat.Monoid,
333 Text.Pandoc.Compat.TagSoupEntity,
334 Paths_pandoc
336 Buildable: True
338Executable pandoc
339 Build-Depends: pandoc,
340 pandoc-types >= 1.12.2.2 && < 1.13,
341 base >= 4.2 && <5,
342 directory >= 1 && < 1.3,
343 filepath >= 1.1 && < 1.4,
344 network >= 2 && < 2.5,
345 text >= 0.11 && < 0.12,
346 bytestring >= 0.9 && < 0.11,
347 extensible-exceptions >= 0.1 && < 0.2,
348 highlighting-kate >= 0.5.5 && < 0.6,
349 aeson >= 0.6 && < 0.7,
350 text >= 0.11 && < 0.12,
351 yaml >= 0.8.3 && < 0.9,
352 containers >= 0.1 && < 0.6,
353 HTTP >= 4000.0.5 && < 4000.3
354 Ghc-Options: -rtsopts -with-rtsopts=-K16m -Wall -fno-warn-unused-do-bind
355 Ghc-Prof-Options: -auto-all -caf-all -rtsopts -with-rtsopts=-K16m
356 if os(windows)
357 Cpp-options: -D_WINDOWS
358 Default-Language: Haskell98
359 Other-Extensions: PatternGuards, OverloadedStrings,
360 ScopedTypeVariables, GeneralizedNewtypeDeriving,
361 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
362 FlexibleInstances
363 Hs-Source-Dirs: .
364 Main-Is: pandoc.hs
365 Buildable: True
367-- NOTE: A trick in Setup.hs makes sure this won't be installed:
368Executable make-pandoc-man-pages
369 Main-Is: make-pandoc-man-pages.hs
370 Hs-Source-Dirs: man
371 Build-Depends: pandoc,
372 base >= 4.2 && < 5,
373 directory >= 1 && < 1.3,
374 filepath >= 1.1 && < 1.4,
375 old-time >= 1.0 && < 1.2,
376 time >= 1.2 && < 1.5
377 Default-Language: Haskell98
379Test-Suite test-pandoc
380 Type: exitcode-stdio-1.0
381 Main-Is: test-pandoc.hs
382 Hs-Source-Dirs: tests
383 Build-Depends: base >= 4.2 && < 5,
384 syb >= 0.1 && < 0.5,
385 pandoc,
386 pandoc-types >= 1.12.2.2 && < 1.13,
387 bytestring >= 0.9 && < 0.11,
388 text >= 0.11 && < 0.12,
389 directory >= 1 && < 1.3,
390 filepath >= 1.1 && < 1.4,
391 process >= 1 && < 1.2,
392 highlighting-kate >= 0.5.5 && < 0.6,
393 Diff >= 0.2 && < 0.4,
394 test-framework >= 0.3 && < 0.9,
395 test-framework-hunit >= 0.2 && < 0.4,
396 test-framework-quickcheck2 >= 0.2.9 && < 0.4,
397 QuickCheck >= 2.4 && < 2.7,
398 HUnit >= 1.2 && < 1.3,
399 containers >= 0.1 && < 0.6,
400 ansi-terminal >= 0.5 && < 0.7
401 Other-Modules: Tests.Old
402 Tests.Helpers
403 Tests.Arbitrary
404 Tests.Shared
405 Tests.Walk
406 Tests.Readers.LaTeX
407 Tests.Readers.Markdown
408 Tests.Readers.RST
409 Tests.Writers.Native
410 Tests.Writers.ConTeXt
411 Tests.Writers.HTML
412 Tests.Writers.Markdown
413 Tests.Writers.LaTeX
414 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
415 Default-Language: Haskell98
417benchmark benchmark-pandoc
418 Type: exitcode-stdio-1.0
419 Main-Is: benchmark-pandoc.hs
420 Hs-Source-Dirs: benchmark
421 Build-Depends: pandoc,
422 base >= 4.2 && < 5,
423 syb >= 0.1 && < 0.5,
424 criterion >= 0.5 && < 0.9
425 Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
426 Default-Language: Haskell98