![参考文献格式:包含卷号和期刊号的期刊文章 - 即使没有卷号](https://linux22.com/image/436828/%E5%8F%82%E8%80%83%E6%96%87%E7%8C%AE%E6%A0%BC%E5%BC%8F%EF%BC%9A%E5%8C%85%E5%90%AB%E5%8D%B7%E5%8F%B7%E5%92%8C%E6%9C%9F%E5%88%8A%E5%8F%B7%E7%9A%84%E6%9C%9F%E5%88%8A%E6%96%87%E7%AB%A0%20-%20%E5%8D%B3%E4%BD%BF%E6%B2%A1%E6%9C%89%E5%8D%B7%E5%8F%B7.png)
我为期刊文章设置了新格式。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}