A general markup converter Was Maintained by:haskell@FreeBSD.org Port Added: 11 Feb 2007 17:22:44 Also Listed In:haskell License: not specified in port
Pandoc is a command-line tool for converting from one markup format
to another. It can read markdown and (subsets of) reStructuredText,
HTML, and LaTeX, and it can write markdown, reStructuredText, HTML,
LaTeX, ConTeXt, DocBook XML, OpenDocument XML, ODT, RTF, GNU Texinfo,
MediaWiki markup, groff man pages, and S5 HTML slide shows.
Pandoc extends standard markdown syntax with footnotes, embedded LaTeX,
and other features. A compatibility mode is provided for those who
need a drop-in replacement for Markdown.pl. Included wrapper scripts
make it easy to convert markdown documents to PDF and to convert web
pages to markdown documents.
In contrast to existing tools for converting markdown to HTML, which
use regex substitutions, pandoc has a modular design: it consists of a
set of readers, which parse text in a given format and produce a native
representation of the document, and a set of writers, which convert
this native representation into a target format. Thus, adding an input
or output format requires only adding a reader or writer.
WWW: http://johnmacfarlane.net/pandoc/
No installation instructions: this port has been deleted.
The package name of this deleted port was: pandoc
Configuration Options
===> The following configuration options are available for pandoc-1.5.1.1:
HIGHLIGHTING=off (default) "Compile in support for syntax highlighting"
EXECUTABLE=on (default) "Build the pandoc executable"
WRAPPERS=on (default) "Build the wrappers (markdown2pdf)"
LIBRARY=on (default) "Build the pandoc library"
CITEPROC=off (default) "Compile in support for citeproc-hs"
===> Use 'make config' to modify these settings
Affects: users of devel/darcs, ports-mgmt/porte, textproc/pandoc,
x11/xmobar, x11-wm/xmonad, x11-wm/xmonad-contrib
Author: pgj@FreeBSD.org
Reason:
The following ports have been renamed to improve consistency among Haskell
Cabal ports:
- devel/darcs -> devel/hs-darcs
- ports-mgmt/porte -> ports-mgmt/hs-porte
- textproc/pandoc -> textproc/hs-pandoc
- x11/xmobar -> x11/hs-xmobar
- x11-wm/xmonad -> x11-wm/hs-xmonad
- x11-wm/xmonad-contrib -> x11-wm/hs-xmonad-contrib
Please follow these steps below to update Haskell ports that you have
installed:
1) Reinstall the renamed Haskell port dependencies (see previous entry).
Note that this will possibly require that you remove the affected leaf
(aforementioned) ports as well;
2) Reinstall the renamed application(s) you use.
Port Moves
port moved to textproc/hs-pandoc on 2010-05-24 REASON: Renamed: It has become a Cabal transcript
Number of commits found: 17
Commit History - (may be incomplete: see SVNWeb link above for full details)
Introduce a new (and hopefully better) ports infrastructure for Haskell Cabal
ports which makes possible the direct translation of Cabal package
descriptions to FreeBSD ports. It promises both easier addition and
maintenance for Cabal-based ports.
Pandoc is a command-line tool for converting from one markup format
to another. It can read markdown and (subsets of) reStructuredText,
HTML, and LaTeX, and it can write markdown, reStructuredText, HTML,
LaTeX, DocBook, RTF, and S5 HTML slide shows.
Pandoc extends standard markdown syntax with footnotes, embedded LaTeX,
and other features. A compatibility mode is provided for those who
need a drop-in replacement for Markdown.pl. Included wrapper scripts
make it easy to convert markdown documents to PDFs and to convert web
pages to markdown documents.
In contrast to existing tools for converting markdown to HTML, which
use regex substitutions, pandoc has a modular design: it consists of a
set of readers, which parse text in a given format and produce a native
representation of the document, and a set of writers, which convert
this native representation into a target format. Thus, adding an input
or output format requires only adding a reader or writer.
WWW: http://sophos.berkeley.edu/macfarlane/pandoc/
PR: ports/109028
Submitted by: John MacFarlane <jgm at berkeley.edu>
Approved by: miwi (mentor)