-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
11 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |