summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/authorarchive/authorarchive.sty
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/authorarchive/authorarchive.sty')
-rw-r--r--macros/latex/contrib/authorarchive/authorarchive.sty20
1 files changed, 16 insertions, 4 deletions
diff --git a/macros/latex/contrib/authorarchive/authorarchive.sty b/macros/latex/contrib/authorarchive/authorarchive.sty
index 41534ebd12..057cceee3b 100644
--- a/macros/latex/contrib/authorarchive/authorarchive.sty
+++ b/macros/latex/contrib/authorarchive/authorarchive.sty
@@ -11,7 +11,7 @@
%% SPDX-License-Identifier: LPPL-1.3c+ OR BSD-2-Clause
\NeedsTeXFormat{LaTeX2e}\relax
\ProvidesPackage{authorarchive}
- [2019/06/23 v1.1.1%
+ [2022/04/25 v1.2.1
Self-archiving information for scientific publications.]
%
\PassOptionsToPackage{hyphens}{url}
@@ -25,7 +25,7 @@
\RequirePackage{hyperref}
\RequirePackage{calc}
\RequirePackage{qrcode}
-\RequirePackage{dtk-logos}
+\RequirePackage{hvlogos}
%
%Better url breaking
\g@addto@macro{\UrlBreaks}{\UrlOrds}
@@ -157,10 +157,22 @@
}{}
\renewcommand{\authorcrfont}{\scriptsize}
\@ifclasswith{llncs}{a4paper}{%
- \pdfpagesattr{/CropBox [92 114 523 780]}%
+ \ExplSyntaxOn
+ \@ifundefined{pdfmanagement_add:nnn}{%
+ \pdfpagesattr{/CropBox [92 114 523 780]}%
+ }{%
+ \pdfmanagement_add:nnn {Pages}{CropBox}{[92~114~523~780]}
+ }%
+ \ExplSyntaxOff
\renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},40){#1}}%
}{%
- \pdfpagesattr{/CropBox [92 65 523 731]}% LNCS page: 152x235 mm
+ \ExplSyntaxOn
+ \@ifundefined{pdfmanagement_add:nnn}{%
+ \pdfpagesattr{/CropBox [92 65 523 731]}% LNCS page: 152x235 mm
+ }{%
+ \pdfmanagement_add:nnn {Pages}{CropBox}{[92~62~523~731]}
+ }%
+ \ExplSyntaxOff
\renewcommand{\authorat}[1]{\put(\LenToUnit{\AA@x},23){#1}}
}
\setlength{\AA@width}{\textwidth}