Creating proceedings from pdf files with latex

by Martin Monperrus

As publication chair of MDPLE’2009, I had to create the proceedings of the workshop.

Input: a set of PDF files (the accepted papers) Requirements for the output: * a nice and sexy cover page * all PDF files concatenated * a Table of Contents including page numbers * all pages correctly numbered
* the first page of the first paper starts as p. 1

Latex, and the wonderful ‘’pdfpages’’ package gave me the solution (no additional shell script :-). The main trick comes from the option ‘’pagecommand={}’’ on . You should use pdflatex.

[[http://www.feasiple.de/public/proceedings-mdple2009.pdf| Here are the proceedings of MDPLE’2009]].

I hope this could help,

Martin

Addendum June 2011: see also [[http://ctan.org/pkg/combine|the combine package]]

\documentclass[a4paper,11pt]{article}

\usepackage{pdfpages}
\usepackage[margin=3cm]{geometry} %% for bigger margins
\usepackage{hyperref}

\begin{document}

%% the cover page is made and exported to PDF with OpenOffice 
\includepdf[pages=-]{cover-page.pdf}

\thispagestyle{empty} % no page number
\input{program-committee.tex}

\newpage
\thispagestyle{empty} % no page number
\input{toc.tex} %% YOU STILL HAVE TO MANUALLY REPORT THE PAGE NUMBERS IN THE TOC
% Note the \hfill to have the page number at the end of the line
% \begin{itemize}
% \item Interactive Techniques to Support the Configuration of \\Complex Feature Models \hfill 1\\
%    Goetz Botterweck, Denny Schneeweiss, Andreas Pleuss
% \end{itemize}

\newpage
\thispagestyle{empty} % no page number
\input{foreword.tex}

%% reset the counter
\setcounter{page}{0}
\includepdf[pages=-,pagecommand={\thispagestyle{plain}}]{mdple2009_submission_9.pdf}
\includepdf[pages=-,pagecommand={\thispagestyle{plain}}]{mdple2009_submission_3.pdf}
\includepdf[pages=-,pagecommand={\thispagestyle{plain}}]{mdple2009_submission_7.pdf}
\includepdf[pages=-,pagecommand={\thispagestyle{plain}}]{mdple2009_submission_6.pdf}
\includepdf[pages=-,pagecommand={\thispagestyle{plain}}]{mdple2009_submission_8.pdf}
\includepdf[pages=-,pagecommand={\thispagestyle{plain}}]{mdple2009_submission_2.pdf}
\includepdf[pages=-,pagecommand={\thispagestyle{plain}}]{mdple2009_submission_10.pdf}
\includepdf[pages=-,pagecommand={\thispagestyle{plain}}]{mdple2009_submission_5.pdf}


\end{document}

Tagged as: