Replace hard-coded QR picture by qrcode package
This commit is contained in:
parent
2495471849
commit
918592efd5
|
@ -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.
Loading…
Reference in New Issue