From a0c7b1e0478675069be85aa979461a435002e1ab Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Mon, 26 Feb 2018 15:19:19 +0100 Subject: [PATCH] Improve URL wrapping --- authorarchive.sty | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/authorarchive.sty b/authorarchive.sty index 46e4755..ebeed04 100644 --- a/authorarchive.sty +++ b/authorarchive.sty @@ -14,6 +14,8 @@ [2018/02/25 Unreleased v1.0.0+% Self-archiving information for scientific publications.] % +\PassOptionsToPackage{hyphens}{url} +% \RequirePackage{ifthen} \RequirePackage[inline]{enumitem} \RequirePackage{graphicx} @@ -26,13 +28,16 @@ \RequirePackage{qrcode} \RequirePackage{dtk-logos} % +%Better url breaking +\g@addto@macro{\UrlBreaks}{\UrlOrds} +% % Option declarations % ------------------- \SetupKeyvalOptions{ family=AA, prefix=AA@ } - +% \DeclareStringOption[.]{bibtexdir} \DeclareStringOption[https://duckduckgo.com/?q=]{baseurl} \DeclareStringOption[.pdf]{suffix}