
다음 구분 기호를 마침표에서 쉼표로 변경하려고 합니다.
텍스트 파일:
\documentclass[paper=A4,12pt]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{setspace}
\usepackage{lmodern}
\usepackage[left=25mm, right=50mm, top=25mm, bottom=20mm]{geometry}
\setlength{\parindent}{0pt}
\onehalfspacing
\usepackage[
backend=biber,
style=ext-verbose-inote,
autocite=footnote,
sortlocale=de_DE,
innamebeforetitle=true,
natbib=true,
url=false,
doi=true,
eprint=false
]{biblatex}
\addbibresource{literatur.bib}
\DeclareFieldFormat[incollection]{title}{#1}
\DeclareFieldFormat[incollection]{booktitle}{#1}
\renewcommand{\multinamedelim}[0]{ / }
\renewcommand{\finalnamedelim}[0]{ / }
\DeclareNameAlias{sortname}{last-first}
\DeclareNameAlias{default}{last-first}
%\usepackage{xpatch}
%\def\dopatchbibdrivereditorcomma#1{%
% \xpatchbibdriver{#1}
% {\usebibmacro{maintitle+booktitle}%
% \newunit\newblock}
% {\usebibmacro{maintitle+booktitle}%
% \setunit{\addcomma\space}\newblock}
% {}
% {\typeout{failed to patch driver for type #1}}}
%\forcsvlist{\dopatchbibdrivereditorcomma}{inbook,incollection,inproceedings}
\begin{document}
\begin{titlepage}
\begin{spacing}{1}
Some Text
\end{spacing}
\end{titlepage}
\newpage
\tableofcontents
\addtocontents{toc}{\protect\thispagestyle{empty}}
\newpage
\setcounter{page}{1}
\section{Erster Abschnitt}
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua\Footcite[Vgl.][]{dbwnf}. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua\Footcite[Vgl.][]{dbwnf}. .. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
\printbibliography[keyword=pl, title={Primärliteratur}]
\end{document}
턱받이 파일:
@book{test,
Author = {Test},
Booktitle = {test},
Date-Added = {2019-08-04 15:48:27 +0200},
Date-Modified = {2019-08-04 15:48:37 +0200},
Publisher = {test},
Title = {test},
Year = {2019}}
@incollection{dbwnf,
Address = {M{\"u}nchen},
Author = {Dietrich Bonhoeffer},
Booktitle = {Dietrich Bonnhoeffer Werke},
Date-Added = {2019-08-04 14:01:21 +0200},
Date-Modified = {2019-08-04 14:54:00 +0200},
Editor = {Kuske, Martin and T{\"o}dt, Ilse},
Keywords = {pl},
Title = {Nachfolge},
Year = {1989}}
문서를 확인했지만 biblatex-ext
관련 구분 기호와 변경 방법을 식별할 수 없었습니다.
답변1
저자(또는 편집자) 이름과 제목 사이의 구분 기호를 이라고 합니다 nametitledelim
. 다음과 같이 변경할 수 있습니다.
\DeclareDelimFormat[bib]{nametitledelim}{\addcomma\space}
위치 앞의 구분 기호에는 특별한 이름이 없습니다. 거기에 biblatex
평소대로 인쇄하면 됩니다 \newunitpunct
. 여기에서 의 매크로 ext-standard
를 수정하여 pubinstorg+location+date
앞에 쉼표를 인쇄할 수 있습니다.location
\renewbibmacro*{pubinstorg+location+date}[1]{%
\setunit{\addcomma\space}%
\printlist{location}%
\iflistundef{#1}
{\setunit*{\locdatedelim}}
{\setunit*{\locpubdelim}}%
\printlist{#1}%
\setunit*{\pubdatedelim}%
\usebibmacro{date}%
\newunit}
그러나 "in:" 앞을 제외하고 거의 모든 위치에 쉼표를 넣으려는 것 같습니다. 따라서 다음 아이디어는 \newunitpunct
쉼표로 설정되고 "in:" 앞에 마침표만 추가하는 것입니다. 당신에게 더 잘 작동합니다.
\documentclass[paper=A4,12pt]{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}
\usepackage{lmodern}
\usepackage[
backend=biber,
style=ext-verbose-inote,
autocite=footnote,
innamebeforetitle=true,
natbib=true,
url=false,
doi=true,
eprint=false
]{biblatex}
\renewcommand*{\newunitpunct}{\addcomma\space}
\renewbibmacro*{in:}{%
\setunit{\addperiod\space}%
\printtext{%
\bibstring{in}\intitlepunct}}
\DeclareNameAlias{default}{family-given}
\DeclareNameAlias{sortname}{default}
\DeclareDelimFormat{multinamedelim}{\addspace\slash\space}
\DeclareDelimAlias{finalnamedelim}{multinamedelim}
\DeclareFieldFormat[incollection]{title}{#1}
\DeclareFieldFormat[incollection]{booktitle}{#1}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{test,
Author = {Test},
Booktitle = {test},
Publisher = {test},
Title = {test},
Year = {2019},
}
@incollection{dbwnf,
Address = {München},
Author = {Dietrich Bonhoeffer},
Booktitle = {Dietrich Bonnhoeffer Werke},
Editor = {Kuske, Martin and Tödt, Ilse},
Keywords = {pl},
Title = {Nachfolge},
Year = {1989},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem\Footcite[Vgl.][]{dbwnf}.
Ipsum\Footcite[Vgl.][]{test}.
\printbibliography[keyword=pl, title={Primärliteratur}]
\end{document}
어쨌든 위의 MWE에 적용한 코드의 약간의 현대화를 살펴보고 싶을 수도 있습니다.