%% to process:
%% pdflatex joinpages.tex
%% WARNING: use /usr/bin/pdftex
%% /usr/local/bin/pdftex does not work properly with pdfpages (I dont know why)


\documentclass{article}
%%\usepackage[pdftex,xdvi]{graphicx}
\usepackage{pdfpages}


%% to be processed with pdflatex
%% manual under ~/tex/sty/pdfpages/pdfpages.ps
%% see also http://www.tug.org/applications/pdftex/index.html

\begin{document}


\includepdf[pages=10]{tmp.pdf}


%% trim (with clip) can be used
%%\includepdf[trim =0mm 36mm 0mm 0mm,width=\textwidth,pages=1-3,clip]{\filea}

%%noautoscale=true does not scale pages
%%\includepdf[noautoscale=true,pages=-]{tmp1.pdf}
%%\includepdfmerge[nup=1x2,noautoscale=true,angle=180]{tmp2.pdf,tmp3.pdf}

%%\includepdfmerge[nup=1x3,delta=0mm 1mm,trim =0mm 35mm 0mm 0mm,width=\textwidth,angle=180,clip]{sparcard-flavio-kontoauszug-2.pdf,11,sparcard-flavio-kontoauszug-1.pdf,1}


%%
%%\includepdf[pages=3-5]{\filea}
%%%%
%%\includepdf[nup=1x2, landscape, pages=4-7]{dummy}
%%%%
%%\includepdf[nup=1x2, landscape,
%%            pages=4-7, turn=false]{dummy}
%%%%
%%%%
%%\includepdf[nup=3x2, pages={1,4-6,8,10}]{dummy}
%%%%
%%\includepdf[nup=2x2, pages={,5-7}]{dummy}
%%%%
%%%%

\end{document}