Literaturverzeichnis Anpassung

Erstellung eines Literaturverzeichnisses mit BibTeX, Biber, BibLaTeX und Co.


JoshArndt1999
Forum-Anfänger
Forum-Anfänger
Beiträge: 24
Registriert: So 27. Jan 2019, 00:13

Beitrag von JoshArndt1999 »

Wow, vielen Dank! Es hat auf Anhieb funktioniert. :D
Gibt es einen Grund, warum die Bücher ohne Autor dort eingeordnet sind, wo sie es momentan sind? Es kommt mir komisch vor, da eins der beiden Werke unter G einsortiert ist, während ein anderes unter H steht.

Gast

Beitrag von Gast »

Im Beispiel sind die mit "o.V." gekennzeichneten Werke unter "o" eingeordnet (also zwischen "N" und "P"). Zusätzlich werden aber die @sets mit Glashow, Weinberg, Salam und Herrmann, Aksın, Yoon auch als "o.V." sortiert, da die @set-Einträge formal keinen Namen haben. Durch Glashow und Herrmann entsteht der falsch Eindruck, die Sortierung der "o.V."s wäre zwischen "G" und "H".

Man könnte das dadurch verhindern, dass man @sets von der Map ausnimmt
\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map{
      \pernottype{set}
      \step[notfield=translator, final]
      \step[notfield=editor, final]
      \step[fieldset=author, fieldvalue={\string{o\noexpand\adddot\addabbrvspace V.\string}}]
    }
    \map{
      \pernottype{online}
      \step[fieldset=location, fieldvalue={o\noexpand\adddot \addabbrvspace O\noexpand\adddot}]
    }
  }
}

Gast

Beitrag von Gast »

Ich vergaß: Unter Zuhilfenahme von sortname kannst Du die Sortierung der Werke ohne Verfasser weiter justieren. Mit
\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map{
      \pernottype{set}
      \step[notfield=translator, final]
      \step[notfield=editor, final]
      \step[fieldset=author, fieldvalue={\string{o.\noexpand\,V\noexpand\adddot\string}}, final]
      \step[fieldset=sortname, fieldvalue={zzzzzzzzz}]
    }
    \map{
      \pernottype{online}
      \step[fieldset=location, fieldvalue={o.\noexpand\,O\noexpand\adddot}]
    }
  }
}
werden sie unter "zzzzzzzzz" (also zumindest im Deutschen wohl ganz am Ende) sortiert.

JoshArndt1999
Forum-Anfänger
Forum-Anfänger
Beiträge: 24
Registriert: So 27. Jan 2019, 00:13

Beitrag von JoshArndt1999 »

Klasse, danke!! :)

JoshArndt1999
Forum-Anfänger
Forum-Anfänger
Beiträge: 24
Registriert: So 27. Jan 2019, 00:13

Beitrag von JoshArndt1999 »

Hallo mal wieder :wink:

mir ist noch ein kleiner Fehler aufgefallen. Und zwar wird bei Quellen ohne Entstehungsjahr nur an einigen stellen im Inhaltsverzeichnis das "o. J." angezeigt. Es soll an JEDER Stelle stehen, an der normalerweise das Entstehungsdatum steht...
Ich hoffe jemand kann mir mit meinem Minimalbeispiel helfen... Der Fehler tritt sowohl bei Internetquellen auf (hier soll es auch in den Klammern hinter dem Link stehen, wie folgt: "(o. J.) [Zugriff blablabla]") als auch bei Büchern etc. (hier soll es einfach am Ende mit Komma angehangen werden).

MWE:
\documentclass[12pt, a4paper, ngerman, 
  toc=chapterentrydotfill, bibliography=totoc, 
  listof=nochaptergap, listof=totoc, 
  captions=figureheading, hidelinks,  fleqn]{scrreprt} 
\usepackage[T1]{fontenc} 
\usepackage[utf8]{inputenc} 
\usepackage[ngerman]{babel} 
\usepackage[onehalfspacing]{setspace} 
\usepackage{lipsum} 
\usepackage[a4paper, 
  left=4cm, right=2cm, top=1.5cm, bottom=2cm, 
  headsep=2cm, headheight=0.5cm, includehead=true, 
  footskip=0cm, includefoot=true, ]{geometry} 

\usepackage[autostyle, german=guillemets]{csquotes} 
\usepackage[backend=biber, style=ext-authoryear, 
  isbn=false, 
  maxcitenames=2, maxbibnames=999, 
  mergedate=false, 
  innamebeforetitle, dashed=false, 
  autocite=footnote, mincrossrefs=1]{biblatex} 
  
\usepackage{filecontents} 
\begin{filecontents*}{\jobname.bib} 
@online{test1Mit, 
  author  = {Artur Autor}, 
  title   = {Internetquelle mit Datum}, 
  url     = {http://example.edu/~elk/bronto.pdf}, 
  urldate = {2018-03-26}, 
  date 	  = {2000},
  usera   = {Test Stichwort1} ,
} 
@online{test1Ohne, 
  author  = {Artur Autor}, 
  title   = {Internetquelle ohne Datum}, 
  url     = {http://example.edu/~elk/bronto.pdf}, 
  urldate = {2018-03-26}, 
  usera   = {Test Stichwort2},
} 
@book{test2Mit, 
  author    = {Artur Autor}, 
  title     = {Buch mit Datum}, 
  edition   = {1}, 
  usera     = {Test Stichwort3}, 
  publisher = {FOMVerlag}, 
  location  = {Essen}, 
  date      = {2000}
}
@book{test2Ohne, 
  author    = {Artur Autor}, 
  title     = {Buch ohne Datum}, 
  edition   = {1}, 
  usera     = {Test Stichwort4}, 
  publisher = {FOMVerlag}, 
  location  = {Essen}, 
}
\end{filecontents*} 
  
  

\renewcommand*{\bibfont}{\normalfont\normalsize\singlespacing} 

\setlength{\bibinitsep}{.5\baselineskip} 

\setlength\bibhang{1cm} 

\DeclareLabeldate{% 
  \field{date} 
  \field{year} 
  \field{eventdate} 
  \field{origdate} 
  \literal{nodate} 
} 

\renewcommand*{\finentrypunct}{} 

\renewcommand*{\newunitpunct}{\addcomma\space} 
\DeclareDelimFormat[bib,biblist]{nametitledelim}{\addcolon\space} 
\DeclareDelimFormat{titleyeardelim}{\newunitpunct} 
\renewcommand*{\mkbibnamefamily}{\mkbibemph} 
\renewcommand*{\mkbibnamegiven}{\mkbibemph} 
\renewcommand*{\mkbibnamesuffix}{\mkbibemph} 
\renewcommand*{\mkbibnameprefix}{\mkbibemph} 
\DeclareDelimAlias{finalnamedelim}{multinamedelim} 

\DeclareNameFormat{family-given:init}{% 
  \usebibmacro{name:family-given} 
    {\namepartfamily} 
    {\namepartgiveni} 
    {\namepartprefix} 
    {\namepartsuffix}% 
  \usebibmacro{name:andothers}} 

\DeclareNameAlias{default}{family-given} 
\DeclareNameAlias{sortname}{default} 
\DeclareNameAlias{labelname}{family-given:init} 

\DeclareFieldFormat{editortype}{\mkbibparens{#1}} 
\DeclareDelimFormat{editortypedelim}{\addspace} 
\DeclareFieldFormat{translatortype}{\mkbibparens{#1}} 
\DeclareDelimFormat{translatortypedelim}{\addspace} 
\DeclareDelimFormat[bib,biblist]{innametitledelim}{\addcomma\space} 

\DeclareFieldFormat*{citetitle}{#1} 
\DeclareFieldFormat*{title}{#1} 
\DeclareFieldFormat*{booktitle}{#1} 
\DeclareFieldFormat*{journaltitle}{#1} 

\newbibmacro*{organization+location}[1]{% 
  \printlist{location}% 
  \setunit*{\locdatedelim}% 
  \printlist{organization}% 
  \newunit} 


\usepackage{xpatch} 
\xpatchbibdriver{online} 
  {\usebibmacro{organization+location+date}} 
  {\usebibmacro{organization+location}} 
  {}{} 

\DeclareFieldFormat[online]{date}{\mkbibparens{#1}} 

\DeclareFieldFormat{url}{<\url{#1}>}% oder {$\langle$\url{#1}$\rangle$} oder \textlangle/\textrangle 
\DeclareFieldFormat{urldate}{\mkbibbrackets{\bibstring{urlseen}\addcolon\space#1}} 
\renewbibmacro*{url+urldate}{% 
  \usebibmacro{url}% 
  \ifentrytype{online} 
    {\setunit{\addspace}% 
     \usebibmacro{date}} 
    {}% 
  \iffieldundef{urlyear} 
    {} 
    {\setunit*{\addspace}% 
     \usebibmacro{urldate}}} 

\renewbibmacro*{date+extradate}{% 
  \printtext[parens]{% 
    \printfield{usera}% 
    \setunit{\printdelim{titleyeardelim}}% 
    \printlabeldateextra}} 

\DefineBibliographyStrings{german}{ 
  nodate    = {{}o.\adddot \addabbrvspace J\adddot}, 
  andothers = {et\addabbrvspace al\adddot}, 
  urlseen   = {Zugriff}, 
} 

\DeclareSourcemap{ 
  \maps[datatype=bibtex]{ 
    \map{ 
      \pernottype{set} 
      \step[notfield=translator, final] 
      \step[notfield=editor, final] 
      \step[fieldset=author, fieldvalue={\string{o.\noexpand\,V\noexpand\adddot\string}}, final] 
      \step[fieldset=sortname, fieldvalue={zzzzzzzzz}] 
    } 
    \map{ 
      \pernottype{online} 
      \step[fieldset=location, fieldvalue={o.\noexpand\,O\noexpand\adddot}] 
    } 
  } 
}

\renewbibmacro*{cite}{% 
  \iffieldundef{shorthand} 
    {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}} 
       {\usebibmacro{cite:label}% 
        \setunit{\printdelim{nonametitledelim}}} 
       {\printnames{labelname}% 
        \setunit{\printdelim{nametitledelim}}}% 
     \printfield{usera}% 
     \setunit{\printdelim{titleyeardelim}}% 
     \usebibmacro{cite:labeldate+extradate}} 
    {\usebibmacro{cite:shorthand}}} 

\renewbibmacro*{postnote}{% 
  \setunit{\postnotedelim}% 
  \iffieldundef{postnote} 
    {\printtext{o\adddot\addabbrvspace S\adddot}} 
    {\printfield{postnote}}} 

%--------------- 
\addbibresource{\jobname.bib} 

  
\begin{document} 
\cite{test1Mit}\\
\cite{test1Ohne}\\
\cite{test2Mit}\\
\cite{test2Ohne}
\printbibliography[nottype=online]
\printbibliography[type=online,title={Internetquellen}]
\end{document}

Gast

Beitrag von Gast »

Eventuell hilft schon das Hinzufügen von
\renewbibmacro*{date}{%
  \usebibmacro{bbx:ifmergeddate}
    {}
    {\iffieldundef{year}
       {\printtext[date]{\bibstring{nodate}}}
       {\printdate}}}
Dieser Code wurde mit der aktuellen Version 3.12 von biblatex getestet. In älteren Versionen ist das hässlicher.

Also im Ganzen
\documentclass[12pt, a4paper, ngerman,
  toc=chapterentrydotfill, bibliography=totoc,
  listof=nochaptergap, listof=totoc,
  captions=figureheading, hidelinks,  fleqn]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[onehalfspacing]{setspace}
\usepackage{lipsum}
\usepackage[a4paper,
  left=4cm, right=2cm, top=1.5cm, bottom=2cm,
  headsep=2cm, headheight=0.5cm, includehead=true,
  footskip=0cm, includefoot=true, ]{geometry}

\usepackage[autostyle, german=guillemets]{csquotes}
\usepackage[backend=biber, style=ext-authoryear,
  isbn=false,
  maxcitenames=2, maxbibnames=999,
  mergedate=false,
  innamebeforetitle, dashed=false,
  autocite=footnote, mincrossrefs=1]{biblatex}
 
\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@online{test1Mit,
  author  = {Artur Autor},
  title   = {Internetquelle mit Datum},
  url     = {http://example.edu/~elk/bronto.pdf},
  urldate = {2018-03-26},
  date      = {2000},
  usera   = {Test Stichwort1} ,
}
@online{test1Ohne,
  author  = {Artur Autor},
  title   = {Internetquelle ohne Datum},
  url     = {http://example.edu/~elk/bronto.pdf},
  urldate = {2018-03-26},
  usera   = {Test Stichwort2},
}
@book{test2Mit,
  author    = {Artur Autor},
  title     = {Buch mit Datum},
  edition   = {1},
  usera     = {Test Stichwort3},
  publisher = {FOMVerlag},
  location  = {Essen},
  date      = {2000}
}
@book{test2Ohne,
  author    = {Artur Autor},
  title     = {Buch ohne Datum},
  edition   = {1},
  usera     = {Test Stichwort4},
  publisher = {FOMVerlag},
  location  = {Essen},
}
\end{filecontents*}
 
 

\renewcommand*{\bibfont}{\normalfont\normalsize\singlespacing}

\setlength{\bibinitsep}{.5\baselineskip}

\setlength\bibhang{1cm}

\DeclareLabeldate{%
  \field{date}
  \field{year}
  \field{eventdate}
  \field{origdate}
  \literal{nodate}
}

\renewcommand*{\finentrypunct}{}

\renewcommand*{\newunitpunct}{\addcomma\space}
\DeclareDelimFormat[bib,biblist]{nametitledelim}{\addcolon\space}
\DeclareDelimFormat{titleyeardelim}{\newunitpunct}
\renewcommand*{\mkbibnamefamily}{\mkbibemph}
\renewcommand*{\mkbibnamegiven}{\mkbibemph}
\renewcommand*{\mkbibnamesuffix}{\mkbibemph}
\renewcommand*{\mkbibnameprefix}{\mkbibemph}
\DeclareDelimAlias{finalnamedelim}{multinamedelim}

\DeclareNameFormat{family-given:init}{%
  \usebibmacro{name:family-given}
    {\namepartfamily}
    {\namepartgiveni}
    {\namepartprefix}
    {\namepartsuffix}%
  \usebibmacro{name:andothers}}

\DeclareNameAlias{default}{family-given}
\DeclareNameAlias{sortname}{default}
\DeclareNameAlias{labelname}{family-given:init}

\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\DeclareDelimFormat{editortypedelim}{\addspace}
\DeclareFieldFormat{translatortype}{\mkbibparens{#1}}
\DeclareDelimFormat{translatortypedelim}{\addspace}
\DeclareDelimFormat[bib,biblist]{innametitledelim}{\addcomma\space}

\DeclareFieldFormat*{citetitle}{#1}
\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat*{booktitle}{#1}
\DeclareFieldFormat*{journaltitle}{#1}

\newbibmacro*{organization+location}[1]{%
  \printlist{location}%
  \setunit*{\locdatedelim}%
  \printlist{organization}%
  \newunit}


\usepackage{xpatch}
\xpatchbibdriver{online}
  {\usebibmacro{organization+location+date}}
  {\usebibmacro{organization+location}}
  {}{}

\DeclareFieldFormat[online]{date}{\mkbibparens{#1}}

\DeclareFieldFormat{url}{<\url{#1}>}% oder {$\langle$\url{#1}$\rangle$} oder \textlangle/\textrangle
\DeclareFieldFormat{urldate}{\mkbibbrackets{\bibstring{urlseen}\addcolon\space#1}}
\renewbibmacro*{url+urldate}{%
  \usebibmacro{url}%
  \ifentrytype{online}
    {\setunit{\addspace}%
     \usebibmacro{date}}
    {}%
  \iffieldundef{urlyear}
    {}
    {\setunit*{\addspace}%
     \usebibmacro{urldate}}}

\renewbibmacro*{date+extradate}{%
  \printtext[parens]{%
    \printfield{usera}%
    \setunit{\printdelim{titleyeardelim}}%
    \printlabeldateextra}}

\renewbibmacro*{date}{%
  \usebibmacro{bbx:ifmergeddate}
    {}
    {\iffieldundef{year}
       {\printtext[date]{\bibstring{nodate}}}
       {\printdate}}}

\DefineBibliographyStrings{german}{
  nodate    = {{}o.\adddot \addabbrvspace J\adddot},
  andothers = {et\addabbrvspace al\adddot},
  urlseen   = {Zugriff},
}

\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map{
      \pernottype{set}
      \step[notfield=translator, final]
      \step[notfield=editor, final]
      \step[fieldset=author, fieldvalue={\string{o.\noexpand\,V\noexpand\adddot\string}}, final]
      \step[fieldset=sortname, fieldvalue={zzzzzzzzz}]
    }
    \map{
      \pernottype{online}
      \step[fieldset=location, fieldvalue={o.\noexpand\,O\noexpand\adddot}]
    }
  }
}

\renewbibmacro*{cite}{%
  \iffieldundef{shorthand}
    {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
       {\usebibmacro{cite:label}%
        \setunit{\printdelim{nonametitledelim}}}
       {\printnames{labelname}%
        \setunit{\printdelim{nametitledelim}}}%
     \printfield{usera}%
     \setunit{\printdelim{titleyeardelim}}%
     \usebibmacro{cite:labeldate+extradate}}
    {\usebibmacro{cite:shorthand}}}

\renewbibmacro*{postnote}{%
  \setunit{\postnotedelim}%
  \iffieldundef{postnote}
    {\printtext{o\adddot\addabbrvspace S\adddot}}
    {\printfield{postnote}}}

%---------------
\addbibresource{\jobname.bib}

 
\begin{document}
\cite{test1Mit}
\cite{test1Ohne}
\cite{test2Mit}
\cite{test2Ohne}
\printbibliography[nottype=online]
\printbibliography[type=online,title={Internetquellen}]
\end{document}
Da man im Fließtext so gut wie nie \\ verwenden sollte, habe ich das hier weggelassen.

JoshArndt1999
Forum-Anfänger
Forum-Anfänger
Beiträge: 24
Registriert: So 27. Jan 2019, 00:13

Beitrag von JoshArndt1999 »

Wow, vielen vielen Dank! Echt jedes mal wieder unglaublich, wie schnell man hier Hilfe bekommt!

xen64
Forum-Newbie
Forum-Newbie
Beiträge: 3
Registriert: So 29. Dez 2019, 10:30
Wohnort: Hessisch Sibirien

danke

Beitrag von xen64 »

Hallo,

vielen Dank für diese Vorlage. Die hat mich wirklich sehr viel weiter gebracht beim anfertigen einer Arbeit an der Hochschule.

Eine Frage hätte ich noch:
Der Hochschulleitfaden schreibt für die Internetquellen vor, dass dei Datumsangabe im Format YYYY-MM-TT erfolgen soll. Also z.B. 2019-12-25

Wenn ich die Vorlage oder meine Arbeit kompiliere sieht es noch so aus:
Beispiel:
BMBF(IKT 2020, 2015): IKT 2020 - Forschung für Innovation, <https://www.bmbf.de/de/ikt-2020-forschu ... n-854.html> (27. Aug.2015) [Zugriff: 25. 12. 2019]

Also Datumsangaben (27. Aug.2015) und [Zugriff: 25. 12. 2019]

Ich war nicht fähig eine Lösung zu recherchieren. Hat jemand eine Idee?

Schöne Feiertage

MoeWe
Forum-Meister
Forum-Meister
Beiträge: 845
Registriert: Fr 30. Aug 2019, 15:35
Kontaktdaten:

Beitrag von MoeWe »

Das sollte mit den Optionen
alldates=ymd, labeldate=year,
gehen.

Im Ganzen (mit einer weiteren kleinen Änderung: \mkbibcompletename)
\documentclass[12pt, a4paper, ngerman,
  toc=chapterentrydotfill, bibliography=totoc,
  listof=nochaptergap, listof=totoc,
  captions=figureheading, hidelinks,  fleqn]{scrreprt}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[onehalfspacing]{setspace}
\usepackage{lipsum}
\usepackage[a4paper,
  left=4cm, right=2cm, top=1.5cm, bottom=2cm,
  headsep=2cm, headheight=0.5cm, includehead=true,
  footskip=0cm, includefoot=true,]{geometry}

\usepackage[autostyle, german=guillemets]{csquotes}
\usepackage[backend=biber, style=ext-authoryear,
  isbn=false,
  maxcitenames=2, maxbibnames=999,
  mergedate=false,
  innamebeforetitle, dashed=false,
  autocite=footnote, mincrossrefs=1,
  alldates=ymd, labeldate=year,]{biblatex}

 

\renewcommand*{\bibfont}{\normalfont\normalsize\singlespacing}

\setlength{\bibinitsep}{.5\baselineskip}

\setlength\bibhang{1cm}

\DeclareLabeldate{%
  \field{date}
  \field{year}
  \field{eventdate}
  \field{origdate}
  \literal{nodate}
}

\renewcommand*{\finentrypunct}{}

\renewcommand*{\newunitpunct}{\addcomma\space}
\DeclareDelimFormat[bib,biblist]{nametitledelim}{\addcolon\space}
\DeclareDelimFormat{titleyeardelim}{\newunitpunct}

\renewcommand*{\mkbibcompletename}{\mkbibemph}

\DeclareDelimAlias{finalnamedelim}{multinamedelim}

\DeclareNameFormat{family-given:init}{%
  \usebibmacro{name:family-given}
    {\namepartfamily}
    {\namepartgiveni}
    {\namepartprefix}
    {\namepartsuffix}%
  \usebibmacro{name:andothers}}

\DeclareNameAlias{default}{family-given}
\DeclareNameAlias{sortname}{default}
\DeclareNameAlias{labelname}{family-given:init}

\DeclareFieldFormat{editortype}{\mkbibparens{#1}}
\DeclareDelimFormat{editortypedelim}{\addspace}
\DeclareFieldFormat{translatortype}{\mkbibparens{#1}}
\DeclareDelimFormat{translatortypedelim}{\addspace}

\DeclareDelimFormat[bib,biblist]{innametitledelim}{\addcomma\space}

\DeclareFieldFormat*{citetitle}{#1}
\DeclareFieldFormat*{title}{#1}
\DeclareFieldFormat*{booktitle}{#1}
\DeclareFieldFormat*{journaltitle}{#1}

\newbibmacro*{organization+location}[1]{%
  \printlist{location}%
  \setunit*{\locdatedelim}%
  \printlist{organization}%
  \newunit}

\usepackage{xpatch}
\xpatchbibdriver{online}
  {\usebibmacro{organization+location+date}}
  {\usebibmacro{organization+location}}
  {}{}

\DeclareFieldFormat[online]{date}{\mkbibparens{#1}}

\DeclareFieldFormat{url}{<\url{#1}>}% oder {$\langle$\url{#1}$\rangle$} oder \textlangle/\textrangle
\DeclareFieldFormat{urldate}{\mkbibbrackets{\bibstring{urlseen}\addcolon\space#1}}
\renewbibmacro*{url+urldate}{%
  \usebibmacro{url}%
  \ifentrytype{online}
    {\setunit{\addspace}%
     \usebibmacro{date}}
    {}%
  \iffieldundef{urlyear}
    {}
    {\setunit*{\addspace}%
     \usebibmacro{urldate}}}

\renewbibmacro*{date+extradate}{%
  \printtext[parens]{%
    \printfield{usera}%
    \setunit{\printdelim{titleyeardelim}}%
    \printlabeldateextra}}

\renewbibmacro*{date}{%
  \usebibmacro{bbx:ifmergeddate}
    {}
    {\iffieldundef{year}
       {\printtext[date]{\bibstring{nodate}}}
       {\printdate}}}

\DefineBibliographyStrings{german}{
  nodate    = {{}o.\adddot \addabbrvspace J\adddot},
  andothers = {et\addabbrvspace al\adddot},
  urlseen   = {Zugriff},
}

\DeclareSourcemap{
  \maps[datatype=bibtex]{
    \map{
      \pernottype{set}
      \step[notfield=translator, final]
      \step[notfield=editor, final]
      \step[fieldset=author, fieldvalue={\string{o.\noexpand\,V\noexpand\adddot\string}}, final]
      \step[fieldset=sortname, fieldvalue={zzzzzzzzz}]
    }
    \map{
      \pernottype{online}
      \step[fieldset=location, fieldvalue={o.\noexpand\,O\noexpand\adddot}]
    }
  }
}

\renewbibmacro*{cite}{%
  \iffieldundef{shorthand}
    {\ifthenelse{\ifnameundef{labelname}\OR\iffieldundef{labelyear}}
       {\usebibmacro{cite:label}%
        \setunit{\printdelim{nonametitledelim}}}
       {\printnames{labelname}%
        \setunit{\printdelim{nametitledelim}}}%
     \printfield{usera}%
     \setunit{\printdelim{titleyeardelim}}%
     \usebibmacro{cite:labeldate+extradate}}
    {\usebibmacro{cite:shorthand}}}

\renewbibmacro*{postnote}{%
  \setunit{\postnotedelim}%
  \iffieldundef{postnote}
    {\printtext{o\adddot\addabbrvspace S\adddot}}
    {\printfield{postnote}}}


\begin{filecontents*}{\jobname.bib}
@online{test1Mit,
  author  = {Artur Autor},
  title   = {Internetquelle mit Datum},
  url     = {http://example.edu/~elk/bronto.pdf},
  urldate = {2018-03-26},
  date      = {2000-06-09},
  usera   = {Test Stichwort1} ,
}
@online{test1Ohne,
  author  = {Artur Autor},
  title   = {Internetquelle ohne Datum},
  url     = {http://example.edu/~elk/bronto.pdf},
  urldate = {2018-03-26},
  usera   = {Test Stichwort2},
}
@book{test2Mit,
  author    = {Artur Autor},
  title     = {Buch mit Datum},
  edition   = {1},
  usera     = {Test Stichwort3},
  publisher = {FOMVerlag},
  location  = {Essen},
  date      = {2000}
}
@book{test2Ohne,
  author    = {Artur Autor},
  title     = {Buch ohne Datum},
  edition   = {1},
  usera     = {Test Stichwort4},
  publisher = {FOMVerlag},
  location  = {Essen},
}
\end{filecontents*}
\addbibresource{\jobname.bib}
 
\begin{document}
\cite{test1Mit}
\cite{test1Ohne}
\cite{test2Mit}
\cite{test2Ohne}
\printbibliography[nottype=online]
\printbibliography[type=online,title={Internetquellen}]
\end{document}
Ich kenne die Vorgaben der FOM nur von Hörensagen, rate also dringend dazu, die Ausgabe dieser Vorlage sehr sorgfältig zu überprüfen.

xen64
Forum-Newbie
Forum-Newbie
Beiträge: 3
Registriert: So 29. Dez 2019, 10:30
Wohnort: Hessisch Sibirien

Beitrag von xen64 »

wow danke, wie schnell und gut, unglaublich :D :D :D

Der Leitfaden ist mehr oder weniger so ne Art "Word-Formatierguide", die Dozenten interpretieren den auch je auf Ihre eigene Art. Danke für deinen Hinweis.

Texstudio und Overleaf sagen noch: "LaTeX Error: Command \mkbibcompletename undefined." da muss ich bestimmt noch ein Package laden.

Antworten