indexing help

Don Gingrich gingrich at
Thu Mar 7 03:28:28 CET 2019

I've got a big book of music

I created the scores with LilyPond (using options to minimise the
margins and such to make them better included files) and then generated PDFs

Then I built a LaTex container file to build the book with contents
indices, etc.

At present there is a contents table, and an index of first lines.

I'd like to add the following indices:
country of origin

It's got over 100, and may get to 200 songs, so the easier it is
to find things, the better

Just to give the flavour, I'll give a (not quite working) example --
for it to be working I'd need to supply the musical scores.

I've noticed that a bunch of the packages do not "play nice" with one 
and I've done a *lot* of tweaking and fiddling to get the page margins in
the right places, as well as working to force page-breaks and such so that
the music would sit with a score on a left/right combination. If there 
was any
interest, I'd be happy to share the container template when it was a 
fully working

---------------------------start e g --------------------------
\setlength{\topmargin}{-0.75 in}
%\usepackage[pdftex]{graphicx,color} wont work with tocstyle
\usetocstyle{KOMAlike} %the previous line resets it
% \usepackage[inner=2.5cm,textwidth=18cm]{geometry}

% following block allows for page number to be visible
% and easily modified
\fancyhf{} % clear all header and footer fields
\fancyfoot[C]{\large \thepage} % except the center
\renewcommand{\abstractname}{} }   % clear the title
% \newcommand\l at section {\@dottedtocline{1}{2em}{3em}}
% \renewcommand{\absnamepos}{empty} % originally center

\renewcommand*{\indexname}{Index of First lines}
\newcommand{\at}{\makeatletter @\makeatother}



\title{\huge \bf  Songs for Busking\\----------------------------------- 
\\ \large \it AKA Don's Favourites }
\author{\Large{Compiled by Don Gingrich}}
\date{January 2019}






\section*{Note to Musicians}

This book is compiled from a range of scores for folk music
and modern tunes written ``in the folk tradition''. They represent
an eclectic and idiosyncratic selection of tunes with the primary
commonality being that they suit the musical or/or  political taste of the


% \input busking.toc


This book is dedicated to the musicians who use it, in
the hope that they get enjoyment from playing these tunes.



% \\begin{theindex}


\invisiblesection{500 Miles}
\index{If you miss the train I'm on, you will know that I am gone}
\includepdf[pages=-, scale=0.85, offset=-1.2cm 0, 

\invisiblesection{All Around My Hat}
\index{Fare thee well cold winter and fare thee well cold frost}
\includepdf[pages=-, scale=0.85, offset=-1.2cm 0, 

\invisiblesection{And the Band Played Waltzing Matilda}
\index{When I was a young man I carried a pack}
\includepdf[pages=-, scale=0.85, offset=-1.2cm 0, 

% the above pattern repeats for each song



% \blinddocument
% \\end{theindex}
---------------------------------- end e g 

Don Gingrich
gingrich at              gingrich at
don at for web page

More information about the texhax mailing list