[texhax] Re: question about LaTeX use

Martin Heller mr_heller at yahoo.dk
Mon Dec 12 22:56:15 CET 2005


Евгений wrote:

> Would You be so kind to ask the question: if it is possible 
> to paste a single A3-format page into LaTeX document?
> I mean exactly SINGLE page of different format. And if so, 
> - how to perform this?

try $ pdflatex --shell-escape on the document below:

\documentclass{article}
\usepackage{filecontents}
\usepackage{pdfpages}

\begin{document}
First page
\begin{filecontents}{large}
   \documentclass{article}
   \usepackage[a3paper,landscape]{geometry}

   \begin{document}
   \setcounter{page}{2}
   Large page
   \end{document}
\end{filecontents}

\immediate\write18{pdflatex large}
\clearpage
{\setlength\paperwidth{420mm}
\setlength\paperheight{297mm}
\setlength\pdfpagewidth\paperwidth
\setlength\pdfpageheight\paperheight
\includepdf[scale=1,noautoscale]{large}}
\clearpage
Last page
\end{document}



More information about the texhax mailing list