diff --git a/patacrep/data/templates/songs.tex b/patacrep/data/templates/songs.tex index 0db422e8..802c216d 100644 --- a/patacrep/data/templates/songs.tex +++ b/patacrep/data/templates/songs.tex @@ -92,8 +92,12 @@ \makeatletter - \@ifpackageloaded{hyperref}{}{\newcommand{\phantomsection}{}} - \@ifpackageloaded{hyperref}{}{\newcommand{\hyperlink}[2]{#2}} + \@ifpackageloaded{hyperref}{}{ + \usepackage{url} + \newcommand{\phantomsection}{} + \newcommand{\hyperlink}[2]{#2} + \newcommand{\href}[2]{\expandafter\url\expandafter{#1}} + } \makeatother (* endblock *)