2

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}
8
  • See Ulrike Fischer's answer here: tex.stackexchange.com/questions/5228/… – Michael Palmer Sep 13 '17 at 22:39
  • If you were submitting Word, wouldn't you have to make separate files? LaTeX doesn't seem at any particular disadvantage here, except that it is easier to split the resulting file. – cfr Sep 13 '17 at 23:22
  • What does article do with the options a4j? – cfr Sep 13 '17 at 23:23
  • @cfr, I know what you are saying about two files, and my advisor would probably be overjoyed if I told her we switch to word. However, I prefer LaTeX, as I have the burden of the formulas, tables, figures, typesetting and ensuring everything appears correctly in the final product (so no cut figures, split tables, orphaned sentences, hanging paragraphs, missed par indent, etc., you obviously understand the pain). Combine this with versioning, and the bewildering number of files LaTeX build produces (from prof's point of view), 2 files is probably the feather that broke the camel's back... – Kartik Sep 13 '17 at 23:34
  • @cfr, another contributer to the project added the a4j, (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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.