Skip to content

Instantly share code, notes, and snippets.

@linjunpop
Last active July 15, 2018 13:30

Revisions

  1. linjunpop revised this gist Mar 27, 2013. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion install-pandoc.md
    Original file line number Diff line number Diff line change
    @@ -29,7 +29,7 @@ export PATH="$HOME/.cabal/bin:$PATH"
    ## Convert to PDF

    > For PDF output, you’ll also need LaTeX. We recommend installing BasicTeX (64M), and using the tlmgr tool to install additional > packages as needed.
    > - http://johnmacfarlane.net/pandoc/installing.html
    > -- http://johnmacfarlane.net/pandoc/installing.html
    ### Install BasicTex

  2. linjunpop revised this gist Mar 27, 2013. 1 changed file with 22 additions and 3 deletions.
    25 changes: 22 additions & 3 deletions install-pandoc.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,8 @@
    # Install [pandoc](https://github.com/jgm/pandoc) on Mac OS X 10.8

    ## Install haskell-platform
    ## Install

    ### Install haskell-platform

    ```bash
    $ brew install haskell-platform
    @@ -12,14 +14,31 @@ Update `cabal`
    $ cabal update
    ```

    ## Install pandoc
    ### Install pandoc

    ```bash
    $ cabal install pandoc
    ```

    ## Set PATH in `~/.zshenv`
    ### Set PATH in `~/.zshenv`

    ```bash
    export PATH="$HOME/.cabal/bin:$PATH"
    ```

    ## Convert to PDF

    > For PDF output, you’ll also need LaTeX. We recommend installing BasicTeX (64M), and using the tlmgr tool to install additional > packages as needed.
    > - http://johnmacfarlane.net/pandoc/installing.html
    ### Install BasicTex

    http://www.tug.org/mactex/morepackages.html

    Direct Link: http://mirror.ctan.org/systems/mac/mactex/mactex-basic.pkg

    ### set PATH

    ```bash
    export PATH="/usr/local/texlive/2012basic/bin/universal-darwin:$PATH"
    ```
  3. linjunpop created this gist Mar 27, 2013.
    25 changes: 25 additions & 0 deletions install-pandoc.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,25 @@
    # Install [pandoc](https://github.com/jgm/pandoc) on Mac OS X 10.8

    ## Install haskell-platform

    ```bash
    $ brew install haskell-platform
    ```

    Update `cabal`

    ```bash
    $ cabal update
    ```

    ## Install pandoc

    ```bash
    $ cabal install pandoc
    ```

    ## Set PATH in `~/.zshenv`

    ```bash
    export PATH="$HOME/.cabal/bin:$PATH"
    ```