I want to write an abstract of my thesis. So I started an article class document (to be precise I'm using the following : \documentclass[a4paper,10pt,showkeys]{revtex4}, because I like the revtex4 output).
I finished to write the abstract, but then I thought it will be better to include the full table of contents and the bibliography. What do you think is the best way to do so. If there isn't any easy method, I'm ok to do this manually, but then can you give me the template for this knowing that my thesis contains Parts, chapters, sections, and subsections.
Edit :
I have fulltext.tex that contains the actual contents of the thesis (report document class).
Then I have abstruct.tex this file contain only a summary of the thesis, there are no contents in here, just the title and the summary. My question is to include the TOC and the bibliography too.
\documentclass[a4paper,10pt,showkeys]{revtex4}
\begin{document}
\title{verry interesting title}
\thanks{verry interesting footnote}
\author{{\footnotesize A. author}}
\keywords{verry interesting keywords }
\maketitle
\end{document}
includeonlywill probably help. I may find time later to provide an actual answer fleshing out this comment. See https://tex.stackexchange.com/questions/123058/subimport-and-includeonly/123096#123096 – Ethan Bolker May 17 '17 at 12:39reportclass with a document written usingrevtex4. That sounds a bit strange, especially whenrevtex4is specifically intended for journal articles, not thesis’s – daleif May 17 '17 at 12:40fulltext.tocinabstract.tex(you would need additional commands like\makeatletter, but it could be done). Butrevtex4makes a lot of things different than the standard classes so you would have to define a lot of extra commands. This would be a lot of extra work only for the abstact document. An alternative would be to usepdfpagesto include the table of contents pages fromfulltext.pdf. But I would use either a single document or at least the same classes. – Schweinebacke May 17 '17 at 12:56