Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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}
\dateread{January 1, 2013}
 Technical summary here $for fun$.

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?

share|improve this question
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

1 Answer 1

You can use

% leave \cite as is, or perhaps make it locally \nocite, depending

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.