7Copyright: (c) 2006-2011 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.10.4, 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
163Source-repository head
165 location: git://github.com/jgm/pandoc.git
168 Description: Compile markdown2pdf with -threaded option.
171 Description: Compile in support for syntax highlighting of code blocks.
174 Description: Build the pandoc executable.
177 Description: Build the pandoc library.
180 Description: Build the wrappers (markdown2pdf).
183 Description: Build test-pandoc.
186 Description: Build benchmark-pandoc.
190 -- Note: the following material must be in both Library and Executable 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 >= 2.1 && < 3.2,
195 xhtml >= 3000.0 && < 3000.3,
197 network >= 2 && < 2.4,
198 filepath >= 1.1 && < 1.3,
199 process >= 1 && < 1.1,
200 directory >= 1 && < 1.2,
201 bytestring >= 0.9 && < 1.0,
202 zip-archive >= 0.1.1.7 && < 0.2,
203 utf8-string >= 0.3 && < 0.4,
204 old-time >= 1 && < 1.1,
205 HTTP >= 4000.0.5 && < 4000.2,
206 texmath >= 0.5 && < 0.6,
207 xml >= 1.3.5 && < 1.4,
208 random >= 1 && < 1.1,
209 extensible-exceptions >= 0.1 && < 0.2,
210 citeproc-hs >= 0.3.1 && < 0.4,
211 pandoc-types == 1.8.*,
212 json >= 0.4 && < 0.5,
213 dlist >= 0.4 && < 0.6,
214 tagsoup >= 0.12 && < 0.13
216 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
218 Build-depends: base >= 3 && < 4
219 if flag(highlighting)
220 Build-depends: highlighting-kate >= 0.2.9 && < 0.3
221 cpp-options: -D_HIGHLIGHTING
223 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
225 Ghc-Options: -O2 -Wall
226 Ghc-Prof-Options: -auto-all -caf-all
229 -- END DUPLICATED SECTION
231 Exposed-Modules: Text.Pandoc,
233 Text.Pandoc.CharacterReferences,
236 Text.Pandoc.Highlighting,
237 Text.Pandoc.Readers.HTML,
238 Text.Pandoc.Readers.LaTeX,
239 Text.Pandoc.Readers.Markdown,
240 Text.Pandoc.Readers.RST,
241 Text.Pandoc.Readers.TeXMath,
242 Text.Pandoc.Readers.Textile,
243 Text.Pandoc.Readers.Native,
244 Text.Pandoc.Writers.Native,
245 Text.Pandoc.Writers.Docbook,
246 Text.Pandoc.Writers.HTML,
247 Text.Pandoc.Writers.LaTeX,
248 Text.Pandoc.Writers.ConTeXt,
249 Text.Pandoc.Writers.OpenDocument,
250 Text.Pandoc.Writers.Texinfo,
251 Text.Pandoc.Writers.Man,
252 Text.Pandoc.Writers.Markdown,
253 Text.Pandoc.Writers.RST,
254 Text.Pandoc.Writers.Org,
255 Text.Pandoc.Writers.Textile,
256 Text.Pandoc.Writers.MediaWiki,
257 Text.Pandoc.Writers.RTF,
258 Text.Pandoc.Writers.ODT,
259 Text.Pandoc.Writers.EPUB,
261 Text.Pandoc.Templates
263 Other-Modules: Text.Pandoc.XML,
274 -- Note: the following material must be in both Library and Executable stanzas.
275 -- It needs to be duplicated because of the library & executable flags.
276 -- BEGIN DUPLICATED SECTION
277 Build-Depends: containers >= 0.1 && < 0.5,
278 parsec >= 2.1 && < 3.2,
279 xhtml >= 3000.0 && < 3000.3,
281 network >= 2 && < 2.4,
282 filepath >= 1.1 && < 1.3,
283 process >= 1 && < 1.1,
284 directory >= 1 && < 1.2,
285 bytestring >= 0.9 && < 1.0,
286 zip-archive >= 0.1.1.7 && < 0.2,
287 utf8-string >= 0.3 && < 0.4,
288 old-time >= 1 && < 1.1,
289 HTTP >= 4000.0.5 && < 4000.2,
290 texmath >= 0.5 && < 0.6,
291 xml >= 1.3.5 && < 1.4,
292 random >= 1 && < 1.1,
293 extensible-exceptions >= 0.1 && < 0.2,
294 citeproc-hs >= 0.3.1 && < 0.4,
295 pandoc-types == 1.8.*,
296 json >= 0.4 && < 0.5,
297 dlist >= 0.4 && < 0.6,
298 tagsoup >= 0.12 && < 0.13
300 Build-depends: base >= 4 && < 5, syb >= 0.1 && < 0.4
302 Build-depends: base >= 3 && < 4
303 if flag(highlighting)
304 Build-depends: highlighting-kate >= 0.2.9 && < 0.3
305 cpp-options: -D_HIGHLIGHTING
307 Ghc-Options: -O2 -Wall -fno-warn-unused-do-bind
309 Ghc-Options: -O2 -Wall
310 Ghc-Prof-Options: -auto-all -caf-all
313 -- END DUPLICATED SECTION
316 if flag(executable) || flag(wrappers)
321Executable markdown2pdf
323 Main-Is: markdown2pdf.hs
325 Ghc-Options: -Wall -threaded
328 Ghc-Prof-Options: -auto-all
335Executable test-pandoc
337 Main-Is: test-pandoc.hs
338 if flag(highlighting)
339 cpp-options: -D_HIGHLIGHTING
341 cpp-options: -D_LIT=lit
343 cpp-options: -D_LIT=$lit
348 Ghc-Options: -Wall -fno-warn-unused-do-bind
352 Build-Depends: base >= 4 && < 5, Diff, test-framework >= 0.3 && < 0.4,
353 test-framework-hunit >= 0.2 && < 0.3,
354 test-framework-quickcheck2 >= 0.2.9 && < 0.3,
355 QuickCheck >= 2.4 && < 2.6,
356 HUnit >= 1.2 && < 1.3,
357 template-haskell >= 2.4 && < 2.6,
358 ansi-terminal == 0.5.*
359 Other-Modules: Tests.Old
364 Tests.Readers.Markdown
367 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