Replace hard-coded QR picture by qrcode package

This commit is contained in:
Oliver Kopp 2018-01-28 20:13:39 +01:00
parent 2495471849
commit 918592efd5
2 changed files with 4 additions and 2 deletions

View File

@ -17,6 +17,7 @@
\RequirePackage{embedfile}
\RequirePackage{kvoptions}
\RequirePackage{calc}
\RequirePackage{qrcode}
%
% Option declarations
% -------------------
@ -26,7 +27,6 @@
}
\DeclareStringOption[.]{bibtexdir}
\DeclareStringOption[.]{qrdir}
\DeclareStringOption[https://git.logicalhacking.com/adbrucker/authorarchive/src/master]{baseurl}
\DeclareStringOption[.pdf]{suffix}
\DeclareStringOption[UNKOWN PUBLISHER]{publisher}[]
@ -192,7 +192,9 @@
\AddToShipoutPicture*{%
\setlength{\unitlength}{1mm}%
\authorat{%
\includegraphics[width=1.2cm]{\AA@qrdir/\AA@key-qr.pdf}\hspace{.2cm}%
\ifAA@nourl\relax\else%
\raisebox{.5cm}[.5cm]{\qrcode[hyperlink,height=1.17cm,padding]{\AA@baseurl/\AA@key\AA@suffix}}%
\fi%
\authorcrfont\parbox[b]{\AA@width-1.4cm}{
\ifAA@LNCS%
\AA@publication, pp. \thepage--\pageref{LastPage}, \AA@year.\\%

Binary file not shown.