If available, use pdfmanagement instead of \pdfpagesattr (closes #12).
This commit is contained in:
parent
01d963f798
commit
e42d9bb073
|
@ -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
|
||||
|
|
|
@ -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…
Reference in New Issue