Take the 2-minute tour ×
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.

Is it possible to include a section of a file?

Context: Literature Reviews for thesis, I write long(ish) notes on each paper/article/whatever, but generally have a 'bird's eye view' summary. I'd like to generate a report that just contains these summaries from each individual review file.

If there's a better way to lay this out, I would like to hear those too.

share|improve this question
add comment

1 Answer 1

up vote 4 down vote accepted

You could simply put all all review sections in own files which are inserted using \input (not \include) in your normal document and also in the extra report. This might seem to be a little extra work, but IMHO is the most straight-forward way to do it.

You could also mark the sections in questions using special tags and then extract them as shown in Delimit a single auxiliary file into chunks, and include these at separate places?, but personally I find this overly complicated in this case where it is only one section per chapter and not multiple chunks.

share|improve this answer
    
+1 for pointing out \input to me. I think that for my purposes and plans for development, the catchfilebetweentags is worth trying for now. Will mark as answered after a customary 24hr wait. –  Andrew Bolster Oct 18 '11 at 10:20
add comment

Your Answer

 
discard

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.
http://tex.stackexchange.com/questions/31905/include-sections-of-files
tex.stackexchange.com
crawl=CC-MAIN-2014-23
63892
application/http; msgtype=response
sha1:JY3UYHDQXWWAXLJXZYZMRUDU4R4F4HV5
<urn:uuid:0f10daaa-73f6-4559-837d-329cc03257e6>
2014-07-24T02:56:10Z
198.252.206.16
sha1:OE4HCV22F66NJ55ZRLBHEUZH54YSKB55
<urn:uuid:b503cfe5-9bc5-41b6-b40a-1a7da0472e1c>
http://tex.stackexchange.com/questions/31905/include-sections-of-files
response
<urn:uuid:6bb7aaa2-7ae8-48c5-b89e-1262d26aeac2>
robots: classic
hostname: ip-10-33-131-23.ec2.internal
software: Nutch 1.6 (CC)/CC WarcExport 1.0
isPartOf: CC-MAIN-2014-23
operator: CommonCrawl Admin
description: Wide crawl of the web with URLs provided by Blekko for July 2014
publisher: CommonCrawl
format: WARC File Format 1.0
conformsTo: http://bibnum.bnf.fr/WARC/WARC_ISO_28500_version1_latestdraft.pdf