Fix/reference segmentation
Segmented the reference generation so that each subpage has its own reference section.
Implemented direct routing so that links to citations on a subpage will go exactly there.
Segmented the reference generation so that each subpage has its own reference section.
Implemented direct routing so that links to citations on a subpage will go exactly there.