Some grant agencies require separate pdf files for the main proposal and the references. I guess, it is easier to work this way in Word :-)
In LaTeX, one can create a single PDF file and then split it later using pdftk
or other tools. However, is a direct method of creating two separate PDF files: one that contains the main text (with the correct citation information) and the second with all the list of references. I understand that, at the very least this will involve compiling two separate .tex
files. That is okay. I just don't want to use additional tools (can be tricky to install on all computers of all collaborators, etc.)
Here is a MWE to play with:
\begin{filecontents}{test.bib}
@ARTICLE{author,
title={A sample article},
author={Random Author},
journal={Random journal},
volume = {10},
year = {2000},
}
\end{filecontents}
\documentclass{article}
\usepackage{natbib}
\begin{document}
As shown by \citet{author}, using references can be interesting
\newpage
\bibliographystyle{apalike}
\bibliography{test}
\end{document}
.tex
file if you rename the first PDF. (2) You could do it, I think, with 3.tex
files where 2 are wrappers you compile. (3) You can create a document specific.bib
usingbiber
(whether you use this for compilation or not) and use 2.tex
files. (4) You can use 3.tex
files all of which you compile, where 2 just include the right pages from the compiled version of the third.\includeonly
? Also, the packagetcolorbox
provides recording macro. I wonder if it can be useful here.