Git Product home page Git Product logo

songbook's Introduction

Songbook ๐ŸŽถ

A simple songbook created with LaTeX

Motivation

I wanted to have my personalized songbook with all of my favorite campfire songs. ๐Ÿ’โ€โ™‚๏ธ

Also, I thought that it would be cool to make it so that a person who does not have any experience with LaTeX could add songs and build a PDF. Thus, I needed a moderately simple solution - a few, easy to use, macros to describe things such as guitar chords etc. and a simple build process. Moreover, these qualities should allow for this project to be reusable.

Like any rฬตeฬตaฬตsฬตoฬตnฬตaฬตbฬตlฬตeฬต lazy person would do, before I actually started working on this repo I thought: Hey! I should find something ready to use on GitHub. Sadly, there was nothing which would work as I wanted. Still, there are some really good projects out there. I'd like to mention: tbabej/songbook and dhil/best-aalborg-songbook.

Adding songs and building ๐Ÿ› 

Prerequisites

If you want to build this project on your computer you'll need:

  • Some LaTeX compiler. Install yourself one of the available distributions. I happen to use TeX Live. https://www.latex-project.org/get/ is a good place to start. What's important is that you should have access to all packages used by this project.
  • Make

Songs

You should add your songs to the songs folder. There you can group them in subdirectories, for instance:

โ”œโ”€โ”€ link-songs.sh
โ”œโ”€โ”€ songs
โ”‚   โ”œโ”€โ”€ 0_Folk
โ”‚   โ”‚   โ””โ”€โ”€ 01_Song_title.tex
โ”‚   โ”‚   โ””โ”€โ”€ 02_Song_title.tex
โ”‚   โ”œโ”€โ”€ 1_Ballads
โ”‚   โ”‚   โ””โ”€โ”€ 01_Song_title.tex
โ”‚   โ”‚   โ””โ”€โ”€ 02_Song_title.tex
โ”‚   โ””โ”€โ”€ index.tex

Notice the index.tex file. It is responsible for including your songs in the main document. This file is generated automatically by link-songs.sh. Whenever you change contents of songs/ you should run that script. You can do it by running:

$ make link

Once you liked your songs you can build the project with:

$ make

songbook's People

Contributors

pniewiejski avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.