# Combining Multiple Files Nicely

I am fairly inexperienced with Latex and would like to create a special document of paper summaries. I am trying to create a large number of files where each file contains the summary of a technical paper and then combine them into a single file.

The summary file would have something like:

\papertitle{The Paper Title}
\begin{summary}
Technical summary here $for fun$.
\end{summary}
\cite{halespiles2008}


And the main paper would pull out a few of these fields and display them nicely with perhaps a custom command (and I was thinking about using something like this to loop through files, but whatever).

What is the most appropriate command to input such a file and display only its title and summary and be sure its citation ends up in the references section?

-
include doesn't seem to allow for any formatting or selection of fields and catchfilebetweentags seems crude. –  Steve Jan 29 '13 at 21:52
\include or \input just input the file, you can define \papertitle and \summary to be anything (and \dateread to do nothing) –  David Carlisle Jan 29 '13 at 22:13
@DavidCarlisle: Can you provide an answer please? –  Marco Daniel Mar 2 '13 at 9:21
@MarcoDaniel done –  David Carlisle Mar 2 '13 at 11:31
@DavidCarlisle: voted ;-) –  Marco Daniel Mar 2 '13 at 11:31

You can use

\newcommand\papertitle[1]{\item[#1]}