git.iko.soy/typeable/pandoc
on 1.9.0.3 help sign in
typeable/pandoc/pandoc.cabal
420 lines 17 kB history raw
1Name: pandoc
2Version: 1.9.0.3
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.min.js,
63 s5/default/slides.js,
64 s5/default/s5-core.css,
65 s5/default/framing.css,
66 s5/default/pretty.css,
67 s5/default/opera.css,
68 s5/default/outline.css,
69 s5/default/print.css,
70 s5/default/slides.css,
71 s5/default/iepngfix.htc,
72 -- data for slidy writer
73 slidy/styles/slidy.css,
74 slidy/scripts/slidy.js.gz,
75 slidy/graphics/fold.gif,
76 slidy/graphics/unfold.gif,
77 slidy/graphics/nofold-dim.gif,
78 slidy/graphics/unfold-dim.gif,
79 slidy/graphics/fold-dim.gif,
80 -- data for dzslides writer
81 dzslides/template.html,
82 -- data for citeproc
83 default.csl,
84 -- documentation
85 README, INSTALL, COPYRIGHT, BUGS, changelog
86Extra-Source-Files:
87 -- code to create pandoc.1 man page
88 MakeManPage.hs,
89 man/man1/pandoc.1.template,
90 man/man5/pandoc_markdown.5.template,
91 -- generated man pages (produced post-build)
92 man/man1/pandoc.1,
93 man/man5/pandoc_markdown.5,
94 -- benchmarks
95 Benchmark.hs,
96 -- tests
97 tests/bodybg.gif,
98 tests/html-reader.html,
99 tests/html-reader.native,
100 tests/insert,
101 tests/lalune.jpg,
102 tests/movie.jpg,
103 tests/biblio.bib,
104 tests/chicago-author-date.csl,
105 tests/ieee.csl,
106 tests/mhra.csl,
107 tests/latex-reader.latex,
108 tests/latex-reader.native,
109 tests/textile-reader.textile,
110 tests/textile-reader.native,
111 tests/markdown-reader-more.txt,
112 tests/markdown-reader-more.native,
113 tests/markdown-citations.txt,
114 tests/markdown-citations.chicago-author-date.txt,
115 tests/markdown-citations.mhra.txt,
116 tests/markdown-citations.ieee.txt,
117 tests/textile-reader.textile,
118 tests/rst-reader.native,
119 tests/rst-reader.rst,
120 tests/s5.basic.html,
121 tests/s5.fancy.html,
122 tests/s5.fragment.html,
123 tests/s5.inserts.html,
124 tests/s5.native,
125 tests/tables.context,
126 tests/tables.docbook,
127 tests/tables.html,
128 tests/tables.latex,
129 tests/tables.man,
130 tests/tables.plain,
131 tests/tables.markdown,
132 tests/tables.mediawiki,
133 tests/tables.textile,
134 tests/tables.native,
135 tests/tables.opendocument,
136 tests/tables.org,
137 tests/tables.asciidoc,
138 tests/tables.texinfo,
139 tests/tables.rst,
140 tests/tables.rtf,
141 tests/tables.txt,
142 tests/tables-rstsubset.native,
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/lhs-test.native,
162 tests/lhs-test.markdown,
163 tests/lhs-test.markdown+lhs,
164 tests/lhs-test.rst,
165 tests/lhs-test.rst+lhs,
166 tests/lhs-test.latex,
167 tests/lhs-test.latex+lhs,
168 tests/lhs-test.html,
169 tests/lhs-test.html+lhs,
170 tests/lhs-test.fragment.html+lhs
171Extra-Tmp-Files: man/man1/pandoc.1,
172 man/man5/pandoc_markdown.5
174Source-repository head
175 type: git
176 location: git://github.com/jgm/pandoc.git
178Flag executable
179 Description: Build the pandoc executable.
180 Default: True
181Flag library
182 Description: Build the pandoc library.
183 Default: True
184Flag tests
185 Description: Build test-pandoc.
186 Default: False
188Library
189 -- Note: the following is duplicated in all stanzas.
190 -- It needs to be duplicated because of the library & executable flags.
191 -- BEGIN DUPLICATED SECTION
192 Build-Depends: containers >= 0.1 && < 0.5,
193 parsec >= 3.1 && < 3.2,
194 blaze-html >= 0.4.3.0 && < 0.5,
195 mtl >= 1.1 && < 2.1,
196 network >= 2 && < 2.4,
197 filepath >= 1.1 && < 1.4,
198 process >= 1 && < 1.2,
199 directory >= 1 && < 1.2,
200 bytestring >= 0.9 && < 1.0,
201 zip-archive >= 0.1.1.7 && < 0.2,
202 utf8-string >= 0.3 && < 0.4,
203 old-locale >= 1 && < 1.1,
204 time >= 1.2 && < 1.5,
205 HTTP >= 4000.0.5 && < 4000.3,
206 texmath >= 0.6 && < 0.7,
207 xml >= 1.3.12 && < 1.4,
208 random >= 1 && < 1.1,
209 extensible-exceptions >= 0.1 && < 0.2,
210 citeproc-hs >= 0.3.4 && < 0.4,
211 pandoc-types >= 1.9.0.2 && < 1.10,
212 json >= 0.4 && < 0.6,
213 tagsoup >= 0.12.5 && < 0.13,
214 base64-bytestring >= 0.1 && < 0.2,
215 zlib >= 0.5 && <= 0.6,
216 highlighting-kate >= 0.5.0.1 && < 0.6,
217 temporary >= 1.1 && < 1.2
218 if impl(ghc >= 6.10)
219 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
220 else
221 Build-depends: base >= 3 && < 4
222 if impl(ghc >= 6.12)
223 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
224 else
225 Ghc-Options: -O2 -Wall
226 if impl(ghc >= 7.0.1)
227 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
228 else
229 Ghc-Prof-Options: -auto-all -caf-all
230 Default-Language: Haskell98
231 Default-Extensions: CPP
232 Other-Extensions: PatternGuards, OverloadedStrings,
233 ScopedTypeVariables, GeneralizedNewtypeDeriving,
234 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
235 FlexibleInstances
236 Hs-Source-Dirs: src
237 -- END DUPLICATED SECTION
239 Exposed-Modules: Text.Pandoc,
240 Text.Pandoc.Pretty,
241 Text.Pandoc.Shared,
242 Text.Pandoc.Parsing,
243 Text.Pandoc.Highlighting,
244 Text.Pandoc.Readers.HTML,
245 Text.Pandoc.Readers.LaTeX,
246 Text.Pandoc.Readers.Markdown,
247 Text.Pandoc.Readers.RST,
248 Text.Pandoc.Readers.TeXMath,
249 Text.Pandoc.Readers.Textile,
250 Text.Pandoc.Readers.Native,
251 Text.Pandoc.Writers.Native,
252 Text.Pandoc.Writers.Docbook,
253 Text.Pandoc.Writers.HTML,
254 Text.Pandoc.Writers.LaTeX,
255 Text.Pandoc.Writers.ConTeXt,
256 Text.Pandoc.Writers.OpenDocument,
257 Text.Pandoc.Writers.Texinfo,
258 Text.Pandoc.Writers.Man,
259 Text.Pandoc.Writers.Markdown,
260 Text.Pandoc.Writers.RST,
261 Text.Pandoc.Writers.Org,
262 Text.Pandoc.Writers.AsciiDoc,
263 Text.Pandoc.Writers.Textile,
264 Text.Pandoc.Writers.MediaWiki,
265 Text.Pandoc.Writers.RTF,
266 Text.Pandoc.Writers.ODT,
267 Text.Pandoc.Writers.Docx,
268 Text.Pandoc.Writers.EPUB,
269 Text.Pandoc.PDF,
270 Text.Pandoc.Templates,
271 Text.Pandoc.Biblio,
272 Text.Pandoc.SelfContained
273 Other-Modules: Text.Pandoc.XML,
274 Text.Pandoc.UTF8,
275 Text.Pandoc.MIME,
276 Text.Pandoc.UUID,
277 Text.Pandoc.ImageSize,
278 Text.Pandoc.Slides,
279 Paths_pandoc
281 if flag(library)
282 Buildable: True
283 else
284 Buildable: False
286Executable pandoc
287 -- Note: the following is duplicated in all stanzas.
288 -- It needs to be duplicated because of the library & executable flags.
289 -- BEGIN DUPLICATED SECTION
290 Build-Depends: containers >= 0.1 && < 0.5,
291 parsec >= 3.1 && < 3.2,
292 blaze-html >= 0.4.3.0 && < 0.5,
293 mtl >= 1.1 && < 2.1,
294 network >= 2 && < 2.4,
295 filepath >= 1.1 && < 1.4,
296 process >= 1 && < 1.2,
297 directory >= 1 && < 1.2,
298 bytestring >= 0.9 && < 1.0,
299 zip-archive >= 0.1.1.7 && < 0.2,
300 utf8-string >= 0.3 && < 0.4,
301 old-locale >= 1 && < 1.1,
302 time >= 1.2 && < 1.5,
303 HTTP >= 4000.0.5 && < 4000.3,
304 texmath >= 0.6 && < 0.7,
305 xml >= 1.3.12 && < 1.4,
306 random >= 1 && < 1.1,
307 extensible-exceptions >= 0.1 && < 0.2,
308 citeproc-hs >= 0.3.4 && < 0.4,
309 pandoc-types >= 1.9.0.2 && < 1.10,
310 json >= 0.4 && < 0.6,
311 tagsoup >= 0.12.5 && < 0.13,
312 base64-bytestring >= 0.1 && < 0.2,
313 zlib >= 0.5 && <= 0.6,
314 highlighting-kate >= 0.5.0.1 && < 0.6,
315 temporary >= 1.1 && < 1.2
316 if impl(ghc >= 6.10)
317 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
318 else
319 Build-depends: base >= 3 && < 4
320 if impl(ghc >= 6.12)
321 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
322 else
323 Ghc-Options: -O2 -Wall
324 if impl(ghc >= 7.0.1)
325 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
326 else
327 Ghc-Prof-Options: -auto-all -caf-all
328 Default-Language: Haskell98
329 Default-Extensions: CPP
330 Other-Extensions: PatternGuards, OverloadedStrings,
331 ScopedTypeVariables, GeneralizedNewtypeDeriving,
332 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
333 FlexibleInstances
334 Hs-Source-Dirs: src
335 -- END DUPLICATED SECTION
337 Main-Is: pandoc.hs
338 if flag(executable)
339 Buildable: True
340 else
341 Buildable: False
343Executable test-pandoc
344 Main-Is: test-pandoc.hs
345 -- Note: the following is duplicated in all stanzas.
346 -- It needs to be duplicated because of the library & executable flags.
347 -- BEGIN DUPLICATED SECTION
348 Build-Depends: containers >= 0.1 && < 0.5,
349 parsec >= 3.1 && < 3.2,
350 blaze-html >= 0.4.3.0 && < 0.5,
351 mtl >= 1.1 && < 2.1,
352 network >= 2 && < 2.4,
353 filepath >= 1.1 && < 1.4,
354 process >= 1 && < 1.2,
355 directory >= 1 && < 1.2,
356 bytestring >= 0.9 && < 1.0,
357 zip-archive >= 0.1.1.7 && < 0.2,
358 utf8-string >= 0.3 && < 0.4,
359 old-locale >= 1 && < 1.1,
360 time >= 1.2 && < 1.5,
361 HTTP >= 4000.0.5 && < 4000.3,
362 texmath >= 0.6 && < 0.7,
363 xml >= 1.3.12 && < 1.4,
364 random >= 1 && < 1.1,
365 extensible-exceptions >= 0.1 && < 0.2,
366 citeproc-hs >= 0.3.4 && < 0.4,
367 pandoc-types >= 1.9.0.2 && < 1.10,
368 json >= 0.4 && < 0.6,
369 tagsoup >= 0.12.5 && < 0.13,
370 base64-bytestring >= 0.1 && < 0.2,
371 zlib >= 0.5 && <= 0.6,
372 highlighting-kate >= 0.5.0.1 && < 0.6,
373 temporary >= 1.1 && < 1.2
374 if impl(ghc >= 6.10)
375 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
376 else
377 Build-depends: base >= 3 && < 4
378 if impl(ghc >= 6.12)
379 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
380 else
381 Ghc-Options: -O2 -Wall
382 if impl(ghc >= 7.0.1)
383 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
384 else
385 Ghc-Prof-Options: -auto-all -caf-all
386 Default-Language: Haskell98
387 Default-Extensions: CPP
388 Other-Extensions: PatternGuards, OverloadedStrings,
389 ScopedTypeVariables, GeneralizedNewtypeDeriving,
390 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
391 FlexibleInstances
392 Hs-Source-Dirs: src
393 -- END DUPLICATED SECTION
394 if impl(ghc >= 7)
395 cpp-options: -D_LIT=lit
396 else
397 cpp-options: -D_LIT=$lit
398 if flag(tests)
399 Buildable: True
400 else
401 Buildable: False
402 Other-Extensions: TemplateHaskell, QuasiQuotes
403 Build-Depends: Diff, test-framework >= 0.3 && < 0.5,
404 test-framework-hunit >= 0.2 && < 0.3,
405 test-framework-quickcheck2 >= 0.2.9 && < 0.3,
406 QuickCheck >= 2.4 && < 2.6,
407 HUnit >= 1.2 && < 1.3,
408 template-haskell >= 2.4 && < 2.8,
409 ansi-terminal == 0.5.*
410 Other-Modules: Tests.Old
411 Tests.Helpers
412 Tests.Arbitrary
413 Tests.Shared
414 Tests.Readers.LaTeX
415 Tests.Readers.Markdown
416 Tests.Readers.RST
417 Tests.Writers.Native
418 Tests.Writers.ConTeXt
419 Tests.Writers.HTML
420 Tests.Writers.Markdown