add reference link to reference and footnote