|
Beiträge: 100358
Top-Poster: Johannes_B (5064)
Wir begrüßen unseren neuesten Benutzer Jonas94.
|
|
|
|
(Hrsg.) hinter Herausgeber |
|
MoeWe |

Forum-Fortgeschrittener
|
 |
Beiträge: 75
|
 |
|
 |
Anmeldedatum: 30.08.19
|
 |
|
 |
Wohnort: ---
|
 |
|
 |
Version: ---
|
 |
|
|
 |
|
Verfasst am: 05.10.2019, 11:43
Titel:
|
 |
|
 |
|
In dem Beispieleintrag fehlt der booktitle. Eigentlich spielt das für das Format des "Hrsg." keine Rolle. Aber es wäre interessant zu wissen, in welcher Reihenfolge editor und booktitle erscheinen sollen.
Wenn Du "In: <editor> (Hrsg.). <booktitle>" möchtest, dann bieten sich die biblatex-ext-Stile und ihre Option innamebeforetitle an
Code | \documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=ext-authortitle, innamebeforetitle]{biblatex}
\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\DeclareDelimFormat{editortypedelim}{\addspace}
\DeclareFieldAlias{translatortype}{editortype}
\DeclareDelimAlias{translatortypedelim}{editortypedelim}
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sigfridsson,westfahl:space,gaonkar:in,pines}
\printbibliography
\end{document} |
Wenn Du die Reihenfolge der Standardstile beibehalten möchtest und gern "In: <booktitle>. <editor> (Hrsg.)" hättest, dann kann biblatex-ext uns nicht weiter helfen. Da bräuchte man in etwa so etwas
Code | \documentclass[ngerman]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=authortitle]{biblatex}
\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\DeclareDelimFormat{editortypedelim}{\addspace}
\DeclareFieldAlias{translatortype}{editortype}
\DeclareDelimAlias{translatortypedelim}{editortypedelim}
\makeatletter
\newbibmacro*{editorx+othersstrg}[1]{%
\iffieldundef{#1type}
{\ifboolexpr{
test {\ifnumgreater{\value{#1}}{1}}
or
test {\ifandothers{#1}}
}
{\def\abx@tempa{editors}}
{\def\abx@tempa{editor}}}
{\ifboolexpr{
test {\ifnumgreater{\value{#1}}{1}}
or
test {\ifandothers{#1}}
}
{\edef\abx@tempa{\thefield{editortype}s }}
{\edef\abx@tempa{\thefield{editortype}}}}%
\let\abx@tempb= \empty
\ifnamesequal{#1}{translator}
{\appto\abx@tempa{tr}%
\appto\abx@tempb {\clearname{translator}}}
{}%
\ifnamesequal{#1}{commentator}
{\appto\abx@tempa{co}%
\appto\abx@tempb {\clearname{commentator}}}
{\ifnamesequal{#1}{annotator}
{\appto\abx@tempa{an}%
\appto\abx@tempb {\clearname{annotator}}}
{}}%
\ifnamesequal{#1}{introduction}
{\appto\abx@tempa{in}%
\appto\abx@tempb {\clearname{introduction}}}
{\ifnamesequal{#1}{foreword}
{\appto\abx@tempa{fo}%
\appto\abx@tempb {\clearname{foreword}}}
{\ifnamesequal{#1}{afterword}
{\appto\abx@tempa{af}%
\appto\abx@tempb {\clearname{afterword}}}
{}}}%
\ifbibxstring{\abx@tempa}
{\printtext[editortype]{\bibstring{\abx@tempa}}\abx@tempb }
{\usebibmacro{editorstrg}}}
\newbibmacro{editorx:x}[1]{%
\ifnameundef{#1}
{}
{\printnames{#1}%
\setunit{\printdelim{editortypedelim}}%
\usebibmacro{editorx+othersstrg}{#1}%
\clearname{#1}%
\newunit}}
\newbibmacro*{editorx}{%
\usebibmacro{editorx:x}{editora}%
\usebibmacro{editorx:x}{editorb}%
\usebibmacro{editorx:x}{editorc}}
\renewbibmacro*{byeditor+others}{%
\ifnameundef{editor}
{}
{\printnames{editor}%
\setunit{\printdelim{editortypedelim}}%
\usebibmacro{editorstrg}%
\clearname{editor}}%
\usebibmacro{editorx}%
\usebibmacro{translator+others}}
\makeatother
\addbibresource{biblatex-examples.bib}
\begin{document}
\cite{sigfridsson,westfahl:space,gaonkar:in,pines}
\printbibliography
\end{document} |
|
|
|
|
|
Options and Permissions
|
|
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum nicht posten Du kannst Dateien in diesem Forum herunterladen
|
|
|