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