[Tex/LaTex] pdfpages / includepdf offset is not working for me

errorspdfpages

I am trying to get a journal assembled for binding.
When I use includepdf with a binding offset to include a pdffile of multiple pages
the binding offset is incorrectly applied the first page is offset correctly but the remaining pages are not, i.e. first page has a left side offset, then the second page also has a left side offset, the third a right side offset, the forth a leftside offset, and so on.

How can I fix this problem so that pages are offset correctly?

Here is MWE and a sample input file.

MWE:

\documentclass[10pt,twosided]{book}
\usepackage{pdfpages}
\usepackage[hmarginratio=1:1,paperwidth=6in,paperheight=9in]{geometry}
\usepackage[letter,frame,axes,cross,pdftex,center]{crop}

\includepdfset{offset=0.25in 0in,noautoscale,pages={-},pagecommand={}}
\pagestyle{empty}
\begin{document}
\includepdf{file}
\end{document}

Sample Input File : ( which must be first been compiled by pdflatex to create file.pdf)

\documentclass[10pt]{article}
\setcounter{page}{29} % <--- Adjust this to correct page number
\setlength{\textwidth}{4.5in}
\setlength{\textheight}{7.125in}
\setlength{\parskip}{.07in}
\usepackage{lipsum}
\begin{document}
\title{ A file}
\author{ an author}

\maketitle

\begin{abstract}
An abstract
\end{abstract}

\lipsum[1-20]

\end{document}

Remark: I am assembling the journal by including pdf files, because combine does not work correctly and cannot handle TIKZ and so forth.

Best Answer

If you add frame to the \includepdf options, you will see that the offset is flipped correctly.

However, the size of the included document is much too large for the document it is included in.

Perhaps you want something like this?

adjusted offsets

\documentclass[10pt]{article}
\setcounter{page}{29} % <--- Adjust this to correct page number
\usepackage[textwidth=4.5in,textheight=7.125in,paperwidth=5.75in,paperheight=9in]{geometry}

\usepackage{parskip}
\usepackage{lipsum}
\begin{document}
\title{ A file}
\author{ an author}

\maketitle

\begin{abstract}
An abstract
\end{abstract}

\lipsum[1-20]

\end{document}

\documentclass[10pt,twoside]{book}
\usepackage{pdfpages}
\usepackage[hmarginratio=1:1,paperwidth=6in,paperheight=9in]{geometry}
\usepackage[letter,frame,axes,cross,pdftex,center]{crop}

\includepdfset{offset=.25in 0in,noautoscale,pages={-},pagecommand={}}
\pagestyle{empty}
\begin{document}
\includepdf{file}
\end{document}