From 15d5245a04240f8bd6642c2dd3c56654d5548937 Mon Sep 17 00:00:00 2001 From: Chris Allen Date: Fri, 13 Mar 2015 16:39:11 -0500 Subject: [PATCH 1/3] removed detailed manual guide --- README.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/README.md b/README.md index 7f58884..5e159a6 100644 --- a/README.md +++ b/README.md @@ -258,12 +258,6 @@ Download the latest binary distributions for cabal and ghc: - [Cabal](https://www.haskell.org/cabal/download.html). -#### Detailed manual install guide for Mac OS X - -You don't need this if you use the .app, but if it doesn't work for you, try -[this](http://www.davesquared.net/2014/05/platformless-haskell.html) with the -binary distribution. - # Primary Courses ## Yorgey's cis194 course From 9d69369c9e0d01a765a3bbb2c8f2ad8b95fea1b7 Mon Sep 17 00:00:00 2001 From: Chris Allen Date: Sat, 14 Mar 2015 20:04:02 -0500 Subject: [PATCH 2/3] deb.haskell.org is dead, updated to 7.8.4 --- Makefile | 3 +++ README.md | 18 ++---------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/Makefile b/Makefile index 541f434..2475cb2 100644 --- a/Makefile +++ b/Makefile @@ -12,3 +12,6 @@ FLAGS = --normalize --smart --toc $(VARIABLES) pdf: README.md $(PANDOC) -s $(INPUT) -o $(OUTPUT) $(FLAGS) --column=80 + +dialogues: dialogues.md + $(PANDOC) -s dialogues.md -o dialogues.pdf $(FLAGS) --column=80 diff --git a/README.md b/README.md index 5e159a6..aef986c 100644 --- a/README.md +++ b/README.md @@ -88,13 +88,13 @@ $ sudo apt-get install python-software-properties # v12.04 and below $ sudo apt-get install software-properties-common # v12.10 and above $ sudo add-apt-repository -y ppa:hvr/ghc $ sudo apt-get update -$ sudo apt-get install cabal-install-1.20 ghc-7.8.3 happy-1.19.4 alex-3.1.3 +$ sudo apt-get install cabal-install-1.20 ghc-7.8.4 happy-1.19.4 alex-3.1.3 ``` Then add the following to your `$PATH` (bash\_profile, zshrc, bashrc, etc): ``` -~/.cabal/bin:/opt/cabal/1.20/bin:/opt/ghc/7.8.3/bin:/opt/happy/1.19.4/bin:/opt/alex/3.1.3/bin +~/.cabal/bin:/opt/cabal/1.20/bin:/opt/ghc/7.8.4/bin:/opt/happy/1.19.4/bin:/opt/alex/3.1.3/bin ``` *Optional:* You could also add `.cabal-sandbox/bin` to your path. Code that you @@ -103,20 +103,6 @@ only works when your current working directory is a cabal sandbox. ## Debian -### GHC Repository for debian stable - -If you use Debian stable, it is easier to use http://deb.haskell.org/. To -use it: - -- Add the line `deb http://deb.haskell.org/stable/ ./` to `/etc/apt/sources.list` - -```bash -## Add the key to avoid warnings -$ GET http://deb.haskell.org/deb.haskell.org.gpg-key | apt-key add - -$ sudo apt-get update -$ sudo apt-get install ghc-7.8.3 happy alex cabal-install -``` - ### Using Ubuntu PPA If you're not using stable, you can follow the same steps as Ubuntu, but will From 9d9dcf3d97c446bea11e95198b039cd3d34efa8b Mon Sep 17 00:00:00 2001 From: Nadir Sampaoli Date: Sun, 15 Mar 2015 17:44:53 +0100 Subject: [PATCH 3/3] Fix pandoc/latex issue with unicode chars --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2475cb2..0d02b04 100644 --- a/Makefile +++ b/Makefile @@ -5,10 +5,11 @@ TITLE = -V title=LearnHaskell AUTHOR = -V author=bitemyapp FONTSIZE = -V fontsize=12pt FONTFAMILY = -V fontfamily=sans +MAINFONT= -V mainfont=Georgia PAGESIZE = -V pagesize=a4paper GEOMETRY = -V geometry=landscape -VARIABLES = $(GEOMETRY) $(FONTSIZE) $(PAGESIZE) $(TITLE) $(AUTHOR) $(FONTFAMILY) -FLAGS = --normalize --smart --toc $(VARIABLES) +VARIABLES = $(GEOMETRY) $(FONTSIZE) $(PAGESIZE) $(TITLE) $(AUTHOR) $(FONTFAMILY) $(MAINFONT) +FLAGS = --normalize --smart --toc --latex-engine=xelatex $(VARIABLES) pdf: README.md $(PANDOC) -s $(INPUT) -o $(OUTPUT) $(FLAGS) --column=80