summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-10-14 21:43:07 +0000
committerKarl Berry <karl@freefriends.org>2020-10-14 21:43:07 +0000
commite459b11c06a0dee213069a0129a18e77755ca167 (patch)
tree5cdf4ebd667db2568594cc37ac8c14788467cf51 /Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty
parentcfa3f4658baf956718e3ecf7377e417b2797a723 (diff)
plautopatch (14oct20)
git-svn-id: svn://tug.org/texlive/trunk@56657 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty')
-rw-r--r--Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty51
1 files changed, 0 insertions, 51 deletions
diff --git a/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty b/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty
deleted file mode 100644
index 36b796cf28a..00000000000
--- a/Master/texmf-dist/tex/latex/plautopatch/pxpdfpages.sty
+++ /dev/null
@@ -1,51 +0,0 @@
-%
-% pxpdfpages.sty
-% written by Hironobu Yamashita (@aminophen)
-%
-% This package is part of the plautopatch bundle.
-% https://github.com/aminophen/plautopatch
-%
-% This package is expected to be compatible with
-% * pdfpages.sty
-% (2015/07/19 v0.5a -- 2020/01/28 v0.5q)
-% * plcore.ltx in platex
-% (2001/09/26 v1.2a -- 2020/03/05 v1.3e)
-%
-
-%% package declaration
-\NeedsTeXFormat{pLaTeX2e}
-\ProvidesPackage{pxpdfpages}
- [2018/08/20 v0.1 Patch to pdfpages for (u)pLaTeX]
-
-%% preparations
-\def\pxpdpg@pkgname{pxpdfpages}
-\def\pxpdpg@warn{\PackageWarningNoLine\pxpdpg@pkgname}
-\def\pxpdpg@info{\PackageInfo\pxpdpg@pkgname}
-
-%% load it
-\RequirePackageWithOptions{pdfpages}
-\RequirePackage{pxatbegshi}% pdfpages requires atbegshi
-
-%% patch internal for pdfpages to work with tombow
-%% Note: this code should be copied to gentombow.sty!
-\def\pxpdpg@patch@pdfpages{%
- \RequirePackage{etoolbox}
- \patchcmd{\AM@output}{%
- \setlength{\@tempdima}{\AM@xmargin}%
- \edef\AM@xmargin{\the\@tempdima}%
- \setlength{\@tempdima}{\AM@ymargin}%
- \edef\AM@ymargin{\the\@tempdima}%
- }{%
- \setlength{\@tempdima}{\AM@xmargin\iftombow+1in\fi}%
- \edef\AM@xmargin{\the\@tempdima}%
- \setlength{\@tempdima}{\AM@ymargin\iftombow-1in\fi}%
- \edef\AM@ymargin{\the\@tempdima}%
- }
- {\pxpdpg@info{Patch for pdfpages applied}}
- {\pxpdpg@warn{Patch for pdfpages failed}}%
- }
-\AtBeginDocument{\@ifpackageloaded{pdfpages}{\pxpdpg@patch@pdfpages}{}}
-
-%% all done
-
-\endinput