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
12Homepage: http://johnmacfarlane.net/pandoc
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.
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.
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.
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
54 -- data for docx writer
56 -- stylesheet for EPUB writer
58 -- data for LaTeXMathML writer
63 s5/default/s5-core.css,
64 s5/default/framing.css,
65 s5/default/pretty.css,
67 s5/default/outline.css,
69 s5/default/slides.css,
70 s5/default/iepngfix.htc,
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,
86 README, INSTALL, COPYRIGHT, BUGS, changelog
88 -- code to create pandoc.1 man page
90 man/man1/pandoc.1.template,
91 man/man5/pandoc_markdown.5.template,
92 -- generated man pages (produced post-build)
94 man/man5/pandoc_markdown.5,
99 tests/html-reader.html,
100 tests/html-reader.native,
105 tests/chicago-author-date.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,
123 tests/s5.fragment.html,
124 tests/s5.inserts.html,
126 tests/tables.context,
127 tests/tables.docbook,
132 tests/tables.markdown,
133 tests/tables.mediawiki,
134 tests/tables.textile,
136 tests/tables.opendocument,
138 tests/tables.asciidoc,
139 tests/tables.texinfo,
143 tests/tables-rstsubset.native,
144 tests/testsuite.native,
147 tests/writer.context,
148 tests/writer.docbook,
151 tests/writer.markdown,
153 tests/writer.mediawiki,
154 tests/writer.textile,
156 tests/writer.opendocument,
158 tests/writer.asciidoc,
161 tests/writer.texinfo,
162 tests/lhs-test.native,
163 tests/lhs-test.markdown,
164 tests/lhs-test.markdown+lhs,
166 tests/lhs-test.rst+lhs,
167 tests/lhs-test.latex,
168 tests/lhs-test.latex+lhs,
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
177 location: git://github.com/jgm/pandoc.git
180 Description: Build the pandoc executable.
183 Description: Build the pandoc library.
186 Description: Build test-pandoc.
189 Description: Use blaze-html 0.5 and blaze-markup 0.5
193 -- Note: the following is duplicated in all stanzas.
194 -- It needs to be duplicated because of the library & executable flags.
195 -- BEGIN DUPLICATED SECTION
196 Build-Depends: containers >= 0.1 && < 0.5,
197 parsec >= 3.1 && < 3.2,
199 network >= 2 && < 2.4,
200 filepath >= 1.1 && < 1.4,
201 process >= 1 && < 1.2,
202 directory >= 1 && < 1.2,
203 bytestring >= 0.9 && < 1.0,
204 zip-archive >= 0.1.1.7 && < 0.2,
205 utf8-string >= 0.3 && < 0.4,
206 old-locale >= 1 && < 1.1,
207 time >= 1.2 && < 1.5,
208 HTTP >= 4000.0.5 && < 4000.3,
209 texmath >= 0.6.0.2 && < 0.7,
210 xml >= 1.3.12 && < 1.4,
211 random >= 1 && < 1.1,
212 extensible-exceptions >= 0.1 && < 0.2,
213 citeproc-hs >= 0.3.4 && < 0.4,
214 pandoc-types >= 1.9.0.2 && < 1.10,
215 json >= 0.4 && < 0.6,
216 tagsoup >= 0.12.5 && < 0.13,
217 base64-bytestring >= 0.1 && < 0.2,
218 zlib >= 0.5 && < 0.6,
219 highlighting-kate >= 0.5.0.2 && < 0.6,
220 temporary >= 1.1 && < 1.2
221 if flag(blaze_html_0_5)
223 blaze-html >= 0.5 && < 0.6,
224 blaze-markup >= 0.5.1 && < 0.6
227 blaze-html >= 0.4.3.0 && < 0.5
229 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
231 Build-depends: base >= 3 && < 4
233 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
235 Ghc-Options: -O2 -Wall
236 if impl(ghc >= 7.0.1)
237 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
239 Ghc-Prof-Options: -auto-all -caf-all
240 Default-Language: Haskell98
241 Default-Extensions: CPP
242 Other-Extensions: PatternGuards, OverloadedStrings,
243 ScopedTypeVariables, GeneralizedNewtypeDeriving,
244 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
247 -- END DUPLICATED SECTION
249 Exposed-Modules: Text.Pandoc,
253 Text.Pandoc.Highlighting,
254 Text.Pandoc.Readers.HTML,
255 Text.Pandoc.Readers.LaTeX,
256 Text.Pandoc.Readers.Markdown,
257 Text.Pandoc.Readers.RST,
258 Text.Pandoc.Readers.DocBook,
259 Text.Pandoc.Readers.TeXMath,
260 Text.Pandoc.Readers.Textile,
261 Text.Pandoc.Readers.Native,
262 Text.Pandoc.Writers.Native,
263 Text.Pandoc.Writers.Docbook,
264 Text.Pandoc.Writers.HTML,
265 Text.Pandoc.Writers.LaTeX,
266 Text.Pandoc.Writers.ConTeXt,
267 Text.Pandoc.Writers.OpenDocument,
268 Text.Pandoc.Writers.Texinfo,
269 Text.Pandoc.Writers.Man,
270 Text.Pandoc.Writers.Markdown,
271 Text.Pandoc.Writers.RST,
272 Text.Pandoc.Writers.Org,
273 Text.Pandoc.Writers.AsciiDoc,
274 Text.Pandoc.Writers.Textile,
275 Text.Pandoc.Writers.MediaWiki,
276 Text.Pandoc.Writers.RTF,
277 Text.Pandoc.Writers.ODT,
278 Text.Pandoc.Writers.Docx,
279 Text.Pandoc.Writers.EPUB,
281 Text.Pandoc.Templates,
283 Text.Pandoc.SelfContained
284 Other-Modules: Text.Pandoc.XML,
288 Text.Pandoc.ImageSize,
298 -- Note: the following is duplicated in all stanzas.
299 -- It needs to be duplicated because of the library & executable flags.
300 -- BEGIN DUPLICATED SECTION
301 Build-Depends: containers >= 0.1 && < 0.5,
302 parsec >= 3.1 && < 3.2,
304 network >= 2 && < 2.4,
305 filepath >= 1.1 && < 1.4,
306 process >= 1 && < 1.2,
307 directory >= 1 && < 1.2,
308 bytestring >= 0.9 && < 1.0,
309 zip-archive >= 0.1.1.7 && < 0.2,
310 utf8-string >= 0.3 && < 0.4,
311 old-locale >= 1 && < 1.1,
312 time >= 1.2 && < 1.5,
313 HTTP >= 4000.0.5 && < 4000.3,
314 texmath >= 0.6.0.2 && < 0.7,
315 xml >= 1.3.12 && < 1.4,
316 random >= 1 && < 1.1,
317 extensible-exceptions >= 0.1 && < 0.2,
318 citeproc-hs >= 0.3.4 && < 0.4,
319 pandoc-types >= 1.9.0.2 && < 1.10,
320 json >= 0.4 && < 0.6,
321 tagsoup >= 0.12.5 && < 0.13,
322 base64-bytestring >= 0.1 && < 0.2,
323 zlib >= 0.5 && < 0.6,
324 highlighting-kate >= 0.5.0.2 && < 0.6,
325 temporary >= 1.1 && < 1.2
326 if flag(blaze_html_0_5)
328 blaze-html >= 0.5 && < 0.6,
329 blaze-markup >= 0.5.1 && < 0.6
332 blaze-html >= 0.4.3.0 && < 0.5
334 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
336 Build-depends: base >= 3 && < 4
338 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
340 Ghc-Options: -O2 -Wall
341 if impl(ghc >= 7.0.1)
342 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
344 Ghc-Prof-Options: -auto-all -caf-all
345 Default-Language: Haskell98
346 Default-Extensions: CPP
347 Other-Extensions: PatternGuards, OverloadedStrings,
348 ScopedTypeVariables, GeneralizedNewtypeDeriving,
349 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
352 -- END DUPLICATED SECTION
360Executable test-pandoc
361 Main-Is: test-pandoc.hs
362 -- Note: the following is duplicated in all stanzas.
363 -- It needs to be duplicated because of the library & executable flags.
364 -- BEGIN DUPLICATED SECTION
365 Build-Depends: containers >= 0.1 && < 0.5,
366 parsec >= 3.1 && < 3.2,
368 network >= 2 && < 2.4,
369 filepath >= 1.1 && < 1.4,
370 process >= 1 && < 1.2,
371 directory >= 1 && < 1.2,
372 bytestring >= 0.9 && < 1.0,
373 zip-archive >= 0.1.1.7 && < 0.2,
374 utf8-string >= 0.3 && < 0.4,
375 old-locale >= 1 && < 1.1,
376 time >= 1.2 && < 1.5,
377 HTTP >= 4000.0.5 && < 4000.3,
378 texmath >= 0.6.0.2 && < 0.7,
379 xml >= 1.3.12 && < 1.4,
380 random >= 1 && < 1.1,
381 extensible-exceptions >= 0.1 && < 0.2,
382 citeproc-hs >= 0.3.4 && < 0.4,
383 pandoc-types >= 1.9.0.2 && < 1.10,
384 json >= 0.4 && < 0.6,
385 tagsoup >= 0.12.5 && < 0.13,
386 base64-bytestring >= 0.1 && < 0.2,
387 zlib >= 0.5 && < 0.6,
388 highlighting-kate >= 0.5.0.2 && < 0.6,
389 temporary >= 1.1 && < 1.2
390 if flag(blaze_html_0_5)
392 blaze-html >= 0.5 && < 0.6,
393 blaze-markup >= 0.5.1 && < 0.6
396 blaze-html >= 0.4.3.0 && < 0.5
398 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
400 Build-depends: base >= 3 && < 4
402 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind -dno-debug-output
404 Ghc-Options: -O2 -Wall
405 if impl(ghc >= 7.0.1)
406 Ghc-Prof-Options: -auto-all -caf-all -rtsopts
408 Ghc-Prof-Options: -auto-all -caf-all
409 Default-Language: Haskell98
410 Default-Extensions: CPP
411 Other-Extensions: PatternGuards, OverloadedStrings,
412 ScopedTypeVariables, GeneralizedNewtypeDeriving,
413 RelaxedPolyRec, DeriveDataTypeable, TypeSynonymInstances,
416 -- END DUPLICATED SECTION
422 cpp-options: -D_LIT=lit
424 cpp-options: -D_LIT=$lit
425 Other-Extensions: TemplateHaskell, QuasiQuotes
426 Build-Depends: Diff, test-framework >= 0.3 && < 0.7,
427 test-framework-hunit >= 0.2 && < 0.3,
428 test-framework-quickcheck2 >= 0.2.9 && < 0.3,
429 QuickCheck >= 2.4 && < 2.6,
430 HUnit >= 1.2 && < 1.3,
431 template-haskell >= 2.4 && < 2.8,
432 ansi-terminal == 0.5.*
433 Other-Modules: Tests.Old
438 Tests.Readers.Markdown
441 Tests.Writers.ConTeXt
443 Tests.Writers.Markdown
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list