梅威瑟:
\documentclass[ngerman]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage{
lmodern,
babel,
csquotes,
filecontents
}
\usepackage[
backend = biber,
sortlocale = auto,
sorting = nyt,
style = authoryear-comp
]{biblatex}
\newcommand*\english[1]{\foreignlanguage{english}{#1}}
\begin{filecontents*}{\jobname.bib}
@REFERENCE{Dreyhaupt,
EDITOR = {Dreyhaupt, Franz-Josef},
LOCATION = {Berlin and Heidelberg},
PUBLISHER = {Springer},
URL = {https://link.springer.com/book/10.1007%2F978-3-642-95750-5},
DATE = {1994},
ISBN = {978-3-642-957\,51-2},
TITLE = {VDI-Lexikon Umwelttechnik},
}
@MVREFERENCE{Janes,
AUTHOR = {Jackson FRAeS, Paul},
EDITOR = {\english{Jane's}\textsuperscript{\textregistered}},
LOCATION = {\english{Coulsdon, Surrey} (GB)},
PUBLISHER = {IHS Markit},
DATE = {2017},
EDITION = {2017--2018},
ISBN = {978\,0\,71\,06\,32\,50\,0},
SUBTITLE = {\english{Development \& Production}},
TITLE = {\english{All the World's Aircraft}},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\begin{document}
\chapter{Test chapter}
Test \autocite{Dreyhaupt}. Test \autocite{Janes}.
\addchap{Bibliografie}
\printbibliography[
type = reference,
title = Nachlagewerke
]
\end{document}
我怎样才能将两种条目类型(@reference
和@mvreference
)列在一个参考书目标题下(修理厂)?
答案1
如果要过滤多种类型,则需要一个bibfilter。
\defbibfilter{references}{%
type=reference or type=mvreference
}
平均能量损失
\documentclass[ngerman]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{babel}
\usepackage{csquotes}
\usepackage{filecontents}
\usepackage[backend = biber, style = authoryear-comp]{biblatex}
\defbibfilter{references}{%
type=reference or type=mvreference
}
\newcommand*\english[1]{\foreignlanguage{english}{#1}}
\begin{filecontents*}{\jobname.bib}
@reference{Dreyhaupt,
editor = {Dreyhaupt, Franz-Josef},
location = {Berlin and Heidelberg},
publisher = {Springer},
url = {https://link.springer.com/book/10.1007%2F978-3-642-95750-5},
date = {1994},
isbn = {978-3-642-95751-2},
title = {VDI-Lexikon Umwelttechnik},
}
@mvreference{Janes,
editor = {Jackson, Paul},
location = {Coulsdon, Surrey},
publisher = {IHS Markit},
date = {2017},
edition = {2017--2018},
isbn = {9780710632500},
subtitle = {Development \& Production},
title = {Jane's All the World's Aircraft},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
\begin{document}
Test \autocite{Dreyhaupt}. Test \autocite{Janes}.
\printbibheading
\printbibliography[filter = references, heading=subbibliography, title = Nachlagewerke]
\end{document}