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