Ignore citations in captions in list of figures when numbering












19















When using the cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the document ends up being [42]).



Is there any way to get BibTeX to ignore the listoffigures section when numbering?










share|improve this question





























    19















    When using the cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the document ends up being [42]).



    Is there any way to get BibTeX to ignore the listoffigures section when numbering?










    share|improve this question



























      19












      19








      19


      12






      When using the cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the document ends up being [42]).



      Is there any way to get BibTeX to ignore the listoffigures section when numbering?










      share|improve this question
















      When using the cite command in figure captions and the ieeetr bibliography style, then BibTeX numbers the citations as appearing earlier than they do in reality (i.e. the first citation in the document ends up being [42]).



      Is there any way to get BibTeX to ignore the listoffigures section when numbering?







      table-of-contents biblatex numbering captions citing






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 18 '12 at 11:23









      lockstep

      192k53593723




      192k53593723










      asked Nov 27 '11 at 15:51









      StuartStuart

      140115




      140115






















          2 Answers
          2






          active

          oldest

          votes


















          15














          Use the optional argument of caption:



          caption[<Figure title>]{<Figure title> cite{<Source>}}


          EDIT: You'd "still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text". I don't know how to do this using the ieeetr style, but it works out of the box using biblatex:



          documentclass{article}

          usepackage[sorting=none]{biblatex}

          usepackage{filecontents}

          begin{filecontents}{jobname.bib}
          @misc{A01,
          author = {Author, A.},
          year = {2001},
          title = {Alpha},
          }
          @misc{B02,
          author = {Buthor, B.},
          year = {2002},
          title = {Bravo},
          }
          end{filecontents}

          addbibresource{jobname.bib}

          begin{document}

          listoffigures

          section{foo}

          Some text autocite{B02}.

          begin{figure}[!h]
          centering
          rule{1cm}{1cm}
          caption{A figure autocite{A01}}
          end{figure}

          printbibliography

          end{document}


          enter image description here






          share|improve this answer


























          • Thanks for that but I'd still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text. Am I asking too much?

            – Stuart
            Nov 27 '11 at 16:01






          • 1





            that's done it! I converted my document to using biblatex and it works perfectly. Thanks a lot.

            – Stuart
            Nov 27 '11 at 16:59



















          24














          This exact problem is solved by the notoccite package written by Donald Arsenau.



          I have found it throught the worth reading bibtex faq: http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxFAQ.pdf (see question 18).






          share|improve this answer





















          • 4





            usepackage{notoccite} in the preamble does the magic.

            – user79830
            Jun 9 '15 at 23:25








          • 1





            If the link above is not working, the FAQ is available via CTAN at ctan.org/pkg/bibtex

            – owjburnham
            Oct 19 '17 at 13:24











          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%2f36304%2fignore-citations-in-captions-in-list-of-figures-when-numbering%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          15














          Use the optional argument of caption:



          caption[<Figure title>]{<Figure title> cite{<Source>}}


          EDIT: You'd "still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text". I don't know how to do this using the ieeetr style, but it works out of the box using biblatex:



          documentclass{article}

          usepackage[sorting=none]{biblatex}

          usepackage{filecontents}

          begin{filecontents}{jobname.bib}
          @misc{A01,
          author = {Author, A.},
          year = {2001},
          title = {Alpha},
          }
          @misc{B02,
          author = {Buthor, B.},
          year = {2002},
          title = {Bravo},
          }
          end{filecontents}

          addbibresource{jobname.bib}

          begin{document}

          listoffigures

          section{foo}

          Some text autocite{B02}.

          begin{figure}[!h]
          centering
          rule{1cm}{1cm}
          caption{A figure autocite{A01}}
          end{figure}

          printbibliography

          end{document}


          enter image description here






          share|improve this answer


























          • Thanks for that but I'd still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text. Am I asking too much?

            – Stuart
            Nov 27 '11 at 16:01






          • 1





            that's done it! I converted my document to using biblatex and it works perfectly. Thanks a lot.

            – Stuart
            Nov 27 '11 at 16:59
















          15














          Use the optional argument of caption:



          caption[<Figure title>]{<Figure title> cite{<Source>}}


          EDIT: You'd "still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text". I don't know how to do this using the ieeetr style, but it works out of the box using biblatex:



          documentclass{article}

          usepackage[sorting=none]{biblatex}

          usepackage{filecontents}

          begin{filecontents}{jobname.bib}
          @misc{A01,
          author = {Author, A.},
          year = {2001},
          title = {Alpha},
          }
          @misc{B02,
          author = {Buthor, B.},
          year = {2002},
          title = {Bravo},
          }
          end{filecontents}

          addbibresource{jobname.bib}

          begin{document}

          listoffigures

          section{foo}

          Some text autocite{B02}.

          begin{figure}[!h]
          centering
          rule{1cm}{1cm}
          caption{A figure autocite{A01}}
          end{figure}

          printbibliography

          end{document}


          enter image description here






          share|improve this answer


























          • Thanks for that but I'd still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text. Am I asking too much?

            – Stuart
            Nov 27 '11 at 16:01






          • 1





            that's done it! I converted my document to using biblatex and it works perfectly. Thanks a lot.

            – Stuart
            Nov 27 '11 at 16:59














          15












          15








          15







          Use the optional argument of caption:



          caption[<Figure title>]{<Figure title> cite{<Source>}}


          EDIT: You'd "still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text". I don't know how to do this using the ieeetr style, but it works out of the box using biblatex:



          documentclass{article}

          usepackage[sorting=none]{biblatex}

          usepackage{filecontents}

          begin{filecontents}{jobname.bib}
          @misc{A01,
          author = {Author, A.},
          year = {2001},
          title = {Alpha},
          }
          @misc{B02,
          author = {Buthor, B.},
          year = {2002},
          title = {Bravo},
          }
          end{filecontents}

          addbibresource{jobname.bib}

          begin{document}

          listoffigures

          section{foo}

          Some text autocite{B02}.

          begin{figure}[!h]
          centering
          rule{1cm}{1cm}
          caption{A figure autocite{A01}}
          end{figure}

          printbibliography

          end{document}


          enter image description here






          share|improve this answer















          Use the optional argument of caption:



          caption[<Figure title>]{<Figure title> cite{<Source>}}


          EDIT: You'd "still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text". I don't know how to do this using the ieeetr style, but it works out of the box using biblatex:



          documentclass{article}

          usepackage[sorting=none]{biblatex}

          usepackage{filecontents}

          begin{filecontents}{jobname.bib}
          @misc{A01,
          author = {Author, A.},
          year = {2001},
          title = {Alpha},
          }
          @misc{B02,
          author = {Buthor, B.},
          year = {2002},
          title = {Bravo},
          }
          end{filecontents}

          addbibresource{jobname.bib}

          begin{document}

          listoffigures

          section{foo}

          Some text autocite{B02}.

          begin{figure}[!h]
          centering
          rule{1cm}{1cm}
          caption{A figure autocite{A01}}
          end{figure}

          printbibliography

          end{document}


          enter image description here







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 18 '12 at 11:24

























          answered Nov 27 '11 at 15:55









          locksteplockstep

          192k53593723




          192k53593723













          • Thanks for that but I'd still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text. Am I asking too much?

            – Stuart
            Nov 27 '11 at 16:01






          • 1





            that's done it! I converted my document to using biblatex and it works perfectly. Thanks a lot.

            – Stuart
            Nov 27 '11 at 16:59



















          • Thanks for that but I'd still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text. Am I asking too much?

            – Stuart
            Nov 27 '11 at 16:01






          • 1





            that's done it! I converted my document to using biblatex and it works perfectly. Thanks a lot.

            – Stuart
            Nov 27 '11 at 16:59

















          Thanks for that but I'd still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text. Am I asking too much?

          – Stuart
          Nov 27 '11 at 16:01





          Thanks for that but I'd still like the citation to appear in the caption in the listoffigures but just to have the number as if it were from it's position in the main body of text. Am I asking too much?

          – Stuart
          Nov 27 '11 at 16:01




          1




          1





          that's done it! I converted my document to using biblatex and it works perfectly. Thanks a lot.

          – Stuart
          Nov 27 '11 at 16:59





          that's done it! I converted my document to using biblatex and it works perfectly. Thanks a lot.

          – Stuart
          Nov 27 '11 at 16:59











          24














          This exact problem is solved by the notoccite package written by Donald Arsenau.



          I have found it throught the worth reading bibtex faq: http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxFAQ.pdf (see question 18).






          share|improve this answer





















          • 4





            usepackage{notoccite} in the preamble does the magic.

            – user79830
            Jun 9 '15 at 23:25








          • 1





            If the link above is not working, the FAQ is available via CTAN at ctan.org/pkg/bibtex

            – owjburnham
            Oct 19 '17 at 13:24
















          24














          This exact problem is solved by the notoccite package written by Donald Arsenau.



          I have found it throught the worth reading bibtex faq: http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxFAQ.pdf (see question 18).






          share|improve this answer





















          • 4





            usepackage{notoccite} in the preamble does the magic.

            – user79830
            Jun 9 '15 at 23:25








          • 1





            If the link above is not working, the FAQ is available via CTAN at ctan.org/pkg/bibtex

            – owjburnham
            Oct 19 '17 at 13:24














          24












          24








          24







          This exact problem is solved by the notoccite package written by Donald Arsenau.



          I have found it throught the worth reading bibtex faq: http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxFAQ.pdf (see question 18).






          share|improve this answer















          This exact problem is solved by the notoccite package written by Donald Arsenau.



          I have found it throught the worth reading bibtex faq: http://mirrors.ctan.org/biblio/bibtex/contrib/doc/btxFAQ.pdf (see question 18).







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 12 at 3:11









          KJO

          3,2271221




          3,2271221










          answered Nov 26 '12 at 15:56









          JChJCh

          24122




          24122








          • 4





            usepackage{notoccite} in the preamble does the magic.

            – user79830
            Jun 9 '15 at 23:25








          • 1





            If the link above is not working, the FAQ is available via CTAN at ctan.org/pkg/bibtex

            – owjburnham
            Oct 19 '17 at 13:24














          • 4





            usepackage{notoccite} in the preamble does the magic.

            – user79830
            Jun 9 '15 at 23:25








          • 1





            If the link above is not working, the FAQ is available via CTAN at ctan.org/pkg/bibtex

            – owjburnham
            Oct 19 '17 at 13:24








          4




          4





          usepackage{notoccite} in the preamble does the magic.

          – user79830
          Jun 9 '15 at 23:25







          usepackage{notoccite} in the preamble does the magic.

          – user79830
          Jun 9 '15 at 23:25






          1




          1





          If the link above is not working, the FAQ is available via CTAN at ctan.org/pkg/bibtex

          – owjburnham
          Oct 19 '17 at 13:24





          If the link above is not working, the FAQ is available via CTAN at ctan.org/pkg/bibtex

          – owjburnham
          Oct 19 '17 at 13:24


















          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%2f36304%2fignore-citations-in-captions-in-list-of-figures-when-numbering%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          How to change which sound is reproduced for terminal bell?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

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