| 1 |
------------------------------------------------------------------------------ |
| 2 |
Songs LaTeX Package Documentation |
| 3 |
------------------------------------------------------------------------------ |
| 4 |
|
| 5 |
Table Of Contents: |
| 6 |
I. Overview |
| 7 |
II. Copyright Notice |
| 8 |
III. Manifest |
| 9 |
IV. Installation Instructions |
| 10 |
V. Help & Support |
| 11 |
|
| 12 |
|
| 13 |
I. Overview |
| 14 |
|
| 15 |
The Songs package is for producing songbooks containing lyrics and chords |
| 16 |
(but not sheet music). Each songs document can produce a lyric-only songbook |
| 17 |
for singers, a chorded songbook for musicians, a set of overhead |
| 18 |
transparencies, or a set of digital projector slides, all from a single master |
| 19 |
document. It can also automatically generate partial songbooks consisting of |
| 20 |
only some songs from the master document in a specified order. Facilities for |
| 21 |
automatic transposition and creation of guitar tablature diagrams are also |
| 22 |
included. |
| 23 |
|
| 24 |
|
| 25 |
II. Copyright Notice |
| 26 |
|
| 27 |
The Songs LaTeX Package is copyright (C) 2018 Kevin W. Hamlen. |
| 28 |
|
| 29 |
It is free software; you can redistribute it and/or modify it under the terms |
| 30 |
of the GNU General Public License as published by the Free Software Foundation; |
| 31 |
either version 2 of the License, or (at your option) any later version. |
| 32 |
|
| 33 |
This program is distributed in the hope that it will be useful, but WITHOUT |
| 34 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 35 |
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
| 36 |
|
| 37 |
You should have received a copy of the GNU General Public License along with |
| 38 |
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin |
| 39 |
Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 40 |
|
| 41 |
|
| 42 |
III. Manifest |
| 43 |
|
| 44 |
This software consists of three main components: |
| 45 |
|
| 46 |
1. The LaTeX2e "Songs" style package for creating songbooks, with source |
| 47 |
consisting of: |
| 48 |
songs.dtx (self-documenting source code) |
| 49 |
songs.ins (installer script for docstrip) |
| 50 |
Makefile (makefile for generating songs.sty and songs.pdf) |
| 51 |
|
| 52 |
2. The songidx index-generation script: |
| 53 |
songidx/songidx.lua (Lua source file) |
| 54 |
songidx/*.can (text data files used by songidx at runtime) |
| 55 |
|
| 56 |
(Please note that the "makeindex" program that comes standard with LaTeX |
| 57 |
is NOT a suitable replacement for songidx.) |
| 58 |
|
| 59 |
3. A sample chord book, lyric book, slide book, and transparency book: |
| 60 |
sample/songs.sbd (song data for all four books) |
| 61 |
sample/chordbook.tex (chord book LaTeX source) |
| 62 |
sample/lyricbook.tex (lyric book LaTeX source) |
| 63 |
sample/slidebook.tex (slide book LaTeX source) |
| 64 |
sample/transparencies.tex (transparencies LaTeX source) |
| 65 |
sample/Makefile (GNU makefile for generating all four books) |
| 66 |
|
| 67 |
|
| 68 |
IV. Installation Instructions |
| 69 |
|
| 70 |
1. The songs/Makefile file generates the songs package (songs.sty) and its |
| 71 |
documentation (songs.pdf). If pdflatex and makeindex are both in your path, |
| 72 |
you should be able to invoke Make to generate both: |
| 73 |
|
| 74 |
cd songs |
| 75 |
gmake |
| 76 |
|
| 77 |
Otherwise you will need to first edit the top three lines of the Makefile |
| 78 |
to indicate where pdflatex and makeindex are located on your system. If you |
| 79 |
wish to use latex instead of pdflatex you must also change the "TEXOUT" |
| 80 |
line to "TEXOUT = dvi". |
| 81 |
|
| 82 |
If desired, copy the resulting songs.sty file to the appropriate place in |
| 83 |
your LaTeX tree (usually /usr/local/share/texmf/tex/latex/songs). |
| 84 |
|
| 85 |
mkdir /usr/local/share/texmf/tex/latex/songs |
| 86 |
cp songs.sty /usr/local/share/texmf/tex/latex/songs |
| 87 |
|
| 88 |
2. The sample books can be compiled using the files in songs/sample. If |
| 89 |
pdflatex is in your path, you should be able to invoke GNU Make to generate |
| 90 |
all of them (note that GNU-compatible version of Make is REQUIRED): |
| 91 |
|
| 92 |
cd ../sample |
| 93 |
gmake |
| 94 |
|
| 95 |
Otherwise you will need to first edit the top line of the Makefile to |
| 96 |
indicate where pdflatex is located on your system. If you wish to use |
| 97 |
latex instead of pdflatex you must also change the "TEXOUT" line to |
| 98 |
"TEXOUT = dvi". |
| 99 |
|
| 100 |
|
| 101 |
V. Help & Support |
| 102 |
|
| 103 |
The songs.pdf file contains documentation precompiled from the songs.dtx |
| 104 |
source code. For more support, including example songbooks, songbook |
| 105 |
editing tools, and self-installing executables for Windows, please refer |
| 106 |
to the Songs package homepage at: |
| 107 |
|
| 108 |
http://songs.sourceforge.net |
| 109 |
|