aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/default.latex2
-rw-r--r--test/lhs-test.latex2
-rw-r--r--test/lhs-test.latex+lhs2
-rw-r--r--test/writer.latex2
-rw-r--r--test/writers-lang-and-dir.latex2
5 files changed, 5 insertions, 5 deletions
diff --git a/data/templates/default.latex b/data/templates/default.latex
index 003cb91a4..723e0091f 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -197,7 +197,7 @@ $endif$
$if(verbatim-in-note)$
\usepackage{fancyvrb}
$endif$
-\IfFileExists{xcolor.sty}{\usepackage{xcolor}}{}
+\usepackage{xcolor}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{
diff --git a/test/lhs-test.latex b/test/lhs-test.latex
index 5e266a082..5584b2cfa 100644
--- a/test/lhs-test.latex
+++ b/test/lhs-test.latex
@@ -30,7 +30,7 @@
}{% if KOMA class
\KOMAoptions{parskip=half}}
\makeatother
-\IfFileExists{xcolor.sty}{\usepackage{xcolor}}{}
+\usepackage{xcolor}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{
diff --git a/test/lhs-test.latex+lhs b/test/lhs-test.latex+lhs
index 4b829e6c9..f22da75f3 100644
--- a/test/lhs-test.latex+lhs
+++ b/test/lhs-test.latex+lhs
@@ -30,7 +30,7 @@
}{% if KOMA class
\KOMAoptions{parskip=half}}
\makeatother
-\IfFileExists{xcolor.sty}{\usepackage{xcolor}}{}
+\usepackage{xcolor}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{
diff --git a/test/writer.latex b/test/writer.latex
index 901a496b6..f6b074099 100644
--- a/test/writer.latex
+++ b/test/writer.latex
@@ -31,7 +31,7 @@
\KOMAoptions{parskip=half}}
\makeatother
\usepackage{fancyvrb}
-\IfFileExists{xcolor.sty}{\usepackage{xcolor}}{}
+\usepackage{xcolor}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{
diff --git a/test/writers-lang-and-dir.latex b/test/writers-lang-and-dir.latex
index 715026f01..7b13594da 100644
--- a/test/writers-lang-and-dir.latex
+++ b/test/writers-lang-and-dir.latex
@@ -31,7 +31,7 @@
}{% if KOMA class
\KOMAoptions{parskip=half}}
\makeatother
-\IfFileExists{xcolor.sty}{\usepackage{xcolor}}{}
+\usepackage{xcolor}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{