Always need this: configuring the header of a TeX file in TeXstudio to use biber

Print Friendly, PDF & Email

One can configure TeXstudio to always use biber or bibtex, but I switch between them, depending on the document. Here’s the piece of code that one needs to insert into the header of the TeX document in order to configure it on a per-document basis:

%!TeX TXS-program:bibliography = txs:///biber

[edited]

Going even further,

\usepackage[style=chicago-authordate,sorting=ydnt,maxnames=10,backend=biber]{biblatex}
\addbibresource{some.bib}

\defbibfilter{papers}{
     type=article or
     type=inproceedings or
     type=conference or
     type=proceedings or
     type=incollection or
     type=inbook
}

\printbibliography[filter=papers,title={Articles},heading=bibnumbered]

#biber#bibtex#LaTeX#tex#texstudio