Browse Source

If available, use pdfmanagement instead of \pdfpagesattr (closes #12).

main
Achim D. Brucker 5 months ago
parent
commit
e42d9bb073
  1. 4
      CHANGELOG.md
  2. 14
      llncsconf.sty

4
CHANGELOG.md

@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
#### Changed
- If available, use pdfmanagement instead of \pdfpagesattr
## 1.1.0 - 2020-05-10
### Added

14
llncsconf.sty

@ -45,13 +45,27 @@ @@ -45,13 +45,27 @@
% <crop>
\ifthenelse{\boolean{crop}}{%
\ExplSyntaxOn
\@ifundefined{pdfmanagement_add:nnn}{%
\@ifclasswith{llncs}{a4paper}{%
\pdfpagesattr{/CropBox [92 114 523 780]}%
}{%
\pdfpagesattr{/CropBox [92 65 523 731]}% LNCS page: 152x235 mm
}%
}{%
\@ifclasswith{llncs}{a4paper}{%
\pdfmanagement_add:nnn {Pages}{CropBox}{[92~114~523~780]}
}{%
\pdfmanagement_add:nnn {Pages}{CropBox}{[92~62~523~731]}
}%
}%
\ExplSyntaxOff
}{}
% </crop>
\def\ps@svninfofirst{\let\@mkboth\@gobbletwo\let\@oddhead\@empty\let\@evenhead\@empty
\def\@oddfoot{\reset@font\scriptsize
\vbox to\z@{\parindent=\z@\vss

Loading…
Cancel
Save