karlseguin / the-little-go-book

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

The Little Go Book is a free book introducing Go.

The book was written by Karl Seguin, author of:

License

The book is freely distributed under the Attribution-NonCommercial-ShareAlike 4.0 International.

Translations

Formats

The book is written in Markdown and converted to PDF using Pandoc.

The TeX template makes use of Lena Herrmann's JavaScript highlighter.

Kindle and ePub format provided using Pandoc.

Generating books

Packages listed below are for Ubuntu. If you use another OS or distribution names would be similar.

PDF

Dependencies

Packages:

  • pandoc
  • texlive-xetex
  • texlive-latex-extra
  • texlive-latex-recommended

You should have some fonts installed too. Or you could change them to other ones if you want. Consider that fonts could cause building troubles.

Building

Run make en/go.pdf.

ePub

Dependencies

Packages:

  • pandoc

Building

Run make en/go.epub.

Mobi

Dependencies

Packages:

  • pandoc

You should have Kindle Previewer installed too.

Building

Run make en/go.mobi.

Title Image

A PSD of the title image is included. The font used is Comfortaa.

About


Languages

Language:TeX 81.4%Language:Makefile 18.6%