summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2015-03-25 04:02:26 +0100
committerJonas Smedegaard <dr@jones.dk>2015-03-25 04:02:26 +0100
commit3d50ce7e8304d76fe3d6a99c2e794b9000db608a (patch)
tree4dcd3f720a2c516040f1188c243a8c991e5c0bee
parente38663a49a22576899f27fdaa646d8ee6d61fc81 (diff)
Tune wrapping of URLs.
-rw-r--r--header.tex12
-rw-r--r--template.tex1
2 files changed, 7 insertions, 6 deletions
diff --git a/header.tex b/header.tex
index b7675b8..fe28373 100644
--- a/header.tex
+++ b/header.tex
@@ -14,12 +14,12 @@
\todo[fancyline]{#1}\hl{#2}}
\hypersetup{breaklinks,hidelinks,draft=false}
\usepackage[defaultlines=4,all]{nowidow}
-\def\UrlBreaks{%
- \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m
- \do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z
- \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M
- \do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z
- \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do:\do\/\do\.}
+%\def\UrlBreaks{%
+% \do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m
+% \do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z
+% \do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M
+% \do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z
+% \do0\do1\do2\do3\do4\do5\do6\do7\do8\do9\do=\do:\do\/\do\.}
\semiisopage[7]
\checkandfixthelayout
\usepackage{foreign}
diff --git a/template.tex b/template.tex
index e1ede4f..8cc9e83 100644
--- a/template.tex
+++ b/template.tex
@@ -82,6 +82,7 @@ $if(graphics)$
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
$endif$
+\usepackage[hyphens]{url}
\usepackage{hyperxmp}
\ifxetex
\usepackage[setpagesize=false, % page size defined by xetex