經典文字:刪除引用古文本中的逗號

經典文字:刪除引用古文本中的逗號

我想引用一些古老的資料,但我不知道如何刪除作者/文字姓名和以下章節號之間的逗號。事實上,這就是我得到的:PALL。 V. CHRYS., 1, 1–5 (SC 341, 100–102 Malingrey/Leclercq)。但是,我想刪除“CHRYS”之間的逗號。和“1”。因此,應該是:PALL。五、克里斯。 1, 1–5 (SC 341, 100–102 馬林格雷/勒克萊爾)。誰能幫我?

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
  @book{Pall.SC,
    title = {Palladios. Dialogue sur la vie de Jean Chrysostome. 1: Introduction, texte critique, traduction et notes; 2: Histoire du texte, index et appendices},
    editor = {Malingrey, Anne-Marie and Leclercq, Philippe},
    series = {SC},
    number = {341–342},
    volumes = {2},
    location = {Paris},
    keywords = {Vita},
    date = {1988},
  }
  @classictext{Pallad.Dial,
    author = {{Pall. v. Chrys.}},
    xref = {Pall.SC}
  }
\end{filecontents}

\usepackage[ngerman]{babel}
\usepackage[autostyle=true,german=quotes]{csquotes}
\usepackage[style=sbl,ibidtracker=false,idemtracker=false]{biblatex}
\addbibresource{\jobname.bib}

\begin{document}
  \autocite[Vgl.:][1, 1–5 (SC 341, 100–102 Malingrey/Leclercq)]{Pallad.Dial}
\end{document}

答案1

由於您的經典文字使用專用的條目類型classictext,我們可以在我們的定義中測試它postnotdelim

\DeclareDelimFormat{postnotedelim}{%
  \ifentrytype{classictext}
    {\addspace}
    {\addcomma\space}%
}

Vgl.:頗爾。 v.克里斯。 1, 1–5 (SC 341, 100–102 馬林格雷/勒克萊爾)。

相關內容