Replace hard-coded QR picture by qrcode package
This commit is contained in:
parent
2495471849
commit
918592efd5
|
@ -17,6 +17,7 @@
|
||||||
\RequirePackage{embedfile}
|
\RequirePackage{embedfile}
|
||||||
\RequirePackage{kvoptions}
|
\RequirePackage{kvoptions}
|
||||||
\RequirePackage{calc}
|
\RequirePackage{calc}
|
||||||
|
\RequirePackage{qrcode}
|
||||||
%
|
%
|
||||||
% Option declarations
|
% Option declarations
|
||||||
% -------------------
|
% -------------------
|
||||||
|
@ -26,7 +27,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
\DeclareStringOption[.]{bibtexdir}
|
\DeclareStringOption[.]{bibtexdir}
|
||||||
\DeclareStringOption[.]{qrdir}
|
|
||||||
\DeclareStringOption[https://git.logicalhacking.com/adbrucker/authorarchive/src/master]{baseurl}
|
\DeclareStringOption[https://git.logicalhacking.com/adbrucker/authorarchive/src/master]{baseurl}
|
||||||
\DeclareStringOption[.pdf]{suffix}
|
\DeclareStringOption[.pdf]{suffix}
|
||||||
\DeclareStringOption[UNKOWN PUBLISHER]{publisher}[]
|
\DeclareStringOption[UNKOWN PUBLISHER]{publisher}[]
|
||||||
|
@ -192,7 +192,9 @@
|
||||||
\AddToShipoutPicture*{%
|
\AddToShipoutPicture*{%
|
||||||
\setlength{\unitlength}{1mm}%
|
\setlength{\unitlength}{1mm}%
|
||||||
\authorat{%
|
\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}{
|
\authorcrfont\parbox[b]{\AA@width-1.4cm}{
|
||||||
\ifAA@LNCS%
|
\ifAA@LNCS%
|
||||||
\AA@publication, pp. \thepage--\pageref{LastPage}, \AA@year.\\%
|
\AA@publication, pp. \thepage--\pageref{LastPage}, \AA@year.\\%
|
||||||
|
|
Binary file not shown.
Loading…
Reference in New Issue