From c3ccc8b95f7753a15600f623541cb6e099d3a799 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 3 Oct 2022 20:32:39 +0000 Subject: href-ul (3oct22) git-svn-id: svn://tug.org/texlive/trunk@64598 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/href-ul/LICENSE.txt | 21 +++ Master/texmf-dist/doc/latex/href-ul/README.md | 5 +- Master/texmf-dist/doc/latex/href-ul/href-ul.pdf | Bin 49130 -> 229763 bytes Master/texmf-dist/doc/latex/href-ul/href-ul.tex | 70 ---------- Master/texmf-dist/source/latex/href-ul/href-ul.dtx | 144 +++++++++++++++++++++ Master/texmf-dist/source/latex/href-ul/href-ul.ins | 55 ++++++++ Master/texmf-dist/tex/latex/href-ul/href-ul.sty | 63 +++++---- 7 files changed, 264 insertions(+), 94 deletions(-) create mode 100644 Master/texmf-dist/doc/latex/href-ul/LICENSE.txt delete mode 100644 Master/texmf-dist/doc/latex/href-ul/href-ul.tex create mode 100644 Master/texmf-dist/source/latex/href-ul/href-ul.dtx create mode 100644 Master/texmf-dist/source/latex/href-ul/href-ul.ins (limited to 'Master/texmf-dist') diff --git a/Master/texmf-dist/doc/latex/href-ul/LICENSE.txt b/Master/texmf-dist/doc/latex/href-ul/LICENSE.txt new file mode 100644 index 00000000000..bd949ffdabc --- /dev/null +++ b/Master/texmf-dist/doc/latex/href-ul/LICENSE.txt @@ -0,0 +1,21 @@ +(The MIT License) + +Copyright (c) 2021-2022 Yegor Bugayenko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the 'Software'), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/Master/texmf-dist/doc/latex/href-ul/README.md b/Master/texmf-dist/doc/latex/href-ul/README.md index 67b18d010e7..c508666cf1e 100644 --- a/Master/texmf-dist/doc/latex/href-ul/README.md +++ b/Master/texmf-dist/doc/latex/href-ul/README.md @@ -1,7 +1,8 @@ -[![make](https://github.com/yegor256/href-ul/actions/workflows/make.yml/badge.svg)](https://github.com/yegor256/href-ul/actions/workflows/make.yml) +[![make](https://github.com/yegor256/href-ul/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/href-ul/actions/workflows/l3build.yml) +[![CTAN](https://img.shields.io/ctan/v/href-ul)](https://ctan.org/pkg/href-ul) [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/href-ul/blob/master/LICENSE.txt) -This LaTeX package makes hyperlinks underscored. +This LaTeX package makes hyperlinks underlined. The package uses [`hyperref`](https://ctan.org/pkg/hyperref) and [`ulem`](https://ctan.org/pkg/ulem) packages. diff --git a/Master/texmf-dist/doc/latex/href-ul/href-ul.pdf b/Master/texmf-dist/doc/latex/href-ul/href-ul.pdf index f480b994d38..37a3867c0e5 100644 Binary files a/Master/texmf-dist/doc/latex/href-ul/href-ul.pdf and b/Master/texmf-dist/doc/latex/href-ul/href-ul.pdf differ diff --git a/Master/texmf-dist/doc/latex/href-ul/href-ul.tex b/Master/texmf-dist/doc/latex/href-ul/href-ul.tex deleted file mode 100644 index 3f60b3f3ea5..00000000000 --- a/Master/texmf-dist/doc/latex/href-ul/href-ul.tex +++ /dev/null @@ -1,70 +0,0 @@ -% (The MIT License) -% -% Copyright (c) 2021 Yegor Bugayenko -% -% Permission is hereby granted, free of charge, to any person obtaining a copy -% of this software and associated documentation files (the 'Software'), to deal -% in the Software without restriction, including without limitation the rights -% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -% copies of the Software, and to permit persons to whom the Software is -% furnished to do so, subject to the following conditions: -% -% The above copyright notice and this permission notice shall be included in all -% copies or substantial portions of the Software. -% -% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -% SOFTWARE. - -\documentclass[12pt]{article} -\usepackage{href-ul} % the package from the current dir -\usepackage{ffcode} -\usepackage{multicol} -\usepackage{xcolor} -\title{\ff{href-ul}: \LaTeX{} Package \newline That Makes Underscored Links} -\author{Yegor Bugayenko} -\date{0.1.0 2021/06/13} - -\begin{document} -\pagenumbering{gobble} -\raggedbottom -\setlength{\parindent}{0pt} -\setlength{\columnsep}{32pt} -\setlength{\parskip}{6pt} -\maketitle - -This package helps you make your hyperlinks underscored: - -\begin{multicols}{2} -\setlength{\parskip}{0pt} -\scriptsize -\raggedcolumns -\begin{verbatim} -\documentclass{article} -\usepackage{href-ul} -\begin{document} -Go to \href{https://google.com}{Google}! -\end{document} -\end{verbatim} - -\columnbreak - -Go to \href{https://google.com}{Google}! -\end{multicols} - -Changing the {\color{red}\href{https://github.com/yegor256/href-ul}{color}} of the text also changes the color of the line. - -Changing the {\Large\href{https://github.com/yegor256/href-ul}{size}} of the text doesn't change the width of the line. - -The package uses -\ff{\href{https://ctan.org/pkg/hyperref}{hyperref}} -and \ff{\href{https://ctan.org/pkg/ulem}{ulem}} packages. - -More details about this package you can find -in the \ff{\href{https://github.com/yegor256/href-ul}{yegor256/href-ul}} GitHub repository. - -\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/source/latex/href-ul/href-ul.dtx b/Master/texmf-dist/source/latex/href-ul/href-ul.dtx new file mode 100644 index 00000000000..41d4a9d0b5e --- /dev/null +++ b/Master/texmf-dist/source/latex/href-ul/href-ul.dtx @@ -0,0 +1,144 @@ +% \iffalse meta-comment +% (The MIT License) +% +% Copyright (c) 2021-2022 Yegor Bugayenko +% +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the 'Software'), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% +% The above copyright notice and this permission notice shall be included in all +% copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +% SOFTWARE. +% \fi + +% \CheckSum{0} +% +% \CharacterTable +% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z +% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z +% Digits \0\1\2\3\4\5\6\7\8\9 +% Exclamation \! Double quote \" Hash (number) \# +% Dollar \$ Percent \% Ampersand \& +% Acute accent \' Left paren \( Right paren \) +% Asterisk \* Plus \+ Comma \, +% Minus \- Point \. Solidus \/ +% Colon \: Semicolon \; Less than \< +% Equals \= Greater than \> Question mark \? +% Commercial at \@ Left bracket \[ Backslash \\ +% Right bracket \] Circumflex \^ Underscore \_ +% Grave accent \` Left brace \{ Vertical bar \| +% Right brace \} Tilde \~} + +% \GetFileInfo{href-ul.dtx} +% \DoNotIndex{\endgroup,\begingroup,\let,\else,\fi,\newcommand,\newenvironment} + +% \iffalse +%<*driver> +\ProvidesFile{href-ul.dtx} +% +%\NeedsTeXFormat{LaTeX2e} +%\ProvidesPackage{href-ul} +%<*package> +[03.10.2022 0.2.0 Underlined Hyperlinks] +% +%<*driver> +\documentclass{ltxdoc} +\usepackage[tt=false, type1=true]{libertine} +\usepackage{microtype} +\usepackage{href-ul} +\usepackage{xcolor} +\PageIndex +\EnableCrossrefs +\CodelineIndex +\RecordChanges +\begin{document} + \DocInput{href-ul.dtx} + \PrintChanges + \PrintIndex +\end{document} +% +% \fi + +% \title{|href-ul|: \LaTeX{} Package \\ That Makes Underscored Links\thanks{The sources are in GitHub at \href{https://github.com/yegor256/href-ul}{yegor256/href-ul}}} +% \author{Yegor Bugayenko \\ \texttt{yegor256@gmail.com}} +% \date{\filedate, \fileversion} +% +% \maketitle +% +% \section{Introduction} +% +% This package helps you make your hyperlinks underlined: +% +% \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 +% +%\fi +% +% \columnbreak +% +% Go to \href{https://google.com}{Google}! +% \end{multicols} + +% Changing the {\color{red}\href{https://github.com/yegor256/href-ul}{color}} of the text also changes the color of the line. + +% Changing the {\Large\href{https://github.com/yegor256/href-ul}{size}} of the text doesn't change the height of the line. + +% \StopEventually{} + +% \section{Implementation} + +% \changes{v0.2.0}{2021/06/11}{Initial version} + +% First, we include two packages: +% \begin{macrocode} +\PassOptionsToPackage{normalem}{ulem} +\RequirePackage{ulem} +\PassOptionsToPackage{hidelinks}{hyperref} +\RequirePackage{hyperref} +% \end{macrocode} + +% \begin{macro}{\href} +% Then, we define the |\href| command: +% \begin{macrocode} +\makeatletter\begingroup% +\catcode`\$=6 % +\catcode`\#=12 % +\gdef\href@split$1#$2#$3\\$4{% + \hyper@@link{$1}{$2}{\uline{$4}}% + \endgroup% +}% +\endgroup\makeatother +% \end{macrocode} +% \end{macro} + +% \Finale + +%\clearpage +% +%\PrintChanges +%\clearpage +%\PrintIndex diff --git a/Master/texmf-dist/source/latex/href-ul/href-ul.ins b/Master/texmf-dist/source/latex/href-ul/href-ul.ins new file mode 100644 index 00000000000..582fd9ba13e --- /dev/null +++ b/Master/texmf-dist/source/latex/href-ul/href-ul.ins @@ -0,0 +1,55 @@ +%% (The MIT License) +%% +%% Copyright (c) 2021-2022 Yegor Bugayenko +%% +%% Permission is hereby granted, free of charge, to any person obtaining a copy +%% of this software and associated documentation files (the 'Software'), to deal +%% in the Software without restriction, including without limitation the rights +%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +%% copies of the Software, and to permit persons to whom the Software is +%% furnished to do so, subject to the following conditions: +%% +%% The above copyright notice and this permission notice shall be included in all +%% copies or substantial portions of the Software. +%% +%% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +%% SOFTWARE. + +\input docstrip.tex +\keepsilent +\usedir{macros/latex/contrib/href-ul} +\preamble +(The MIT License) + +Copyright (c) 2021-2022 Yegor Bugayenko + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the 'Software'), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +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.} +\endbatchfile diff --git a/Master/texmf-dist/tex/latex/href-ul/href-ul.sty b/Master/texmf-dist/tex/latex/href-ul/href-ul.sty index 570f4ca51ad..6f9d20a81b3 100644 --- a/Master/texmf-dist/tex/latex/href-ul/href-ul.sty +++ b/Master/texmf-dist/tex/latex/href-ul/href-ul.sty @@ -1,27 +1,43 @@ -% (The MIT License) -% -% Copyright (c) 2021 Yegor Bugayenko -% -% Permission is hereby granted, free of charge, to any person obtaining a copy -% of this software and associated documentation files (the 'Software'), to deal -% in the Software without restriction, including without limitation the rights -% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -% copies of the Software, and to permit persons to whom the Software is -% furnished to do so, subject to the following conditions: -% -% The above copyright notice and this permission notice shall be included in all -% copies or substantial portions of the Software. -% -% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -% SOFTWARE. +%% +%% This is file `href-ul.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% href-ul.dtx (with options: `package') +%% (The MIT License) +%% +%% Copyright (c) 2021-2022 Yegor Bugayenko +%% +%% Permission is hereby granted, free of charge, to any person obtaining a copy +%% of this software and associated documentation files (the 'Software'), to deal +%% in the Software without restriction, including without limitation the rights +%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +%% copies of the Software, and to permit persons to whom the Software is +%% furnished to do so, subject to the following conditions: +%% +%% The above copyright notice and this permission notice shall be included in all +%% copies or substantial portions of the Software. +%% +%% THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +%% SOFTWARE. + + \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{href-ul}[2021/06/13 0.1.0 Underscored Hyperlinks] +\ProvidesPackage{href-ul} +[03.10.2022 0.2.0 Underlined Hyperlinks] + + + + + + \PassOptionsToPackage{normalem}{ulem} \RequirePackage{ulem} @@ -37,4 +53,7 @@ }% \endgroup\makeatother + \endinput +%% +%% End of file `href-ul.sty'. -- cgit v1.2.3