From adabf14a5f5bfcd8d0356ccbf8f54b954bbfd52c Mon Sep 17 00:00:00 2001
From: fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
Date: Sun, 19 Jul 2009 07:07:53 +0000
Subject: [PATCH] Better installation instructions on website.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@1604 788f1e2b-df1e-0410-8736-df70ead52e1b
---
 web/index.txt.in | 29 +++++++++++++++++++++--------
 1 file 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/