diff options
-rw-r--r-- | data/templates/default.latex | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex index 6856f2cbe..4f85f3733 100644 --- a/data/templates/default.latex +++ b/data/templates/default.latex @@ -173,9 +173,7 @@ $endif$ $if(verbatim-in-note)$ \usepackage{fancyvrb} $endif$ -$if(colorlinks)$ -\usepackage{xcolor} -$endif$ +\IfFileExists{xcolor.sty}{\usepackage{xcolor}}{} \usepackage{hyperref} \hypersetup{ $if(title-meta)$ |