texlive[71361] Master/texmf-dist: hvqrurl (26may24)

commits+karl at tug.org commits+karl at tug.org
Sun May 26 22:35:31 CEST 2024


Revision: 71361
          https://tug.org/svn/texlive?view=revision&revision=71361
Author:   karl
Date:     2024-05-26 22:35:31 +0200 (Sun, 26 May 2024)
Log Message:
-----------
hvqrurl (26may24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hvqrurl/Changes
    trunk/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.pdf
    trunk/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex
    trunk/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty

Modified: trunk/Master/texmf-dist/doc/latex/hvqrurl/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvqrurl/Changes	2024-05-26 20:35:22 UTC (rev 71360)
+++ trunk/Master/texmf-dist/doc/latex/hvqrurl/Changes	2024-05-26 20:35:31 UTC (rev 71361)
@@ -1,4 +1,5 @@
 hvqrurl.sty:    
+0.09  2024-05-16  - added option "forget" to create all codes new
 0.08  2024-05-14  - fix for color setting of the qrcode
 0.07  2024-02-06  - allow active chars in linktext
 0.06  2024-02-03  - fix for introduced bug with linktext

Modified: trunk/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex	2024-05-26 20:35:22 UTC (rev 71360)
+++ trunk/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex	2024-05-26 20:35:31 UTC (rev 71361)
@@ -1,4 +1,4 @@
-%% $Id: hvqrurl.tex 895 2024-05-14 19:22:17Z herbert $
+%% $Id: hvqrurl.tex 901 2024-05-26 07:18:06Z 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.08}
+\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\\small ver 0.09}
 \author{Herbert Voß\thanks{\protect\url{hvoss at tug.org}}}
 \date{\today}
 \maketitle
@@ -53,9 +53,31 @@
 \end{abstract}
 
 
+\section{Package option}
+There is only one package option \Lkeyword{forget}. If it is used, then all
+qrcodes are always created new and the already existing codes in the \Lext{aux} file
+are not used. The deafult is not to use this option. For example: 100 qrcodes needs
+about 30 seconds with option \Lkeyword{forget}, but only 4 seconds without it. It is obvious
+that for the first \LaTeX\ run the codes will allways be created new.
+If  a qrcode is
+created, e.g. for \hvqrurl{https://pkks.de}, then there is something like 
+
+\begin{verbatim}
+\qr at savematrix{https://pkks.de}{2}{3}{11111110001010011011111111000001001110110101000001101110100
+0000011101011101101110101010001000101110110111010001111110010111011000001011010001001000001111111
+1010101010101111111000000001111001110000000001100010000011101011010000000010011010110001101011001
+0011100111001010111101101011001011110011100100011110010100001011010000010010010100101101101100011
+1101111011111111110001101001010000001010011111100011100011000101011111100100000000011101110100010
+0011111111001100110101010001100000100101100110001001110111010001010011111100001011101000110010110
+010100101110101010010000011101110000010101110101001100001111111001001011100001001}
+\end{verbatim}
+
+in the \Lext{aux} file (all in one line!). This is always used in following
+\LaTeX\ runs and created only new if the URL changes or the option \Lkeyword{forget}
+is used.
+
 \section{The macros}
 
-
 \begin{BDef}
 \Lcs{hvqrset}\Largb{key=value, \ldots}\\
 \Lcs{hvqrurl}\OptArg{key=value, \ldots}\Largb{URL}\\

Modified: trunk/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty	2024-05-26 20:35:22 UTC (rev 71360)
+++ trunk/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty	2024-05-26 20:35:31 UTC (rev 71361)
@@ -1,4 +1,4 @@
-%% $Id: hvqrurl.sty 895 2024-05-14 19:22:17Z herbert $
+%% $Id: hvqrurl.sty 901 2024-05-26 07:18:06Z 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,21 +7,25 @@
 % Copyright 2019,21,23,24 Herbert Voss hvoss at tug.org
 %%
 \ProvidesPackage{hvqrurl}[%
-  2024/05/14 v.0.08 (Herbert Voss) Supports qr images into the margin (hv)] 
+  2024/05/26 v.0.09 (Herbert Voss) Supports qr images into the margin (hv)] 
 %
 \NeedsTeXFormat{LaTeX2e}
 \RequirePackage{url}
 \RequirePackage{xcolor}
 \RequirePackage{marginnote}
-\RequirePackage{qrcode}
+%\RequirePackage{qrcode}
 \RequirePackage{xkeyval}
 
+\newif\if at hv@forget 
+\@hv at forgetfalse
+\DeclareOption{forget}{\@hv at forgettrue}           
+
 \newif\if at no@hyperref 
 \@no at hyperreffalse
-
 \DeclareOption{nohyperref}{\@no at hyperreftrue}           
 \ProcessOptions 
 
+\if at hv@forget\RequirePackage[forget]{qrcode}\else\RequirePackage{qrcode}\fi
 \if at no@hyperref\else\RequirePackage{hyperref}\fi
 
 \newlength\qr at url@qrheight



More information about the tex-live-commits mailing list.