Skip to content

f-klubben/sangbog

Repository files navigation

Sangbogen

This is the current songbook in the F-Klub

Download

The latest songbook can be downloaded from here in booklet format ready for printing. If you require the songbook in a non-booklet format, you can follow the build instructions below (and use the pdf target formake).

Building from source

For Debian-based systems (in other distributions package names may vary):

  1. Fetch the source code
git clone https://github.com/f-klubben/sangbog.git
  1. Install prerequisites:
sudo apt install texlive-latex-extra psutils texlive-lang-european ghostscript
  1. Build the sangbog make booklet for booklet format, make pdf for non-booklet (continuous) format

Building using nix

For nix based systems with flakes enabled:

  1. Fetch the source code
git clone https://github.com/f-klubben/sangbog.git
  1. Enter environment
nix develop
  1. Build pdf
make booklet

Or build and run the latest version locally: nix run github:f-klubben/sangbog

Adding new songs

Songs are stored in /sange so the process of adding a new song is

  1. touch ./sange/[songname].tex
  2. Edit ./sange/[songname].tex
  3. Add the following in main.tex
    \newpage
    \input{sange/[songname].tex}