authorindex+natbib producing incorrect page numbersSuperscript page numbers with natbibHyperlinking page...

Why didn't the Space Shuttle bounce back into space as many times as possible so as to lose a lot of kinetic energy up there?

How to limit Drive Letters Windows assigns to new removable USB drives

Implications of cigar-shaped bodies having rings?

Do I have an "anti-research" personality?

What is the smallest unit of eos?

Converting a sprinkler system's 24V AC outputs to 3.3V DC logic inputs

How would 10 generations of living underground change the human body?

Is it idiomatic to construct against `this`

Is there really no use for MD5 anymore?

"The cow" OR "a cow" OR "cows" in this context

Who was the lone kid in the line of people at the lake at the end of Avengers: Endgame?

Which big number is bigger?

What is the philosophical significance of speech acts/implicature?

How to not starve gigantic beasts

First time hit, with spinach? A little bit?

What does the integral of a function times a function of a random variable represent, conceptually?

Don’t seats that recline flat defeat the purpose of having seatbelts?

What happens to Mjolnir (Thor's hammer) at the end of Endgame?

Map of water taps to fill bottles

How did Captain America manage to do this?

How to denote matrix elements succinctly?

How does Captain America channel this power?

Was there a shared-world project before "Thieves World"?

I preordered a game on my Xbox while on the home screen of my friend's account. Which of us owns the game?



authorindex+natbib producing incorrect page numbers


Superscript page numbers with natbibHyperlinking page numbers and possessive in natbibNatbib: Multiple citations with page numbers in one bracketIndex both authors and subjects with authorindex and makeindexdebugging authorindexNatbib numbers orderpackage authorindex supported?numbers option in acmart natbibAuthorindex with natlib fixes do not workNatbib Error providecommandNAT@force@numbers{}NAT@force@numbers













0















I am using natbib and authorindex. The authorindex manual, section 7.2.3, indicates that there is a conflict between the two packages and suggests a fix that involves creating a natbib.cfg file. When I do this, the author index produces incorrect page numbers. I suspect the problem is in the natbib.cfg file, but I am not familiar enough with that part of LaTeX to interpret the code in that file. Here is a MWE:



mwe.tex



documentclass[12pt]{article}

usepackage[english]{babel}
usepackage{blindtext}
usepackage[biblabels,editors,firstabbrev]{authorindex}

usepackage{natbib}

begin{document}

blindtext[7]

citet{Ha13}

bibliographystyle{abbrvnat}
bibliography{mybib}

section*{Author Index}

printauthorindex

end{document}


mybib.bib



@article{Ha13,
Author = {Harris, Ford W.},
Journal = {Factory: The Magazine of Management},
Number = {2},
Pages = {135-136, 152},
Title = {How Many Parts to Make at Once},
Volume = {10},
Year = {1913}}


natbib.cfg



% natbib.cfg
AtBeginDocument{%
@ifpackageloaded{authorindex}{%
ifNAT@numbers
letorg@@citexNAT@citexnum
else
letorg@@citexNAT@citex
fi
def@citex[#1][#2]#3{%
typeout{indexing: [#1][#2]{#3}}%
org@@citex[#1][#2]{#3}%
@aicitey{#3}}%
renewcommandNAT@wrout[5]{%
if@filesw{%
letprotectnoexpandlet~relax
immediatewrite@auxout{stringaibibcite{#5}{#1}}%
immediatewrite@auxout{stringbibcite{#5}{{#1}{#2}{{#3}}{{#4}}}}}%
fi}}{}}
endinput


I am compiling the document as latex > bibtex > latex > authorindex > latex. All of these commands are run from TeXShop, except for authorindex, which I run from a Terminal prompt, as authorindex mwe.



The reference is cited on page 2 of the document, but it shows up in the author index as page 1:



enter image description here










share|improve this question



























    0















    I am using natbib and authorindex. The authorindex manual, section 7.2.3, indicates that there is a conflict between the two packages and suggests a fix that involves creating a natbib.cfg file. When I do this, the author index produces incorrect page numbers. I suspect the problem is in the natbib.cfg file, but I am not familiar enough with that part of LaTeX to interpret the code in that file. Here is a MWE:



    mwe.tex



    documentclass[12pt]{article}

    usepackage[english]{babel}
    usepackage{blindtext}
    usepackage[biblabels,editors,firstabbrev]{authorindex}

    usepackage{natbib}

    begin{document}

    blindtext[7]

    citet{Ha13}

    bibliographystyle{abbrvnat}
    bibliography{mybib}

    section*{Author Index}

    printauthorindex

    end{document}


    mybib.bib



    @article{Ha13,
    Author = {Harris, Ford W.},
    Journal = {Factory: The Magazine of Management},
    Number = {2},
    Pages = {135-136, 152},
    Title = {How Many Parts to Make at Once},
    Volume = {10},
    Year = {1913}}


    natbib.cfg



    % natbib.cfg
    AtBeginDocument{%
    @ifpackageloaded{authorindex}{%
    ifNAT@numbers
    letorg@@citexNAT@citexnum
    else
    letorg@@citexNAT@citex
    fi
    def@citex[#1][#2]#3{%
    typeout{indexing: [#1][#2]{#3}}%
    org@@citex[#1][#2]{#3}%
    @aicitey{#3}}%
    renewcommandNAT@wrout[5]{%
    if@filesw{%
    letprotectnoexpandlet~relax
    immediatewrite@auxout{stringaibibcite{#5}{#1}}%
    immediatewrite@auxout{stringbibcite{#5}{{#1}{#2}{{#3}}{{#4}}}}}%
    fi}}{}}
    endinput


    I am compiling the document as latex > bibtex > latex > authorindex > latex. All of these commands are run from TeXShop, except for authorindex, which I run from a Terminal prompt, as authorindex mwe.



    The reference is cited on page 2 of the document, but it shows up in the author index as page 1:



    enter image description here










    share|improve this question

























      0












      0








      0








      I am using natbib and authorindex. The authorindex manual, section 7.2.3, indicates that there is a conflict between the two packages and suggests a fix that involves creating a natbib.cfg file. When I do this, the author index produces incorrect page numbers. I suspect the problem is in the natbib.cfg file, but I am not familiar enough with that part of LaTeX to interpret the code in that file. Here is a MWE:



      mwe.tex



      documentclass[12pt]{article}

      usepackage[english]{babel}
      usepackage{blindtext}
      usepackage[biblabels,editors,firstabbrev]{authorindex}

      usepackage{natbib}

      begin{document}

      blindtext[7]

      citet{Ha13}

      bibliographystyle{abbrvnat}
      bibliography{mybib}

      section*{Author Index}

      printauthorindex

      end{document}


      mybib.bib



      @article{Ha13,
      Author = {Harris, Ford W.},
      Journal = {Factory: The Magazine of Management},
      Number = {2},
      Pages = {135-136, 152},
      Title = {How Many Parts to Make at Once},
      Volume = {10},
      Year = {1913}}


      natbib.cfg



      % natbib.cfg
      AtBeginDocument{%
      @ifpackageloaded{authorindex}{%
      ifNAT@numbers
      letorg@@citexNAT@citexnum
      else
      letorg@@citexNAT@citex
      fi
      def@citex[#1][#2]#3{%
      typeout{indexing: [#1][#2]{#3}}%
      org@@citex[#1][#2]{#3}%
      @aicitey{#3}}%
      renewcommandNAT@wrout[5]{%
      if@filesw{%
      letprotectnoexpandlet~relax
      immediatewrite@auxout{stringaibibcite{#5}{#1}}%
      immediatewrite@auxout{stringbibcite{#5}{{#1}{#2}{{#3}}{{#4}}}}}%
      fi}}{}}
      endinput


      I am compiling the document as latex > bibtex > latex > authorindex > latex. All of these commands are run from TeXShop, except for authorindex, which I run from a Terminal prompt, as authorindex mwe.



      The reference is cited on page 2 of the document, but it shows up in the author index as page 1:



      enter image description here










      share|improve this question














      I am using natbib and authorindex. The authorindex manual, section 7.2.3, indicates that there is a conflict between the two packages and suggests a fix that involves creating a natbib.cfg file. When I do this, the author index produces incorrect page numbers. I suspect the problem is in the natbib.cfg file, but I am not familiar enough with that part of LaTeX to interpret the code in that file. Here is a MWE:



      mwe.tex



      documentclass[12pt]{article}

      usepackage[english]{babel}
      usepackage{blindtext}
      usepackage[biblabels,editors,firstabbrev]{authorindex}

      usepackage{natbib}

      begin{document}

      blindtext[7]

      citet{Ha13}

      bibliographystyle{abbrvnat}
      bibliography{mybib}

      section*{Author Index}

      printauthorindex

      end{document}


      mybib.bib



      @article{Ha13,
      Author = {Harris, Ford W.},
      Journal = {Factory: The Magazine of Management},
      Number = {2},
      Pages = {135-136, 152},
      Title = {How Many Parts to Make at Once},
      Volume = {10},
      Year = {1913}}


      natbib.cfg



      % natbib.cfg
      AtBeginDocument{%
      @ifpackageloaded{authorindex}{%
      ifNAT@numbers
      letorg@@citexNAT@citexnum
      else
      letorg@@citexNAT@citex
      fi
      def@citex[#1][#2]#3{%
      typeout{indexing: [#1][#2]{#3}}%
      org@@citex[#1][#2]{#3}%
      @aicitey{#3}}%
      renewcommandNAT@wrout[5]{%
      if@filesw{%
      letprotectnoexpandlet~relax
      immediatewrite@auxout{stringaibibcite{#5}{#1}}%
      immediatewrite@auxout{stringbibcite{#5}{{#1}{#2}{{#3}}{{#4}}}}}%
      fi}}{}}
      endinput


      I am compiling the document as latex > bibtex > latex > authorindex > latex. All of these commands are run from TeXShop, except for authorindex, which I run from a Terminal prompt, as authorindex mwe.



      The reference is cited on page 2 of the document, but it shows up in the author index as page 1:



      enter image description here







      bibtex natbib authorindex






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 29 mins ago









      LarrySnyder610LarrySnyder610

      1,0161923




      1,0161923






















          0






          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%2f487853%2fauthorindexnatbib-producing-incorrect-page-numbers%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f487853%2fauthorindexnatbib-producing-incorrect-page-numbers%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

          Why does my Macbook overheat and use so much CPU and energy when on YouTube?Why do so many insist on using...

          How to prevent page numbers from appearing on glossaries?How to remove a dot and a page number in the...

          Puerta de Hutt Referencias Enlaces externos Menú de navegación15°58′00″S 5°42′00″O /...