texlive[69484] Master/texmf-dist: hvqrurl (18jan24)
commits+karl at tug.org
commits+karl at tug.org
Thu Jan 18 22:17:44 CET 2024
Revision: 69484
https://tug.org/svn/texlive?view=revision&revision=69484
Author: karl
Date: 2024-01-18 22:17:44 +0100 (Thu, 18 Jan 2024)
Log Message:
-----------
hvqrurl (18jan24)
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-01-18 21:17:35 UTC (rev 69483)
+++ trunk/Master/texmf-dist/doc/latex/hvqrurl/Changes 2024-01-18 21:17:44 UTC (rev 69484)
@@ -1,4 +1,5 @@
hvqrurl.sty:
+0.04 2024-01-18 - fix for wrong text
0.03 2023-10-29 - fix for # in an url
0.02 2021-05-18 - added optional argument qrreverse to the set
the qr code in the opposite margin
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-01-18 21:17:35 UTC (rev 69483)
+++ trunk/Master/texmf-dist/doc/latex/hvqrurl/hvqrurl.tex 2024-01-18 21:17:44 UTC (rev 69484)
@@ -1,9 +1,9 @@
-%% $Id: hvqrurl.tex 790 2023-10-29 15:33:17Z herbert $
+%% $Id: hvqrurl.tex 837 2024-01-18 07:43:31Z herbert $
\listfiles
\errorcontextlines=100
-\documentclass[twoside,usegeometry]{scrartcl}
+\documentclass[twoside=on,usegeometry]{scrartcl}
\usepackage{libertinus-otf}
-\setmonofont[Scale=MatchLowercase,FakeStretch=0.9]{DejaVu Sans Mono}
+\setmonofont[Scale=MatchLowercase,FakeStretch=0.85]{DejaVu Sans Mono}
\usepackage{microtype}
\usepackage[english]{babel}
\usepackage[automark]{scrlayer-scrpage}
@@ -31,7 +31,6 @@
\usepackage{ragged2e}
\usepackage{hvqrurl}
-
\usepackage{hvdoctools}
\usepackage{hyperref}
@@ -38,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 \\\small ver 0.02}
+\title{Package \texttt{hvqrurl}\\Creating a QR-code of an URL in the margin \\\small ver 0.04}
\author{Herbert Voß\thanks{\protect\url{hvoss at tug.org}}}
\date{\today}
\maketitle
Modified: trunk/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty 2024-01-18 21:17:35 UTC (rev 69483)
+++ trunk/Master/texmf-dist/tex/latex/hvqrurl/hvqrurl.sty 2024-01-18 21:17:44 UTC (rev 69484)
@@ -1,13 +1,13 @@
-%% $Id: hvqrurl.sty 790 2023-10-29 15:33:17Z herbert $
+%% $Id: hvqrurl.sty 837 2024-01-18 07:43:31Z herbert $
%%
%% 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.
%%
-% Copyright 2019,21,23 Herbert Voss hvoss at tug.org
+% Copyright 2019,21,23,24 Herbert Voss hvoss at tug.org
%%
\ProvidesPackage{hvqrurl}[%
- 2023/10/29 v.0.03 (Herbert Voss) Supports qr images into the margin (hv)]
+ 2024/01/18 v.0.04 (Herbert Voss) Supports qr images into the margin (hv)]
%
\NeedsTeXFormat{LaTeX2e}
\RequirePackage{url}
@@ -24,7 +24,7 @@
\define at key{hvqr}{qrcolor}[black]{\colorlet{qr at url@qrcolor}{#1}}
\define at key{hvqr}{qrlevel}[M]{\def\qr at url@qrlevel{#1}}
\define at key{hvqr}{qrlink}[link]{\def\qr at url@qrlink{#1}}
-\define at boolkey{hvqr}[hv@]{qrreverse}[true]{}% use of the hvOBox contents
+\define at boolkey{hvqr}[hv@]{qrreverse}[true]{}
\setkeys{hvqr}{qrheight,qrcolor=black,qradjust,qrlevel,qrlink=link,qrreverse=false}% the default setting
@@ -42,7 +42,7 @@
\ifhv at qrreverse\reversemarginpar\fi
\if at tempswa
\edef\hv at foo{\detokenize\expandafter{#2}}%
- \url{\hv at foo}
+ \expandafter\url\expandafter{\hv at foo}%
\fi
\edef\reserved at a{\noexpand\marginnote{\noexpand\color{qr at url@qrcolor}\noexpand\qrcode{%
\detokenize\expandafter{#2}}}[\qr at url@qradjust]}%
More information about the tex-live-commits
mailing list.