This is a modular songbook using latex's songs-package with a simple java-script to generate the index, chapters etc. automatically.
Its contents are automatically assembled from individual .tex files in the bands
-folder.
<bandid>.tex
in the bands
-folder. This file should contain the individual songs
by that artist. Note, that the artists will be sorted by the filename (i.e. <bandid>
), not the actual name of the artist. This
allows for sorting e.g. Steven Wilson
under W
, by naming the corresponding file e.g. wilson_steven.tex
.wilson_steven.tex
would have as first line % Steven Wilson
. This is the name that will actually appear
in the final document.\newsong{<title>}
to start a new song to add it to the table of contents (the handling of indices in the songs packages is... not well suited for artist-song-subordering).
Details on the syntax can be found in the official documentation of the package.
Note, that the songs will appar in the final document in the same order as they are in the artists .tex
-file.build.jar
(usually via java -jar build.jar
), which should take care of all the rest for you
by assembling the individual band files into one main.tex
and compiling it to two pdf
files (main.pdf
and mobile.pdf
, which is optimized for phone screens - well, mine, to be precise) with table of contents etc. directly.
In case there are problems, you can manually compile the main.tex
to get proper error messages.\tab{<filename>}
will insert an image (intended to be guitar tabs) with the ideal width. The image should be in the tabs
-folder.\todosong{<Name>}
will insert a TODO both in the body of the document as well as the TOC if turned on, and will be ignored if turned off. Whether TODOs are shown is toggled in the boolean flag \setboolean{show}{<value>}
in songbook.template
.Some entries taken from the Patacrep Songbook