How to tweak volcite in biblatex-chicago to cite volume and page using Arabic numerals separated by a colon












3















Is there a simple way to change biblatex-chicago's treatment of volcite commands such that when citing a volume and page of a multi-volume book, it outputs "[vol]:[page(s)]" instead of "vol. [vol], p./pp. [page(s)]"? (But when citing only the volume or volumes, but no page, I don't want it to change the output.)



Here is my MWE:



documentclass{article}

usepackage[notes]{biblatex-chicago}
addbibresource{biblatex-examples.bib}

begin{document}
volcite{1}[50]{knuth:ct}. mancite

volcite{1--2}{knuth:ct}.
end{document}


I would like the output to be




Donald E. Knuth, Computers & Typesetting, 5 vols. (Reading, Mass.: Addison- Wesley, 1984–1986), 1:50.



Knuth, Computers & Typesetting, vols. 1–2.











share|improve this question



























    3















    Is there a simple way to change biblatex-chicago's treatment of volcite commands such that when citing a volume and page of a multi-volume book, it outputs "[vol]:[page(s)]" instead of "vol. [vol], p./pp. [page(s)]"? (But when citing only the volume or volumes, but no page, I don't want it to change the output.)



    Here is my MWE:



    documentclass{article}

    usepackage[notes]{biblatex-chicago}
    addbibresource{biblatex-examples.bib}

    begin{document}
    volcite{1}[50]{knuth:ct}. mancite

    volcite{1--2}{knuth:ct}.
    end{document}


    I would like the output to be




    Donald E. Knuth, Computers & Typesetting, 5 vols. (Reading, Mass.: Addison- Wesley, 1984–1986), 1:50.



    Knuth, Computers & Typesetting, vols. 1–2.











    share|improve this question

























      3












      3








      3








      Is there a simple way to change biblatex-chicago's treatment of volcite commands such that when citing a volume and page of a multi-volume book, it outputs "[vol]:[page(s)]" instead of "vol. [vol], p./pp. [page(s)]"? (But when citing only the volume or volumes, but no page, I don't want it to change the output.)



      Here is my MWE:



      documentclass{article}

      usepackage[notes]{biblatex-chicago}
      addbibresource{biblatex-examples.bib}

      begin{document}
      volcite{1}[50]{knuth:ct}. mancite

      volcite{1--2}{knuth:ct}.
      end{document}


      I would like the output to be




      Donald E. Knuth, Computers & Typesetting, 5 vols. (Reading, Mass.: Addison- Wesley, 1984–1986), 1:50.



      Knuth, Computers & Typesetting, vols. 1–2.











      share|improve this question














      Is there a simple way to change biblatex-chicago's treatment of volcite commands such that when citing a volume and page of a multi-volume book, it outputs "[vol]:[page(s)]" instead of "vol. [vol], p./pp. [page(s)]"? (But when citing only the volume or volumes, but no page, I don't want it to change the output.)



      Here is my MWE:



      documentclass{article}

      usepackage[notes]{biblatex-chicago}
      addbibresource{biblatex-examples.bib}

      begin{document}
      volcite{1}[50]{knuth:ct}. mancite

      volcite{1--2}{knuth:ct}.
      end{document}


      I would like the output to be




      Donald E. Knuth, Computers & Typesetting, 5 vols. (Reading, Mass.: Addison- Wesley, 1984–1986), 1:50.



      Knuth, Computers & Typesetting, vols. 1–2.








      biblatex citing biblatex-chicago






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 27 at 3:14









      Alex RobertsAlex Roberts

      501211




      501211






















          1 Answer
          1






          active

          oldest

          votes


















          4














          You can do this by redefining volcitedelim and mkvolcitenote.



          The one caveat is that something like volcite{1}[a note]{knuth:ct} will give slightly unexpected results. But is is easy enough to work around by putting non-page number postnotes outside the citation command.



          documentclass{article}

          usepackage[notes]{biblatex-chicago}
          addbibresource{biblatex-examples.bib}

          renewcommand*{volcitedelim}{addcolon}

          renewrobustcmd*{mkvolcitenote}[2]{%
          ifblank{#2}
          {printtext[volcitevolume]{#1}}
          {printtext{#1}volcitedelimprinttext{#2}}}

          begin{document}
          volcite{1}[50]{knuth:ct}. mancite

          volcite{1--2}{knuth:ct}.
          end{document}


          output






          share|improve this answer
























          • Thank you! This is perfect. I noticed that the style guidelines I am looking at eliminate the comma after shorthands in the case of a multivolume work, e.g., "CCAG 5:102" instead of "CCAG, 5:102". (But still keeping the comma in the case of a shorthand followed by just a page number.) Is there an extra line one could add for that functionality?

            – Alex Roberts
            Jan 27 at 16:36








          • 2





            @AlexRoberts, this is probably worth a separate question. biblatex-chicago is not always easy to modify and you will get a better quality of answer if others see it too.

            – David Purton
            Jan 28 at 10:19











          • you're right, I should make it a separate question. I'll do that now.

            – Alex Roberts
            Jan 28 at 15:42











          • The separate question about the comma is here.

            – Alex Roberts
            Jan 28 at 16:02











          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%2f472053%2fhow-to-tweak-volcite-in-biblatex-chicago-to-cite-volume-and-page-using-arabic-n%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














          You can do this by redefining volcitedelim and mkvolcitenote.



          The one caveat is that something like volcite{1}[a note]{knuth:ct} will give slightly unexpected results. But is is easy enough to work around by putting non-page number postnotes outside the citation command.



          documentclass{article}

          usepackage[notes]{biblatex-chicago}
          addbibresource{biblatex-examples.bib}

          renewcommand*{volcitedelim}{addcolon}

          renewrobustcmd*{mkvolcitenote}[2]{%
          ifblank{#2}
          {printtext[volcitevolume]{#1}}
          {printtext{#1}volcitedelimprinttext{#2}}}

          begin{document}
          volcite{1}[50]{knuth:ct}. mancite

          volcite{1--2}{knuth:ct}.
          end{document}


          output






          share|improve this answer
























          • Thank you! This is perfect. I noticed that the style guidelines I am looking at eliminate the comma after shorthands in the case of a multivolume work, e.g., "CCAG 5:102" instead of "CCAG, 5:102". (But still keeping the comma in the case of a shorthand followed by just a page number.) Is there an extra line one could add for that functionality?

            – Alex Roberts
            Jan 27 at 16:36








          • 2





            @AlexRoberts, this is probably worth a separate question. biblatex-chicago is not always easy to modify and you will get a better quality of answer if others see it too.

            – David Purton
            Jan 28 at 10:19











          • you're right, I should make it a separate question. I'll do that now.

            – Alex Roberts
            Jan 28 at 15:42











          • The separate question about the comma is here.

            – Alex Roberts
            Jan 28 at 16:02
















          4














          You can do this by redefining volcitedelim and mkvolcitenote.



          The one caveat is that something like volcite{1}[a note]{knuth:ct} will give slightly unexpected results. But is is easy enough to work around by putting non-page number postnotes outside the citation command.



          documentclass{article}

          usepackage[notes]{biblatex-chicago}
          addbibresource{biblatex-examples.bib}

          renewcommand*{volcitedelim}{addcolon}

          renewrobustcmd*{mkvolcitenote}[2]{%
          ifblank{#2}
          {printtext[volcitevolume]{#1}}
          {printtext{#1}volcitedelimprinttext{#2}}}

          begin{document}
          volcite{1}[50]{knuth:ct}. mancite

          volcite{1--2}{knuth:ct}.
          end{document}


          output






          share|improve this answer
























          • Thank you! This is perfect. I noticed that the style guidelines I am looking at eliminate the comma after shorthands in the case of a multivolume work, e.g., "CCAG 5:102" instead of "CCAG, 5:102". (But still keeping the comma in the case of a shorthand followed by just a page number.) Is there an extra line one could add for that functionality?

            – Alex Roberts
            Jan 27 at 16:36








          • 2





            @AlexRoberts, this is probably worth a separate question. biblatex-chicago is not always easy to modify and you will get a better quality of answer if others see it too.

            – David Purton
            Jan 28 at 10:19











          • you're right, I should make it a separate question. I'll do that now.

            – Alex Roberts
            Jan 28 at 15:42











          • The separate question about the comma is here.

            – Alex Roberts
            Jan 28 at 16:02














          4












          4








          4







          You can do this by redefining volcitedelim and mkvolcitenote.



          The one caveat is that something like volcite{1}[a note]{knuth:ct} will give slightly unexpected results. But is is easy enough to work around by putting non-page number postnotes outside the citation command.



          documentclass{article}

          usepackage[notes]{biblatex-chicago}
          addbibresource{biblatex-examples.bib}

          renewcommand*{volcitedelim}{addcolon}

          renewrobustcmd*{mkvolcitenote}[2]{%
          ifblank{#2}
          {printtext[volcitevolume]{#1}}
          {printtext{#1}volcitedelimprinttext{#2}}}

          begin{document}
          volcite{1}[50]{knuth:ct}. mancite

          volcite{1--2}{knuth:ct}.
          end{document}


          output






          share|improve this answer













          You can do this by redefining volcitedelim and mkvolcitenote.



          The one caveat is that something like volcite{1}[a note]{knuth:ct} will give slightly unexpected results. But is is easy enough to work around by putting non-page number postnotes outside the citation command.



          documentclass{article}

          usepackage[notes]{biblatex-chicago}
          addbibresource{biblatex-examples.bib}

          renewcommand*{volcitedelim}{addcolon}

          renewrobustcmd*{mkvolcitenote}[2]{%
          ifblank{#2}
          {printtext[volcitevolume]{#1}}
          {printtext{#1}volcitedelimprinttext{#2}}}

          begin{document}
          volcite{1}[50]{knuth:ct}. mancite

          volcite{1--2}{knuth:ct}.
          end{document}


          output







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 27 at 7:03









          David PurtonDavid Purton

          9,3301835




          9,3301835













          • Thank you! This is perfect. I noticed that the style guidelines I am looking at eliminate the comma after shorthands in the case of a multivolume work, e.g., "CCAG 5:102" instead of "CCAG, 5:102". (But still keeping the comma in the case of a shorthand followed by just a page number.) Is there an extra line one could add for that functionality?

            – Alex Roberts
            Jan 27 at 16:36








          • 2





            @AlexRoberts, this is probably worth a separate question. biblatex-chicago is not always easy to modify and you will get a better quality of answer if others see it too.

            – David Purton
            Jan 28 at 10:19











          • you're right, I should make it a separate question. I'll do that now.

            – Alex Roberts
            Jan 28 at 15:42











          • The separate question about the comma is here.

            – Alex Roberts
            Jan 28 at 16:02



















          • Thank you! This is perfect. I noticed that the style guidelines I am looking at eliminate the comma after shorthands in the case of a multivolume work, e.g., "CCAG 5:102" instead of "CCAG, 5:102". (But still keeping the comma in the case of a shorthand followed by just a page number.) Is there an extra line one could add for that functionality?

            – Alex Roberts
            Jan 27 at 16:36








          • 2





            @AlexRoberts, this is probably worth a separate question. biblatex-chicago is not always easy to modify and you will get a better quality of answer if others see it too.

            – David Purton
            Jan 28 at 10:19











          • you're right, I should make it a separate question. I'll do that now.

            – Alex Roberts
            Jan 28 at 15:42











          • The separate question about the comma is here.

            – Alex Roberts
            Jan 28 at 16:02

















          Thank you! This is perfect. I noticed that the style guidelines I am looking at eliminate the comma after shorthands in the case of a multivolume work, e.g., "CCAG 5:102" instead of "CCAG, 5:102". (But still keeping the comma in the case of a shorthand followed by just a page number.) Is there an extra line one could add for that functionality?

          – Alex Roberts
          Jan 27 at 16:36







          Thank you! This is perfect. I noticed that the style guidelines I am looking at eliminate the comma after shorthands in the case of a multivolume work, e.g., "CCAG 5:102" instead of "CCAG, 5:102". (But still keeping the comma in the case of a shorthand followed by just a page number.) Is there an extra line one could add for that functionality?

          – Alex Roberts
          Jan 27 at 16:36






          2




          2





          @AlexRoberts, this is probably worth a separate question. biblatex-chicago is not always easy to modify and you will get a better quality of answer if others see it too.

          – David Purton
          Jan 28 at 10:19





          @AlexRoberts, this is probably worth a separate question. biblatex-chicago is not always easy to modify and you will get a better quality of answer if others see it too.

          – David Purton
          Jan 28 at 10:19













          you're right, I should make it a separate question. I'll do that now.

          – Alex Roberts
          Jan 28 at 15:42





          you're right, I should make it a separate question. I'll do that now.

          – Alex Roberts
          Jan 28 at 15:42













          The separate question about the comma is here.

          – Alex Roberts
          Jan 28 at 16:02





          The separate question about the comma is here.

          – Alex Roberts
          Jan 28 at 16:02


















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f472053%2fhow-to-tweak-volcite-in-biblatex-chicago-to-cite-volume-and-page-using-arabic-n%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

          Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

          ComboBox Display Member on multiple fields

          Is it possible to collect Nectar points via Trainline?