From: Martin Mares Date: Wed, 6 Jun 2018 09:55:15 +0000 (+0200) Subject: ucw-link: Turn off clickable links when not producing a PDF X-Git-Tag: v1.99~1^2~15 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=92cac871ebc87c645d6ec6643ce4222974459c7d;p=ucwmac.git ucw-link: Turn off clickable links when not producing a PDF --- 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