Redefining “WWW” entrances in biblatex












0














I am trying to specify the citation of a data base. Consider the following MWE with two entrances:`



documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
usepackage[T1]{fontenc}
usepackage[utf8]{inputenc}
usepackage{lmodern}
usepackage[ngerman]{babel}
usepackage{csquotes}

usepackage{filecontents}

%Bibliotheken
usepackage
[style=ext-authoryear,labelnumber, useprefix=true,
sorting=nyt,maxbibnames=9,maxcitenames=3,uniquelist=false, backend=biber,
doi=false,isbn=false,url=false,
uniquename=false,bibencoding=utf8, date=year, giveninits=true, terseinits=false, dashed=false]
{biblatex}


%Doppelpunkt nach Jahr
renewcommand{labelnamepunct}{addcolonspace}

%Remove Dot after volume
renewbibmacro*{volume+number+eid}{%
printfield{volume}%
% setunit*{adddot}% DELETED
% setunit*{addnbspace}% NEW (optional); there's also addnbthinspace
printfield{number}%
setunit{addcommaspace}%
printfield{eid}}
DeclareFieldFormat[article]{number}{mkbibparens{#1}}

% Number of articles in parentheses
DeclareFieldFormat[article]{number}{mkbibparens{#1}}

%Dot after journal title
DeclareFieldFormat{journaltitle}{{#1}isdot}

renewbibmacro*{journal+issuetitle}{%
usebibmacro{journal}%
setunit*{addcommaspace}%
iffieldundef{series}
{}
{newunit
printfield{series}%
setunit{addspace}}%
usebibmacro{volume+number+eid}%
setunit{addspace}%
usebibmacro{issue+date}%
setunit{addcolonspace}%
usebibmacro{issue}%
newunit}


%Dort und Sorting Last-First
DeclareNameAlias{sortname}{first-last-bold}

DeclareNameFormat{first-last-bold}{mkbibbold{%
ifgiveninits
{usebibmacro{name:last-first}{namepartfamily}{namepartgiveni}{namepartprefix}{namepartsuffix}}
{usebibmacro{name:last-first}{namepartfamily}{namepartgiven}{namepartprefix}{namepartsuffix}}%
usebibmacro{name:andothers}}}


begin{filecontents}{jobname2.bib}
@Article{Hansen2011,
author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
title = {The Model Confidence Set},
journal = {Econometrica},
year = {2011},
volume = {79},
number = {2},
pages = {453-497},
url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
}

@WWW{Amadeus2018,
author = {Bureau van Dijk},
title = {Amadeus},
year = {2018},
url = {https://www.bvdinfo.com/en-us/our-products/data/international/amadeus},
urldate = {2018-11-24},
}



end{filecontents}
addbibresource{jobname2.bib}

begin{document}
textcite{Hansen2011}
textcite{Amadeus2018}
printbibliography
end{document}


However, I want to specify the citation of the data base as:




Bureau van Dijk (2018). Amadeus. Zugriff am 24.11.2018. www.bdv...




In particular I want surpress the word "url", change the order of the site and the date, replace the word "besucht am" with "Zugriff am" without parantheses and in contrast to the citation of the article, the colon is to be replaced by a simple dot before the year









share



























    0














    I am trying to specify the citation of a data base. Consider the following MWE with two entrances:`



    documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
    usepackage[T1]{fontenc}
    usepackage[utf8]{inputenc}
    usepackage{lmodern}
    usepackage[ngerman]{babel}
    usepackage{csquotes}

    usepackage{filecontents}

    %Bibliotheken
    usepackage
    [style=ext-authoryear,labelnumber, useprefix=true,
    sorting=nyt,maxbibnames=9,maxcitenames=3,uniquelist=false, backend=biber,
    doi=false,isbn=false,url=false,
    uniquename=false,bibencoding=utf8, date=year, giveninits=true, terseinits=false, dashed=false]
    {biblatex}


    %Doppelpunkt nach Jahr
    renewcommand{labelnamepunct}{addcolonspace}

    %Remove Dot after volume
    renewbibmacro*{volume+number+eid}{%
    printfield{volume}%
    % setunit*{adddot}% DELETED
    % setunit*{addnbspace}% NEW (optional); there's also addnbthinspace
    printfield{number}%
    setunit{addcommaspace}%
    printfield{eid}}
    DeclareFieldFormat[article]{number}{mkbibparens{#1}}

    % Number of articles in parentheses
    DeclareFieldFormat[article]{number}{mkbibparens{#1}}

    %Dot after journal title
    DeclareFieldFormat{journaltitle}{{#1}isdot}

    renewbibmacro*{journal+issuetitle}{%
    usebibmacro{journal}%
    setunit*{addcommaspace}%
    iffieldundef{series}
    {}
    {newunit
    printfield{series}%
    setunit{addspace}}%
    usebibmacro{volume+number+eid}%
    setunit{addspace}%
    usebibmacro{issue+date}%
    setunit{addcolonspace}%
    usebibmacro{issue}%
    newunit}


    %Dort und Sorting Last-First
    DeclareNameAlias{sortname}{first-last-bold}

    DeclareNameFormat{first-last-bold}{mkbibbold{%
    ifgiveninits
    {usebibmacro{name:last-first}{namepartfamily}{namepartgiveni}{namepartprefix}{namepartsuffix}}
    {usebibmacro{name:last-first}{namepartfamily}{namepartgiven}{namepartprefix}{namepartsuffix}}%
    usebibmacro{name:andothers}}}


    begin{filecontents}{jobname2.bib}
    @Article{Hansen2011,
    author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
    title = {The Model Confidence Set},
    journal = {Econometrica},
    year = {2011},
    volume = {79},
    number = {2},
    pages = {453-497},
    url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
    }

    @WWW{Amadeus2018,
    author = {Bureau van Dijk},
    title = {Amadeus},
    year = {2018},
    url = {https://www.bvdinfo.com/en-us/our-products/data/international/amadeus},
    urldate = {2018-11-24},
    }



    end{filecontents}
    addbibresource{jobname2.bib}

    begin{document}
    textcite{Hansen2011}
    textcite{Amadeus2018}
    printbibliography
    end{document}


    However, I want to specify the citation of the data base as:




    Bureau van Dijk (2018). Amadeus. Zugriff am 24.11.2018. www.bdv...




    In particular I want surpress the word "url", change the order of the site and the date, replace the word "besucht am" with "Zugriff am" without parantheses and in contrast to the citation of the article, the colon is to be replaced by a simple dot before the year









    share

























      0












      0








      0







      I am trying to specify the citation of a data base. Consider the following MWE with two entrances:`



      documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage{lmodern}
      usepackage[ngerman]{babel}
      usepackage{csquotes}

      usepackage{filecontents}

      %Bibliotheken
      usepackage
      [style=ext-authoryear,labelnumber, useprefix=true,
      sorting=nyt,maxbibnames=9,maxcitenames=3,uniquelist=false, backend=biber,
      doi=false,isbn=false,url=false,
      uniquename=false,bibencoding=utf8, date=year, giveninits=true, terseinits=false, dashed=false]
      {biblatex}


      %Doppelpunkt nach Jahr
      renewcommand{labelnamepunct}{addcolonspace}

      %Remove Dot after volume
      renewbibmacro*{volume+number+eid}{%
      printfield{volume}%
      % setunit*{adddot}% DELETED
      % setunit*{addnbspace}% NEW (optional); there's also addnbthinspace
      printfield{number}%
      setunit{addcommaspace}%
      printfield{eid}}
      DeclareFieldFormat[article]{number}{mkbibparens{#1}}

      % Number of articles in parentheses
      DeclareFieldFormat[article]{number}{mkbibparens{#1}}

      %Dot after journal title
      DeclareFieldFormat{journaltitle}{{#1}isdot}

      renewbibmacro*{journal+issuetitle}{%
      usebibmacro{journal}%
      setunit*{addcommaspace}%
      iffieldundef{series}
      {}
      {newunit
      printfield{series}%
      setunit{addspace}}%
      usebibmacro{volume+number+eid}%
      setunit{addspace}%
      usebibmacro{issue+date}%
      setunit{addcolonspace}%
      usebibmacro{issue}%
      newunit}


      %Dort und Sorting Last-First
      DeclareNameAlias{sortname}{first-last-bold}

      DeclareNameFormat{first-last-bold}{mkbibbold{%
      ifgiveninits
      {usebibmacro{name:last-first}{namepartfamily}{namepartgiveni}{namepartprefix}{namepartsuffix}}
      {usebibmacro{name:last-first}{namepartfamily}{namepartgiven}{namepartprefix}{namepartsuffix}}%
      usebibmacro{name:andothers}}}


      begin{filecontents}{jobname2.bib}
      @Article{Hansen2011,
      author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
      title = {The Model Confidence Set},
      journal = {Econometrica},
      year = {2011},
      volume = {79},
      number = {2},
      pages = {453-497},
      url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
      }

      @WWW{Amadeus2018,
      author = {Bureau van Dijk},
      title = {Amadeus},
      year = {2018},
      url = {https://www.bvdinfo.com/en-us/our-products/data/international/amadeus},
      urldate = {2018-11-24},
      }



      end{filecontents}
      addbibresource{jobname2.bib}

      begin{document}
      textcite{Hansen2011}
      textcite{Amadeus2018}
      printbibliography
      end{document}


      However, I want to specify the citation of the data base as:




      Bureau van Dijk (2018). Amadeus. Zugriff am 24.11.2018. www.bdv...




      In particular I want surpress the word "url", change the order of the site and the date, replace the word "besucht am" with "Zugriff am" without parantheses and in contrast to the citation of the article, the colon is to be replaced by a simple dot before the year









      share













      I am trying to specify the citation of a data base. Consider the following MWE with two entrances:`



      documentclass[12pt, bibliography=totocnumbered, listof=totoc]{scrartcl}
      usepackage[T1]{fontenc}
      usepackage[utf8]{inputenc}
      usepackage{lmodern}
      usepackage[ngerman]{babel}
      usepackage{csquotes}

      usepackage{filecontents}

      %Bibliotheken
      usepackage
      [style=ext-authoryear,labelnumber, useprefix=true,
      sorting=nyt,maxbibnames=9,maxcitenames=3,uniquelist=false, backend=biber,
      doi=false,isbn=false,url=false,
      uniquename=false,bibencoding=utf8, date=year, giveninits=true, terseinits=false, dashed=false]
      {biblatex}


      %Doppelpunkt nach Jahr
      renewcommand{labelnamepunct}{addcolonspace}

      %Remove Dot after volume
      renewbibmacro*{volume+number+eid}{%
      printfield{volume}%
      % setunit*{adddot}% DELETED
      % setunit*{addnbspace}% NEW (optional); there's also addnbthinspace
      printfield{number}%
      setunit{addcommaspace}%
      printfield{eid}}
      DeclareFieldFormat[article]{number}{mkbibparens{#1}}

      % Number of articles in parentheses
      DeclareFieldFormat[article]{number}{mkbibparens{#1}}

      %Dot after journal title
      DeclareFieldFormat{journaltitle}{{#1}isdot}

      renewbibmacro*{journal+issuetitle}{%
      usebibmacro{journal}%
      setunit*{addcommaspace}%
      iffieldundef{series}
      {}
      {newunit
      printfield{series}%
      setunit{addspace}}%
      usebibmacro{volume+number+eid}%
      setunit{addspace}%
      usebibmacro{issue+date}%
      setunit{addcolonspace}%
      usebibmacro{issue}%
      newunit}


      %Dort und Sorting Last-First
      DeclareNameAlias{sortname}{first-last-bold}

      DeclareNameFormat{first-last-bold}{mkbibbold{%
      ifgiveninits
      {usebibmacro{name:last-first}{namepartfamily}{namepartgiveni}{namepartprefix}{namepartsuffix}}
      {usebibmacro{name:last-first}{namepartfamily}{namepartgiven}{namepartprefix}{namepartsuffix}}%
      usebibmacro{name:andothers}}}


      begin{filecontents}{jobname2.bib}
      @Article{Hansen2011,
      author = {Hansen, Peter R. and Lunde, Asger and Nason, James M.},
      title = {The Model Confidence Set},
      journal = {Econometrica},
      year = {2011},
      volume = {79},
      number = {2},
      pages = {453-497},
      url = {https://EconPapers.repec.org/RePEc:ecm:emetrp:v:79:y:2011:i:2:p:453-497},
      }

      @WWW{Amadeus2018,
      author = {Bureau van Dijk},
      title = {Amadeus},
      year = {2018},
      url = {https://www.bvdinfo.com/en-us/our-products/data/international/amadeus},
      urldate = {2018-11-24},
      }



      end{filecontents}
      addbibresource{jobname2.bib}

      begin{document}
      textcite{Hansen2011}
      textcite{Amadeus2018}
      printbibliography
      end{document}


      However, I want to specify the citation of the data base as:




      Bureau van Dijk (2018). Amadeus. Zugriff am 24.11.2018. www.bdv...




      In particular I want surpress the word "url", change the order of the site and the date, replace the word "besucht am" with "Zugriff am" without parantheses and in contrast to the citation of the article, the colon is to be replaced by a simple dot before the year







      biblatex bibliographies citing urls





      share












      share










      share



      share










      asked 6 mins ago









      Vala

      1276




      1276



























          active

          oldest

          votes











          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%2f467334%2fredefining-www-entrances-in-biblatex%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f467334%2fredefining-www-entrances-in-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

          サソリ

          広島県道265号伴広島線

          Accessing regular linux commands in Huawei's Dopra Linux