diff options
author | Karl Berry <karl@freefriends.org> | 2024-02-06 20:33:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-02-06 20:33:34 +0000 |
commit | e58fcca7a32c316350886b50f81e299f9a302818 (patch) | |
tree | 142f3dd0d09e922074cfad3c66a96c4fd296bb47 /Master | |
parent | 90885a779ab222ae3ca068e921d5a7b8d0ef72b3 (diff) |
hvqrurl (6feb24)
git-svn-id: svn://tug.org/texlive/trunk@69723 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/latex/hvqrurl/Changes | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.pdf | bin | 115679 -> 117382 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex | 8 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty | 13 |
4 files changed, 14 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/hvqrurl/Changes b/Master/texmf-dist/doc/latex/hvqrurl/Changes index e7b6ca476c6..aa30416b547 100644 --- a/Master/texmf-dist/doc/latex/hvqrurl/Changes +++ b/Master/texmf-dist/doc/latex/hvqrurl/Changes @@ -1,4 +1,5 @@ hvqrurl.sty: +0.07 2024-02-06 - allow active chars in linktext 0.06 2024-02-03 - fix for introduced bug with linktext 0.05a 2024-02-02 - modified documentation 0.05 2024-01-28 - added optional argument for alternative link text diff --git a/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.pdf b/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.pdf Binary files differindex b5103b9d164..95b739d2b2b 100644 --- a/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.pdf +++ b/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.pdf diff --git a/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex b/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex index 79c2c395ea3..89fd8cdea66 100644 --- a/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex +++ b/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex @@ -1,4 +1,4 @@ -%% $Id: hvqrurl.tex 870 2024-02-03 20:38:44Z herbert $ +%% $Id: hvqrurl.tex 872 2024-02-06 16:11:47Z herbert $ \listfiles \errorcontextlines=100 \documentclass[twoside=on,usegeometry]{scrartcl} @@ -38,7 +38,7 @@ linktocpage, colorlinks=true}% \begin{document} -\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\\small ver 0.05a} +\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\\small ver 0.07} \author{Herbert Voß\thanks{\protect\url{hvoss@tug.org}}} \date{\today} \maketitle @@ -91,7 +91,9 @@ The default setting is qrlink=link. \end{lstlisting} With \Lkeyset{qrlink=nolink} the QR code is no link: \hvqrurl[qrlink=nolink]{https://mirror.ctan.org/pkg/hvqrurl}. The default setting is \Lkeyset{qrlink=link}. Without using \LPack{hyperref} this optional argument -has no meaning. The optional argument \Lkeyword{linktext} is also only valid, if hyperref is aktive. +has no meaning. The optional argument \Lkeyword{linktext} is also only valid, +if hyperref is aktive. + diff --git a/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty b/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty index 36f90a2638b..af29f1a446d 100644 --- a/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty +++ b/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty @@ -1,4 +1,4 @@ -%% $Id: hvqrurl.sty 870 2024-02-03 20:38:44Z herbert $ +%% $Id: hvqrurl.sty 872 2024-02-06 16:11:47Z herbert $ %% %% This file is distributed under the terms of the LaTeX Project Public %% License from CTAN archives in directory macros/latex/base/lppl.txt. @@ -7,7 +7,7 @@ % Copyright 2019,21,23,24 Herbert Voss hvoss@tug.org %% \ProvidesPackage{hvqrurl}[% - 2024/02/03 v.0.06 (Herbert Voss) Supports qr images into the margin (hv)] + 2024/02/06 v.0.07 (Herbert Voss) Supports qr images into the margin (hv)] % \NeedsTeXFormat{LaTeX2e} \RequirePackage{url} @@ -51,12 +51,15 @@ \expandafter\qrset\expandafter{\qr@url@qrlink,height=\qr@url@qrheight,level=\qr@url@qrlevel}% \ifhv@qrreverse\reversemarginpar\fi \if@tempswa - \ifx\@empty\qr@url@linktext % alternative link text + \ifx\@empty\qr@url@linktext % alternative link text? \edef\hv@foo{\detokenize\expandafter{#2}}% \url{\hv@foo}% \else - \edef\hv@foo{\detokenize\expandafter{\qr@url@linktext}}% - \href{#2}{\hv@foo}% + % \href[options]{URL}{text} + \typeout{>>>(hvqrurl) Alternative URL text}% + \edef\hv@fooA{\detokenize\expandafter{#2}}% + \edef\hv@fooB{\detokenize\expandafter{\qr@url@linktext}}% + \href{\hv@fooA}{\hv@fooB}% \fi \fi \edef\reserved@a{\noexpand\marginnote{\noexpand\color{qr@url@qrcolor}\noexpand\qrcode{% |