aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default.latex8
1 files changed, 4 insertions, 4 deletions
diff --git a/default.latex b/default.latex
index 92cfbc737..e9eaa08b7 100644
--- a/default.latex
+++ b/default.latex
@@ -63,10 +63,10 @@ $endif$
\usepackage[unicode=true]{hyperref}
\fi
}
-\makeatother
-\makeatletter
-\@ifpackageloaded{color}{}{%
-\usepackage[usenames,dvipsnames]{color}
+\@ifpackageloaded{color}{
+ \PassOptionsToPackage{usenames,dvipsnames}{color}
+}{%
+ \usepackage[usenames,dvipsnames]{color}
}
\makeatother
\hypersetup{breaklinks=true,