Possible Duplicate:
Extract all emphasized words from latex document
I'm writing a report which involves a comparative analysis of some standards. Throughout the body of my report, I have a detailed comparison of minor and major issues. However, at the end of the document, I want a separate section which will only highlight the major differences, for someone who doesn't have time to go through the detailed report.
For this, I basically want to extract specific lines from the rest of the document and insert them in my final section. But I want this insertion to be automatic, such that when I mark a particular line of text in my document, it will automatically get added to this final section, i.e. something that works like automatic Table of Content generation based on the section names.
I don't know how else to phrase this question. Any help would be much appreciated.

