summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/hvqrurl
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2024-01-19 03:00:44 +0000
committerNorbert Preining <norbert@preining.info>2024-01-19 03:00:44 +0000
commit849336321485cc972b028c23f8276fa6bdf4818e (patch)
tree43e99f8f941334e9d2dab5b65c67787e0daa1408 /macros/latex/contrib/hvqrurl
parentc4dbe7c982d00abf62e9a8927ecdef11521773a8 (diff)
CTAN sync 202401190300
Diffstat (limited to 'macros/latex/contrib/hvqrurl')
-rw-r--r--macros/latex/contrib/hvqrurl/Changes1
-rw-r--r--macros/latex/contrib/hvqrurl/doc/hvqrurl.pdfbin107179 -> 107212 bytes
-rw-r--r--macros/latex/contrib/hvqrurl/doc/hvqrurl.tex9
-rw-r--r--macros/latex/contrib/hvqrurl/latex/hvqrurl.sty10
4 files changed, 10 insertions, 10 deletions
diff --git a/macros/latex/contrib/hvqrurl/Changes b/macros/latex/contrib/hvqrurl/Changes
index d9bf68a6b3..7dcfb5b15a 100644
--- a/macros/latex/contrib/hvqrurl/Changes
+++ b/macros/latex/contrib/hvqrurl/Changes
@@ -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
diff --git a/macros/latex/contrib/hvqrurl/doc/hvqrurl.pdf b/macros/latex/contrib/hvqrurl/doc/hvqrurl.pdf
index 69e8e5fa77..c2a087895c 100644
--- a/macros/latex/contrib/hvqrurl/doc/hvqrurl.pdf
+++ b/macros/latex/contrib/hvqrurl/doc/hvqrurl.pdf
Binary files differ
diff --git a/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex b/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
index c3639f6609..a67122f6bd 100644
--- a/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
+++ b/macros/latex/contrib/hvqrurl/doc/hvqrurl.tex
@@ -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,14 +31,13 @@
\usepackage{ragged2e}
\usepackage{hvqrurl}
-
\usepackage{hvdoctools}
\usepackage{hyperref}
\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@tug.org}}}
\date{\today}
\maketitle
diff --git a/macros/latex/contrib/hvqrurl/latex/hvqrurl.sty b/macros/latex/contrib/hvqrurl/latex/hvqrurl.sty
index fa73a30854..e016534270 100644
--- a/macros/latex/contrib/hvqrurl/latex/hvqrurl.sty
+++ b/macros/latex/contrib/hvqrurl/latex/hvqrurl.sty
@@ -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@tug.org
+% Copyright 2019,21,23,24 Herbert Voss hvoss@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@key{hvqr}{qrcolor}[black]{\colorlet{qr@url@qrcolor}{#1}}
\define@key{hvqr}{qrlevel}[M]{\def\qr@url@qrlevel{#1}}
\define@key{hvqr}{qrlink}[link]{\def\qr@url@qrlink{#1}}
-\define@boolkey{hvqr}[hv@]{qrreverse}[true]{}% use of the hvOBox contents
+\define@boolkey{hvqr}[hv@]{qrreverse}[true]{}
\setkeys{hvqr}{qrheight,qrcolor=black,qradjust,qrlevel,qrlink=link,qrreverse=false}% the default setting
@@ -42,7 +42,7 @@
\ifhv@qrreverse\reversemarginpar\fi
\if@tempswa
\edef\hv@foo{\detokenize\expandafter{#2}}%
- \url{\hv@foo}
+ \expandafter\url\expandafter{\hv@foo}%
\fi
\edef\reserved@a{\noexpand\marginnote{\noexpand\color{qr@url@qrcolor}\noexpand\qrcode{%
\detokenize\expandafter{#2}}}[\qr@url@qradjust]}%