Skip to content

Commit eaa63d1

Browse files
authored
Merge pull request #45 from anton-trunov/prerequisites-macOS
Add installation instructions for prerequisites on macOS
2 parents 0e999ee + 22f510f commit eaa63d1

File tree

2 files changed

+45
-0
lines changed

2 files changed

+45
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ Others may work, but here are the versions I'm using.
3030
| [Pygments][] | 2.2.0 |
3131
| [XeLaTeX][] | 3.14159265-2.6-0.99998 (TeX Live 2017) |
3232

33+
### Installing prerequisites
34+
35+
- [macOS](prerequisites_macOS.md)
3336

3437
<!-- Named Links -->
3538

prerequisites_macOS.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Installing prerequisites on macOS
2+
3+
We assume that you are using a fresh macOS installation.
4+
5+
## Install [Homebrew](http://brew.sh/) package manager
6+
7+
```shell
8+
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
9+
```
10+
11+
## Install major dependencies via Homebrew
12+
13+
```shell
14+
brew install idris cabal-install git ghc python wget
15+
```
16+
17+
## Install [MacTeX](http://www.tug.org/mactex/) via Homebrew
18+
19+
```shell
20+
brew cask install mactex
21+
```
22+
23+
## Install pandoc and pandoc-types via cabal
24+
25+
```shell
26+
cabal update
27+
cabal install pandoc pandoc-types
28+
export PATH=$HOME/.cabal/bin:$PATH
29+
```
30+
31+
You might want to add cabal to your `PATH` permanently.
32+
33+
## Install pygments
34+
35+
```shell
36+
pip install --user Pygments
37+
```
38+
39+
## Install Monoid font
40+
41+
Download the [Monoid font](http://larsenwork.com/monoid/) and put the `ttf`-files into `/Library/Fonts` directory.
42+
Reboot to let macOS find the font.

0 commit comments

Comments
 (0)