From 537d917988d39401d855de003a06728711c81632 Mon Sep 17 00:00:00 2001 From: Mathias Walter Date: Thu, 4 Oct 2018 21:22:22 +0200 Subject: LaTeX template: add variable hyperrefoptions(#4925) Introduce a new variable `hyperrefoptions` to pass to the hyperref package. This allows us (for example) to specify `hyperrefoptions: linktoc=all` in a YAML block. --- data/templates/default.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/templates/default.latex b/data/templates/default.latex index 23e47e6ce..e64b216eb 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -1,4 +1,4 @@ -\PassOptionsToPackage{unicode=true}{hyperref} % options for packages loaded elsewhere +\PassOptionsToPackage{unicode=true$for(hyperrefoptions)$,$hyperrefoptions$$endfor$}{hyperref} % options for packages loaded elsewhere \PassOptionsToPackage{hyphens}{url} $if(colorlinks)$ \PassOptionsToPackage{dvipsnames,svgnames*,x11names*}{xcolor} -- cgit v1.2.3