7Copyright: (c) 2006-2010 John MacFarlane
8Author: John MacFarlane <jgm@berkeley.edu>
9Maintainer: John MacFarlane <jgm@berkeley.edu>
10Bug-Reports: http://code.google.com/p/pandoc/issues/list
12Homepage: http://johnmacfarlane.net/pandoc
14Tested-With: GHC == 6.12.1, GHC == 6.12.3, GHC == 7.0.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, RTF, MediaWiki, Textile, groff man pages,
22 plain text, Emacs Org-Mode, EPUB, and S5 and Slidy HTML
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/html.template, templates/docbook.template,
41 templates/opendocument.template, templates/latex.template,
42 templates/context.template, templates/texinfo.template,
43 templates/man.template, templates/markdown.template,
44 templates/rst.template, templates/plain.template,
45 templates/mediawiki.template, templates/rtf.template,
46 templates/s5.template, templates/slidy.template,
47 templates/textile.template, templates/org.template
48 -- data for ODT writer
50 -- stylesheet for EPUB writer
52 -- data for LaTeXMathML writer
56 s5/default/slides.js.comment,
57 s5/default/slides.js.packed,
58 s5/default/s5-core.css,
59 s5/default/framing.css,
60 s5/default/pretty.css,
62 s5/default/outline.css,
64 -- data for slidy writer
70 README, INSTALL, COPYRIGHT, BUGS, changelog
72 -- sources for man pages
73 man/man1/markdown2pdf.1.md,
74 -- code to create pandoc.1 man page
76 man/man1/pandoc.1.template,
77 man/man5/pandoc_markdown.5.template,
78 -- generated man pages (produced post-build)
79 man/man1/markdown2pdf.1,
81 man/man5/pandoc_markdown.5,
86 tests/html-reader.html,
87 tests/html-reader.native,
92 tests/chicago-author-date.csl,
95 tests/latex-reader.latex,
96 tests/latex-reader.native,
97 tests/textile-reader.textile,
98 tests/textile-reader.native,
99 tests/markdown-reader-more.txt,
100 tests/markdown-reader-more.native,
101 tests/markdown-citations.txt,
102 tests/markdown-citations.chicago-author-date.txt,
103 tests/markdown-citations.mhra.txt,
104 tests/markdown-citations.ieee.txt,
105 tests/textile-reader.textile,
106 tests/rst-reader.native,
107 tests/rst-reader.rst,
110 tests/s5.fragment.html,
111 tests/s5.inserts.html,
113 tests/tables.context,
114 tests/tables.docbook,
119 tests/tables.markdown,
120 tests/tables.mediawiki,
121 tests/tables.textile,
123 tests/tables.opendocument,
125 tests/tables.texinfo,
129 tests/tables-rstsubset.native,
130 tests/testsuite.native,
133 tests/writer.context,
134 tests/writer.docbook,
137 tests/writer.markdown,
139 tests/writer.mediawiki,
140 tests/writer.textile,
142 tests/writer.opendocument,
146 tests/writer.texinfo,
147 tests/lhs-test.native,
148 tests/lhs-test.markdown,
149 tests/lhs-test.markdown+lhs,
151 tests/lhs-test.rst+lhs,
152 tests/lhs-test.latex,
153 tests/lhs-test.latex+lhs,
155 tests/lhs-test.html+lhs,
156 tests/lhs-test.nohl.html,
157 tests/lhs-test.nohl.html+lhs,
158 tests/lhs-test.fragment.html+lhs
159Extra-Tmp-Files: man/man1/pandoc.1,
160 man/man1/markdown2pdf.1,
161 man/man5/pandoc_markdown.5
164 Description: Compile markdown2pdf with -threaded option.
167 Description: Compile in support for syntax highlighting of code blocks.
170 Description: Build the pandoc executable.
173 Description: Build the pandoc library.
176 Description: Build the wrappers (markdown2pdf).
179 Description: Build test-pandoc.
182 Description: Build benchmark-pandoc.
186 -- Note: the following material must be in both Library and Executable stanzas.
187 -- It needs to be duplicated because of the library & executable flags.
188 -- BEGIN DUPLICATED SECTION
189 Build-Depends: containers >= 0.1 && < 0.5,
190 parsec >= 2.1 && < 3.2,
191 xhtml >= 3000.0 && < 3000.3,
193 network >= 2 && < 2.4,
194 filepath >= 1.1 && < 1.3,
195 process >= 1 && < 1.1,
196 directory >= 1 && < 1.2,
197 bytestring >= 0.9 && < 1.0,
198 zip-archive >= 0.1.1.7 && < 0.2,
199 utf8-string >= 0.3 && < 0.4,
200 old-time >= 1 && < 1.1,
201 HTTP >= 4000.0.5 && < 4000.2,
202 texmath >= 0.5 && < 0.6,
203 xml >= 1.3.5 && < 1.4,
204 random >= 1 && < 1.1,
205 extensible-exceptions >= 0.1 && < 0.2,
206 citeproc-hs >= 0.3.1 && < 0.4,
207 pandoc-types == 1.8.*,
208 json >= 0.4 && < 0.5,
209 dlist >= 0.4 && < 0.6,
210 tagsoup >= 0.12 && < 0.13
212 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
214 Build-depends: base >= 3 && < 4
215 if flag(highlighting)
216 Build-depends: highlighting-kate >= 0.2.9 && < 0.3
217 cpp-options: -D_HIGHLIGHTING
219 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
221 Ghc-Options: -O2 -Wall
222 Ghc-Prof-Options: -auto-all -caf-all
225 -- END DUPLICATED SECTION
227 Exposed-Modules: Text.Pandoc,
229 Text.Pandoc.CharacterReferences,
232 Text.Pandoc.Highlighting,
233 Text.Pandoc.Readers.HTML,
234 Text.Pandoc.Readers.LaTeX,
235 Text.Pandoc.Readers.Markdown,
236 Text.Pandoc.Readers.RST,
237 Text.Pandoc.Readers.TeXMath,
238 Text.Pandoc.Readers.Textile,
239 Text.Pandoc.Readers.Native,
240 Text.Pandoc.Writers.Native,
241 Text.Pandoc.Writers.Docbook,
242 Text.Pandoc.Writers.HTML,
243 Text.Pandoc.Writers.LaTeX,
244 Text.Pandoc.Writers.ConTeXt,
245 Text.Pandoc.Writers.OpenDocument,
246 Text.Pandoc.Writers.Texinfo,
247 Text.Pandoc.Writers.Man,
248 Text.Pandoc.Writers.Markdown,
249 Text.Pandoc.Writers.RST,
250 Text.Pandoc.Writers.Org,
251 Text.Pandoc.Writers.Textile,
252 Text.Pandoc.Writers.MediaWiki,
253 Text.Pandoc.Writers.RTF,
254 Text.Pandoc.Writers.ODT,
255 Text.Pandoc.Writers.EPUB,
257 Text.Pandoc.Templates
259 Other-Modules: Text.Pandoc.XML,
270 -- Note: the following material must be in both Library and Executable stanzas.
271 -- It needs to be duplicated because of the library & executable flags.
272 -- BEGIN DUPLICATED SECTION
273 Build-Depends: containers >= 0.1 && < 0.5,
274 parsec >= 2.1 && < 3.2,
275 xhtml >= 3000.0 && < 3000.3,
277 network >= 2 && < 2.4,
278 filepath >= 1.1 && < 1.3,
279 process >= 1 && < 1.1,
280 directory >= 1 && < 1.2,
281 bytestring >= 0.9 && < 1.0,
282 zip-archive >= 0.1.1.7 && < 0.2,
283 utf8-string >= 0.3 && < 0.4,
284 old-time >= 1 && < 1.1,
285 HTTP >= 4000.0.5 && < 4000.2,
286 texmath >= 0.5 && < 0.6,
287 xml >= 1.3.5 && < 1.4,
288 random >= 1 && < 1.1,
289 extensible-exceptions >= 0.1 && < 0.2,
290 citeproc-hs >= 0.3.1 && < 0.4,
291 pandoc-types == 1.8.*,
292 json >= 0.4 && < 0.5,
293 dlist >= 0.4 && < 0.6,
294 tagsoup >= 0.12 && < 0.13
296 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
298 Build-depends: base >= 3 && < 4
299 if flag(highlighting)
300 Build-depends: highlighting-kate >= 0.2.9 && < 0.3
301 cpp-options: -D_HIGHLIGHTING
303 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
305 Ghc-Options: -O2 -Wall
306 Ghc-Prof-Options: -auto-all -caf-all
309 -- END DUPLICATED SECTION
312 if flag(executable) || flag(wrappers)
317Executable markdown2pdf
319 Main-Is: markdown2pdf.hs
321 Ghc-Options: -Wall -threaded
324 Ghc-Prof-Options: -auto-all
331Executable test-pandoc
333 Main-Is: test-pandoc.hs
334 if flag(highlighting)
335 cpp-options: -D_HIGHLIGHTING
337 cpp-options: -D_LIT=lit
339 cpp-options: -D_LIT=$lit
344 Ghc-Options: -Wall -fno-warn-unused-do-bind
348 Build-Depends: base >= 4 && < 5, Diff, test-framework >= 0.3 && < 0.4,
349 test-framework-hunit >= 0.2 && < 0.3,
350 test-framework-quickcheck2 >= 0.2.9 && < 0.3,
351 QuickCheck >= 2.4 && < 2.6,
352 HUnit >= 1.2 && < 1.3,
353 template-haskell >= 2.4 && < 2.6,
354 ansi-terminal == 0.5.*
355 Other-Modules: Tests.Old
360 Tests.Readers.Markdown
363 Tests.Writers.ConTeXt
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