微量元素

微量元素

我有這裡描述的同樣的問題:作者後以冒號 (:) 代替句點 (.),使用 biblatex,依字母順序

我的問題是這個解決方案不適用於 biblatex-sbl,所以我想問我如何才能具有全局性(對於參考書目中的所有條目(書籍、incolection、論文、評論等);註釋不應該是更改)名稱後面的冒號?

這個問題也在這裡被問到:https://golatex.de/umstellung-auf-biblatex-sbl-in-fussnoten-und-literaturverz-t21903.html但答案只是非常複雜。這是我的 MWE:

\documentclass{article}
\usepackage[ngerman]{babel}

\usepackage[german=quotes]{csquotes}
\usepackage[style=sbl]{biblatex}

\usepackage{xpatch}
\xpatchbibdriver{XXX}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}{\addcolon\space}%
   \usebibmacro{title}}
  {}
  {}

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{Engelmann:2013,
  author      = {Engelmann, Hans and Bengelmann, Franz},
  title       = {Die Sicht},
  location    = {Berlin},
  publisher   = {De Gruyter},
  date        = {2013},
  series      = {Gamma Omega, I. Reihe: Alpha},
  shortseries = {GO.A},
  number      = {4},
}
@mvlexicon{TRE,
  editor     = {Schwertner, Siegried M.},
  title      = {Theologische Realenzyklopädie},
  shorttitle = {TRE},
  volumes    = {36},
  location   = {Berlin and New York},
  publisher  = {De Gruyter},
  date       = {1976/2004},
  shorthand  = {TRE}
}
@inlexicon{Poe:1994,
  author = {Poe, Edgar},
  title  = {Art. Dichtung},
  volume = {2},
  pages  = {9--343},
  xref   = {TRE}
}
@review{Well.19,
author={Well, Jan},
revdauthor = {Ban, Peter},
revdtitle={Select. Tomus I, Paris 1950},
journaltitle = {Göttingische gelehrte Anzeigen},
shortjournal = {GGA},
volume={18,2},
 keywords = {sekundaer},
date={1826},
pages={14--18},
}
@article{Wink:2000,
  author       = {Wink, Gert},
  title        = {„Mega“. Anmerkungen},
  shorttitle   = {„Mega“},
  journaltitle = {Critica storia},
  shortjournal = {Cs},
  volume       = {34,1},
  date         = {2000},
  pages        = {9--24}
}
@article{Wink:2003,
  author       = {Wink, Gert},
  title        = {„Mega II“. Anmerkungen},
  shorttitle   = {„Mega“},
  journaltitle = {Critica storia},
  shortjournal = {Cs},
  volume       = {41,4},
  date         = {2003},
  pages        = {11--22}
}
@incollection{peterson:1993,
  author     = {Peterson, David},
  title      = {The Motif of Fulfilment and the Purpose of Luke-Acts},
  shorttitle = {Motif of Fulfilment},
  pages      = {83-104},
  volume     = {1},
  maintitle  = {The Book of Acts in Its First Century Setting},
  editor     = {Winter, Bruce W.},
  location   = {Grand Rapids},
  publisher  = {Eerdmans},
  date       = {1993},
}
@book{Pritchard:1969,
  editor    = {Pritchard, James B.},
  title     = {Ancient Near Eastern Texts Relating to the Old Testament},
  edition   = {3},
  location  = {Princeton},
  publisher = {Princeton University Press},
  date      = {1969},
}
\end{filecontents*}
\addbibresource{\jobname.bib}


\begin{document}
\printbiblist{abbreviations}

Die Debatten.\footnote{Siehe hierzu: \cite{Poe:1994} und \cite{Wink:2000}.} Dies gilt analog für die Gegner.\footnote{Siehe hierzu: \cite{Wink:2003}.} Die beiden erwähnten\footnote{Siehe hierzu: \cite{Wink:2003}.} Bezeichnungen als „besonders“\footnote{\cite[1]{Engelmann:2013}.} verstanden werden.\footnote{\cite[Vgl.][1]{Engelmann:2013}. Siehe auch: \cite{peterson:1993}, \cite{Pritchard:1969}.} und \cite{Well19}.}
\printbibliography
\end{document}

我認識到解決方案是:

\usepackage{xpatch}
\xpatchbibdriver{XXX}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}{\addcolon\space}%
   \usebibmacro{title}}
  {}
  {}

而且效果很好(對於“XXX”,它必須是“書”、“文章”等)。但我想知道“審查”不起作用 - 為什麼?

答案1

正如我的文章中所提到的之前的回答,目前還沒有直接的方法來做到這一點biblatex-sbl。從下一個版本開始,這個答案會起作用,但在那之前您必須修補cite:…文件中的每個驅動程式sbl.cbx以及sbl.bbx.

我已經檢查了這兩個文件,並為您為biblatex-sbl支援的每種條目類型完成了此操作。但這並不難。只需閱讀 和 中的原始程式碼sbl.cbxsbl.bbx查看作者的列印位置,然後將適當的\newunit內容替換\setunit{\printdelim{nametitledelim}}為我們可以根據首次引用、後續引用和參考書目獨立控制的上下文相關內容。

我還添加了 bibmacro 的重新定義\namedashpunct和補丁,author以確保參考書目中的名稱破折號後面也有一個冒號。

我知道必須對 進行這些更改是令人沮喪的biblatex-sbl。但您需要記住,該樣式是明確設計用於滿足 SBL 要求的,而且我並沒有竭盡全力讓更改變得容易。

微量元素

\documentclass{article}

\usepackage[ngerman]{babel}
\usepackage[german=quotes]{csquotes}
\usepackage[style=sbl]{biblatex}

\usepackage{xpatch}

% set up nametitledelim in different contexts
\DeclareDelimFormat[none,bib,biblist]{nametitledelim}{%
  \ifciteseen
    {\addcomma\space}
    {\addcolon\space}}

% also put colon after dash
\renewcommand*{\namedashpunct}{\addcolon\space}
\xpatchbibmacro{author}
  {\renewcommand*{\namedashpunct}{\adddot\space}}
  {\renewcommand*{\namedashpunct}{\addcolon\space}}
  {\message{Patching `author': Success^^J}}
  {\message{Patching `author': Failure^^J}}

% patch citation drivers
\xpatchbibdriver{cite:ancienttext}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:ancienttext': Success^^J}}
  {\message{Patching `cite:ancienttext': Failure^^J}}
\xpatchbibdriver{cite:classictext}
  {\newunit
   \usebibmacro{shorttitlenohyperlink}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{shorttitlenohyperlink}}
  {\message{Patching `cite:classictext': Success^^J}}
  {\message{Patching `cite:classictext': Failure^^J}}
\xpatchbibdriver{cite:article}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:article': Success^^J}}
  {\message{Patching `cite:article': Failure^^J}}
\xpatchbibdriver{cite:book}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:book': Success^^J}}
  {\message{Patching `cite:book': Failure^^J}}
\xpatchbibdriver{cite:suppbook}
  {\usebibmacro{author/editor+others/translator+others}%
   \newunit}
  {\usebibmacro{author/editor+others/translator+others}%
   \setunit{\printdelim{nametitledelim}}}
  {\message{Patching `cite:suppbook': Success^^J}}
  {\message{Patching `cite:suppbook': Failure^^J}}
\xpatchbibdriver{cite:commentary}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:commentary': Success^^J}}
  {\message{Patching `cite:commentary': Failure^^J}}
\xpatchbibdriver{cite:incommentary}
  {\usebibmacro{author/translator+others}%
   \newunit}
  {\usebibmacro{author/translator+others}%
   \setunit{\printdelim{nametitledelim}}}
  {\message{Patching `cite:commentary': Success^^J}}
  {\message{Patching `cite:commentary': Failure^^J}}
\xpatchbibdriver{cite:incollection}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:incollection': Success^^J}}
  {\message{Patching `cite:incollection': Failure^^J}}
\xpatchbibdriver{cite:inlexicon}
  {\usebibmacro{author/translator+others}%
   \newunit}
  {\usebibmacro{author/translator+others}%
   \setunit{\printdelim{nametitledelim}}}
  {\message{Patching `cite:inlexicon': Success^^J}}
  {\message{Patching `cite:inlexicon': Failure^^J}}
\xpatchbibdriver{cite:inreference}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:inreference': Success^^J}}
  {\message{Patching `cite:inreference': Failure^^J}}
\xpatchbibdriver{cite:review}
  {\usebibmacro{author/translator+others}%
   \newunit}
  {\usebibmacro{author/translator+others}%
   \setunit{\printdelim{nametitledelim}}}
  {\message{Patching `cite:review': Success^^J}}
  {\message{Patching `cite:review': Failure^^J}}
\xpatchbibdriver{cite:thesis}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:thesis': Success^^J}}
  {\message{Patching `cite:thesis': Failure^^J}}
\xpatchbibdriver{cite:misc}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:misc': Success^^J}}
  {\message{Patching `cite:misc': Failure^^J}}
\xpatchbibdriver{cite:conferencepaper}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:conferencepaper': Success^^J}}
  {\message{Patching `cite:conferencepaper': Failure^^J}}
\xpatchbibdriver{cite:periodical}
  {\usebibmacro{editor+others}%
   \newunit}
  {\usebibmacro{editor+others}%
   \setunit{\printdelim{nametitledelim}}}
  {\message{Patching `cite:periodical': Success^^J}}
  {\message{Patching `cite:periodical': Failure^^J}}
\xpatchbibdriver{cite:patent}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `cite:patent': Success^^J}}
  {\message{Patching `cite:patent': Failure^^J}}

% patch bibliography drivers
\xpatchbibdriver{ancienttext}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `ancienttext': Success^^J}}
  {\message{Patching `ancienttext': Failure^^J}}
\xpatchbibdriver{article}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `article': Success^^J}}
  {\message{Patching `article': Failure^^J}}
\xpatchbibdriver{book}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `book': Success^^J}}
  {\message{Patching `book': Failure^^J}}
\xpatchbibdriver{suppbook}
  {\usebibmacro{author/editor+others/translator+others}%
   \newunit}
  {\usebibmacro{author/editor+others/translator+others}%
   \setunit{\printdelim{nametitledelim}}}
  {\message{Patching `suppbook': Success^^J}}
  {\message{Patching `suppbook': Failure^^J}}
\xpatchbibdriver{incommentary:short}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `incommentary:short': Success^^J}}
  {\message{Patching `incommentary:short': Failure^^J}}
\xpatchbibdriver{incollection}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `incollection': Success^^J}}
  {\message{Patching `incollection': Failure^^J}}
\xpatchbibdriver{inreference:short}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `inreference:short': Success^^J}}
  {\message{Patching `inreference:short': Failure^^J}}
\xpatchbibdriver{review}
  {\usebibmacro{author/translator+others}%
   \newunit
   \iffieldundef{title}
     {\newunit}}
  {\usebibmacro{author/translator+others}%
   \setunit{\printdelim{nametitledelim}}%
   \iffieldundef{title}
     {}}
  {\message{Patching `review': Success^^J}}
  {\message{Patching `review': Failure^^J}}
\xpatchbibdriver{thesis}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `thesis': Success^^J}}
  {\message{Patching `thesis': Failure^^J}}
\xpatchbibdriver{misc}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `misc': Success^^J}}
  {\message{Patching `misc': Failure^^J}}
\xpatchbibdriver{conferencepaper}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `conferencepaper': Success^^J}}
  {\message{Patching `conferencepaper': Failure^^J}}
\xpatchbibdriver{periodical}
  {\usebibmacro{editor+others}%
   \newunit}
  {\usebibmacro{editor+others}%
   \setunit{\printdelim{nametitledelim}}}
  {\message{Patching `periodical': Success^^J}}
  {\message{Patching `periodical': Failure^^J}}
\xpatchbibdriver{patent}
  {\newunit
   \usebibmacro{title}}
  {\setunit{\printdelim{nametitledelim}}%
   \usebibmacro{title}}
  {\message{Patching `patent': Success^^J}}
  {\message{Patching `patent': Failure^^J}}

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{Engelmann:2013,
  author      = {Engelmann, Hans and Bengelmann, Franz},
  title       = {Die Sicht},
  location    = {Berlin},
  publisher   = {De Gruyter},
  date        = {2013},
  series      = {Gamma Omega, I. Reihe: Alpha},
  shortseries = {GO.A},
  number      = {4},
}
@mvlexicon{TRE,
  editor     = {Schwertner, Siegried M.},
  title      = {Theologische Realenzyklopädie},
  shorttitle = {TRE},
  volumes    = {36},
  location   = {Berlin and New York},
  publisher  = {De Gruyter},
  date       = {1976/2004},
  shorthand  = {TRE}
}
@inlexicon{Poe:1994,
  author = {Poe, Edgar},
  title  = {Art. Dichtung},
  volume = {2},
  pages  = {9--343},
  xref   = {TRE}
}
@review{Well.19,
  author       = {Well, Jan},
  revdauthor   = {Ban, Peter},
  revdtitle    = {Select. Tomus I, Paris 1950},
  journaltitle = {Göttingische gelehrte Anzeigen},
  shortjournal = {GGA},
  volume       = {18,2},
  keywords     = {sekundaer},
  date         = {1826},
  pages        = {14--18},
}
@article{Wink:2000,
  author       = {Wink, Gert},
  title        = {\mkbibquote{Mega}. Anmerkungen},
  shorttitle   = {\mkbibquote{Mega}},
  journaltitle = {Critica storia},
  shortjournal = {Cs},
  volume       = {34,1},
  date         = {2000},
  pages        = {9--24},
  sorttitle    = {Mega. Anmerkungen}
}
@article{Wink:2003,
  author       = {Wink, Gert},
  title        = {\mkbibquote{Mega II}. Anmerkungen},
  shorttitle   = {\mkbibquote{Mega II}},
  journaltitle = {Critica storia},
  shortjournal = {Cs},
  volume       = {41,4},
  date         = {2003},
  pages        = {11--22},
  sortitle     = {Mega II. Anmerkungen}
}
@incollection{peterson:1993,
  author     = {Peterson, David},
  title      = {The Motif of Fulfilment and the Purpose of Luke-Acts},
  shorttitle = {Motif of Fulfilment},
  pages      = {83-104},
  volume     = {1},
  maintitle  = {The Book of Acts in Its First Century Setting},
  editor     = {Winter, Bruce W.},
  location   = {Grand Rapids},
  publisher  = {Eerdmans},
  date       = {1993},
}
@book{Pritchard:1969,
  editor    = {Pritchard, James B.},
  title     = {Ancient Near Eastern Texts Relating to the Old Testament},
  edition   = {3},
  location  = {Princeton},
  publisher = {Princeton University Press},
  date      = {1969},
}
\end{filecontents*}
\addbibresource{\jobname.bib}

\begin{document}
\printbiblist{abbreviations}

Die Debatten.\footnote{Siehe hierzu: \cite{Poe:1994} und \cite{Wink:2000}.}
Dies gilt analog für die Gegner.\footnote{Siehe hierzu: \cite{Wink:2003}.} Die
beiden erwähnten\footnote{Siehe hierzu: \cite{Wink:2003}.} Bezeichnungen als
„besonders“\footnote{\cite[1]{Engelmann:2013}.} verstanden
werden.\footnote{\cite[Vgl.][1]{Engelmann:2013}. Siehe auch:
\cite{peterson:1993}, \cite{Pritchard:1969} und \cite{Well.19}.}
\printbibliography
\end{document}

微波能量輸出

相關內容