13
Alessandro Borsoi 16.01.2014, EDUCAFE, METID – Politecnico di Milano a universal document converter Pandoc

Expertise2014 pandoc

Embed Size (px)

DESCRIPTION

Expertise Metid Match 2013 Pandoc

Citation preview

Page 1: Expertise2014 pandoc

Alessandro Borsoi16.01.2014, EDUCAFE, METID – Politecnico di Milano

a universal document converter

Pandoc

Page 2: Expertise2014 pandoc

what it is (1)

PANDOC is a Haskell library for converting from one markup format to another, and a command-line tool that uses this library.

Pandoc is free software, released under the GPL. © 2006-2013

Page 3: Expertise2014 pandoc

what it is (2)

PANDOC is a 

Haskell: is a computer programming language.

library: in computer science, a library is a collection of implementations of behavior, written in terms of a language, that has a well-defined interface by which the behavior is invoked. In addition, the behavior is provided for reuse by multiple independent programs.

for converting from one markup format to another: A (document) markup language is a modern system for annotating a document in a way that is syntactically distinguishable from the text. 

and a command-line tool that uses this library: is a means of interacting with a computer program where the user (or client) issues commands to the program in the form of successive lines of text (command lines).

Page 4: Expertise2014 pandoc

who

John MacFarlaneProfessor and Chair, Department of PhilosophyUniversity of California, Berkeley314 Moses Hall #2390Berkeley, CA 94720-2390

Telephone: (510) 394-3321Fax: (510) 642-4164E-mail: [email protected]

Office: 231 Moses HallOffice Hours: Tu 9-11

Page 5: Expertise2014 pandoc

formats

- HTML formats: XHTML, HTML5, and HTML slide shows using Slidy, reveal.js, Slideous, S5 or DZSlides.

- Word processor formats: Microsoft Word docx, OpenOffice/LibreOffice ODT, OpenDocumentXML

- Ebooks: EPUB version 2 or 3, FictionBook2

- Documentation formats: DocBook, GNU TexInfo, Groff man pages, Haddock markup

- Outline formats: OPML

- TeX formats: LaTeX, ConTeXt, LaTeX Beamer slides

- PDF via LaTeX

- Lightweight markup formats: Mardown, reStructuredText, AsciiDoc, MediaWiki markup, Emacs Org-Mode, Textile

- Custom formats: custon writers can be written in lua

Page 6: Expertise2014 pandoc

how

Command-line!!!!!

Page 7: Expertise2014 pandoc

how

http://johnmacfarlane.net/pandoc/try/

Page 8: Expertise2014 pandoc

examples

Page 9: Expertise2014 pandoc

alternatives

Multimarkdown: http://fletcherpenney.net/multimarkdown/

Maruku: http://maruku.rubyforge.org/

Muse: http://mwolson.org/projects/EmacsMuse.html

Page 10: Expertise2014 pandoc

alternatives

Multimarkdown (MMD)

Output formats:- HTML/XHTML- LaTeX (which can be processed into a PDF)- OpenDocument Text document- OPML- RTF- Microsoft Word- Multiple other word-processor formats

Page 11: Expertise2014 pandoc

alternatives

Maruku

Output formats:- HTML- LaTeX- PDF

Muse

Output formats:- Blosxom- ConTeXt- DocBook- Groff- HTML- Info- LaTeX- PDF- RSS 2.0- Texinfo- XHTML- XML

Page 12: Expertise2014 pandoc

Pandoc vs MMD

https://github.com/jgm/pandoc/wiki/Pandoc-vs-Multimarkdown

Page 13: Expertise2014 pandoc

end

END