aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Walter <tolot27@users.noreply.github.com>2018-10-04 21:22:22 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2018-10-04 12:22:22 -0700
commit537d917988d39401d855de003a06728711c81632 (patch)
treeae5272575ed7f7cfd968958068ff5c85113b3867
parent5b7d04984bb5c053c80b1a3e8d9779785613d583 (diff)
downloadpandoc-537d917988d39401d855de003a06728711c81632.tar.gz
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.
-rw-r--r--data/templates/default.latex2
1 files changed, 1 insertions, 1 deletions
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}