summaryrefslogtreecommitdiff
path: root/web/index.txt.in
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-07-19 07:07:53 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2009-07-19 07:07:53 +0000
commitadabf14a5f5bfcd8d0356ccbf8f54b954bbfd52c (patch)
treec316da7e76497dd99603a7e228a41b0ac63b6316 /web/index.txt.in
parent84fabda2f62bcfed533ad84e490ca8515d709ee5 (diff)
Better installation instructions on website.
git-svn-id: https://pandoc.googlecode.com/svn/trunk@1604 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'web/index.txt.in')
-rw-r--r--web/index.txt.in29
1 files changed, 21 insertions, 8 deletions
diff --git a/web/index.txt.in b/web/index.txt.in
index 8b952d4bb..faca06e78 100644
--- a/web/index.txt.in
+++ b/web/index.txt.in
@@ -64,16 +64,28 @@ or [try pandoc on the web](/pandoc/try).
- [Examples](examples.html)
- [Try pandoc online](http://johnmacfarlane.net/pandoc/try)
-# Downloads
+# Installing pandoc
-For installation instructions for all architectures, see
-[INSTALL](INSTALL.html). Pandoc is in the [MacPorts], [Debian],
-[Ubuntu], [Slackware], [Arch], [NetBSD], and [FreeBSD ports] repositories.
-Note that the version of pandoc in these repositories may not be the
-most recent.
+Pandoc is in the [MacPorts], [Debian], [Ubuntu], [Slackware], [Arch],
+[NetBSD], and [FreeBSD ports] repositories. Note that the version of
+pandoc in these repositories may not be the most recent. There
+is also a [Windows installer].
-- [Source tarball]
-- [Windows installer]
+If an up-to-date package is not available for your system, an
+excellent way to install the latest release of pandoc is to
+install the [Haskell platform] on your system, then use the `cabal`
+tool:
+
+ cabal install pandoc
+
+This will download and compile pandoc and all of its dependencies. If
+you want syntax highlighting support, add the flag `-fhighlighting`
+(this requires that the [pcre](http://www.pcre.org/) library be
+installed). If you want to install the wrapper scripts `hsmarkdown` and
+`markdown2pdf`, add `-fwrappers`.
+
+Alternatively, you can download the [source tarball] and
+follow the instructions in [INSTALL](INSTALL.html).
# Extras
@@ -229,4 +241,5 @@ Pandoc carries no warranties of any kind.
[vim syntax file for pandoc]: http://www.vim.org/scripts/script.php?script_id=2389
[jsMath]: http://www.math.union.edu/~dpvc/jsMath/
[WordPress EasyFilter]: http://assorted.sourceforge.net/wp-easy-filter/
+[Haskell platform]: http://hackage.haskell.org/platform/