summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/href-ul
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-11-01 03:01:47 +0000
committerNorbert Preining <norbert@preining.info>2022-11-01 03:01:47 +0000
commit7ad25021e74ea26e33d705fbb402d29aabaf6314 (patch)
tree56c2d0c14fba2ebe57cb45ad1a2eff04f901378d /macros/latex/contrib/href-ul
parentc7892fe1a11367872de6f3ee0fa074b39824e59c (diff)
CTAN sync 202211010301
Diffstat (limited to 'macros/latex/contrib/href-ul')
-rw-r--r--macros/latex/contrib/href-ul/README.md9
-rw-r--r--macros/latex/contrib/href-ul/href-ul.dtx64
-rw-r--r--macros/latex/contrib/href-ul/href-ul.ins8
-rw-r--r--macros/latex/contrib/href-ul/href-ul.pdfbin229763 -> 283808 bytes
4 files changed, 45 insertions, 36 deletions
diff --git a/macros/latex/contrib/href-ul/README.md b/macros/latex/contrib/href-ul/README.md
index c508666cf1..8ad680d582 100644
--- a/macros/latex/contrib/href-ul/README.md
+++ b/macros/latex/contrib/href-ul/README.md
@@ -18,11 +18,10 @@ Go to \href{https://www.google.com}{Google}!
\end{document}
```
-The full example and all commands are available in the
-[`href-ul.tex`](https://github.com/yegor256/href/blob/master/href-ul.tex) file.
+Otherwise, you can download [`to-be-determined.sty`](https://raw.githubusercontent.com/yegor256/href-ul/gh-pages/href-ul/href-ul.sty) and add to your project.
-If you want to contribute yourself, make a fork, then create a branch,
-then run `make` in the root directory.
+If you want to contribute yourself, make a fork, then create a branch,
+then run `l3build ctan` in the root directory.
It should compile everything without errors. If not, submit an issue and wait.
-Otherwise, make your changes and then run `make` again. If the build is
+Otherwise, make your changes and then run `l3build ctan` again. If the build is
still clean, submit a pull request.
diff --git a/macros/latex/contrib/href-ul/href-ul.dtx b/macros/latex/contrib/href-ul/href-ul.dtx
index 41d4a9d0b5..82aa5e6f70 100644
--- a/macros/latex/contrib/href-ul/href-ul.dtx
+++ b/macros/latex/contrib/href-ul/href-ul.dtx
@@ -50,14 +50,16 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{href-ul}
%<*package>
-[03.10.2022 0.2.0 Underlined Hyperlinks]
+[31.10.20220 0.3.0 Underlined Hyperlinks]
%</package>
%<*driver>
\documentclass{ltxdoc}
\usepackage[tt=false, type1=true]{libertine}
\usepackage{microtype}
+\AddToHook{env/verbatim/begin}{\microtypesetup{protrusion=false}}
\usepackage{href-ul}
\usepackage{xcolor}
+\usepackage[dtx]{docshots}
\PageIndex
\EnableCrossrefs
\CodelineIndex
@@ -78,40 +80,48 @@
%
% \section{Introduction}
%
-% This package helps you make your hyperlinks underlined:
+% This package helps you make your hyperlinks underlined, using |\href| command:
%
-% \begin{multicols}{2}
-% \setlength{\parskip}{0pt}
-% \raggedcolumns
-%\iffalse
-%<*verb>
-%\fi
-\begin{verbatim}
-\documentclass{article}
-\usepackage{href-ul}
-\begin{document}
-Go to
- \href{https://google.com}{Google}!
-\end{document}
-\end{verbatim}
-%\iffalse
-%</verb>
-%\fi
-%
-% \columnbreak
-%
-% Go to \href{https://google.com}{Google}!
-% \end{multicols}
+% \begin{docshot}
+% \documentclass{article}
+% \pagestyle{empty}
+% \usepackage{href-ul}
+% \begin{document}
+% Go to
+% \href{https://google.com}{Google}!
+% \end{document}
+% \end{docshot}
-% Changing the {\color{red}\href{https://github.com/yegor256/href-ul}{color}} of the text also changes the color of the line.
+% Changing the color of the text also changes the color of the line:
+% \begin{docshot}
+% \documentclass{article}
+% \pagestyle{empty}
+% \usepackage{href-ul}
+% \usepackage{xcolor}
+% \begin{document}
+% Go to {\color{red}
+% \href{https://google.com}{Google}}!
+% \end{document}
+% \end{docshot}
-% Changing the {\Large\href{https://github.com/yegor256/href-ul}{size}} of the text doesn't change the height of the line.
+% Changing the size of the text doesn't change the height of the line:
+% \begin{docshot}
+% \documentclass{article}
+% \pagestyle{empty}
+% \usepackage{href-ul}
+% \begin{document}
+% You can always find \\ anything in
+% {\Large \href{https://google.com}{Google}},
+% but \\ it's better to learn
+% something \\ from a school too!
+% \end{document}
+% \end{docshot}
% \StopEventually{}
% \section{Implementation}
-
% \changes{v0.2.0}{2021/06/11}{Initial version}
+% \changes{v0.3.0}{2022/10/31}{We started using "docshots" package for better rendering of examples.}
% First, we include two packages:
% \begin{macrocode}
diff --git a/macros/latex/contrib/href-ul/href-ul.ins b/macros/latex/contrib/href-ul/href-ul.ins
index 582fd9ba13..abfcb368ff 100644
--- a/macros/latex/contrib/href-ul/href-ul.ins
+++ b/macros/latex/contrib/href-ul/href-ul.ins
@@ -48,8 +48,8 @@ SOFTWARE.
\endpreamble
\generate{\file{href-ul.sty}{\from{href-ul.dtx}{package}}}
\obeyspaces
-\Msg{*** To finish the installation you have to move the ".sty"}
-\Msg{*** file into a directory searched by TeX. To produce the}
-\Msg{*** documentation run the file ".dtx" through LaTeX. If any}
-\Msg{*** questions, submit a new GitHub issue.}
+\Msg{To finish the installation you have to move the ".sty"}
+\Msg{file into a directory searched by TeX. To produce the}
+\Msg{documentation run the file ".dtx" through LaTeX. If any}
+\Msg{questions, submit a new GitHub issue.}
\endbatchfile
diff --git a/macros/latex/contrib/href-ul/href-ul.pdf b/macros/latex/contrib/href-ul/href-ul.pdf
index 37a3867c0e..46b31bf10a 100644
--- a/macros/latex/contrib/href-ul/href-ul.pdf
+++ b/macros/latex/contrib/href-ul/href-ul.pdf
Binary files differ