Songs package not indexing
I am using the songs package v 2.18. the later update called 3.1 will not run on my pc. I have a problem that my current package is producing the lyrick book without index or page numbers. I need to include both..
My tex file:
documentclass[letterpaper]{article}
usepackage[bookmarks]{hyperref}
usepackage[lyric]{songs}
% includeonlysongs{2}
songcolumns{3}
renewcommand{lyricfont}{sffamilyLarge}
setlength{oddsidemargin}{0in}
setlength{evensidemargin}{0in}
setlength{textwidth}{6.5in}
setlength{topmargin}{0in}
setlength{topskip}{0in}
setlength{headheight}{0in}
setlength{headsep}{0in}
setlength{textheight}{9.1in}
settowidth{versenumwidth}{1. }
pagestyle{empty}
newindex{titleidx}{lbtitle}
newauthorindex{authidx}{lbauth}
newscripindex{scripidx}{lbscrip}
begin{document}
showindex{Dogter van Sion Sangbundel}{titleidx}
songsection{Aanbiddingsliedere}
begin{songs}{titleidx,authidx,scripidx}
input{songs.sbd}
end{songs}
end{document}
extract from My songs file:
noversenumbers
songpos{3}
beginsong{SING 'N LIED TOT SY EER}
beginverse
[D]Ek sing 'n lied tot die eer,
die [G]eer van ons Mid'laar en [A]Vriend.
Ewig [D]soet is Sy [G]Woord en Belof[D]tes,
Ons ont[A]vang dit daagliks [D]onverdiend.
endverse
beginchorus
Hallelu[D]Jah, echo{HalleluJah}
Jubel te[D]saam,
Hallelu[A Em G]Jah, echo{HalleluJah}
Tot eer van Jah'Shua's [D]Naam.
endchorus
endsong
beginsong{VERWELKOMINGS-LIED}
beginverse
[D]O, Jahw[C]eh, ons [G]Ereko[D]ning,
welkom [C]by ons [G]hier, ons [D]Heer.
Welkom [C]in ons [G]woning, [D]Jahweh,
ons maak [C]ons poor[G]te wyd [D]oop,
dat U, ons [A]Koning [D]en ons [A]Man,
kan [D]aansit a[G]an die [A]fees in ons hart.
[G]Ons [D]loof U, [A]Jah[D]weh,
hoe [G]lank het [D]ons ge[A]wag
[G]vir hier[D]die [A]mooie [D]dag,
dat [G]U, ons [D]Ereko[A]ning,
U [D]kinders [C]kom bekrag.[D]
endverse
beginverse
Ons is uwe, ons Bruidegom,
Sterre van Bo, begroet hul Son.
Kom in, ons Maker en ons Man,
laat ons aarde waggel en skuif,
dat lewensfonteine uit ons spruit
tot eer van U, ons Lewensbron.
Ons dank U, Jahweh,
U genade is ons lewe.
Maak tog oop ons o"{e},
so-o-dat ons kan aanskou,
die wonder van ons Meester.
endverse
beginverse
Ons het trou
aan U gesweer, Jah.
Eew'ge Koning, aan U die eer.
Ons wil ons liefde aan U betuig.
Ons het U lief, HalleluJah.
Ons wil ons loflied vir U sing,
want eew'ge lewe het U gebring.
Eer aan Jah, ons Elohim,
Liefde aan ons Meester.
Ere aan ons Koning,
Liefde aan ons Liefling, Jah.
Die tyd vir wag is gedaan.
endverse
endsong
beginsong{DIE SE"{E}NLIED}
textnote{Sing 3X}
beginverse
[D]Mag die Meester Jah[D7]shua
met Sy [G]Liefde jou se"{e}n
en Sy [D]Gees van Barmhartigheid
op jou [Em]daal soos die [A]re"{e}n,
want ons [D]Vader, so [D7]Groot,
skenk ons [G]daaglikse Brood.
Dis Sy [D]liefde vir [A]jou en vir [D]my,
dis Sy se"{e}n[G]ing vir [A]jou en vir [D]my.
endverse
endsong
beginsong{AANDGESANG}
beginverse
[D]Aan U, Jahweh, my dankgesange
U [A]wil ek [D]in my [E]aandlied [A]prys!
Al [D]kwyn die sonlig teen die hange,
U [A]Lig, my [D]lig, sal [E]ho"{e}r [A]rys
U het my met U [D]guns versadig
en [A]as 'n Vader [E]my be[A]skerm;
met [D]se"{e}ninge, so milddadig,
U dag en [A]nag oor my ont[D]ferm
endverse
beginverse
^U was my toevlug in gevare,
U ^hand het ^my ^gevoed, ^gelei;
U ^was in al wat ek ervaar het,
in ^voor- en ^tee^spoed ^naby
U self stel aan die ^bose perke;
U ^het ons ^vir U ^diens ^bevry:
Laat ^doen ons, Jah, die goeie werke
deur Jah'Shua vir ons voorberei
endverse
beginverse
^Ek weet aan wie'k my toevertrou het,
al ^wissel dan ^ook ^dag en ^nag;
ek ^ken die Rots op wie'k gebou het,
van ^wie ek ^al die ^heil ^verwag
Eens ^aan die einde van my lewe,
sal ^ek, van ^alle ^sorge ^vry,
vir ^elke dag my hier gegewe
U ho"{e}r, reiner loflied wy.
endverse
endsong
indexing songs
|
show 5 more comments
I am using the songs package v 2.18. the later update called 3.1 will not run on my pc. I have a problem that my current package is producing the lyrick book without index or page numbers. I need to include both..
My tex file:
documentclass[letterpaper]{article}
usepackage[bookmarks]{hyperref}
usepackage[lyric]{songs}
% includeonlysongs{2}
songcolumns{3}
renewcommand{lyricfont}{sffamilyLarge}
setlength{oddsidemargin}{0in}
setlength{evensidemargin}{0in}
setlength{textwidth}{6.5in}
setlength{topmargin}{0in}
setlength{topskip}{0in}
setlength{headheight}{0in}
setlength{headsep}{0in}
setlength{textheight}{9.1in}
settowidth{versenumwidth}{1. }
pagestyle{empty}
newindex{titleidx}{lbtitle}
newauthorindex{authidx}{lbauth}
newscripindex{scripidx}{lbscrip}
begin{document}
showindex{Dogter van Sion Sangbundel}{titleidx}
songsection{Aanbiddingsliedere}
begin{songs}{titleidx,authidx,scripidx}
input{songs.sbd}
end{songs}
end{document}
extract from My songs file:
noversenumbers
songpos{3}
beginsong{SING 'N LIED TOT SY EER}
beginverse
[D]Ek sing 'n lied tot die eer,
die [G]eer van ons Mid'laar en [A]Vriend.
Ewig [D]soet is Sy [G]Woord en Belof[D]tes,
Ons ont[A]vang dit daagliks [D]onverdiend.
endverse
beginchorus
Hallelu[D]Jah, echo{HalleluJah}
Jubel te[D]saam,
Hallelu[A Em G]Jah, echo{HalleluJah}
Tot eer van Jah'Shua's [D]Naam.
endchorus
endsong
beginsong{VERWELKOMINGS-LIED}
beginverse
[D]O, Jahw[C]eh, ons [G]Ereko[D]ning,
welkom [C]by ons [G]hier, ons [D]Heer.
Welkom [C]in ons [G]woning, [D]Jahweh,
ons maak [C]ons poor[G]te wyd [D]oop,
dat U, ons [A]Koning [D]en ons [A]Man,
kan [D]aansit a[G]an die [A]fees in ons hart.
[G]Ons [D]loof U, [A]Jah[D]weh,
hoe [G]lank het [D]ons ge[A]wag
[G]vir hier[D]die [A]mooie [D]dag,
dat [G]U, ons [D]Ereko[A]ning,
U [D]kinders [C]kom bekrag.[D]
endverse
beginverse
Ons is uwe, ons Bruidegom,
Sterre van Bo, begroet hul Son.
Kom in, ons Maker en ons Man,
laat ons aarde waggel en skuif,
dat lewensfonteine uit ons spruit
tot eer van U, ons Lewensbron.
Ons dank U, Jahweh,
U genade is ons lewe.
Maak tog oop ons o"{e},
so-o-dat ons kan aanskou,
die wonder van ons Meester.
endverse
beginverse
Ons het trou
aan U gesweer, Jah.
Eew'ge Koning, aan U die eer.
Ons wil ons liefde aan U betuig.
Ons het U lief, HalleluJah.
Ons wil ons loflied vir U sing,
want eew'ge lewe het U gebring.
Eer aan Jah, ons Elohim,
Liefde aan ons Meester.
Ere aan ons Koning,
Liefde aan ons Liefling, Jah.
Die tyd vir wag is gedaan.
endverse
endsong
beginsong{DIE SE"{E}NLIED}
textnote{Sing 3X}
beginverse
[D]Mag die Meester Jah[D7]shua
met Sy [G]Liefde jou se"{e}n
en Sy [D]Gees van Barmhartigheid
op jou [Em]daal soos die [A]re"{e}n,
want ons [D]Vader, so [D7]Groot,
skenk ons [G]daaglikse Brood.
Dis Sy [D]liefde vir [A]jou en vir [D]my,
dis Sy se"{e}n[G]ing vir [A]jou en vir [D]my.
endverse
endsong
beginsong{AANDGESANG}
beginverse
[D]Aan U, Jahweh, my dankgesange
U [A]wil ek [D]in my [E]aandlied [A]prys!
Al [D]kwyn die sonlig teen die hange,
U [A]Lig, my [D]lig, sal [E]ho"{e}r [A]rys
U het my met U [D]guns versadig
en [A]as 'n Vader [E]my be[A]skerm;
met [D]se"{e}ninge, so milddadig,
U dag en [A]nag oor my ont[D]ferm
endverse
beginverse
^U was my toevlug in gevare,
U ^hand het ^my ^gevoed, ^gelei;
U ^was in al wat ek ervaar het,
in ^voor- en ^tee^spoed ^naby
U self stel aan die ^bose perke;
U ^het ons ^vir U ^diens ^bevry:
Laat ^doen ons, Jah, die goeie werke
deur Jah'Shua vir ons voorberei
endverse
beginverse
^Ek weet aan wie'k my toevertrou het,
al ^wissel dan ^ook ^dag en ^nag;
ek ^ken die Rots op wie'k gebou het,
van ^wie ek ^al die ^heil ^verwag
Eens ^aan die einde van my lewe,
sal ^ek, van ^alle ^sorge ^vry,
vir ^elke dag my hier gegewe
U ho"{e}r, reiner loflied wy.
endverse
endsong
indexing songs
1
(1) welcome, (2) your MWE has no chance of compiling for anyone as thesongs.sbd
file you are including is not available. Is it needed for the example? (3) I'
– daleif
Dec 10 at 12:06
how do I attach it?
– Gert
Dec 10 at 12:21
it is rather lengthy.... although only 38MB.
– Gert
Dec 10 at 12:43
1
Pull out two or three and add them to your MWE, there is a reason why it is called a minimal example
– daleif
Dec 10 at 12:47
1
And please make this into one single MWE not two parts. People are much more likely to help if they have something they can copy and use as is, where we need to make two files, which is not necessary, just replace theinput...
line with the contents of the second file.
– daleif
Dec 10 at 13:44
|
show 5 more comments
I am using the songs package v 2.18. the later update called 3.1 will not run on my pc. I have a problem that my current package is producing the lyrick book without index or page numbers. I need to include both..
My tex file:
documentclass[letterpaper]{article}
usepackage[bookmarks]{hyperref}
usepackage[lyric]{songs}
% includeonlysongs{2}
songcolumns{3}
renewcommand{lyricfont}{sffamilyLarge}
setlength{oddsidemargin}{0in}
setlength{evensidemargin}{0in}
setlength{textwidth}{6.5in}
setlength{topmargin}{0in}
setlength{topskip}{0in}
setlength{headheight}{0in}
setlength{headsep}{0in}
setlength{textheight}{9.1in}
settowidth{versenumwidth}{1. }
pagestyle{empty}
newindex{titleidx}{lbtitle}
newauthorindex{authidx}{lbauth}
newscripindex{scripidx}{lbscrip}
begin{document}
showindex{Dogter van Sion Sangbundel}{titleidx}
songsection{Aanbiddingsliedere}
begin{songs}{titleidx,authidx,scripidx}
input{songs.sbd}
end{songs}
end{document}
extract from My songs file:
noversenumbers
songpos{3}
beginsong{SING 'N LIED TOT SY EER}
beginverse
[D]Ek sing 'n lied tot die eer,
die [G]eer van ons Mid'laar en [A]Vriend.
Ewig [D]soet is Sy [G]Woord en Belof[D]tes,
Ons ont[A]vang dit daagliks [D]onverdiend.
endverse
beginchorus
Hallelu[D]Jah, echo{HalleluJah}
Jubel te[D]saam,
Hallelu[A Em G]Jah, echo{HalleluJah}
Tot eer van Jah'Shua's [D]Naam.
endchorus
endsong
beginsong{VERWELKOMINGS-LIED}
beginverse
[D]O, Jahw[C]eh, ons [G]Ereko[D]ning,
welkom [C]by ons [G]hier, ons [D]Heer.
Welkom [C]in ons [G]woning, [D]Jahweh,
ons maak [C]ons poor[G]te wyd [D]oop,
dat U, ons [A]Koning [D]en ons [A]Man,
kan [D]aansit a[G]an die [A]fees in ons hart.
[G]Ons [D]loof U, [A]Jah[D]weh,
hoe [G]lank het [D]ons ge[A]wag
[G]vir hier[D]die [A]mooie [D]dag,
dat [G]U, ons [D]Ereko[A]ning,
U [D]kinders [C]kom bekrag.[D]
endverse
beginverse
Ons is uwe, ons Bruidegom,
Sterre van Bo, begroet hul Son.
Kom in, ons Maker en ons Man,
laat ons aarde waggel en skuif,
dat lewensfonteine uit ons spruit
tot eer van U, ons Lewensbron.
Ons dank U, Jahweh,
U genade is ons lewe.
Maak tog oop ons o"{e},
so-o-dat ons kan aanskou,
die wonder van ons Meester.
endverse
beginverse
Ons het trou
aan U gesweer, Jah.
Eew'ge Koning, aan U die eer.
Ons wil ons liefde aan U betuig.
Ons het U lief, HalleluJah.
Ons wil ons loflied vir U sing,
want eew'ge lewe het U gebring.
Eer aan Jah, ons Elohim,
Liefde aan ons Meester.
Ere aan ons Koning,
Liefde aan ons Liefling, Jah.
Die tyd vir wag is gedaan.
endverse
endsong
beginsong{DIE SE"{E}NLIED}
textnote{Sing 3X}
beginverse
[D]Mag die Meester Jah[D7]shua
met Sy [G]Liefde jou se"{e}n
en Sy [D]Gees van Barmhartigheid
op jou [Em]daal soos die [A]re"{e}n,
want ons [D]Vader, so [D7]Groot,
skenk ons [G]daaglikse Brood.
Dis Sy [D]liefde vir [A]jou en vir [D]my,
dis Sy se"{e}n[G]ing vir [A]jou en vir [D]my.
endverse
endsong
beginsong{AANDGESANG}
beginverse
[D]Aan U, Jahweh, my dankgesange
U [A]wil ek [D]in my [E]aandlied [A]prys!
Al [D]kwyn die sonlig teen die hange,
U [A]Lig, my [D]lig, sal [E]ho"{e}r [A]rys
U het my met U [D]guns versadig
en [A]as 'n Vader [E]my be[A]skerm;
met [D]se"{e}ninge, so milddadig,
U dag en [A]nag oor my ont[D]ferm
endverse
beginverse
^U was my toevlug in gevare,
U ^hand het ^my ^gevoed, ^gelei;
U ^was in al wat ek ervaar het,
in ^voor- en ^tee^spoed ^naby
U self stel aan die ^bose perke;
U ^het ons ^vir U ^diens ^bevry:
Laat ^doen ons, Jah, die goeie werke
deur Jah'Shua vir ons voorberei
endverse
beginverse
^Ek weet aan wie'k my toevertrou het,
al ^wissel dan ^ook ^dag en ^nag;
ek ^ken die Rots op wie'k gebou het,
van ^wie ek ^al die ^heil ^verwag
Eens ^aan die einde van my lewe,
sal ^ek, van ^alle ^sorge ^vry,
vir ^elke dag my hier gegewe
U ho"{e}r, reiner loflied wy.
endverse
endsong
indexing songs
I am using the songs package v 2.18. the later update called 3.1 will not run on my pc. I have a problem that my current package is producing the lyrick book without index or page numbers. I need to include both..
My tex file:
documentclass[letterpaper]{article}
usepackage[bookmarks]{hyperref}
usepackage[lyric]{songs}
% includeonlysongs{2}
songcolumns{3}
renewcommand{lyricfont}{sffamilyLarge}
setlength{oddsidemargin}{0in}
setlength{evensidemargin}{0in}
setlength{textwidth}{6.5in}
setlength{topmargin}{0in}
setlength{topskip}{0in}
setlength{headheight}{0in}
setlength{headsep}{0in}
setlength{textheight}{9.1in}
settowidth{versenumwidth}{1. }
pagestyle{empty}
newindex{titleidx}{lbtitle}
newauthorindex{authidx}{lbauth}
newscripindex{scripidx}{lbscrip}
begin{document}
showindex{Dogter van Sion Sangbundel}{titleidx}
songsection{Aanbiddingsliedere}
begin{songs}{titleidx,authidx,scripidx}
input{songs.sbd}
end{songs}
end{document}
extract from My songs file:
noversenumbers
songpos{3}
beginsong{SING 'N LIED TOT SY EER}
beginverse
[D]Ek sing 'n lied tot die eer,
die [G]eer van ons Mid'laar en [A]Vriend.
Ewig [D]soet is Sy [G]Woord en Belof[D]tes,
Ons ont[A]vang dit daagliks [D]onverdiend.
endverse
beginchorus
Hallelu[D]Jah, echo{HalleluJah}
Jubel te[D]saam,
Hallelu[A Em G]Jah, echo{HalleluJah}
Tot eer van Jah'Shua's [D]Naam.
endchorus
endsong
beginsong{VERWELKOMINGS-LIED}
beginverse
[D]O, Jahw[C]eh, ons [G]Ereko[D]ning,
welkom [C]by ons [G]hier, ons [D]Heer.
Welkom [C]in ons [G]woning, [D]Jahweh,
ons maak [C]ons poor[G]te wyd [D]oop,
dat U, ons [A]Koning [D]en ons [A]Man,
kan [D]aansit a[G]an die [A]fees in ons hart.
[G]Ons [D]loof U, [A]Jah[D]weh,
hoe [G]lank het [D]ons ge[A]wag
[G]vir hier[D]die [A]mooie [D]dag,
dat [G]U, ons [D]Ereko[A]ning,
U [D]kinders [C]kom bekrag.[D]
endverse
beginverse
Ons is uwe, ons Bruidegom,
Sterre van Bo, begroet hul Son.
Kom in, ons Maker en ons Man,
laat ons aarde waggel en skuif,
dat lewensfonteine uit ons spruit
tot eer van U, ons Lewensbron.
Ons dank U, Jahweh,
U genade is ons lewe.
Maak tog oop ons o"{e},
so-o-dat ons kan aanskou,
die wonder van ons Meester.
endverse
beginverse
Ons het trou
aan U gesweer, Jah.
Eew'ge Koning, aan U die eer.
Ons wil ons liefde aan U betuig.
Ons het U lief, HalleluJah.
Ons wil ons loflied vir U sing,
want eew'ge lewe het U gebring.
Eer aan Jah, ons Elohim,
Liefde aan ons Meester.
Ere aan ons Koning,
Liefde aan ons Liefling, Jah.
Die tyd vir wag is gedaan.
endverse
endsong
beginsong{DIE SE"{E}NLIED}
textnote{Sing 3X}
beginverse
[D]Mag die Meester Jah[D7]shua
met Sy [G]Liefde jou se"{e}n
en Sy [D]Gees van Barmhartigheid
op jou [Em]daal soos die [A]re"{e}n,
want ons [D]Vader, so [D7]Groot,
skenk ons [G]daaglikse Brood.
Dis Sy [D]liefde vir [A]jou en vir [D]my,
dis Sy se"{e}n[G]ing vir [A]jou en vir [D]my.
endverse
endsong
beginsong{AANDGESANG}
beginverse
[D]Aan U, Jahweh, my dankgesange
U [A]wil ek [D]in my [E]aandlied [A]prys!
Al [D]kwyn die sonlig teen die hange,
U [A]Lig, my [D]lig, sal [E]ho"{e}r [A]rys
U het my met U [D]guns versadig
en [A]as 'n Vader [E]my be[A]skerm;
met [D]se"{e}ninge, so milddadig,
U dag en [A]nag oor my ont[D]ferm
endverse
beginverse
^U was my toevlug in gevare,
U ^hand het ^my ^gevoed, ^gelei;
U ^was in al wat ek ervaar het,
in ^voor- en ^tee^spoed ^naby
U self stel aan die ^bose perke;
U ^het ons ^vir U ^diens ^bevry:
Laat ^doen ons, Jah, die goeie werke
deur Jah'Shua vir ons voorberei
endverse
beginverse
^Ek weet aan wie'k my toevertrou het,
al ^wissel dan ^ook ^dag en ^nag;
ek ^ken die Rots op wie'k gebou het,
van ^wie ek ^al die ^heil ^verwag
Eens ^aan die einde van my lewe,
sal ^ek, van ^alle ^sorge ^vry,
vir ^elke dag my hier gegewe
U ho"{e}r, reiner loflied wy.
endverse
endsong
indexing songs
indexing songs
edited Dec 10 at 13:51
AndréC
7,59511440
7,59511440
asked Dec 10 at 12:00
Gert
257
257
1
(1) welcome, (2) your MWE has no chance of compiling for anyone as thesongs.sbd
file you are including is not available. Is it needed for the example? (3) I'
– daleif
Dec 10 at 12:06
how do I attach it?
– Gert
Dec 10 at 12:21
it is rather lengthy.... although only 38MB.
– Gert
Dec 10 at 12:43
1
Pull out two or three and add them to your MWE, there is a reason why it is called a minimal example
– daleif
Dec 10 at 12:47
1
And please make this into one single MWE not two parts. People are much more likely to help if they have something they can copy and use as is, where we need to make two files, which is not necessary, just replace theinput...
line with the contents of the second file.
– daleif
Dec 10 at 13:44
|
show 5 more comments
1
(1) welcome, (2) your MWE has no chance of compiling for anyone as thesongs.sbd
file you are including is not available. Is it needed for the example? (3) I'
– daleif
Dec 10 at 12:06
how do I attach it?
– Gert
Dec 10 at 12:21
it is rather lengthy.... although only 38MB.
– Gert
Dec 10 at 12:43
1
Pull out two or three and add them to your MWE, there is a reason why it is called a minimal example
– daleif
Dec 10 at 12:47
1
And please make this into one single MWE not two parts. People are much more likely to help if they have something they can copy and use as is, where we need to make two files, which is not necessary, just replace theinput...
line with the contents of the second file.
– daleif
Dec 10 at 13:44
1
1
(1) welcome, (2) your MWE has no chance of compiling for anyone as the
songs.sbd
file you are including is not available. Is it needed for the example? (3) I'– daleif
Dec 10 at 12:06
(1) welcome, (2) your MWE has no chance of compiling for anyone as the
songs.sbd
file you are including is not available. Is it needed for the example? (3) I'– daleif
Dec 10 at 12:06
how do I attach it?
– Gert
Dec 10 at 12:21
how do I attach it?
– Gert
Dec 10 at 12:21
it is rather lengthy.... although only 38MB.
– Gert
Dec 10 at 12:43
it is rather lengthy.... although only 38MB.
– Gert
Dec 10 at 12:43
1
1
Pull out two or three and add them to your MWE, there is a reason why it is called a minimal example
– daleif
Dec 10 at 12:47
Pull out two or three and add them to your MWE, there is a reason why it is called a minimal example
– daleif
Dec 10 at 12:47
1
1
And please make this into one single MWE not two parts. People are much more likely to help if they have something they can copy and use as is, where we need to make two files, which is not necessary, just replace the
input...
line with the contents of the second file.– daleif
Dec 10 at 13:44
And please make this into one single MWE not two parts. People are much more likely to help if they have something they can copy and use as is, where we need to make two files, which is not necessary, just replace the
input...
line with the contents of the second file.– daleif
Dec 10 at 13:44
|
show 5 more comments
1 Answer
1
active
oldest
votes
The page numbers can be produced by removing pagestyle{empty}
from the code.
The indexes are a little more complicated, this is described in Section 10.3 of the songs
package manual. It involves calling a separate Lua script on the files generated after the LaTeX compilation step. In this case the following sequence of commands (in the terminal) should produce an index:
pdflatex yourfile.tex
texlua songidx.lua lbtitle.sxd lbtitle.sbx
pdflatex yourfile.tex
Note that the songidx.lua
script must be available in the path of the terminal, however if you installed the package automatically then this should not be a problem.
If you want to compile using a GUI editor or a compiling tool such as latexmk
or texify
or arara
then it is a bit more complex because of the custom index filenames that are defined in the document (here for example lbtitle
). However, it is most probably possible to find a custom solution for this as well.
Result of the commands above:
Thank you so much on the page numbering issue. on the indexing issue:I do not understand why the newer versions lost its ability to auto-generate the index page? I do not know how to attach or insert my previous auto generated index here? Note my mitex console does not list a songsidx.lua package?
– Gert
Dec 10 at 14:43
@Gert this is compiled using version 3.0 (which I downloaded from CTAN just now to write my answer). This version contains the Lua script as well. The package revision history files states 'Transitioned the songidx program to LuaTeX, eliminating the need for C-compiled programs.' for version 3.0, so apparently it is a simplification of the installation and the dependencies of the package. You can try to install the 3.0 version and see if that works for you.
– Marijn
Dec 10 at 14:54
I do not know how to get and download v3.0. I went onto Ctan but it is only giving me the latest versions. I tried googling it to no avail? I got a zip version with the v3.0 files but dont know what to do with them? should have stayed with MS Publisher - much easier....
– Gert
Dec 10 at 15:21
@Gert after extracting the.zip
file you should runlatex songs.ins
which will generatesongs.sty
. This file, together with the Lua script file which is in the zip file, should be copied to some place where LaTeX can find it, the easiest is the same folder as your document. If you want we can continue in the TeX.SE chat for troubleshooting.
– Marijn
Dec 10 at 16:00
this site is very confusing for me. I dont know how to chat with you on chat. my laptop wont run songs.ini. dont know how t do that....
– Gert
Dec 10 at 16:26
|
show 1 more comment
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "85"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464116%2fsongs-package-not-indexing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The page numbers can be produced by removing pagestyle{empty}
from the code.
The indexes are a little more complicated, this is described in Section 10.3 of the songs
package manual. It involves calling a separate Lua script on the files generated after the LaTeX compilation step. In this case the following sequence of commands (in the terminal) should produce an index:
pdflatex yourfile.tex
texlua songidx.lua lbtitle.sxd lbtitle.sbx
pdflatex yourfile.tex
Note that the songidx.lua
script must be available in the path of the terminal, however if you installed the package automatically then this should not be a problem.
If you want to compile using a GUI editor or a compiling tool such as latexmk
or texify
or arara
then it is a bit more complex because of the custom index filenames that are defined in the document (here for example lbtitle
). However, it is most probably possible to find a custom solution for this as well.
Result of the commands above:
Thank you so much on the page numbering issue. on the indexing issue:I do not understand why the newer versions lost its ability to auto-generate the index page? I do not know how to attach or insert my previous auto generated index here? Note my mitex console does not list a songsidx.lua package?
– Gert
Dec 10 at 14:43
@Gert this is compiled using version 3.0 (which I downloaded from CTAN just now to write my answer). This version contains the Lua script as well. The package revision history files states 'Transitioned the songidx program to LuaTeX, eliminating the need for C-compiled programs.' for version 3.0, so apparently it is a simplification of the installation and the dependencies of the package. You can try to install the 3.0 version and see if that works for you.
– Marijn
Dec 10 at 14:54
I do not know how to get and download v3.0. I went onto Ctan but it is only giving me the latest versions. I tried googling it to no avail? I got a zip version with the v3.0 files but dont know what to do with them? should have stayed with MS Publisher - much easier....
– Gert
Dec 10 at 15:21
@Gert after extracting the.zip
file you should runlatex songs.ins
which will generatesongs.sty
. This file, together with the Lua script file which is in the zip file, should be copied to some place where LaTeX can find it, the easiest is the same folder as your document. If you want we can continue in the TeX.SE chat for troubleshooting.
– Marijn
Dec 10 at 16:00
this site is very confusing for me. I dont know how to chat with you on chat. my laptop wont run songs.ini. dont know how t do that....
– Gert
Dec 10 at 16:26
|
show 1 more comment
The page numbers can be produced by removing pagestyle{empty}
from the code.
The indexes are a little more complicated, this is described in Section 10.3 of the songs
package manual. It involves calling a separate Lua script on the files generated after the LaTeX compilation step. In this case the following sequence of commands (in the terminal) should produce an index:
pdflatex yourfile.tex
texlua songidx.lua lbtitle.sxd lbtitle.sbx
pdflatex yourfile.tex
Note that the songidx.lua
script must be available in the path of the terminal, however if you installed the package automatically then this should not be a problem.
If you want to compile using a GUI editor or a compiling tool such as latexmk
or texify
or arara
then it is a bit more complex because of the custom index filenames that are defined in the document (here for example lbtitle
). However, it is most probably possible to find a custom solution for this as well.
Result of the commands above:
Thank you so much on the page numbering issue. on the indexing issue:I do not understand why the newer versions lost its ability to auto-generate the index page? I do not know how to attach or insert my previous auto generated index here? Note my mitex console does not list a songsidx.lua package?
– Gert
Dec 10 at 14:43
@Gert this is compiled using version 3.0 (which I downloaded from CTAN just now to write my answer). This version contains the Lua script as well. The package revision history files states 'Transitioned the songidx program to LuaTeX, eliminating the need for C-compiled programs.' for version 3.0, so apparently it is a simplification of the installation and the dependencies of the package. You can try to install the 3.0 version and see if that works for you.
– Marijn
Dec 10 at 14:54
I do not know how to get and download v3.0. I went onto Ctan but it is only giving me the latest versions. I tried googling it to no avail? I got a zip version with the v3.0 files but dont know what to do with them? should have stayed with MS Publisher - much easier....
– Gert
Dec 10 at 15:21
@Gert after extracting the.zip
file you should runlatex songs.ins
which will generatesongs.sty
. This file, together with the Lua script file which is in the zip file, should be copied to some place where LaTeX can find it, the easiest is the same folder as your document. If you want we can continue in the TeX.SE chat for troubleshooting.
– Marijn
Dec 10 at 16:00
this site is very confusing for me. I dont know how to chat with you on chat. my laptop wont run songs.ini. dont know how t do that....
– Gert
Dec 10 at 16:26
|
show 1 more comment
The page numbers can be produced by removing pagestyle{empty}
from the code.
The indexes are a little more complicated, this is described in Section 10.3 of the songs
package manual. It involves calling a separate Lua script on the files generated after the LaTeX compilation step. In this case the following sequence of commands (in the terminal) should produce an index:
pdflatex yourfile.tex
texlua songidx.lua lbtitle.sxd lbtitle.sbx
pdflatex yourfile.tex
Note that the songidx.lua
script must be available in the path of the terminal, however if you installed the package automatically then this should not be a problem.
If you want to compile using a GUI editor or a compiling tool such as latexmk
or texify
or arara
then it is a bit more complex because of the custom index filenames that are defined in the document (here for example lbtitle
). However, it is most probably possible to find a custom solution for this as well.
Result of the commands above:
The page numbers can be produced by removing pagestyle{empty}
from the code.
The indexes are a little more complicated, this is described in Section 10.3 of the songs
package manual. It involves calling a separate Lua script on the files generated after the LaTeX compilation step. In this case the following sequence of commands (in the terminal) should produce an index:
pdflatex yourfile.tex
texlua songidx.lua lbtitle.sxd lbtitle.sbx
pdflatex yourfile.tex
Note that the songidx.lua
script must be available in the path of the terminal, however if you installed the package automatically then this should not be a problem.
If you want to compile using a GUI editor or a compiling tool such as latexmk
or texify
or arara
then it is a bit more complex because of the custom index filenames that are defined in the document (here for example lbtitle
). However, it is most probably possible to find a custom solution for this as well.
Result of the commands above:
answered Dec 10 at 14:29
Marijn
7,501636
7,501636
Thank you so much on the page numbering issue. on the indexing issue:I do not understand why the newer versions lost its ability to auto-generate the index page? I do not know how to attach or insert my previous auto generated index here? Note my mitex console does not list a songsidx.lua package?
– Gert
Dec 10 at 14:43
@Gert this is compiled using version 3.0 (which I downloaded from CTAN just now to write my answer). This version contains the Lua script as well. The package revision history files states 'Transitioned the songidx program to LuaTeX, eliminating the need for C-compiled programs.' for version 3.0, so apparently it is a simplification of the installation and the dependencies of the package. You can try to install the 3.0 version and see if that works for you.
– Marijn
Dec 10 at 14:54
I do not know how to get and download v3.0. I went onto Ctan but it is only giving me the latest versions. I tried googling it to no avail? I got a zip version with the v3.0 files but dont know what to do with them? should have stayed with MS Publisher - much easier....
– Gert
Dec 10 at 15:21
@Gert after extracting the.zip
file you should runlatex songs.ins
which will generatesongs.sty
. This file, together with the Lua script file which is in the zip file, should be copied to some place where LaTeX can find it, the easiest is the same folder as your document. If you want we can continue in the TeX.SE chat for troubleshooting.
– Marijn
Dec 10 at 16:00
this site is very confusing for me. I dont know how to chat with you on chat. my laptop wont run songs.ini. dont know how t do that....
– Gert
Dec 10 at 16:26
|
show 1 more comment
Thank you so much on the page numbering issue. on the indexing issue:I do not understand why the newer versions lost its ability to auto-generate the index page? I do not know how to attach or insert my previous auto generated index here? Note my mitex console does not list a songsidx.lua package?
– Gert
Dec 10 at 14:43
@Gert this is compiled using version 3.0 (which I downloaded from CTAN just now to write my answer). This version contains the Lua script as well. The package revision history files states 'Transitioned the songidx program to LuaTeX, eliminating the need for C-compiled programs.' for version 3.0, so apparently it is a simplification of the installation and the dependencies of the package. You can try to install the 3.0 version and see if that works for you.
– Marijn
Dec 10 at 14:54
I do not know how to get and download v3.0. I went onto Ctan but it is only giving me the latest versions. I tried googling it to no avail? I got a zip version with the v3.0 files but dont know what to do with them? should have stayed with MS Publisher - much easier....
– Gert
Dec 10 at 15:21
@Gert after extracting the.zip
file you should runlatex songs.ins
which will generatesongs.sty
. This file, together with the Lua script file which is in the zip file, should be copied to some place where LaTeX can find it, the easiest is the same folder as your document. If you want we can continue in the TeX.SE chat for troubleshooting.
– Marijn
Dec 10 at 16:00
this site is very confusing for me. I dont know how to chat with you on chat. my laptop wont run songs.ini. dont know how t do that....
– Gert
Dec 10 at 16:26
Thank you so much on the page numbering issue. on the indexing issue:I do not understand why the newer versions lost its ability to auto-generate the index page? I do not know how to attach or insert my previous auto generated index here? Note my mitex console does not list a songsidx.lua package?
– Gert
Dec 10 at 14:43
Thank you so much on the page numbering issue. on the indexing issue:I do not understand why the newer versions lost its ability to auto-generate the index page? I do not know how to attach or insert my previous auto generated index here? Note my mitex console does not list a songsidx.lua package?
– Gert
Dec 10 at 14:43
@Gert this is compiled using version 3.0 (which I downloaded from CTAN just now to write my answer). This version contains the Lua script as well. The package revision history files states 'Transitioned the songidx program to LuaTeX, eliminating the need for C-compiled programs.' for version 3.0, so apparently it is a simplification of the installation and the dependencies of the package. You can try to install the 3.0 version and see if that works for you.
– Marijn
Dec 10 at 14:54
@Gert this is compiled using version 3.0 (which I downloaded from CTAN just now to write my answer). This version contains the Lua script as well. The package revision history files states 'Transitioned the songidx program to LuaTeX, eliminating the need for C-compiled programs.' for version 3.0, so apparently it is a simplification of the installation and the dependencies of the package. You can try to install the 3.0 version and see if that works for you.
– Marijn
Dec 10 at 14:54
I do not know how to get and download v3.0. I went onto Ctan but it is only giving me the latest versions. I tried googling it to no avail? I got a zip version with the v3.0 files but dont know what to do with them? should have stayed with MS Publisher - much easier....
– Gert
Dec 10 at 15:21
I do not know how to get and download v3.0. I went onto Ctan but it is only giving me the latest versions. I tried googling it to no avail? I got a zip version with the v3.0 files but dont know what to do with them? should have stayed with MS Publisher - much easier....
– Gert
Dec 10 at 15:21
@Gert after extracting the
.zip
file you should run latex songs.ins
which will generate songs.sty
. This file, together with the Lua script file which is in the zip file, should be copied to some place where LaTeX can find it, the easiest is the same folder as your document. If you want we can continue in the TeX.SE chat for troubleshooting.– Marijn
Dec 10 at 16:00
@Gert after extracting the
.zip
file you should run latex songs.ins
which will generate songs.sty
. This file, together with the Lua script file which is in the zip file, should be copied to some place where LaTeX can find it, the easiest is the same folder as your document. If you want we can continue in the TeX.SE chat for troubleshooting.– Marijn
Dec 10 at 16:00
this site is very confusing for me. I dont know how to chat with you on chat. my laptop wont run songs.ini. dont know how t do that....
– Gert
Dec 10 at 16:26
this site is very confusing for me. I dont know how to chat with you on chat. my laptop wont run songs.ini. dont know how t do that....
– Gert
Dec 10 at 16:26
|
show 1 more comment
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464116%2fsongs-package-not-indexing%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
(1) welcome, (2) your MWE has no chance of compiling for anyone as the
songs.sbd
file you are including is not available. Is it needed for the example? (3) I'– daleif
Dec 10 at 12:06
how do I attach it?
– Gert
Dec 10 at 12:21
it is rather lengthy.... although only 38MB.
– Gert
Dec 10 at 12:43
1
Pull out two or three and add them to your MWE, there is a reason why it is called a minimal example
– daleif
Dec 10 at 12:47
1
And please make this into one single MWE not two parts. People are much more likely to help if they have something they can copy and use as is, where we need to make two files, which is not necessary, just replace the
input...
line with the contents of the second file.– daleif
Dec 10 at 13:44