tudalgo / AlgoTeX

Die LaTeX-Vorlage der Algo-Gruppe der TU Darmstadt - für FoP und AuD
GNU General Public License v3.0
1 stars 3 forks source link

\fopSlideRef does not work in footnotes #48

Open dst97 opened 2 years ago

dst97 commented 2 years ago

Known issue. Fix it or provide documentation about how to use fopSlideRef in footnotes.

Rdeisenroth commented 1 year ago

The issue is a little bit bigger than just that, the way \fopSlideRef is currently implemented does not work in most PDF Viewers.

The issue lies here: https://github.com/tudalgo/AlgoTeX/blob/cd108c0427cdcde6d12683ba6dcf6b8e4b927847/tex/algo-common.sty#L880-L888

We should use \hyper@linkurl{text}{url} instead of \href{url}{text}. Unfortunately this breaks our page reference, as the # may now no longer be escaped, which makes it conflict with the function parameters... I will have to think of way to include a # without manually escaping it