jeromekelleher / sc2ts-paper

3 stars 5 forks source link

Minor issue: hyperref inline links to supplementary figs links to wrong section #170

Closed hyanwong closed 1 year ago

hyanwong commented 1 year ago

E.g. the link to supplementary figure S1 in the caption to Fig 2 (cophylogeny) links to main figure 1 (the sc2ts schematic), not the supplementary.

This is presumably a hyperref bug, so maybe there isn't anything we can do. Perhaps there's a hack around it online though.

hyanwong commented 1 year ago

It's the \setcounter command when switching to the supplementary that's causing problems: https://tex.stackexchange.com/questions/435808/setcountersection-problems-with-toc-hyperref-links