Custom verbose citations don't look like bibliography











up vote
1
down vote

favorite












I need to modify the custom interview citation style from this post. The bibliography looks like it should. In the citation the authors name is given as "Given Family". However, the citation should look like the bibliography ("Family, Given"). How can I change that?



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



How the citation should look like: "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."



 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, style=verbose]{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}%
setunit{addcommaspace}%
usebibmacro{date}%
setunit{addcommaspace}%
printlist{location}%
newunitnewblock
printfield{note}%
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}}

newbibmacro*{cite:short:interview}{%
usebibmacro{cite:full:citepages}%
printtext[bibhyperlink]{%
usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}}

renewbibmacro*{cite:short}{%
ifbibmacroundef{cite:short:strfield{entrytype}}
{printnames{labelname}%
setunit*{printdelim{nametitledelim}}%
printtext[bibhyperlink]{%
printfield[citetitle]{labeltitle}}}
{usebibmacro*{cite:short:strfield{entrytype}}}}

begin{document}
Loremfootcite{homer}
ipsumfootcite{homer}
printbibliography
end{document}









share|improve this question









New contributor




derd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Remove the line DeclareNameAlias{sortname}{default}.
    – moewe
    1 hour ago










  • For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
    – moewe
    1 hour ago















up vote
1
down vote

favorite












I need to modify the custom interview citation style from this post. The bibliography looks like it should. In the citation the authors name is given as "Given Family". However, the citation should look like the bibliography ("Family, Given"). How can I change that?



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



How the citation should look like: "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."



 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, style=verbose]{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}%
setunit{addcommaspace}%
usebibmacro{date}%
setunit{addcommaspace}%
printlist{location}%
newunitnewblock
printfield{note}%
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}}

newbibmacro*{cite:short:interview}{%
usebibmacro{cite:full:citepages}%
printtext[bibhyperlink]{%
usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}}

renewbibmacro*{cite:short}{%
ifbibmacroundef{cite:short:strfield{entrytype}}
{printnames{labelname}%
setunit*{printdelim{nametitledelim}}%
printtext[bibhyperlink]{%
printfield[citetitle]{labeltitle}}}
{usebibmacro*{cite:short:strfield{entrytype}}}}

begin{document}
Loremfootcite{homer}
ipsumfootcite{homer}
printbibliography
end{document}









share|improve this question









New contributor




derd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Remove the line DeclareNameAlias{sortname}{default}.
    – moewe
    1 hour ago










  • For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
    – moewe
    1 hour ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











I need to modify the custom interview citation style from this post. The bibliography looks like it should. In the citation the authors name is given as "Given Family". However, the citation should look like the bibliography ("Family, Given"). How can I change that?



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



How the citation should look like: "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."



 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, style=verbose]{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}%
setunit{addcommaspace}%
usebibmacro{date}%
setunit{addcommaspace}%
printlist{location}%
newunitnewblock
printfield{note}%
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}}

newbibmacro*{cite:short:interview}{%
usebibmacro{cite:full:citepages}%
printtext[bibhyperlink]{%
usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}}

renewbibmacro*{cite:short}{%
ifbibmacroundef{cite:short:strfield{entrytype}}
{printnames{labelname}%
setunit*{printdelim{nametitledelim}}%
printtext[bibhyperlink]{%
printfield[citetitle]{labeltitle}}}
{usebibmacro*{cite:short:strfield{entrytype}}}}

begin{document}
Loremfootcite{homer}
ipsumfootcite{homer}
printbibliography
end{document}









share|improve this question









New contributor




derd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











I need to modify the custom interview citation style from this post. The bibliography looks like it should. In the citation the authors name is given as "Given Family". However, the citation should look like the bibliography ("Family, Given"). How can I change that?



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



How the citation should look like: "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."



 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, style=verbose]{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}%
setunit{addcommaspace}%
usebibmacro{date}%
setunit{addcommaspace}%
printlist{location}%
newunitnewblock
printfield{note}%
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}}

newbibmacro*{cite:short:interview}{%
usebibmacro{cite:full:citepages}%
printtext[bibhyperlink]{%
usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}}

renewbibmacro*{cite:short}{%
ifbibmacroundef{cite:short:strfield{entrytype}}
{printnames{labelname}%
setunit*{printdelim{nametitledelim}}%
printtext[bibhyperlink]{%
printfield[citetitle]{labeltitle}}}
{usebibmacro*{cite:short:strfield{entrytype}}}}

begin{document}
Loremfootcite{homer}
ipsumfootcite{homer}
printbibliography
end{document}






biblatex






share|improve this question









New contributor




derd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




derd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 1 hour ago









moewe

84.9k9108327




84.9k9108327






New contributor




derd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked 1 hour ago









derd

524




524




New contributor




derd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





derd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






derd is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Remove the line DeclareNameAlias{sortname}{default}.
    – moewe
    1 hour ago










  • For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
    – moewe
    1 hour ago


















  • Remove the line DeclareNameAlias{sortname}{default}.
    – moewe
    1 hour ago










  • For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
    – moewe
    1 hour ago
















Remove the line DeclareNameAlias{sortname}{default}.
– moewe
1 hour ago




Remove the line DeclareNameAlias{sortname}{default}.
– moewe
1 hour ago












For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
– moewe
1 hour ago




For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
– moewe
1 hour ago










1 Answer
1






active

oldest

votes

















up vote
3
down vote



accepted










verbose's cite:full macros usually call usedriver as



usedriver
{DeclareNameAlias{sortname}{default}}
{thefield{entrytype}}}%


which means that they change the format for sortname (the name format of the 'primary' name associated with an entry, the name before the title, usually author, editor or translator in that order) to default.
The idea behind that is that default (which in the end is given-family) is the 'natural' name order and that family-given/given-family or family-given is only used in the bibliography to make it easier to spot the right part of the name for sorting. In the footnotes there is little issue with sorting and so given-family is used.



The implementation of cite:short:interview follows that practice to call usedriver with DeclareNameAlias{sortname}{default}.



In the following code DeclareNameAlias{sortname}{default} is removed for cite:short:interview (for subsequent citations) and also cite:full (for the first citation)



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, style=verbose]{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}%
setunit{addcommaspace}%
usebibmacro{date}%
setunit{addcommaspace}%
printlist{location}%
newunitnewblock
printfield{note}%
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}}

newbibmacro*{cite:short:interview}{%
usebibmacro{cite:full:citepages}%
printtext[bibhyperlink]{%
usedriver
{}
{thefield{entrytype}}}}

renewbibmacro*{cite:short}{%
ifbibmacroundef{cite:short:strfield{entrytype}}
{printnames{labelname}%
setunit*{printdelim{nametitledelim}}%
printtext[bibhyperlink]{%
printfield[citetitle]{labeltitle}}}
{usebibmacro*{cite:short:strfield{entrytype}}}}

renewbibmacro*{cite:full}{%
usebibmacro{cite:full:citepages}%
printtext[bibhypertarget]{%
usedriver
{}
{thefield{entrytype}}}%
usebibmacro{shorthandintro}}

begin{document}
Loremfootcite{homer}
ipsumfootcite{homer}
printbibliography
end{document}


Fn.1: "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."//Fn. 2 "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."






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',
    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
    });


    }
    });






    derd is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f466060%2fcustom-verbose-citations-dont-look-like-bibliography%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








    up vote
    3
    down vote



    accepted










    verbose's cite:full macros usually call usedriver as



    usedriver
    {DeclareNameAlias{sortname}{default}}
    {thefield{entrytype}}}%


    which means that they change the format for sortname (the name format of the 'primary' name associated with an entry, the name before the title, usually author, editor or translator in that order) to default.
    The idea behind that is that default (which in the end is given-family) is the 'natural' name order and that family-given/given-family or family-given is only used in the bibliography to make it easier to spot the right part of the name for sorting. In the footnotes there is little issue with sorting and so given-family is used.



    The implementation of cite:short:interview follows that practice to call usedriver with DeclareNameAlias{sortname}{default}.



    In the following code DeclareNameAlias{sortname}{default} is removed for cite:short:interview (for subsequent citations) and also cite:full (for the first citation)



    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, style=verbose]{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}%
    setunit{addcommaspace}%
    usebibmacro{date}%
    setunit{addcommaspace}%
    printlist{location}%
    newunitnewblock
    printfield{note}%
    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}}

    newbibmacro*{cite:short:interview}{%
    usebibmacro{cite:full:citepages}%
    printtext[bibhyperlink]{%
    usedriver
    {}
    {thefield{entrytype}}}}

    renewbibmacro*{cite:short}{%
    ifbibmacroundef{cite:short:strfield{entrytype}}
    {printnames{labelname}%
    setunit*{printdelim{nametitledelim}}%
    printtext[bibhyperlink]{%
    printfield[citetitle]{labeltitle}}}
    {usebibmacro*{cite:short:strfield{entrytype}}}}

    renewbibmacro*{cite:full}{%
    usebibmacro{cite:full:citepages}%
    printtext[bibhypertarget]{%
    usedriver
    {}
    {thefield{entrytype}}}%
    usebibmacro{shorthandintro}}

    begin{document}
    Loremfootcite{homer}
    ipsumfootcite{homer}
    printbibliography
    end{document}


    Fn.1: "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."//Fn. 2 "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."






    share|improve this answer



























      up vote
      3
      down vote



      accepted










      verbose's cite:full macros usually call usedriver as



      usedriver
      {DeclareNameAlias{sortname}{default}}
      {thefield{entrytype}}}%


      which means that they change the format for sortname (the name format of the 'primary' name associated with an entry, the name before the title, usually author, editor or translator in that order) to default.
      The idea behind that is that default (which in the end is given-family) is the 'natural' name order and that family-given/given-family or family-given is only used in the bibliography to make it easier to spot the right part of the name for sorting. In the footnotes there is little issue with sorting and so given-family is used.



      The implementation of cite:short:interview follows that practice to call usedriver with DeclareNameAlias{sortname}{default}.



      In the following code DeclareNameAlias{sortname}{default} is removed for cite:short:interview (for subsequent citations) and also cite:full (for the first citation)



      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, style=verbose]{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}%
      setunit{addcommaspace}%
      usebibmacro{date}%
      setunit{addcommaspace}%
      printlist{location}%
      newunitnewblock
      printfield{note}%
      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}}

      newbibmacro*{cite:short:interview}{%
      usebibmacro{cite:full:citepages}%
      printtext[bibhyperlink]{%
      usedriver
      {}
      {thefield{entrytype}}}}

      renewbibmacro*{cite:short}{%
      ifbibmacroundef{cite:short:strfield{entrytype}}
      {printnames{labelname}%
      setunit*{printdelim{nametitledelim}}%
      printtext[bibhyperlink]{%
      printfield[citetitle]{labeltitle}}}
      {usebibmacro*{cite:short:strfield{entrytype}}}}

      renewbibmacro*{cite:full}{%
      usebibmacro{cite:full:citepages}%
      printtext[bibhypertarget]{%
      usedriver
      {}
      {thefield{entrytype}}}%
      usebibmacro{shorthandintro}}

      begin{document}
      Loremfootcite{homer}
      ipsumfootcite{homer}
      printbibliography
      end{document}


      Fn.1: "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."//Fn. 2 "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."






      share|improve this answer

























        up vote
        3
        down vote



        accepted







        up vote
        3
        down vote



        accepted






        verbose's cite:full macros usually call usedriver as



        usedriver
        {DeclareNameAlias{sortname}{default}}
        {thefield{entrytype}}}%


        which means that they change the format for sortname (the name format of the 'primary' name associated with an entry, the name before the title, usually author, editor or translator in that order) to default.
        The idea behind that is that default (which in the end is given-family) is the 'natural' name order and that family-given/given-family or family-given is only used in the bibliography to make it easier to spot the right part of the name for sorting. In the footnotes there is little issue with sorting and so given-family is used.



        The implementation of cite:short:interview follows that practice to call usedriver with DeclareNameAlias{sortname}{default}.



        In the following code DeclareNameAlias{sortname}{default} is removed for cite:short:interview (for subsequent citations) and also cite:full (for the first citation)



        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, style=verbose]{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}%
        setunit{addcommaspace}%
        usebibmacro{date}%
        setunit{addcommaspace}%
        printlist{location}%
        newunitnewblock
        printfield{note}%
        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}}

        newbibmacro*{cite:short:interview}{%
        usebibmacro{cite:full:citepages}%
        printtext[bibhyperlink]{%
        usedriver
        {}
        {thefield{entrytype}}}}

        renewbibmacro*{cite:short}{%
        ifbibmacroundef{cite:short:strfield{entrytype}}
        {printnames{labelname}%
        setunit*{printdelim{nametitledelim}}%
        printtext[bibhyperlink]{%
        printfield[citetitle]{labeltitle}}}
        {usebibmacro*{cite:short:strfield{entrytype}}}}

        renewbibmacro*{cite:full}{%
        usebibmacro{cite:full:citepages}%
        printtext[bibhypertarget]{%
        usedriver
        {}
        {thefield{entrytype}}}%
        usebibmacro{shorthandintro}}

        begin{document}
        Loremfootcite{homer}
        ipsumfootcite{homer}
        printbibliography
        end{document}


        Fn.1: "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."//Fn. 2 "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."






        share|improve this answer














        verbose's cite:full macros usually call usedriver as



        usedriver
        {DeclareNameAlias{sortname}{default}}
        {thefield{entrytype}}}%


        which means that they change the format for sortname (the name format of the 'primary' name associated with an entry, the name before the title, usually author, editor or translator in that order) to default.
        The idea behind that is that default (which in the end is given-family) is the 'natural' name order and that family-given/given-family or family-given is only used in the bibliography to make it easier to spot the right part of the name for sorting. In the footnotes there is little issue with sorting and so given-family is used.



        The implementation of cite:short:interview follows that practice to call usedriver with DeclareNameAlias{sortname}{default}.



        In the following code DeclareNameAlias{sortname}{default} is removed for cite:short:interview (for subsequent citations) and also cite:full (for the first citation)



        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, style=verbose]{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}%
        setunit{addcommaspace}%
        usebibmacro{date}%
        setunit{addcommaspace}%
        printlist{location}%
        newunitnewblock
        printfield{note}%
        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}}

        newbibmacro*{cite:short:interview}{%
        usebibmacro{cite:full:citepages}%
        printtext[bibhyperlink]{%
        usedriver
        {}
        {thefield{entrytype}}}}

        renewbibmacro*{cite:short}{%
        ifbibmacroundef{cite:short:strfield{entrytype}}
        {printnames{labelname}%
        setunit*{printdelim{nametitledelim}}%
        printtext[bibhyperlink]{%
        printfield[citetitle]{labeltitle}}}
        {usebibmacro*{cite:short:strfield{entrytype}}}}

        renewbibmacro*{cite:full}{%
        usebibmacro{cite:full:citepages}%
        printtext[bibhypertarget]{%
        usedriver
        {}
        {thefield{entrytype}}}%
        usebibmacro{shorthandintro}}

        begin{document}
        Loremfootcite{homer}
        ipsumfootcite{homer}
        printbibliography
        end{document}


        Fn.1: "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."//Fn. 2 "Simpson, Homer. Interview Bart Simpson, 25. Juli 2018, Springfield."







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited 1 hour ago

























        answered 1 hour ago









        moewe

        84.9k9108327




        84.9k9108327






















            derd is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            derd is a new contributor. Be nice, and check out our Code of Conduct.













            derd is a new contributor. Be nice, and check out our Code of Conduct.












            derd is a new contributor. Be nice, and check out our Code of Conduct.
















            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%2f466060%2fcustom-verbose-citations-dont-look-like-bibliography%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

            Quarter-circle Tiles

            build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

            Mont Emei