Custom verbose citations don't look like bibliography












2














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
























  • Remove the line DeclareNameAlias{sortname}{default}.
    – moewe
    Dec 16 at 10:01










  • For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
    – moewe
    Dec 16 at 10:12
















2














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
























  • Remove the line DeclareNameAlias{sortname}{default}.
    – moewe
    Dec 16 at 10:01










  • For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
    – moewe
    Dec 16 at 10:12














2












2








2







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















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















share|improve this question













share|improve this question




share|improve this question








edited Dec 16 at 10:14









moewe

86.2k9109332




86.2k9109332










asked Dec 16 at 10:00









derd

575




575












  • Remove the line DeclareNameAlias{sortname}{default}.
    – moewe
    Dec 16 at 10:01










  • For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
    – moewe
    Dec 16 at 10:12


















  • Remove the line DeclareNameAlias{sortname}{default}.
    – moewe
    Dec 16 at 10:01










  • For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
    – moewe
    Dec 16 at 10:12
















Remove the line DeclareNameAlias{sortname}{default}.
– moewe
Dec 16 at 10:01




Remove the line DeclareNameAlias{sortname}{default}.
– moewe
Dec 16 at 10:01












For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
– moewe
Dec 16 at 10:12




For first citations I think it would be conceptually nicer to redefine cite:full instead, see the answer below.
– moewe
Dec 16 at 10:12










1 Answer
1






active

oldest

votes


















4














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',
    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%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









    4














    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




























      4














      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


























        4












        4








        4






        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 Dec 16 at 10:18

























        answered Dec 16 at 10:08









        moewe

        86.2k9109332




        86.2k9109332






























            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%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

            Morgemoulin

            Scott Moir

            Souastre