I am using the BibLaTeX package, with the Biber backend for producing a proposal for a grant. However this grant agency (like a few others) requires a separate file for the main proposal and the references. I found this answer, but it is quite old and uses BibTeX. I scanned through the BibLaTeX documentation, and did not find a command for producing the bibliography as a separate file. I know I can use two .tex files, with the second one producing the references from the .bbl intermediary file (as explained in this answer), however, I would like to have both in one step, as my professor is rather touchy about using LaTeX in the first place. Also, this answer provides a bash script to split the file, which won't work on my professor's Windows machine.
So, is there a cross-platform way using BibLaTeX/Biber to automatically split the document such that the references end up in a separate pdf, at each build using LuaTeX?
MWE:
File biblio.bib
@article{key1,
title={Paper Title},
author={Author, Author},
journal={Some Journal},
volume={27},
number={2},
pages={143--154},
year={2001}
}
File proposal.tex
\documentclass[a4j,11pt]{article}
\usepackage[style=authoryear-comp, mincitenames=1, maxcitenames=2, maxbibnames=10, uniquelist=false, backend=biber, natbib]{biblatex}
\addbibresource{biblio.bib}
\title{PROJECT DESCRIPTION}
\date{}
\author{}
\begin{document}
\maketitle
Some text with a reference to \citet{key1}. The bibliography should actually be output to a separate pdf file.
% Commenting next line to prevent references from appearing in the main document
%\printbibliography
\end{document}
articledo with the optionsa4j? – cfr Sep 13 '17 at 23:23a4j, (and a lot of other needless packages for math typesetting) it exists out of courtesy, it'll be gone in the final version (when all agree we cannot do better or we are out of time), along with the other things. – Kartik Sep 13 '17 at 23:39\immediate\write18{}to launch external programs. Anyway, what I would do is only one PDF (with page counter reset at References and without and this chapter to the table of contents), then split the PDF with pdftk or similar tools (surely there are dozens for Windows) or simply print each part as PDF file. – Fran Sep 14 '17 at 05:45