git.iko.soy/typeable/pandoc
on pseudopod help sign in
typeable/pandoc/pandoc.cabal
426 lines 18 kB history raw
1Name: pandoc
2Version: 1.9.2
3Cabal-Version: >= 1.10
4Build-Type: Custom
5License: GPL
6License-File: COPYING
7Copyright: (c) 2006-2012 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 == 6.12.1, GHC == 7.0.4, GHC == 7.4.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)
19 reStructuredText, HTML, LaTeX and Textile, and it can write
20 markdown, reStructuredText, HTML, LaTeX, ConTeXt, Docbook,
21 OpenDocument, ODT, Word docx, RTF, MediaWiki, Textile,
22 groff man pages, plain text, Emacs Org-Mode, AsciiDoc, EPUB,
23 and S5 and Slidy HTML slide shows.
24 .
25 Pandoc extends standard markdown syntax with footnotes,
26 embedded LaTeX, definition lists, tables, and other
27 features. A compatibility mode is provided for those
28 who need a drop-in replacement for Markdown.pl.
29 .
30 In contrast to existing tools for converting markdown
31 to HTML, which use regex substitutions, pandoc has
32 a modular design: it consists of a set of readers,
33 which parse text in a given format and produce a native
34 representation of the document, and a set of writers,
35 which convert this native representation into a target
36 format. Thus, adding an input or output format requires
37 only adding a reader or writer.
38Data-Files:
39 -- templates
40 templates/default.html, templates/default.html5,
41 templates/default.docbook, templates/default.beamer,
42 templates/default.opendocument, templates/default.latex,
43 templates/default.context, templates/default.texinfo,
44 templates/default.man, templates/default.markdown,
45 templates/default.rst, templates/default.plain,
46 templates/default.mediawiki, templates/default.rtf,
47 templates/default.s5, templates/default.slidy,
48 templates/default.dzslides, templates/default.asciidoc,
49 templates/default.textile, templates/default.org,
50 templates/epub-titlepage.html, templates/epub-page.html,
51 templates/epub-coverimage.html,
52 -- data for ODT writer
53 reference.odt,
54 -- data for docx writer
55 reference.docx,
56 -- stylesheet for EPUB writer
57 epub.css,
58 -- data for LaTeXMathML writer
59 data/LaTeXMathML.js,
60 data/MathMLinHTML.js,
61 -- data for S5 writer
62 s5/default/slides.js,
63 s5/default/s5-core.css,
64 s5/default/framing.css,
65 s5/default/pretty.css,
66 s5/default/opera.css,
67 s5/default/outline.css,
68 s5/default/print.css,
69 s5/default/slides.css,
70 s5/default/iepngfix.htc,
71 s5/default/blank.gif,
72 s5/default/bodybg.gif,
73 -- data for slidy writer
74 slidy/styles/slidy.css,
75 slidy/scripts/slidy.js.gz,
76 slidy/graphics/fold.gif,
77 slidy/graphics/unfold.gif,
78 slidy/graphics/nofold-dim.gif,
79 slidy/graphics/unfold-dim.gif,
80 slidy/graphics/fold-dim.gif,
81 -- data for dzslides writer
82 dzslides/template.html,
83 -- data for citeproc
84 default.csl,
85 -- documentation
86 README, INSTALL, COPYRIGHT, BUGS, changelog
87Extra-Source-Files:
88 -- code to create pandoc.1 man page
89 MakeManPage.hs,
90 man/man1/pandoc.1.template,
91 man/man5/pandoc_markdown.5.template,
92 -- generated man pages (produced post-build)
93 man/man1/pandoc.1,
94 man/man5/pandoc_markdown.5,
95 -- benchmarks
96 Benchmark.hs,
97 -- tests
98 tests/bodybg.gif,
99 tests/html-reader.html,
100 tests/html-reader.native,
101 tests/insert,
102 tests/lalune.jpg,
103 tests/movie.jpg,
104 tests/biblio.bib,
105 tests/chicago-author-date.csl,
106 tests/ieee.csl,
107 tests/mhra.csl,
108 tests/latex-reader.latex,
109 tests/latex-reader.native,
110 tests/textile-reader.textile,
111 tests/textile-reader.native,
112 tests/markdown-reader-more.txt,
113 tests/markdown-reader-more.native,
114 tests/markdown-citations.txt,
115 tests/markdown-citations.chicago-author-date.txt,
116 tests/markdown-citations.mhra.txt,
117 tests/markdown-citations.ieee.txt,
118 tests/textile-reader.textile,
119 tests/rst-reader.native,
120 tests/rst-reader.rst,
121 tests/s5.basic.html,
122 tests/s5.fancy.html,
123 tests/s5.fragment.html,
124 tests/s5.inserts.html,
125 tests/s5.native,
126 tests/tables.context,
127 tests/tables.docbook,
128 tests/tables.html,
129 tests/tables.latex,
130 tests/tables.man,
131 tests/tables.plain,
132 tests/tables.markdown,
133 tests/tables.mediawiki,
134 tests/tables.textile,
135 tests/tables.native,
136 tests/tables.opendocument,
137 tests/tables.org,
138 tests/tables.asciidoc,
139 tests/tables.texinfo,
140 tests/tables.rst,
141 tests/tables.rtf,
142 tests/tables.txt,
143 tests/tables-rstsubset.native,
144 tests/testsuite.native,
145 tests/testsuite.txt,
146 tests/writer.latex,
147 tests/writer.context,
148 tests/writer.docbook,
149 tests/writer.html,
150 tests/writer.man,
151 tests/writer.markdown,
152 tests/writer.plain,
153 tests/writer.mediawiki,
154 tests/writer.textile,
155 tests/writer.native,
156 tests/writer.opendocument,
157 tests/writer.org,
158 tests/writer.asciidoc,
159 tests/writer.rst,
160 tests/writer.rtf,
161 tests/writer.texinfo,
162 tests/lhs-test.native,
163 tests/lhs-test.markdown,
164 tests/lhs-test.markdown+lhs,
165 tests/lhs-test.rst,
166 tests/lhs-test.rst+lhs,
167 tests/lhs-test.latex,
168 tests/lhs-test.latex+lhs,
169 tests/lhs-test.html,
170 tests/lhs-test.html+lhs,
171 tests/lhs-test.fragment.html+lhs
172Extra-Tmp-Files: man/man1/pandoc.1,
173 man/man5/pandoc_markdown.5
175Source-repository head
176 type: git
177 location: git://github.com/jgm/pandoc.git
179Flag executable
180 Description: Build the pandoc executable.
181 Default: True
182Flag library
183 Description: Build the pandoc library.
184 Default: True
185Flag tests
186 Description: Build test-pandoc.
187 Default: False
189Library
190 -- Note: the following is duplicated in all stanzas.
191 -- It needs to be duplicated because of the library & executable flags.
192 -- BEGIN DUPLICATED SECTION
193 Build-Depends: containers >= 0.1 && < 0.5,
194 parsec >= 3.1 && < 3.2,
195 blaze-html >= 0.5 && < 0.6,
196 blaze-markup >= 0.5.1 && < 0.6,
197 mtl >= 1.1 && < 2.2,
198 network >= 2 && < 2.4,
199 filepath >= 1.1 && < 1.4,
200 process >= 1 && < 1.2,
201 directory >= 1 && < 1.2,
202 bytestring >= 0.9 && < 1.0,
203 zip-archive >= 0.1.1.7 && < 0.2,
204 utf8-string >= 0.3 && < 0.4,
205 old-locale >= 1 && < 1.1,
206 time >= 1.2 && < 1.5,
207 HTTP >= 4000.0.5 && < 4000.3,
208 texmath >= 0.6.0.2 && < 0.7,
209 xml >= 1.3.12 && < 1.4,
210 random >= 1 && < 1.1,
211 extensible-exceptions >= 0.1 && < 0.2,
212 citeproc-hs >= 0.3.4 && < 0.4,
213 pandoc-types >= 1.9.0.2 && < 1.10,
214 json >= 0.4 && < 0.6,
215 tagsoup >= 0.12.5 && < 0.13,
216 base64-bytestring >= 0.1 && < 0.2,
217 zlib >= 0.5 && < 0.6,
218 highlighting-kate >= 0.5.0.2 && < 0.6,
219 temporary >= 1.1 && < 1.2
220 if impl(ghc >= 6.10)
221 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
222 else
223 Build-depends: base >= 3 && < 4
224 if impl(ghc >= 6.12)
225 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
226 else
227 Ghc-Options: -O2 -Wall
228 if impl(ghc >= 7.0.1)
229 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
230 else
231 Ghc-Prof-Options: -auto-all -caf-all
232 Default-Language: Haskell98
233 Default-Extensions: CPP
234 Other-Extensions: PatternGuards, OverloadedStrings,
235 ScopedTypeVariables, GeneralizedNewtypeDeriving,
236 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
237 FlexibleInstances
238 Hs-Source-Dirs: src
239 -- END DUPLICATED SECTION
241 Exposed-Modules: Text.Pandoc,
242 Text.Pandoc.Pretty,
243 Text.Pandoc.Shared,
244 Text.Pandoc.Parsing,
245 Text.Pandoc.Highlighting,
246 Text.Pandoc.Readers.HTML,
247 Text.Pandoc.Readers.LaTeX,
248 Text.Pandoc.Readers.Markdown,
249 Text.Pandoc.Readers.RST,
250 Text.Pandoc.Readers.DocBook,
251 Text.Pandoc.Readers.TeXMath,
252 Text.Pandoc.Readers.Textile,
253 Text.Pandoc.Readers.Native,
254 Text.Pandoc.Writers.Native,
255 Text.Pandoc.Writers.Docbook,
256 Text.Pandoc.Writers.HTML,
257 Text.Pandoc.Writers.LaTeX,
258 Text.Pandoc.Writers.ConTeXt,
259 Text.Pandoc.Writers.OpenDocument,
260 Text.Pandoc.Writers.Texinfo,
261 Text.Pandoc.Writers.Man,
262 Text.Pandoc.Writers.Markdown,
263 Text.Pandoc.Writers.RST,
264 Text.Pandoc.Writers.Org,
265 Text.Pandoc.Writers.AsciiDoc,
266 Text.Pandoc.Writers.Textile,
267 Text.Pandoc.Writers.MediaWiki,
268 Text.Pandoc.Writers.PseudoPod,
269 Text.Pandoc.Writers.RTF,
270 Text.Pandoc.Writers.ODT,
271 Text.Pandoc.Writers.Docx,
272 Text.Pandoc.Writers.EPUB,
273 Text.Pandoc.PDF,
274 Text.Pandoc.Templates,
275 Text.Pandoc.Biblio,
276 Text.Pandoc.SelfContained
277 Other-Modules: Text.Pandoc.XML,
278 Text.Pandoc.UTF8,
279 Text.Pandoc.MIME,
280 Text.Pandoc.UUID,
281 Text.Pandoc.ImageSize,
282 Text.Pandoc.Slides,
283 Paths_pandoc
285 if flag(library)
286 Buildable: True
287 else
288 Buildable: False
290Executable pandoc
291 -- Note: the following is duplicated in all stanzas.
292 -- It needs to be duplicated because of the library & executable flags.
293 -- BEGIN DUPLICATED SECTION
294 Build-Depends: containers >= 0.1 && < 0.5,
295 blaze-html >= 0.5 && < 0.6,
296 blaze-markup >= 0.5.1 && < 0.6,
297 parsec >= 3.1 && < 3.2,
298 mtl >= 1.1 && < 2.2,
299 network >= 2 && < 2.4,
300 filepath >= 1.1 && < 1.4,
301 process >= 1 && < 1.2,
302 directory >= 1 && < 1.2,
303 bytestring >= 0.9 && < 1.0,
304 zip-archive >= 0.1.1.7 && < 0.2,
305 utf8-string >= 0.3 && < 0.4,
306 old-locale >= 1 && < 1.1,
307 time >= 1.2 && < 1.5,
308 HTTP >= 4000.0.5 && < 4000.3,
309 texmath >= 0.6.0.2 && < 0.7,
310 xml >= 1.3.12 && < 1.4,
311 random >= 1 && < 1.1,
312 extensible-exceptions >= 0.1 && < 0.2,
313 citeproc-hs >= 0.3.4 && < 0.4,
314 pandoc-types >= 1.9.0.2 && < 1.10,
315 json >= 0.4 && < 0.6,
316 tagsoup >= 0.12.5 && < 0.13,
317 base64-bytestring >= 0.1 && < 0.2,
318 zlib >= 0.5 && < 0.6,
319 highlighting-kate >= 0.5.0.2 && < 0.6,
320 temporary >= 1.1 && < 1.2
321 if impl(ghc >= 6.10)
322 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
323 else
324 Build-depends: base >= 3 && < 4
325 if impl(ghc >= 6.12)
326 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
327 else
328 Ghc-Options: -O2 -Wall
329 if impl(ghc >= 7.0.1)
330 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
331 else
332 Ghc-Prof-Options: -auto-all -caf-all
333 Default-Language: Haskell98
334 Default-Extensions: CPP
335 Other-Extensions: PatternGuards, OverloadedStrings,
336 ScopedTypeVariables, GeneralizedNewtypeDeriving,
337 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
338 FlexibleInstances
339 Hs-Source-Dirs: src
340 -- END DUPLICATED SECTION
342 Main-Is: pandoc.hs
343 if flag(executable)
344 Buildable: True
345 else
346 Buildable: False
348Executable test-pandoc
349 Main-Is: test-pandoc.hs
350 -- Note: the following is duplicated in all stanzas.
351 -- It needs to be duplicated because of the library & executable flags.
352 -- BEGIN DUPLICATED SECTION
353 Build-Depends: containers >= 0.1 && < 0.5,
354 blaze-html >= 0.5 && < 0.6,
355 blaze-markup >= 0.5.1 && < 0.6,
356 parsec >= 3.1 && < 3.2,
357 mtl >= 1.1 && < 2.2,
358 network >= 2 && < 2.4,
359 filepath >= 1.1 && < 1.4,
360 process >= 1 && < 1.2,
361 directory >= 1 && < 1.2,
362 bytestring >= 0.9 && < 1.0,
363 zip-archive >= 0.1.1.7 && < 0.2,
364 utf8-string >= 0.3 && < 0.4,
365 old-locale >= 1 && < 1.1,
366 time >= 1.2 && < 1.5,
367 HTTP >= 4000.0.5 && < 4000.3,
368 texmath >= 0.6.0.2 && < 0.7,
369 xml >= 1.3.12 && < 1.4,
370 random >= 1 && < 1.1,
371 extensible-exceptions >= 0.1 && < 0.2,
372 citeproc-hs >= 0.3.4 && < 0.4,
373 pandoc-types >= 1.9.0.2 && < 1.10,
374 json >= 0.4 && < 0.6,
375 tagsoup >= 0.12.5 && < 0.13,
376 base64-bytestring >= 0.1 && < 0.2,
377 zlib >= 0.5 && < 0.6,
378 highlighting-kate >= 0.5.0.2 && < 0.6,
379 temporary >= 1.1 && < 1.2
380 if impl(ghc >= 6.10)
381 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
382 else
383 Build-depends: base >= 3 && < 4
384 if impl(ghc >= 6.12)
385 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
386 else
387 Ghc-Options: -O2 -Wall
388 if impl(ghc >= 7.0.1)
389 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
390 else
391 Ghc-Prof-Options: -auto-all -caf-all
392 Default-Language: Haskell98
393 Default-Extensions: CPP
394 Other-Extensions: PatternGuards, OverloadedStrings,
395 ScopedTypeVariables, GeneralizedNewtypeDeriving,
396 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
397 FlexibleInstances
398 Hs-Source-Dirs: src
399 -- END DUPLICATED SECTION
400 if !flag(tests)
401 Buildable: False
402 else
403 Buildable: True
404 if impl(ghc >= 7)
405 cpp-options: -D_LIT=lit
406 else
407 cpp-options: -D_LIT=$lit
408 Other-Extensions: TemplateHaskell, QuasiQuotes
409 Build-Depends: Diff, test-framework >= 0.3 && < 0.7,
410 test-framework-hunit >= 0.2 && < 0.3,
411 test-framework-quickcheck2 >= 0.2.9 && < 0.3,
412 QuickCheck >= 2.4 && < 2.6,
413 HUnit >= 1.2 && < 1.3,
414 template-haskell >= 2.4 && < 2.8,
415 ansi-terminal == 0.5.*
416 Other-Modules: Tests.Old
417 Tests.Helpers
418 Tests.Arbitrary
419 Tests.Shared
420 Tests.Readers.LaTeX
421 Tests.Readers.Markdown
422 Tests.Readers.RST
423 Tests.Writers.Native
424 Tests.Writers.ConTeXt
425 Tests.Writers.HTML
426 Tests.Writers.Markdown