From 92cac871ebc87c645d6ec6643ce4222974459c7d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 6 Jun 2018 11:55:15 +0200 Subject: [PATCH] ucw-link: Turn off clickable links when not producing a PDF --- ucw-link.tex | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ucw-link.tex b/ucw-link.tex index ef89593..58a1c67 100644 --- a/ucw-link.tex +++ b/ucw-link.tex @@ -6,7 +6,11 @@ % Should clickable links be produced? \newif\ifclickable -\clickabletrue +\ifpdf + \clickabletrue +\else + \clickablefalse +\fi % Common style of all clickable links \pdflinkmargin=1pt -- 2.39.2