我为期刊文章设置了新格式。Clemens Jüngling 的第一篇文章看起来应该是这样的。Patrick Küpper 的第二篇文章没有包含卷。我认为这就是为什么它现在看起来与另一篇文章不同。有人能帮我看看第二篇文章看起来和第一篇文章一样吗?
\documentclass[ngerman]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{microtype}
\usepackage{mathpazo}
\usepackage[autostyle=true]{csquotes}
\usepackage[
natbib=true,
style=footnote-dw,
maxbibnames=99,
nopublisher=false,
urldate=long,
citepages=separate,
idembib=false,
]{biblatex}
\usepackage{hyperref}
\DeclareNameAlias{default}{family-given}
\DeclareNameAlias{sortname}{default}
\DeclareNameFormat{labelname}{%
\ifcase\value{uniquename}%
\usebibmacro{name:family}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\or
\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}%
\or
\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\fi
\usebibmacro{name:andothers}}
\DefineBibliographyStrings{german}{%
and = {u\adddot},
editor = {Hg\adddot},
editors = {Hg\adddot},
byeditor = {hg\adddot\thinspace v\adddotspace},
thiscite = {hier\addcolon\thinspace},
number = {Heft},
}
\renewcommand*\postnotedelim{\addperiod\space}
\renewcommand*{\bibmultinamedelim}{\addsemicolon\space}
\renewcommand*{\bibfinalnamedelim}{\addsemicolon\space}
\renewcommand*{\bibrevsdnamedelim}{}
\renewcommand*{\citemultinamedelim}{\addsemicolon\space}
\renewcommand*{\citefinalnamedelim}{\addsemicolon\space}
\renewcommand*{\citerevsdnamedelim}{}
\renewcommand*{\newunitpunct}{\addperiod\space}
\renewcommand*{\bibpagespunct}{\addperiod\space}
\renewcommand*{\finentrypunct}{\addperiod}
\renewcommand*{\jourvolstring}{\addperiod\space}
\renewcommand*{\jourvolnumsep}{\addcomma\space}
\DeclareFieldFormat[article,periodical]{volume}{\bibstring{jourvol}~#1}
\DeclareFieldFormat[article,periodical]{number}{\bibstring{number}~#1}
\renewbibmacro*{publisher+location+date}{%
\printlist{publisher}%
\setunit*{\adddot\space}%
\printlist{location}%
\setunit*{\addcolon\space}%
\usebibmacro{date}%
\newunit}
\begin{filecontents}{\jobname.bib}
@article{Jungling.2019,
author = {Jüngling, Clemens},
year = {2019},
title = {Struktur und Produktion eines Opernhauses
und deren wechselseitige Beziehung},
pages = {91--116},
pagination = {page},
volume = {5},
journaltitle = {Zeitschrift für Kulturmanagement},
number = {1},
}
@article{Kupper.2020,
author = {K{\"u}pper, Patrick},
year = {2020},
title = {Was sind eigentlich l{\"a}ndliche R{\"a}ume?},
pages = {4--7},
pagination = {page},
journaltitle = {Informationen zur politischen Bildung/izpb},
number = {343},
abstract = {}
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
答案1
biblatex-dw
不喜欢@article
带有number
但没有 的条目volume
。解决此问题的一种方法是重复年份,就像volume
这些情况一样,但这会重复数据(不必要)。
journal+issuetitle
对和bibmacros进行一些修改后,journal+issuetitle+standard
您就可以biblatex-dw
接受@articles
有number
或无volume
。
\documentclass[ngerman]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{babel}
\usepackage{microtype}
\usepackage{mathpazo}
\usepackage[autostyle=true]{csquotes}
\usepackage[
natbib=true,
style=footnote-dw,
maxbibnames=99,
nopublisher=false,
urldate=long,
citepages=separate,
idembib=false,
]{biblatex}
\usepackage{hyperref}
\DeclareNameAlias{default}{family-given}
\DeclareNameAlias{sortname}{default}
\DeclareNameFormat{labelname}{%
\ifcase\value{uniquename}%
\usebibmacro{name:family}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\or
\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiveni}
{\namepartprefix}
{\namepartsuffix}%
\or
\usebibmacro{name:family-given}
{\namepartfamily}
{\namepartgiven}
{\namepartprefix}
{\namepartsuffix}%
\fi
\usebibmacro{name:andothers}}
\DefineBibliographyStrings{german}{%
and = {u\adddot},
editor = {Hg\adddot},
editors = {Hg\adddot},
byeditor = {hg\adddot\thinspace v\adddotspace},
thiscite = {hier\addcolon\thinspace},
number = {Heft},
}
\renewcommand*\postnotedelim{\addperiod\space}
\renewcommand*{\bibmultinamedelim}{\addsemicolon\space}
\renewcommand*{\bibfinalnamedelim}{\addsemicolon\space}
\renewcommand*{\bibrevsdnamedelim}{}
\renewcommand*{\citemultinamedelim}{\addsemicolon\space}
\renewcommand*{\citefinalnamedelim}{\addsemicolon\space}
\renewcommand*{\citerevsdnamedelim}{}
\renewcommand*{\newunitpunct}{\addperiod\space}
\renewcommand*{\bibpagespunct}{\addperiod\space}
\renewcommand*{\finentrypunct}{\addperiod}
\renewcommand*{\jourvolstring}{\addperiod\space}
\renewcommand*{\jourvolnumsep}{\addcomma\space}
\DeclareFieldFormat[article,periodical]{volume}{\bibstring{jourvol}~#1}
\DeclareFieldFormat[article,periodical]{number}{\bibstring{number}~#1}
\renewbibmacro*{publisher+location+date}{%
\printlist{publisher}%
\setunit*{\adddot\space}%
\printlist{location}%
\setunit*{\addcolon\space}%
\usebibmacro{date}%
\newunit}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{useeditor+others}%
\usebibmacro{journal}%
\setunit*{\addspace}%
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\setunit{\jourvolstring}%
\printfield{volume}%
\ifbool{bbx:journumdate}
{\usebibmacro{journal+issuetitle+date}}
{\ifbool{bbx:journumafteryear}
{\usebibmacro{journal+issuetitle+afteryear}}
{\usebibmacro{journal+issuetitle+standard}}}}
\renewbibmacro*{journal+issuetitle+standard}{%
\setunit*{\jourvolnumsep}%
\printfield{number}%
\setunit{\addcomma\space}%
\printfield{eid}%
\setunit{\addspace}%
\printtext[parens]{\usebibmacro{issue+date}}%
\newunit\newblock
\usebibmacro{issue}%
\newunit
\usebibmacro{byeditor+others}%
\newunit}
\begin{filecontents}{\jobname.bib}
@article{Jungling.2019,
author = {Jüngling, Clemens},
year = {2019},
title = {Struktur und Produktion eines Opernhauses
und deren wechselseitige Beziehung},
pages = {91--116},
volume = {5},
journaltitle = {Zeitschrift für Kulturmanagement},
number = {1},
}
@article{Kupper.2020,
author = {Küpper, Patrick},
year = {2020},
title = {Was sind eigentlich ländliche Räume?},
pages = {4--7},
journaltitle = {Informationen zur politischen Bildung/izpb},
number = {343},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{Jungling.2019,Kupper.2020,sigfridsson}
\printbibliography
\end{document}