Create interview bibliography type with biblatex












0














For my thesis I need to cite interviews, which I conducted by myself, and also display them in the bibliography.
In my .bib file I created a new entrytype called Interview.



RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@interview{homer,
interviewee = {Homer Simpson},
interviewer = {Bart Simpson},
date = {2018-07-25},
address = {springfield},
keywords = {interview},
}


end{filecontents*}


documentclass{article}

usepackage[style=verbose]{biblatex}
addbibresource{jobname.bib}

begin{document}
How to cite an interview. cite{homer}

printbibliography
end{document}


The bibliography entry should look like: Simpson, Homer. Interview B. Simpson, 21. August 1999, Springfield.



Moreover, it should always be cited as described above.



How can I do that with biblatex?



EDIT: I spent some hours with the link from moewe and the biblatex manual but I still don't get what I would like to have (or to be more precisely I just get errors).



I added the code I have so far:



RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@interview{homer,
interviewee = {Homer Simpson},
interviewer = {Bart Simpson},
date = {2018-07-25},
address = {springfield},
keywords = {interview},
}

end{filecontents*}
begin{filecontents}{interview.dbx}
DeclareDatamodelEntrytypes{interview}
DeclareDatamodelFields[type=list,datatype=name]{
interviewer,
interviewee,
address,
}
DeclareDatamodelFields[type=field, datatype=date, skipout]{
date}

DeclareDatamodelEntryfields[stackexchange]{
interviewer,
interviewee,
address,
}
end{filecontents}
documentclass[ngerman]{article}
usepackage{babel}
usepackage{csquotes}
usepackage[datamodel=interview,backend=biber]{biblatex}
usepackage{hyperref}
addbibresource{jobname.bib}

begin{filecontents*}{authortitle.lbx}
ProvidesFile{authortitle.lbx}
InheritBibliographyExtras{ngerman}
NewBibliographyString{interviewee, interviewer, address, date,}
DeclareBibliographyStrings{%
interviewee = {{interviewee}},
interviewer = {{interviewer}{interviewer}},
date = {{date}{date}},
address = {{address}{address}},
}
end{filecontents*}
DeclareLanguageMapping{ngerman}{authortitle}

DeclareFieldFormat{interviewee}{mkbibemph{#1}isdot}

DeclareFieldFormat{interviewer}{setunit*{addcommaspace}}

DeclareFieldFormat{date}{setunit*{addcommaspace}}

DeclareFieldFormat{address}{mkbibemph{#1}isdot}

begin{document}
nocite{*}
cite{homer}

printbibliography
end{document}









share|improve this question
























  • Related? tex.stackexchange.com/q/435086/118739
    – AndiW
    Dec 11 '18 at 20:00










  • As far as I can see it's not related to it.
    – derd
    Dec 11 '18 at 20:12










  • See tex.stackexchange.com/q/175776/35864
    – moewe
    Dec 12 '18 at 9:12
















0














For my thesis I need to cite interviews, which I conducted by myself, and also display them in the bibliography.
In my .bib file I created a new entrytype called Interview.



RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@interview{homer,
interviewee = {Homer Simpson},
interviewer = {Bart Simpson},
date = {2018-07-25},
address = {springfield},
keywords = {interview},
}


end{filecontents*}


documentclass{article}

usepackage[style=verbose]{biblatex}
addbibresource{jobname.bib}

begin{document}
How to cite an interview. cite{homer}

printbibliography
end{document}


The bibliography entry should look like: Simpson, Homer. Interview B. Simpson, 21. August 1999, Springfield.



Moreover, it should always be cited as described above.



How can I do that with biblatex?



EDIT: I spent some hours with the link from moewe and the biblatex manual but I still don't get what I would like to have (or to be more precisely I just get errors).



I added the code I have so far:



RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@interview{homer,
interviewee = {Homer Simpson},
interviewer = {Bart Simpson},
date = {2018-07-25},
address = {springfield},
keywords = {interview},
}

end{filecontents*}
begin{filecontents}{interview.dbx}
DeclareDatamodelEntrytypes{interview}
DeclareDatamodelFields[type=list,datatype=name]{
interviewer,
interviewee,
address,
}
DeclareDatamodelFields[type=field, datatype=date, skipout]{
date}

DeclareDatamodelEntryfields[stackexchange]{
interviewer,
interviewee,
address,
}
end{filecontents}
documentclass[ngerman]{article}
usepackage{babel}
usepackage{csquotes}
usepackage[datamodel=interview,backend=biber]{biblatex}
usepackage{hyperref}
addbibresource{jobname.bib}

begin{filecontents*}{authortitle.lbx}
ProvidesFile{authortitle.lbx}
InheritBibliographyExtras{ngerman}
NewBibliographyString{interviewee, interviewer, address, date,}
DeclareBibliographyStrings{%
interviewee = {{interviewee}},
interviewer = {{interviewer}{interviewer}},
date = {{date}{date}},
address = {{address}{address}},
}
end{filecontents*}
DeclareLanguageMapping{ngerman}{authortitle}

DeclareFieldFormat{interviewee}{mkbibemph{#1}isdot}

DeclareFieldFormat{interviewer}{setunit*{addcommaspace}}

DeclareFieldFormat{date}{setunit*{addcommaspace}}

DeclareFieldFormat{address}{mkbibemph{#1}isdot}

begin{document}
nocite{*}
cite{homer}

printbibliography
end{document}









share|improve this question
























  • Related? tex.stackexchange.com/q/435086/118739
    – AndiW
    Dec 11 '18 at 20:00










  • As far as I can see it's not related to it.
    – derd
    Dec 11 '18 at 20:12










  • See tex.stackexchange.com/q/175776/35864
    – moewe
    Dec 12 '18 at 9:12














0












0








0







For my thesis I need to cite interviews, which I conducted by myself, and also display them in the bibliography.
In my .bib file I created a new entrytype called Interview.



RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@interview{homer,
interviewee = {Homer Simpson},
interviewer = {Bart Simpson},
date = {2018-07-25},
address = {springfield},
keywords = {interview},
}


end{filecontents*}


documentclass{article}

usepackage[style=verbose]{biblatex}
addbibresource{jobname.bib}

begin{document}
How to cite an interview. cite{homer}

printbibliography
end{document}


The bibliography entry should look like: Simpson, Homer. Interview B. Simpson, 21. August 1999, Springfield.



Moreover, it should always be cited as described above.



How can I do that with biblatex?



EDIT: I spent some hours with the link from moewe and the biblatex manual but I still don't get what I would like to have (or to be more precisely I just get errors).



I added the code I have so far:



RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@interview{homer,
interviewee = {Homer Simpson},
interviewer = {Bart Simpson},
date = {2018-07-25},
address = {springfield},
keywords = {interview},
}

end{filecontents*}
begin{filecontents}{interview.dbx}
DeclareDatamodelEntrytypes{interview}
DeclareDatamodelFields[type=list,datatype=name]{
interviewer,
interviewee,
address,
}
DeclareDatamodelFields[type=field, datatype=date, skipout]{
date}

DeclareDatamodelEntryfields[stackexchange]{
interviewer,
interviewee,
address,
}
end{filecontents}
documentclass[ngerman]{article}
usepackage{babel}
usepackage{csquotes}
usepackage[datamodel=interview,backend=biber]{biblatex}
usepackage{hyperref}
addbibresource{jobname.bib}

begin{filecontents*}{authortitle.lbx}
ProvidesFile{authortitle.lbx}
InheritBibliographyExtras{ngerman}
NewBibliographyString{interviewee, interviewer, address, date,}
DeclareBibliographyStrings{%
interviewee = {{interviewee}},
interviewer = {{interviewer}{interviewer}},
date = {{date}{date}},
address = {{address}{address}},
}
end{filecontents*}
DeclareLanguageMapping{ngerman}{authortitle}

DeclareFieldFormat{interviewee}{mkbibemph{#1}isdot}

DeclareFieldFormat{interviewer}{setunit*{addcommaspace}}

DeclareFieldFormat{date}{setunit*{addcommaspace}}

DeclareFieldFormat{address}{mkbibemph{#1}isdot}

begin{document}
nocite{*}
cite{homer}

printbibliography
end{document}









share|improve this question















For my thesis I need to cite interviews, which I conducted by myself, and also display them in the bibliography.
In my .bib file I created a new entrytype called Interview.



RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@interview{homer,
interviewee = {Homer Simpson},
interviewer = {Bart Simpson},
date = {2018-07-25},
address = {springfield},
keywords = {interview},
}


end{filecontents*}


documentclass{article}

usepackage[style=verbose]{biblatex}
addbibresource{jobname.bib}

begin{document}
How to cite an interview. cite{homer}

printbibliography
end{document}


The bibliography entry should look like: Simpson, Homer. Interview B. Simpson, 21. August 1999, Springfield.



Moreover, it should always be cited as described above.



How can I do that with biblatex?



EDIT: I spent some hours with the link from moewe and the biblatex manual but I still don't get what I would like to have (or to be more precisely I just get errors).



I added the code I have so far:



RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@interview{homer,
interviewee = {Homer Simpson},
interviewer = {Bart Simpson},
date = {2018-07-25},
address = {springfield},
keywords = {interview},
}

end{filecontents*}
begin{filecontents}{interview.dbx}
DeclareDatamodelEntrytypes{interview}
DeclareDatamodelFields[type=list,datatype=name]{
interviewer,
interviewee,
address,
}
DeclareDatamodelFields[type=field, datatype=date, skipout]{
date}

DeclareDatamodelEntryfields[stackexchange]{
interviewer,
interviewee,
address,
}
end{filecontents}
documentclass[ngerman]{article}
usepackage{babel}
usepackage{csquotes}
usepackage[datamodel=interview,backend=biber]{biblatex}
usepackage{hyperref}
addbibresource{jobname.bib}

begin{filecontents*}{authortitle.lbx}
ProvidesFile{authortitle.lbx}
InheritBibliographyExtras{ngerman}
NewBibliographyString{interviewee, interviewer, address, date,}
DeclareBibliographyStrings{%
interviewee = {{interviewee}},
interviewer = {{interviewer}{interviewer}},
date = {{date}{date}},
address = {{address}{address}},
}
end{filecontents*}
DeclareLanguageMapping{ngerman}{authortitle}

DeclareFieldFormat{interviewee}{mkbibemph{#1}isdot}

DeclareFieldFormat{interviewer}{setunit*{addcommaspace}}

DeclareFieldFormat{date}{setunit*{addcommaspace}}

DeclareFieldFormat{address}{mkbibemph{#1}isdot}

begin{document}
nocite{*}
cite{homer}

printbibliography
end{document}






biblatex bibliographies






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 12 '18 at 19:51

























asked Dec 11 '18 at 18:04









derd

575




575












  • Related? tex.stackexchange.com/q/435086/118739
    – AndiW
    Dec 11 '18 at 20:00










  • As far as I can see it's not related to it.
    – derd
    Dec 11 '18 at 20:12










  • See tex.stackexchange.com/q/175776/35864
    – moewe
    Dec 12 '18 at 9:12


















  • Related? tex.stackexchange.com/q/435086/118739
    – AndiW
    Dec 11 '18 at 20:00










  • As far as I can see it's not related to it.
    – derd
    Dec 11 '18 at 20:12










  • See tex.stackexchange.com/q/175776/35864
    – moewe
    Dec 12 '18 at 9:12
















Related? tex.stackexchange.com/q/435086/118739
– AndiW
Dec 11 '18 at 20:00




Related? tex.stackexchange.com/q/435086/118739
– AndiW
Dec 11 '18 at 20:00












As far as I can see it's not related to it.
– derd
Dec 11 '18 at 20:12




As far as I can see it's not related to it.
– derd
Dec 11 '18 at 20:12












See tex.stackexchange.com/q/175776/35864
– moewe
Dec 12 '18 at 9:12




See tex.stackexchange.com/q/175776/35864
– moewe
Dec 12 '18 at 9:12










1 Answer
1






active

oldest

votes


















2














How can I create entirely new data types with BibLaTeX/Biber? contains a full guide on how to set up a new entry type. It is quite full on, but if you take some time to get through it, most things should work. (Of course if there is anything unclear in that answer, I'm sure the author would love to hear about it in the comments.)



The main thing that is missing is the bibliography driver (the most important bit for the output of a new entry type). The .lbx file was a bit off and some of the DeclareFieldFormats did not make sense (either because DeclareFieldFormat was used for name fields, where it does not apply or because they were redefined to just print punctuation).



RequirePackage{filecontents}
begin{filecontents*}{jobname.bib}
@interview{homer,
interviewee = {Homer Simpson},
interviewer = {Bart Simpson},
date = {2018-07-25},
address = {Springfield},
}
end{filecontents*}
begin{filecontents}{interview.dbx}
DeclareDatamodelEntrytypes{interview}
DeclareDatamodelFields[type=list,datatype=name]{
interviewer,
interviewee,
}

DeclareDatamodelEntryfields[interview]{
addendum,
doi,
eprint,
eprintclass,
eprinttype,
interviewer,
interviewee,
location,
note,
pubstate,
}
end{filecontents}
documentclass[ngerman]{article}
usepackage{babel}
usepackage{csquotes}
usepackage[datamodel=interview,backend=biber]{biblatex}
usepackage{hyperref}
addbibresource{jobname.bib}

NewBibliographyString{interview}
DefineBibliographyStrings{german}{%
interview = {Interview},
}

DeclareNameAlias{interviewee}{author}

DeclareBibliographyDriver{interview}{%
usebibmacro{bibindex}%
usebibmacro{begentry}%
printnames{interviewee}%
newunitnewblock
bibstring{interview}%
setunit{addspace}%
printnames{interviewer}%
newunitnewblock
printfield{note}%
newunitnewblock
usebibmacro{location+date}%
newunitnewblock
usebibmacro{doi+eprint+url}%
newunitnewblock
usebibmacro{addendum+pubstate}%
setunit{bibpagerefpunct}newblock
usebibmacro{pageref}%
newunitnewblock
iftoggle{bbx:related}
{usebibmacro{related:init}%
usebibmacro{related}}
{}%
usebibmacro{finentry}}

begin{document}
cite{homer}

printbibliography
end{document}


Homer Simpson. Interview Bart Simpson. Springfield, 25. Juli 2018.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "85"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464361%2fcreate-interview-bibliography-type-with-biblatex%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    How can I create entirely new data types with BibLaTeX/Biber? contains a full guide on how to set up a new entry type. It is quite full on, but if you take some time to get through it, most things should work. (Of course if there is anything unclear in that answer, I'm sure the author would love to hear about it in the comments.)



    The main thing that is missing is the bibliography driver (the most important bit for the output of a new entry type). The .lbx file was a bit off and some of the DeclareFieldFormats did not make sense (either because DeclareFieldFormat was used for name fields, where it does not apply or because they were redefined to just print punctuation).



    RequirePackage{filecontents}
    begin{filecontents*}{jobname.bib}
    @interview{homer,
    interviewee = {Homer Simpson},
    interviewer = {Bart Simpson},
    date = {2018-07-25},
    address = {Springfield},
    }
    end{filecontents*}
    begin{filecontents}{interview.dbx}
    DeclareDatamodelEntrytypes{interview}
    DeclareDatamodelFields[type=list,datatype=name]{
    interviewer,
    interviewee,
    }

    DeclareDatamodelEntryfields[interview]{
    addendum,
    doi,
    eprint,
    eprintclass,
    eprinttype,
    interviewer,
    interviewee,
    location,
    note,
    pubstate,
    }
    end{filecontents}
    documentclass[ngerman]{article}
    usepackage{babel}
    usepackage{csquotes}
    usepackage[datamodel=interview,backend=biber]{biblatex}
    usepackage{hyperref}
    addbibresource{jobname.bib}

    NewBibliographyString{interview}
    DefineBibliographyStrings{german}{%
    interview = {Interview},
    }

    DeclareNameAlias{interviewee}{author}

    DeclareBibliographyDriver{interview}{%
    usebibmacro{bibindex}%
    usebibmacro{begentry}%
    printnames{interviewee}%
    newunitnewblock
    bibstring{interview}%
    setunit{addspace}%
    printnames{interviewer}%
    newunitnewblock
    printfield{note}%
    newunitnewblock
    usebibmacro{location+date}%
    newunitnewblock
    usebibmacro{doi+eprint+url}%
    newunitnewblock
    usebibmacro{addendum+pubstate}%
    setunit{bibpagerefpunct}newblock
    usebibmacro{pageref}%
    newunitnewblock
    iftoggle{bbx:related}
    {usebibmacro{related:init}%
    usebibmacro{related}}
    {}%
    usebibmacro{finentry}}

    begin{document}
    cite{homer}

    printbibliography
    end{document}


    Homer Simpson. Interview Bart Simpson. Springfield, 25. Juli 2018.






    share|improve this answer


























      2














      How can I create entirely new data types with BibLaTeX/Biber? contains a full guide on how to set up a new entry type. It is quite full on, but if you take some time to get through it, most things should work. (Of course if there is anything unclear in that answer, I'm sure the author would love to hear about it in the comments.)



      The main thing that is missing is the bibliography driver (the most important bit for the output of a new entry type). The .lbx file was a bit off and some of the DeclareFieldFormats did not make sense (either because DeclareFieldFormat was used for name fields, where it does not apply or because they were redefined to just print punctuation).



      RequirePackage{filecontents}
      begin{filecontents*}{jobname.bib}
      @interview{homer,
      interviewee = {Homer Simpson},
      interviewer = {Bart Simpson},
      date = {2018-07-25},
      address = {Springfield},
      }
      end{filecontents*}
      begin{filecontents}{interview.dbx}
      DeclareDatamodelEntrytypes{interview}
      DeclareDatamodelFields[type=list,datatype=name]{
      interviewer,
      interviewee,
      }

      DeclareDatamodelEntryfields[interview]{
      addendum,
      doi,
      eprint,
      eprintclass,
      eprinttype,
      interviewer,
      interviewee,
      location,
      note,
      pubstate,
      }
      end{filecontents}
      documentclass[ngerman]{article}
      usepackage{babel}
      usepackage{csquotes}
      usepackage[datamodel=interview,backend=biber]{biblatex}
      usepackage{hyperref}
      addbibresource{jobname.bib}

      NewBibliographyString{interview}
      DefineBibliographyStrings{german}{%
      interview = {Interview},
      }

      DeclareNameAlias{interviewee}{author}

      DeclareBibliographyDriver{interview}{%
      usebibmacro{bibindex}%
      usebibmacro{begentry}%
      printnames{interviewee}%
      newunitnewblock
      bibstring{interview}%
      setunit{addspace}%
      printnames{interviewer}%
      newunitnewblock
      printfield{note}%
      newunitnewblock
      usebibmacro{location+date}%
      newunitnewblock
      usebibmacro{doi+eprint+url}%
      newunitnewblock
      usebibmacro{addendum+pubstate}%
      setunit{bibpagerefpunct}newblock
      usebibmacro{pageref}%
      newunitnewblock
      iftoggle{bbx:related}
      {usebibmacro{related:init}%
      usebibmacro{related}}
      {}%
      usebibmacro{finentry}}

      begin{document}
      cite{homer}

      printbibliography
      end{document}


      Homer Simpson. Interview Bart Simpson. Springfield, 25. Juli 2018.






      share|improve this answer
























        2












        2








        2






        How can I create entirely new data types with BibLaTeX/Biber? contains a full guide on how to set up a new entry type. It is quite full on, but if you take some time to get through it, most things should work. (Of course if there is anything unclear in that answer, I'm sure the author would love to hear about it in the comments.)



        The main thing that is missing is the bibliography driver (the most important bit for the output of a new entry type). The .lbx file was a bit off and some of the DeclareFieldFormats did not make sense (either because DeclareFieldFormat was used for name fields, where it does not apply or because they were redefined to just print punctuation).



        RequirePackage{filecontents}
        begin{filecontents*}{jobname.bib}
        @interview{homer,
        interviewee = {Homer Simpson},
        interviewer = {Bart Simpson},
        date = {2018-07-25},
        address = {Springfield},
        }
        end{filecontents*}
        begin{filecontents}{interview.dbx}
        DeclareDatamodelEntrytypes{interview}
        DeclareDatamodelFields[type=list,datatype=name]{
        interviewer,
        interviewee,
        }

        DeclareDatamodelEntryfields[interview]{
        addendum,
        doi,
        eprint,
        eprintclass,
        eprinttype,
        interviewer,
        interviewee,
        location,
        note,
        pubstate,
        }
        end{filecontents}
        documentclass[ngerman]{article}
        usepackage{babel}
        usepackage{csquotes}
        usepackage[datamodel=interview,backend=biber]{biblatex}
        usepackage{hyperref}
        addbibresource{jobname.bib}

        NewBibliographyString{interview}
        DefineBibliographyStrings{german}{%
        interview = {Interview},
        }

        DeclareNameAlias{interviewee}{author}

        DeclareBibliographyDriver{interview}{%
        usebibmacro{bibindex}%
        usebibmacro{begentry}%
        printnames{interviewee}%
        newunitnewblock
        bibstring{interview}%
        setunit{addspace}%
        printnames{interviewer}%
        newunitnewblock
        printfield{note}%
        newunitnewblock
        usebibmacro{location+date}%
        newunitnewblock
        usebibmacro{doi+eprint+url}%
        newunitnewblock
        usebibmacro{addendum+pubstate}%
        setunit{bibpagerefpunct}newblock
        usebibmacro{pageref}%
        newunitnewblock
        iftoggle{bbx:related}
        {usebibmacro{related:init}%
        usebibmacro{related}}
        {}%
        usebibmacro{finentry}}

        begin{document}
        cite{homer}

        printbibliography
        end{document}


        Homer Simpson. Interview Bart Simpson. Springfield, 25. Juli 2018.






        share|improve this answer












        How can I create entirely new data types with BibLaTeX/Biber? contains a full guide on how to set up a new entry type. It is quite full on, but if you take some time to get through it, most things should work. (Of course if there is anything unclear in that answer, I'm sure the author would love to hear about it in the comments.)



        The main thing that is missing is the bibliography driver (the most important bit for the output of a new entry type). The .lbx file was a bit off and some of the DeclareFieldFormats did not make sense (either because DeclareFieldFormat was used for name fields, where it does not apply or because they were redefined to just print punctuation).



        RequirePackage{filecontents}
        begin{filecontents*}{jobname.bib}
        @interview{homer,
        interviewee = {Homer Simpson},
        interviewer = {Bart Simpson},
        date = {2018-07-25},
        address = {Springfield},
        }
        end{filecontents*}
        begin{filecontents}{interview.dbx}
        DeclareDatamodelEntrytypes{interview}
        DeclareDatamodelFields[type=list,datatype=name]{
        interviewer,
        interviewee,
        }

        DeclareDatamodelEntryfields[interview]{
        addendum,
        doi,
        eprint,
        eprintclass,
        eprinttype,
        interviewer,
        interviewee,
        location,
        note,
        pubstate,
        }
        end{filecontents}
        documentclass[ngerman]{article}
        usepackage{babel}
        usepackage{csquotes}
        usepackage[datamodel=interview,backend=biber]{biblatex}
        usepackage{hyperref}
        addbibresource{jobname.bib}

        NewBibliographyString{interview}
        DefineBibliographyStrings{german}{%
        interview = {Interview},
        }

        DeclareNameAlias{interviewee}{author}

        DeclareBibliographyDriver{interview}{%
        usebibmacro{bibindex}%
        usebibmacro{begentry}%
        printnames{interviewee}%
        newunitnewblock
        bibstring{interview}%
        setunit{addspace}%
        printnames{interviewer}%
        newunitnewblock
        printfield{note}%
        newunitnewblock
        usebibmacro{location+date}%
        newunitnewblock
        usebibmacro{doi+eprint+url}%
        newunitnewblock
        usebibmacro{addendum+pubstate}%
        setunit{bibpagerefpunct}newblock
        usebibmacro{pageref}%
        newunitnewblock
        iftoggle{bbx:related}
        {usebibmacro{related:init}%
        usebibmacro{related}}
        {}%
        usebibmacro{finentry}}

        begin{document}
        cite{homer}

        printbibliography
        end{document}


        Homer Simpson. Interview Bart Simpson. Springfield, 25. Juli 2018.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 12 '18 at 21:23









        moewe

        86.3k9110332




        86.3k9110332






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f464361%2fcreate-interview-bibliography-type-with-biblatex%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            How to change which sound is reproduced for terminal bell?

            Can I use Tabulator js library in my java Spring + Thymeleaf project?

            Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents