summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/xurl
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-14 21:52:18 +0000
committerKarl Berry <karl@freefriends.org>2020-01-14 21:52:18 +0000
commit327eb75c2bfa88d5bc9e6f5a1127629c1357b91d (patch)
tree7c37f5b06942c066294cfc3e09858791f910bc85 /Master/texmf-dist/doc/latex/xurl
parent3e613e6a541507042506cbc8cb2035c3707de296 (diff)
xurl (14jan20)
git-svn-id: svn://tug.org/texlive/trunk@53405 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/xurl')
-rw-r--r--Master/texmf-dist/doc/latex/xurl/Changes1
-rw-r--r--Master/texmf-dist/doc/latex/xurl/xurl.pdfbin42438 -> 56280 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xurl/xurl.tex38
3 files changed, 38 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/xurl/Changes b/Master/texmf-dist/doc/latex/xurl/Changes
index 2c92b953aa1..d597e39621d 100644
--- a/Master/texmf-dist/doc/latex/xurl/Changes
+++ b/Master/texmf-dist/doc/latex/xurl/Changes
@@ -1,3 +1,4 @@
+0.08 2020-01-14 - define macro \useOriginalUrlSetting
0.07 2018-12-23 - move numbers into \UrlBreaks
0.06 2018-12-16 - define \UrlSpecials
0.05 2018-12-08 - added support for biblatex
diff --git a/Master/texmf-dist/doc/latex/xurl/xurl.pdf b/Master/texmf-dist/doc/latex/xurl/xurl.pdf
index d16fa080d1b..81d81ddfbf4 100644
--- a/Master/texmf-dist/doc/latex/xurl/xurl.pdf
+++ b/Master/texmf-dist/doc/latex/xurl/xurl.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xurl/xurl.tex b/Master/texmf-dist/doc/latex/xurl/xurl.tex
index 856b1f4f148..79d48dc2e7b 100644
--- a/Master/texmf-dist/doc/latex/xurl/xurl.tex
+++ b/Master/texmf-dist/doc/latex/xurl/xurl.tex
@@ -1,4 +1,4 @@
-%% $Id: xurl.tex 876 2018-12-23 10:26:11Z herbert $
+%% $Id: xurl.tex 1133 2020-01-14 12:10:03Z herbert $
%
\listfiles\setcounter{errorcontextlines}{100}
\RequirePackage{filecontents}
@@ -63,7 +63,14 @@ It will be passed to package url. xurl itself has no
special optional argument. For more information read
the documentation of package url.
+\section{With the original setting from package url}
+The original behaviour of package \texttt{url} can be optained
+by using the macro \texttt{\textbackslash useOriginalUrlSetting}
+which should be used inside a group:
+
+\begingroup
+\useOriginalUrlSetting
\noindent
\frame{\begin{minipage}{0.5\linewidth}
\noindent
@@ -78,7 +85,31 @@ some text \url{very-long-url-very-long-url-very-long-url-very-long-url-very-long
and another url: \url{https://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url/10419?noredirect=1#comment1021887_10419}
\end{minipage}}
+\noindent
+\frame{\begin{minipage}{\dimexpr\linewidth-2\fboxrule}
+\noindent
+some text \url{iszv://dsf.tqsdatmdtdls.ctm/cudfsdvqfqll-ocd/bdcbcfqlf-lcclldh/cbsntwgqke-esbptb-vvylhy/zkhqnqidf-obedbacpf-lzlal-pxaccqa-gwki.lfof/}
+and another url: \url{koff://osb.ccdngagkkg.raa/qrkxzvi/dxfsiaa/xidf-lata-dgdqmhp-uoxdl-vst-vcsbhl-aisdsasih-skl-aezb-fhixvyy-qqlachd-achhfc-koe-xgfqp-iyplcu-1.696884}
+\end{minipage}}
+\endgroup
+
+
+\section{With the setting from package xurl}
+
+
+\noindent
+\frame{\begin{minipage}{0.5\linewidth}
+\noindent
+some text \url{very-long-url-very-long-url-very-long-url-very-long-url-very-long-url-}
+and another url: \url{https://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url/10419?noredirect=1#comment1021887_10419}
+\end{minipage}}
+\noindent
+\frame{\begin{minipage}{0.75\linewidth}
+\noindent
+some text \url{very-long-url-very-long-url-very-long-url-very-long-url-very-long-url-}
+and another url: \url{https://tex.stackexchange.com/questions/3033/forcing-linebreaks-in-url/10419?noredirect=1#comment1021887_10419}
+\end{minipage}}
\noindent
\frame{\begin{minipage}{\dimexpr\linewidth-2\fboxrule}
@@ -109,6 +140,7 @@ use the optional argument \texttt{nobiblatex}:
\nocite{*}
+
\printbibliography[title={With urlbreaks}]
\setcounter{biburllcpenalty}{0}
@@ -117,6 +149,10 @@ use the optional argument \texttt{nobiblatex}:
\printbibliography[title={xurl with option nobiblatex}]
+
+
+
+
\end{document}