Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mb21 committed Nov 8, 2017
1 parent ad6a554 commit 9e45cf2
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions Installing-the-development-version-of-pandoc.md
@@ -1,19 +1,18 @@
If you want to live dangerously, you can install the still-in-progress pandoc (and pandoc-citeproc) from github. You'll need git and [stack](https://github.com/commercialhaskell/stack/releases). Grab the stack binary that is appropriate for your platform and put it somewhere in your path.
If you want to live dangerously, you can try the unofficial [pandoc-nightly builds](https://github.com/pandoc-extras/pandoc-nightly), or install the still-in-progress pandoc from GitHub. You'll need git and [stack](https://github.com/commercialhaskell/stack/releases). Grab the stack binary that is appropriate for your platform and put it somewhere in your path.

Then:

mkdir pandoc-build
cd pandoc-build
git clone https://github.com/jgm/pandoc-types
git clone https://github.com/jgm/texmath
git clone https://github.com/jgm/pandoc-citeproc
git clone https://github.com/jgm/pandoc
git clone https://github.com/jgm/cmark-hs
git clone https://github.com/jgm/zip-archive
cd pandoc
git submodule update --init
stack install --test --install-ghc --stack-yaml stack.full.yaml
stack setup # only first time
stack install

The `stack install` command will let you know where it put the binaries (pandoc and pandoc-citeproc). You may have to add this location (`~/.local/bin`, on linux and OSX systems) to your path.
Depending on your needs, you'll have to do the same for the following repositories:

https://github.com/jgm/pandoc-types
https://github.com/jgm/texmath
https://github.com/jgm/pandoc-citeproc
https://github.com/jgm/cmark-hs
https://github.com/jgm/zip-archive

To pull in the latest changes, after you've done this and there have been changes in the repositories: Visit each repository in pandoc-build (pandoc-types, texmath, pandoc-citeproc, pandoc, zip-archive, cmark-hs) and do `git pull`. In the pandoc repo, also do `git submodule update` and `stack install --test --stack-yaml stack.full.yaml`.
The `stack install` command will let you know where it put the binaries (pandoc and pandoc-citeproc). You may have to add this location (`~/.local/bin`, on linux and OSX systems) to your path.

0 comments on commit 9e45cf2

Please sign in to comment.