A general markup converter Maintained by:haskell@FreeBSD.org Port Added: 24 May 2010 20:27:48 Also Listed In:haskell License: GPLv2
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 plain text, markdown, reStructuredText,
HTML, LaTeX, ConTeXt, PDF, RTF, DocBook XML, OpenDocument XML, ODT, GNU
Texinfo, MediaWiki markup, groff man pages, EPUB ebooks, and S5 and
Slidy 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/
To install the port:cd /usr/ports/textproc/hs-pandoc/ && make install clean To add the package:pkg_add -r hs-pandoc
Configuration Options
===> The following configuration options are available for hs-pandoc-1.8.2.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"
THREADED=on (default) "Compile markdown2pdf with -threaded option"
===> Use 'make config' to modify these settings
Reason:
GHC has been updated to version 7.0.4, and Haskell Platform to version
2011.4.0.0, and other Haskell ports are also updated to their Haskell
Platform versions or latest versions.
To update all affected ports:
# portmaster -r lang/ghc
or
# portupgrade -r lang/ghc
2011-05-09
Affects: users of lang/ghc and */hs-*
Author: ashish@FreeBSD.org
Reason:
GHC has been updated to version 7.0.3 and other Haskell ports are also
updated to their Haskell Platform versions or latest versions.
To update all affected ports:
# portmaster -r lang/ghc
or
# portupgrade -r lang/ghc
Port Moves
port moved here from textproc/pandoc on 2010-05-24 REASON: Renamed: It has become a Cabal transcript
Number of commits found: 13
Commit History - (may be incomplete: see CVSWeb link above for full details)
- Please welcome GHC 7.0.4
GHC in the ports tree has been updated to version 7.0.4 and the port revision
for all the Haskell ports without version changes are bumped. Other per-port
updates are coming soon.
This update also incorporates some improvements for bsd.cabal.mk that makes
working with Haskell ports even easier.
Thanks ashish@ for the help!
Obtained from: FreeBSD Haskell
- Update textproc/hs-tagsoup to 0.12.2.
- Bump PORTREVISION of dependent ports on textproc/hs-tagsoup, i.e.
devel/h-hoogle, science/hs-bio, and textproc/pandoc.
PR: ports/157826
Submitted by: Jin-Sih Lin <linpct@gmail.com>
Bump PORTREVISION of all ports dependent on lang/ghc as during
upgrade, lang/ghc cabal package cache gets invalidated causing all
dependent ports to be reinstalled.
Obtained from: FreeBSD Haskell
- Please welcome GHC 7.0.3
GHC in the ports tree has been updated to 7.0.3 and all other Haskell ports
are also updated to their corresponding Haskell Platform versions, or latest
versions.
We would like to acknowledge the support of the FreeBSD Donations Team and
Eotvos Lorand University, Faculty of Informatics who contributed to the server
that we used for testing.
We would also like to thank all the testers who tested FreeBSD Haskell ports
and provided their feedback.
PR: ports/156642
Approved by: tabthorpe (mentor)
Obtained from: FreeBSD Haskell