6

According to section 2.2 of the BibLaTeX manual, TECHREPORT is a lagacy-supported type. So, why does this example below now print the entry? Is there something more to it? I would rather not use BibLaTeX specific types...

\documentclass{article}

% introduce asticks (*) in list of references with new command mybibitem
%\usepackage{cite}
%\newcommand{\mybibitem}[1]{\stepcounter{enumiv} \bibitem[\textbf{*\arabic{enumiv}}]{#1}}  


% BibLaTeX
\usepackage[
  backend=bibtex,
  style=authoryear,
  firstinits=true,
  maxbibnames=99]{biblatex}
\addbibresource{CV.bib}


\begin{document}

text text text text text text text text text text text text text text text

\nocite{tech2015}

\setlength\bibitemsep{5pt}
\printbibheading[title={Bibliography}]
\printbibliography[type=techreport, heading=subbibliography, title={Reports}]

\end{document}

The .bib file:

@TECHREPORT{tech2015,
  author = {Meyer, B. and Miller, J.},
  title = {{Some Great Report}},
  institution = {The Great Institution},
  year = {2015},
  type = {Total Cool Reports}
}
  • 1
    The cite keys do not match. – Johannes_B May 8 '15 at 9:44
  • Internally, techreport is a usual report. I guess you could use filters to print all entries whose type field is techreport – Johannes_B May 8 '15 at 9:50
  • 3
    TECHREPORT is an alias for REPORT, so you should use type=report – karlkoeller May 8 '15 at 9:52
5

You can introduce a subtype.

\begin{filecontents}{\jobname.bib}
    @TECHREPORT{MyReport2015,
        author = {Meyer, B. and Miller, J.},
        title = {{Some Great Report}},
        institution = {The Great Institution},
        year = {2015},
        type = {Total Cool Reports},
        entrysubtype={techreport}% <---
    }
\end{filecontents}
\documentclass{article}

\usepackage[
    backend=bibtex,
    style=authoryear,
    firstinits=true,
maxbibnames=99]{biblatex}
\addbibresource{\jobname.bib}


\begin{document}

text text text text text text text text text text
text text text text text

\nocite{*}

\setlength\bibitemsep{5pt}
\printbibheading[title={Bibliography}]
\printbibliography[type=techreport]
other bib:
\printbibliography[subtype=techreport]

\end{document}

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.