From 5b2f4b61a255647bef09d1f5017f54ba860141a2 Mon Sep 17 00:00:00 2001 From: Luthaf Date: Sat, 24 May 2014 15:51:19 +0100 Subject: [PATCH] Le package hyperref est necessaire pour compiler les index --- songbook_core/data/templates/patacrep.tex | 10 ---------- songbook_core/data/templates/songs.tex | 12 +++++++++--- 2 files changed, 9 insertions(+), 13 deletions(-) diff --git a/songbook_core/data/templates/patacrep.tex b/songbook_core/data/templates/patacrep.tex index 573e7051..fa16e831 100644 --- a/songbook_core/data/templates/patacrep.tex +++ b/songbook_core/data/templates/patacrep.tex @@ -73,16 +73,6 @@ \renewcommand{\notebgcolor}{NoteBgColor} \renewcommand{\idxbgcolor}{IndexBgColor} - \definecolor{tango-green-3}{HTML}{4e9a06} - \definecolor{tango-blue-3}{HTML}{204a87} - \usepackage[bookmarks, - bookmarksopen, - hyperfigures=true, - colorlinks=true, - linkcolor=tango-green-3, - urlcolor=tango-blue-3]{hyperref} - - \subtitle{((subtitle))} (* if version!="unknown" *) \version{((version))} diff --git a/songbook_core/data/templates/songs.tex b/songbook_core/data/templates/songs.tex index a2b5ba7f..cb9650c6 100644 --- a/songbook_core/data/templates/songs.tex +++ b/songbook_core/data/templates/songs.tex @@ -41,9 +41,15 @@ \usepackage{graphicx} \graphicspath{{((datadir))/img/}} - \makeatletter - \@ifpackageloaded{hyperref}{}{\newcommand{\phantomsection}{}} - \makeatother + + \definecolor{tango-green-3}{HTML}{4e9a06} + \definecolor{tango-blue-3}{HTML}{204a87} + \usepackage[bookmarks, + bookmarksopen, + hyperfigures=true, + colorlinks=true, + linkcolor=tango-green-3, + urlcolor=tango-blue-3]{hyperref} (* endblock *) (* block songs *)