From 02e4625a78a5029e8b5dc2a4ec70193b232f497e Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 2 Dec 2019 03:02:11 +0000 Subject: CTAN sync 201912020302 --- macros/latex/contrib/hvqrurl/Changes | 3 ++- macros/latex/contrib/hvqrurl/README | 6 +++--- macros/latex/contrib/hvqrurl/doc/hvqrurl.pdf | Bin 95763 -> 96082 bytes macros/latex/contrib/hvqrurl/doc/hvqrurl.tex | 20 +++++++++++++------- macros/latex/contrib/hvqrurl/latex/hvqrurl.sty | 2 +- 5 files changed, 19 insertions(+), 12 deletions(-) (limited to 'macros/latex/contrib/hvqrurl') diff --git a/macros/latex/contrib/hvqrurl/Changes b/macros/latex/contrib/hvqrurl/Changes index dbf1c990f2..85dfdd189e 100644 --- a/macros/latex/contrib/hvqrurl/Changes +++ b/macros/latex/contrib/hvqrurl/Changes @@ -1,2 +1,3 @@ hvqrurl.sty: -0.01 2019-11-27 - first CTAN version +0.01a 2019-12-01 - fixes to the documentation +0.01 2019-11-27 - first CTAN version diff --git a/macros/latex/contrib/hvqrurl/README b/macros/latex/contrib/hvqrurl/README index 12b48923cb..8de40ba379 100644 --- a/macros/latex/contrib/hvqrurl/README +++ b/macros/latex/contrib/hvqrurl/README @@ -3,8 +3,8 @@ Placing an URL as a QR code into the margin of the text. The package loads by default url, qrcode, marginnote, xcolor, and xkeyval -%% This program can be redistributed and/or modified under the terms -%% of the LaTeX Project Public License Distributed from CTAN archives -%% in directory macros/latex/base/lppl.txt. +This file is distributed under the terms of the LaTeX Project Public +License from CTAN archives in directory macros/latex/base/lppl.txt. +Either version 1.3 or, at your option, any later version. hvoss@tug.org \ No newline at end of file diff --git a/macros/latex/contrib/hvqrurl/doc/hvqrurl.pdf b/macros/latex/contrib/hvqrurl/doc/hvqrurl.pdf index f1e8eb176c..7a0aa0aa49 100644 Binary files a/macros/latex/contrib/hvqrurl/doc/hvqrurl.pdf and b/macros/latex/contrib/hvqrurl/doc/hvqrurl.pdf differ diff --git a/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex b/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex index 23196651ec..7125c0d723 100644 --- a/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex +++ b/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex @@ -1,4 +1,4 @@ -%% $Id: hvqrurl.tex 1118 2019-11-29 07:56:18Z herbert $ +%% $Id: hvqrurl.tex 1119 2019-11-30 17:36:28Z herbert $ \listfiles \errorcontextlines=100 \documentclass[twoside,usegeometry]{scrartcl} @@ -37,7 +37,7 @@ \hypersetup{urlcolor=blue, linktocpage, colorlinks=true}% \begin{document} -\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\ver 0.01} +\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\\small ver 0.01a} \author{Herbert Voß\thanks{\protect\url{hvoss@tug.org}}} \date{\today} \maketitle @@ -52,13 +52,13 @@ and \end{abstract} -\section{The macro} +\section{The macros} \begin{BDef} -\Lcs{hvqrset}\Largb{key=value list}\\ -\Lcs{hvqrurl}\Largb{key=value list}\Largb{URL}\\ -\Lcs{hvqrurl*}\Largb{key=value list}\Largb{URL} +\Lcs{hvqrset}\Largb{key=value, \ldots}\\ +\Lcs{hvqrurl}\OptArg{key=value, \ldots}\Largb{URL}\\ +\Lcs{hvqrurl*}\OptArg{key=value, \ldots}\Largb{URL} \end{BDef} With the default macro \Lcs{hvqrurl} the URL is printed as as QR code into the margin and @@ -66,6 +66,13 @@ in the the text as usual with the macro \Lcs{url}, for example \hvqrurl{https:// With \LPack{hyperref} you'll get the the same color for the QR code as for the URL link and, of course, is also a link. This example shows the default setting for a QR code. +With \Lcs{hvqrset} one can set the optional arguments globally. For example if one do not want all +QR codes not as a link when using \LPack{hyperref}: + +\begin{lstlisting} +\hvqrset{qrlink=nolink} +\end{lstlisting} + \section{Optional arguments} @@ -75,7 +82,6 @@ is also a link. This example shows the default setting for a QR code. 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}. \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. diff --git a/macros/latex/contrib/hvqrurl/latex/hvqrurl.sty b/macros/latex/contrib/hvqrurl/latex/hvqrurl.sty index b8c657b82f..bf27b32006 100644 --- a/macros/latex/contrib/hvqrurl/latex/hvqrurl.sty +++ b/macros/latex/contrib/hvqrurl/latex/hvqrurl.sty @@ -7,7 +7,7 @@ % Copyright 2019 Herbert Voss hvoss@tug.org %% \ProvidesPackage{hvqrurl}[% - 2019/11/27 v.0.01 (Herbert Voss) Supports qr images into the margin (hv)] + 2019/12/01 v.0.01a (Herbert Voss) Supports qr images into the margin (hv)] % \NeedsTeXFormat{LaTeX2e} \RequirePackage{url} -- cgit v1.2.3