hyperref inside refsegment always linking to first bibliography, not current bibliographyReplacement of titlesec in KOMA scrreprtPage header with references at end of each chapterreferencing to citation in a refsectionMultiple global bibliographies and local bibliographies after each section for non-global entriesLink disambiguation in document with multiple bibliographiesHyperref links in bibliography do not workHyperref not linking ToCCitations not linking to bibliographyBibliography in LaTeX with Biblatex and Biber as backendCiting (author, journalabbr., year) neededhyperref not linking index pagesHyperref linking to first page when using captionlistentryTitle not showig in bibliography due to modification of .bst fileCiting from an Encyclopedia with sub vocebibliography conflict vs hyperref

how to draw discrete time diagram in tikz

Gantt Chart like rectangles with log scale

A Cautionary Suggestion

Recruiter wants very extensive technical details about all of my previous work

Error in Twin Prime Conjecture

How can I track script which gives me "command not found" right after the login?

What approach do we need to follow for projects without a test environment?

Why Choose Less Effective Armour Types?

Is a party consisting of only a bard, a cleric, and a warlock functional long-term?

How do anti-virus programs start at Windows boot?

Brexit - No Deal Rejection

Life insurance that covers only simultaneous/dual deaths

Awsome yet unlucky path traversal

Time travel from stationary position?

Unexpected result from ArcLength

My adviser wants to be the first author

How could a scammer know the apps on my phone / iTunes account?

Why one should not leave fingerprints on bulbs and plugs?

What do Xenomorphs eat in the Alien series?

What did Alexander Pope mean by "Expletives their feeble Aid do join"?

How to make healing in an exploration game interesting

Why did it take so long to abandon sail after steamships were demonstrated?

My Graph Theory Students

compactness of a set where am I going wrong



hyperref inside refsegment always linking to first bibliography, not current bibliography


Replacement of titlesec in KOMA scrreprtPage header with references at end of each chapterreferencing to citation in a refsectionMultiple global bibliographies and local bibliographies after each section for non-global entriesLink disambiguation in document with multiple bibliographiesHyperref links in bibliography do not workHyperref not linking ToCCitations not linking to bibliographyBibliography in LaTeX with Biblatex and Biber as backendCiting (author, journalabbr., year) neededhyperref not linking index pagesHyperref linking to first page when using captionlistentryTitle not showig in bibliography due to modification of .bst fileCiting from an Encyclopedia with sub vocebibliography conflict vs hyperref













2















It seems as if the citation links created by hyperref always direct to the first bibliography in which the respective entry is listed instead of the current one. Is there any way to fix this behaviour?



documentclassarticle
usepackagefilecontents
beginfilecontentsMWE.bib
@articlearticleA,
author = Clark Kent,
title = On why superman is stronger than batman,
journal = The daily planet,
year = 2016,

endfilecontents
usepackage[backend=biber,style=alphabetic]biblatex
addbibresourceMWE.bib

usepackage[colorlinks]hyperref
hypersetupurlcolor=blue, citecolor=blue, linkcolor=blue

begindocument

beginrefsegment
sectionSection Title A
citearticleA
printbibliography[segment=therefsegment]
endrefsegment

newpage
beginrefsegment
sectionSection Title B
This links to the bibliography of section A instead of B: citearticleA
printbibliography[segment=therefsegment]
endrefsegment

newpage
beginrefsegment
sectionSection Title C
This links to the bibliography of section A instead of C: citearticleA
printbibliography[segment=therefsegment]
endrefsegment
enddocument









share|improve this question




























    2















    It seems as if the citation links created by hyperref always direct to the first bibliography in which the respective entry is listed instead of the current one. Is there any way to fix this behaviour?



    documentclassarticle
    usepackagefilecontents
    beginfilecontentsMWE.bib
    @articlearticleA,
    author = Clark Kent,
    title = On why superman is stronger than batman,
    journal = The daily planet,
    year = 2016,

    endfilecontents
    usepackage[backend=biber,style=alphabetic]biblatex
    addbibresourceMWE.bib

    usepackage[colorlinks]hyperref
    hypersetupurlcolor=blue, citecolor=blue, linkcolor=blue

    begindocument

    beginrefsegment
    sectionSection Title A
    citearticleA
    printbibliography[segment=therefsegment]
    endrefsegment

    newpage
    beginrefsegment
    sectionSection Title B
    This links to the bibliography of section A instead of B: citearticleA
    printbibliography[segment=therefsegment]
    endrefsegment

    newpage
    beginrefsegment
    sectionSection Title C
    This links to the bibliography of section A instead of C: citearticleA
    printbibliography[segment=therefsegment]
    endrefsegment
    enddocument









    share|improve this question


























      2












      2








      2


      1






      It seems as if the citation links created by hyperref always direct to the first bibliography in which the respective entry is listed instead of the current one. Is there any way to fix this behaviour?



      documentclassarticle
      usepackagefilecontents
      beginfilecontentsMWE.bib
      @articlearticleA,
      author = Clark Kent,
      title = On why superman is stronger than batman,
      journal = The daily planet,
      year = 2016,

      endfilecontents
      usepackage[backend=biber,style=alphabetic]biblatex
      addbibresourceMWE.bib

      usepackage[colorlinks]hyperref
      hypersetupurlcolor=blue, citecolor=blue, linkcolor=blue

      begindocument

      beginrefsegment
      sectionSection Title A
      citearticleA
      printbibliography[segment=therefsegment]
      endrefsegment

      newpage
      beginrefsegment
      sectionSection Title B
      This links to the bibliography of section A instead of B: citearticleA
      printbibliography[segment=therefsegment]
      endrefsegment

      newpage
      beginrefsegment
      sectionSection Title C
      This links to the bibliography of section A instead of C: citearticleA
      printbibliography[segment=therefsegment]
      endrefsegment
      enddocument









      share|improve this question
















      It seems as if the citation links created by hyperref always direct to the first bibliography in which the respective entry is listed instead of the current one. Is there any way to fix this behaviour?



      documentclassarticle
      usepackagefilecontents
      beginfilecontentsMWE.bib
      @articlearticleA,
      author = Clark Kent,
      title = On why superman is stronger than batman,
      journal = The daily planet,
      year = 2016,

      endfilecontents
      usepackage[backend=biber,style=alphabetic]biblatex
      addbibresourceMWE.bib

      usepackage[colorlinks]hyperref
      hypersetupurlcolor=blue, citecolor=blue, linkcolor=blue

      begindocument

      beginrefsegment
      sectionSection Title A
      citearticleA
      printbibliography[segment=therefsegment]
      endrefsegment

      newpage
      beginrefsegment
      sectionSection Title B
      This links to the bibliography of section A instead of B: citearticleA
      printbibliography[segment=therefsegment]
      endrefsegment

      newpage
      beginrefsegment
      sectionSection Title C
      This links to the bibliography of section A instead of C: citearticleA
      printbibliography[segment=therefsegment]
      endrefsegment
      enddocument






      biblatex bibliographies hyperref






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 10 '16 at 13:19







      jpb

















      asked Apr 10 '16 at 12:56









      jpbjpb

      1699




      1699




















          2 Answers
          2






          active

          oldest

          votes


















          2














          If you insist you can make links local to both refesction and refsegment.



          makeatletter
          apptoblx@mkhyperref%
          letblx@anchors@empty
          ifundefhyper@natanchorstart
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hypertargetcite.thec@refsection @thec@refsegment @abx@field@entrykey
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorstartthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorend

          apptoblx@mkhyperref%
          protecteddefblx@imc@bibhyperref%
          @ifnextchar[%]
          blx@bibhyperref
          blx@bibhyperref[abx@field@entrykey]%
          ifundefhyper@natanchorstart
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehypertargetcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehyper@natanchorstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natanchorendblx@sfrest
          letblx@imc@ifhyperref@firstoftwo
          defblx@sfspacefactor%
          defblx@sfsave%
          blx@leavevmode
          numgdefblx@sfspacefactor%
          defblx@sfrest%
          ifhmodespacefactorblx@sfrelaxfi
          gdefblx@sfspacefactor
          makeatother


          Is just a copy of the relevant macros from biblatex_.sty with thec@refsection @ extended to thec@refsection @thec@refsegment @ to make the links also local to refsegments.






          share|improve this answer


















          • 1





            This probably solves the problem as posed in the question, but I'm having serious doubts that it can help with the underlying problem.

            – moewe
            Apr 10 '16 at 13:59











          • Actually, thanks alot, it already helped me greatly because now the labels are globally unique (though this was not part of the question) and within a section the links are all sound! However, there are still 24 incidences where I need a cross-refsegment link, which doesn't work because of the added @thec@refsegment @ to the macro. Since 24 is still manageable, is it possible to insert manual links in latex/hyperref?

            – jpb
            Apr 10 '16 at 19:30







          • 1





            @jpb One could probably modify the code above to check for a certain keyword, say, and change the links accordingly. I will have to think about that.

            – moewe
            Apr 11 '16 at 6:07











          • thanks, but I think I currently have a workaround: I am creating, at the beginning of the bib-entry a label with a custom text like [DS09] and instead of using the cite, I use the ref command. Neither very pretty nor very elegant, but it works for my purposes.

            – jpb
            Apr 11 '16 at 7:37


















          2














          First, some clarification regarding the use of refsegmentvs. refsection. Refsections are used if you want different bibliographies at different places of a larger work; e.g. at the end of each chapter. The labels generated are always local to the refsection. In contrast, refsegments are good for having one bibliography at the end which you can then divide into parts (e.g. for each chapter) etc. To quote from the biblatex manual (p. 80):



          On refsections:




          The refsection environment is used in the document body to mark a
          reference section. is environment is useful if you want separate,
          independent bibliographies and bibliography lists in each chapter,
          section, or any other part of a document. Within a reference section,
          all cited works are assigned labels which are local to the
          environment.




          On refsegments:




          The refsegment environment is used in the document body to mark a
          reference segment. is environment is useful if you want one global
          bibliography which is subdivided by chapter, section, or any other
          part of the document.




          So, as you noted in your example, with refsegment, a citation always links back to the first bibliography. But if you use reflection, you get local labels and thus the citations link to the local bibliographies.



          documentclassarticle 
          usepackagefilecontents
          beginfilecontentsMWE.bib
          @articlearticleA,
          author = Clark Kent,
          title = On why superman is stronger than batman,
          journal = The daily planet,
          year = 2016,

          @articlearticleB,
          author = Bruce Wyne,
          title = On why batman is stronger than superman,
          journal = The daily planet,
          year = 2016,

          endfilecontents
          usepackage[backend=biber,style=alphabetic]biblatex
          addbibresourceMWE.bib

          usepackage[colorlinks]hyperref
          hypersetupurlcolor=blue, citecolor=blue, linkcolor=blue

          begindocument

          beginrefsection
          sectionSection Title A
          citearticleA
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title B
          This link to the bibliography : citearticleA\
          This link to the bibliography here: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title C
          This link to the bibliography: citearticleA\
          This link to the bibliography: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          enddocument





          share|improve this answer

























          • Yes, sadly, there are some formal criterias that I cannot realize through refsections. Basically, each section is supposed to have its own bibliography (not necessarily at the end). However at the end of the document there is a list of academic profiles including a list of own publications and any reference to an "own" article should directly refer to the bibliography in the respective academic profile. It is related to this question: tex.stackexchange.com/questions/303054/…

            – jpb
            Apr 10 '16 at 13:25






          • 1





            Should the “own” article only appear in the author profiles? Or is the problem “only” where the citations links to?

            – Daniel
            Apr 10 '16 at 13:39











          • Yes, the "own" article should only appear in the author's profile (e.g. not in the bibliographies at the end of the section) and any citation of that article anywhere should link to the respective bibliography entry in its profile.

            – jpb
            Apr 10 '16 at 13:42






          • 1





            @jpb Your situation is very tricky. You should probably want real refsections, because I assume the different sections/chapters are pretty much independent and have their own bibliography. But then the publication list can't be properly done because there is no way to get a meta-list of all the works by insert author here because everything is kept local.

            – moewe
            Apr 10 '16 at 13:52






          • 2





            @jpb I suppose the way to check if you want refsections or refsegments is to consider the following situation in an author year style. Suppose the first chapter refers to a work by Elk from 2012 titled "Brontosaurus" and the second refers to a work by Elk also from 2012 titled "Triceratops". Would you want both labels to read "Elk 2012", or would you want disambiguation across the sections: "Elk 2012a" and "Elk 2012b"? For disambiguation across sections, you need to use refsegments; if you prefer to keep each section local, use refsection.

            – moewe
            Apr 11 '16 at 6:11











          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%2f303503%2fhyperref-inside-refsegment-always-linking-to-first-bibliography-not-current-bib%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









          2














          If you insist you can make links local to both refesction and refsegment.



          makeatletter
          apptoblx@mkhyperref%
          letblx@anchors@empty
          ifundefhyper@natanchorstart
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hypertargetcite.thec@refsection @thec@refsegment @abx@field@entrykey
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorstartthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorend

          apptoblx@mkhyperref%
          protecteddefblx@imc@bibhyperref%
          @ifnextchar[%]
          blx@bibhyperref
          blx@bibhyperref[abx@field@entrykey]%
          ifundefhyper@natanchorstart
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehypertargetcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehyper@natanchorstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natanchorendblx@sfrest
          letblx@imc@ifhyperref@firstoftwo
          defblx@sfspacefactor%
          defblx@sfsave%
          blx@leavevmode
          numgdefblx@sfspacefactor%
          defblx@sfrest%
          ifhmodespacefactorblx@sfrelaxfi
          gdefblx@sfspacefactor
          makeatother


          Is just a copy of the relevant macros from biblatex_.sty with thec@refsection @ extended to thec@refsection @thec@refsegment @ to make the links also local to refsegments.






          share|improve this answer


















          • 1





            This probably solves the problem as posed in the question, but I'm having serious doubts that it can help with the underlying problem.

            – moewe
            Apr 10 '16 at 13:59











          • Actually, thanks alot, it already helped me greatly because now the labels are globally unique (though this was not part of the question) and within a section the links are all sound! However, there are still 24 incidences where I need a cross-refsegment link, which doesn't work because of the added @thec@refsegment @ to the macro. Since 24 is still manageable, is it possible to insert manual links in latex/hyperref?

            – jpb
            Apr 10 '16 at 19:30







          • 1





            @jpb One could probably modify the code above to check for a certain keyword, say, and change the links accordingly. I will have to think about that.

            – moewe
            Apr 11 '16 at 6:07











          • thanks, but I think I currently have a workaround: I am creating, at the beginning of the bib-entry a label with a custom text like [DS09] and instead of using the cite, I use the ref command. Neither very pretty nor very elegant, but it works for my purposes.

            – jpb
            Apr 11 '16 at 7:37















          2














          If you insist you can make links local to both refesction and refsegment.



          makeatletter
          apptoblx@mkhyperref%
          letblx@anchors@empty
          ifundefhyper@natanchorstart
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hypertargetcite.thec@refsection @thec@refsegment @abx@field@entrykey
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorstartthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorend

          apptoblx@mkhyperref%
          protecteddefblx@imc@bibhyperref%
          @ifnextchar[%]
          blx@bibhyperref
          blx@bibhyperref[abx@field@entrykey]%
          ifundefhyper@natanchorstart
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehypertargetcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehyper@natanchorstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natanchorendblx@sfrest
          letblx@imc@ifhyperref@firstoftwo
          defblx@sfspacefactor%
          defblx@sfsave%
          blx@leavevmode
          numgdefblx@sfspacefactor%
          defblx@sfrest%
          ifhmodespacefactorblx@sfrelaxfi
          gdefblx@sfspacefactor
          makeatother


          Is just a copy of the relevant macros from biblatex_.sty with thec@refsection @ extended to thec@refsection @thec@refsegment @ to make the links also local to refsegments.






          share|improve this answer


















          • 1





            This probably solves the problem as posed in the question, but I'm having serious doubts that it can help with the underlying problem.

            – moewe
            Apr 10 '16 at 13:59











          • Actually, thanks alot, it already helped me greatly because now the labels are globally unique (though this was not part of the question) and within a section the links are all sound! However, there are still 24 incidences where I need a cross-refsegment link, which doesn't work because of the added @thec@refsegment @ to the macro. Since 24 is still manageable, is it possible to insert manual links in latex/hyperref?

            – jpb
            Apr 10 '16 at 19:30







          • 1





            @jpb One could probably modify the code above to check for a certain keyword, say, and change the links accordingly. I will have to think about that.

            – moewe
            Apr 11 '16 at 6:07











          • thanks, but I think I currently have a workaround: I am creating, at the beginning of the bib-entry a label with a custom text like [DS09] and instead of using the cite, I use the ref command. Neither very pretty nor very elegant, but it works for my purposes.

            – jpb
            Apr 11 '16 at 7:37













          2












          2








          2







          If you insist you can make links local to both refesction and refsegment.



          makeatletter
          apptoblx@mkhyperref%
          letblx@anchors@empty
          ifundefhyper@natanchorstart
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hypertargetcite.thec@refsection @thec@refsegment @abx@field@entrykey
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorstartthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorend

          apptoblx@mkhyperref%
          protecteddefblx@imc@bibhyperref%
          @ifnextchar[%]
          blx@bibhyperref
          blx@bibhyperref[abx@field@entrykey]%
          ifundefhyper@natanchorstart
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehypertargetcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehyper@natanchorstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natanchorendblx@sfrest
          letblx@imc@ifhyperref@firstoftwo
          defblx@sfspacefactor%
          defblx@sfsave%
          blx@leavevmode
          numgdefblx@sfspacefactor%
          defblx@sfrest%
          ifhmodespacefactorblx@sfrelaxfi
          gdefblx@sfspacefactor
          makeatother


          Is just a copy of the relevant macros from biblatex_.sty with thec@refsection @ extended to thec@refsection @thec@refsegment @ to make the links also local to refsegments.






          share|improve this answer













          If you insist you can make links local to both refesction and refsegment.



          makeatletter
          apptoblx@mkhyperref%
          letblx@anchors@empty
          ifundefhyper@natanchorstart
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hypertargetcite.thec@refsection @thec@refsegment @abx@field@entrykey
          protecteddefblx@anchor%
          xifinlistthec@refsection @thec@refsegment @abx@field@entrykeyblx@anchors

          listxaddblx@anchorsthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorstartthec@refsection @thec@refsegment @abx@field@entrykey%
          hyper@natanchorend

          apptoblx@mkhyperref%
          protecteddefblx@imc@bibhyperref%
          @ifnextchar[%]
          blx@bibhyperref
          blx@bibhyperref[abx@field@entrykey]%
          ifundefhyper@natanchorstart
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyperlinkcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehypertargetcite.thec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsaveblx@sfrest%
          longdefblx@bibhyperref[#1]#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment @#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhyperlink#1#2%
          blx@sfsavehyper@natlinkstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natlinkendblx@sfrest%
          protectedlongdefblx@imc@bibhypertarget#1#2%
          blx@sfsavehyper@natanchorstartthec@refsection @thec@refsegment:#1blx@sfrest
          #2%
          blx@sfsavehyper@natanchorendblx@sfrest
          letblx@imc@ifhyperref@firstoftwo
          defblx@sfspacefactor%
          defblx@sfsave%
          blx@leavevmode
          numgdefblx@sfspacefactor%
          defblx@sfrest%
          ifhmodespacefactorblx@sfrelaxfi
          gdefblx@sfspacefactor
          makeatother


          Is just a copy of the relevant macros from biblatex_.sty with thec@refsection @ extended to thec@refsection @thec@refsegment @ to make the links also local to refsegments.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Apr 10 '16 at 13:44









          moewemoewe

          93.8k10115353




          93.8k10115353







          • 1





            This probably solves the problem as posed in the question, but I'm having serious doubts that it can help with the underlying problem.

            – moewe
            Apr 10 '16 at 13:59











          • Actually, thanks alot, it already helped me greatly because now the labels are globally unique (though this was not part of the question) and within a section the links are all sound! However, there are still 24 incidences where I need a cross-refsegment link, which doesn't work because of the added @thec@refsegment @ to the macro. Since 24 is still manageable, is it possible to insert manual links in latex/hyperref?

            – jpb
            Apr 10 '16 at 19:30







          • 1





            @jpb One could probably modify the code above to check for a certain keyword, say, and change the links accordingly. I will have to think about that.

            – moewe
            Apr 11 '16 at 6:07











          • thanks, but I think I currently have a workaround: I am creating, at the beginning of the bib-entry a label with a custom text like [DS09] and instead of using the cite, I use the ref command. Neither very pretty nor very elegant, but it works for my purposes.

            – jpb
            Apr 11 '16 at 7:37












          • 1





            This probably solves the problem as posed in the question, but I'm having serious doubts that it can help with the underlying problem.

            – moewe
            Apr 10 '16 at 13:59











          • Actually, thanks alot, it already helped me greatly because now the labels are globally unique (though this was not part of the question) and within a section the links are all sound! However, there are still 24 incidences where I need a cross-refsegment link, which doesn't work because of the added @thec@refsegment @ to the macro. Since 24 is still manageable, is it possible to insert manual links in latex/hyperref?

            – jpb
            Apr 10 '16 at 19:30







          • 1





            @jpb One could probably modify the code above to check for a certain keyword, say, and change the links accordingly. I will have to think about that.

            – moewe
            Apr 11 '16 at 6:07











          • thanks, but I think I currently have a workaround: I am creating, at the beginning of the bib-entry a label with a custom text like [DS09] and instead of using the cite, I use the ref command. Neither very pretty nor very elegant, but it works for my purposes.

            – jpb
            Apr 11 '16 at 7:37







          1




          1





          This probably solves the problem as posed in the question, but I'm having serious doubts that it can help with the underlying problem.

          – moewe
          Apr 10 '16 at 13:59





          This probably solves the problem as posed in the question, but I'm having serious doubts that it can help with the underlying problem.

          – moewe
          Apr 10 '16 at 13:59













          Actually, thanks alot, it already helped me greatly because now the labels are globally unique (though this was not part of the question) and within a section the links are all sound! However, there are still 24 incidences where I need a cross-refsegment link, which doesn't work because of the added @thec@refsegment @ to the macro. Since 24 is still manageable, is it possible to insert manual links in latex/hyperref?

          – jpb
          Apr 10 '16 at 19:30






          Actually, thanks alot, it already helped me greatly because now the labels are globally unique (though this was not part of the question) and within a section the links are all sound! However, there are still 24 incidences where I need a cross-refsegment link, which doesn't work because of the added @thec@refsegment @ to the macro. Since 24 is still manageable, is it possible to insert manual links in latex/hyperref?

          – jpb
          Apr 10 '16 at 19:30





          1




          1





          @jpb One could probably modify the code above to check for a certain keyword, say, and change the links accordingly. I will have to think about that.

          – moewe
          Apr 11 '16 at 6:07





          @jpb One could probably modify the code above to check for a certain keyword, say, and change the links accordingly. I will have to think about that.

          – moewe
          Apr 11 '16 at 6:07













          thanks, but I think I currently have a workaround: I am creating, at the beginning of the bib-entry a label with a custom text like [DS09] and instead of using the cite, I use the ref command. Neither very pretty nor very elegant, but it works for my purposes.

          – jpb
          Apr 11 '16 at 7:37





          thanks, but I think I currently have a workaround: I am creating, at the beginning of the bib-entry a label with a custom text like [DS09] and instead of using the cite, I use the ref command. Neither very pretty nor very elegant, but it works for my purposes.

          – jpb
          Apr 11 '16 at 7:37











          2














          First, some clarification regarding the use of refsegmentvs. refsection. Refsections are used if you want different bibliographies at different places of a larger work; e.g. at the end of each chapter. The labels generated are always local to the refsection. In contrast, refsegments are good for having one bibliography at the end which you can then divide into parts (e.g. for each chapter) etc. To quote from the biblatex manual (p. 80):



          On refsections:




          The refsection environment is used in the document body to mark a
          reference section. is environment is useful if you want separate,
          independent bibliographies and bibliography lists in each chapter,
          section, or any other part of a document. Within a reference section,
          all cited works are assigned labels which are local to the
          environment.




          On refsegments:




          The refsegment environment is used in the document body to mark a
          reference segment. is environment is useful if you want one global
          bibliography which is subdivided by chapter, section, or any other
          part of the document.




          So, as you noted in your example, with refsegment, a citation always links back to the first bibliography. But if you use reflection, you get local labels and thus the citations link to the local bibliographies.



          documentclassarticle 
          usepackagefilecontents
          beginfilecontentsMWE.bib
          @articlearticleA,
          author = Clark Kent,
          title = On why superman is stronger than batman,
          journal = The daily planet,
          year = 2016,

          @articlearticleB,
          author = Bruce Wyne,
          title = On why batman is stronger than superman,
          journal = The daily planet,
          year = 2016,

          endfilecontents
          usepackage[backend=biber,style=alphabetic]biblatex
          addbibresourceMWE.bib

          usepackage[colorlinks]hyperref
          hypersetupurlcolor=blue, citecolor=blue, linkcolor=blue

          begindocument

          beginrefsection
          sectionSection Title A
          citearticleA
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title B
          This link to the bibliography : citearticleA\
          This link to the bibliography here: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title C
          This link to the bibliography: citearticleA\
          This link to the bibliography: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          enddocument





          share|improve this answer

























          • Yes, sadly, there are some formal criterias that I cannot realize through refsections. Basically, each section is supposed to have its own bibliography (not necessarily at the end). However at the end of the document there is a list of academic profiles including a list of own publications and any reference to an "own" article should directly refer to the bibliography in the respective academic profile. It is related to this question: tex.stackexchange.com/questions/303054/…

            – jpb
            Apr 10 '16 at 13:25






          • 1





            Should the “own” article only appear in the author profiles? Or is the problem “only” where the citations links to?

            – Daniel
            Apr 10 '16 at 13:39











          • Yes, the "own" article should only appear in the author's profile (e.g. not in the bibliographies at the end of the section) and any citation of that article anywhere should link to the respective bibliography entry in its profile.

            – jpb
            Apr 10 '16 at 13:42






          • 1





            @jpb Your situation is very tricky. You should probably want real refsections, because I assume the different sections/chapters are pretty much independent and have their own bibliography. But then the publication list can't be properly done because there is no way to get a meta-list of all the works by insert author here because everything is kept local.

            – moewe
            Apr 10 '16 at 13:52






          • 2





            @jpb I suppose the way to check if you want refsections or refsegments is to consider the following situation in an author year style. Suppose the first chapter refers to a work by Elk from 2012 titled "Brontosaurus" and the second refers to a work by Elk also from 2012 titled "Triceratops". Would you want both labels to read "Elk 2012", or would you want disambiguation across the sections: "Elk 2012a" and "Elk 2012b"? For disambiguation across sections, you need to use refsegments; if you prefer to keep each section local, use refsection.

            – moewe
            Apr 11 '16 at 6:11
















          2














          First, some clarification regarding the use of refsegmentvs. refsection. Refsections are used if you want different bibliographies at different places of a larger work; e.g. at the end of each chapter. The labels generated are always local to the refsection. In contrast, refsegments are good for having one bibliography at the end which you can then divide into parts (e.g. for each chapter) etc. To quote from the biblatex manual (p. 80):



          On refsections:




          The refsection environment is used in the document body to mark a
          reference section. is environment is useful if you want separate,
          independent bibliographies and bibliography lists in each chapter,
          section, or any other part of a document. Within a reference section,
          all cited works are assigned labels which are local to the
          environment.




          On refsegments:




          The refsegment environment is used in the document body to mark a
          reference segment. is environment is useful if you want one global
          bibliography which is subdivided by chapter, section, or any other
          part of the document.




          So, as you noted in your example, with refsegment, a citation always links back to the first bibliography. But if you use reflection, you get local labels and thus the citations link to the local bibliographies.



          documentclassarticle 
          usepackagefilecontents
          beginfilecontentsMWE.bib
          @articlearticleA,
          author = Clark Kent,
          title = On why superman is stronger than batman,
          journal = The daily planet,
          year = 2016,

          @articlearticleB,
          author = Bruce Wyne,
          title = On why batman is stronger than superman,
          journal = The daily planet,
          year = 2016,

          endfilecontents
          usepackage[backend=biber,style=alphabetic]biblatex
          addbibresourceMWE.bib

          usepackage[colorlinks]hyperref
          hypersetupurlcolor=blue, citecolor=blue, linkcolor=blue

          begindocument

          beginrefsection
          sectionSection Title A
          citearticleA
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title B
          This link to the bibliography : citearticleA\
          This link to the bibliography here: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title C
          This link to the bibliography: citearticleA\
          This link to the bibliography: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          enddocument





          share|improve this answer

























          • Yes, sadly, there are some formal criterias that I cannot realize through refsections. Basically, each section is supposed to have its own bibliography (not necessarily at the end). However at the end of the document there is a list of academic profiles including a list of own publications and any reference to an "own" article should directly refer to the bibliography in the respective academic profile. It is related to this question: tex.stackexchange.com/questions/303054/…

            – jpb
            Apr 10 '16 at 13:25






          • 1





            Should the “own” article only appear in the author profiles? Or is the problem “only” where the citations links to?

            – Daniel
            Apr 10 '16 at 13:39











          • Yes, the "own" article should only appear in the author's profile (e.g. not in the bibliographies at the end of the section) and any citation of that article anywhere should link to the respective bibliography entry in its profile.

            – jpb
            Apr 10 '16 at 13:42






          • 1





            @jpb Your situation is very tricky. You should probably want real refsections, because I assume the different sections/chapters are pretty much independent and have their own bibliography. But then the publication list can't be properly done because there is no way to get a meta-list of all the works by insert author here because everything is kept local.

            – moewe
            Apr 10 '16 at 13:52






          • 2





            @jpb I suppose the way to check if you want refsections or refsegments is to consider the following situation in an author year style. Suppose the first chapter refers to a work by Elk from 2012 titled "Brontosaurus" and the second refers to a work by Elk also from 2012 titled "Triceratops". Would you want both labels to read "Elk 2012", or would you want disambiguation across the sections: "Elk 2012a" and "Elk 2012b"? For disambiguation across sections, you need to use refsegments; if you prefer to keep each section local, use refsection.

            – moewe
            Apr 11 '16 at 6:11














          2












          2








          2







          First, some clarification regarding the use of refsegmentvs. refsection. Refsections are used if you want different bibliographies at different places of a larger work; e.g. at the end of each chapter. The labels generated are always local to the refsection. In contrast, refsegments are good for having one bibliography at the end which you can then divide into parts (e.g. for each chapter) etc. To quote from the biblatex manual (p. 80):



          On refsections:




          The refsection environment is used in the document body to mark a
          reference section. is environment is useful if you want separate,
          independent bibliographies and bibliography lists in each chapter,
          section, or any other part of a document. Within a reference section,
          all cited works are assigned labels which are local to the
          environment.




          On refsegments:




          The refsegment environment is used in the document body to mark a
          reference segment. is environment is useful if you want one global
          bibliography which is subdivided by chapter, section, or any other
          part of the document.




          So, as you noted in your example, with refsegment, a citation always links back to the first bibliography. But if you use reflection, you get local labels and thus the citations link to the local bibliographies.



          documentclassarticle 
          usepackagefilecontents
          beginfilecontentsMWE.bib
          @articlearticleA,
          author = Clark Kent,
          title = On why superman is stronger than batman,
          journal = The daily planet,
          year = 2016,

          @articlearticleB,
          author = Bruce Wyne,
          title = On why batman is stronger than superman,
          journal = The daily planet,
          year = 2016,

          endfilecontents
          usepackage[backend=biber,style=alphabetic]biblatex
          addbibresourceMWE.bib

          usepackage[colorlinks]hyperref
          hypersetupurlcolor=blue, citecolor=blue, linkcolor=blue

          begindocument

          beginrefsection
          sectionSection Title A
          citearticleA
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title B
          This link to the bibliography : citearticleA\
          This link to the bibliography here: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title C
          This link to the bibliography: citearticleA\
          This link to the bibliography: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          enddocument





          share|improve this answer















          First, some clarification regarding the use of refsegmentvs. refsection. Refsections are used if you want different bibliographies at different places of a larger work; e.g. at the end of each chapter. The labels generated are always local to the refsection. In contrast, refsegments are good for having one bibliography at the end which you can then divide into parts (e.g. for each chapter) etc. To quote from the biblatex manual (p. 80):



          On refsections:




          The refsection environment is used in the document body to mark a
          reference section. is environment is useful if you want separate,
          independent bibliographies and bibliography lists in each chapter,
          section, or any other part of a document. Within a reference section,
          all cited works are assigned labels which are local to the
          environment.




          On refsegments:




          The refsegment environment is used in the document body to mark a
          reference segment. is environment is useful if you want one global
          bibliography which is subdivided by chapter, section, or any other
          part of the document.




          So, as you noted in your example, with refsegment, a citation always links back to the first bibliography. But if you use reflection, you get local labels and thus the citations link to the local bibliographies.



          documentclassarticle 
          usepackagefilecontents
          beginfilecontentsMWE.bib
          @articlearticleA,
          author = Clark Kent,
          title = On why superman is stronger than batman,
          journal = The daily planet,
          year = 2016,

          @articlearticleB,
          author = Bruce Wyne,
          title = On why batman is stronger than superman,
          journal = The daily planet,
          year = 2016,

          endfilecontents
          usepackage[backend=biber,style=alphabetic]biblatex
          addbibresourceMWE.bib

          usepackage[colorlinks]hyperref
          hypersetupurlcolor=blue, citecolor=blue, linkcolor=blue

          begindocument

          beginrefsection
          sectionSection Title A
          citearticleA
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title B
          This link to the bibliography : citearticleA\
          This link to the bibliography here: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          newpage
          beginrefsection
          sectionSection Title C
          This link to the bibliography: citearticleA\
          This link to the bibliography: citearticleB
          printbibliography[section=therefsection]
          endrefsection

          enddocument






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited 9 hours ago









          real-or-random

          52




          52










          answered Apr 10 '16 at 13:18









          DanielDaniel

          51229




          51229












          • Yes, sadly, there are some formal criterias that I cannot realize through refsections. Basically, each section is supposed to have its own bibliography (not necessarily at the end). However at the end of the document there is a list of academic profiles including a list of own publications and any reference to an "own" article should directly refer to the bibliography in the respective academic profile. It is related to this question: tex.stackexchange.com/questions/303054/…

            – jpb
            Apr 10 '16 at 13:25






          • 1





            Should the “own” article only appear in the author profiles? Or is the problem “only” where the citations links to?

            – Daniel
            Apr 10 '16 at 13:39











          • Yes, the "own" article should only appear in the author's profile (e.g. not in the bibliographies at the end of the section) and any citation of that article anywhere should link to the respective bibliography entry in its profile.

            – jpb
            Apr 10 '16 at 13:42






          • 1





            @jpb Your situation is very tricky. You should probably want real refsections, because I assume the different sections/chapters are pretty much independent and have their own bibliography. But then the publication list can't be properly done because there is no way to get a meta-list of all the works by insert author here because everything is kept local.

            – moewe
            Apr 10 '16 at 13:52






          • 2





            @jpb I suppose the way to check if you want refsections or refsegments is to consider the following situation in an author year style. Suppose the first chapter refers to a work by Elk from 2012 titled "Brontosaurus" and the second refers to a work by Elk also from 2012 titled "Triceratops". Would you want both labels to read "Elk 2012", or would you want disambiguation across the sections: "Elk 2012a" and "Elk 2012b"? For disambiguation across sections, you need to use refsegments; if you prefer to keep each section local, use refsection.

            – moewe
            Apr 11 '16 at 6:11


















          • Yes, sadly, there are some formal criterias that I cannot realize through refsections. Basically, each section is supposed to have its own bibliography (not necessarily at the end). However at the end of the document there is a list of academic profiles including a list of own publications and any reference to an "own" article should directly refer to the bibliography in the respective academic profile. It is related to this question: tex.stackexchange.com/questions/303054/…

            – jpb
            Apr 10 '16 at 13:25






          • 1





            Should the “own” article only appear in the author profiles? Or is the problem “only” where the citations links to?

            – Daniel
            Apr 10 '16 at 13:39











          • Yes, the "own" article should only appear in the author's profile (e.g. not in the bibliographies at the end of the section) and any citation of that article anywhere should link to the respective bibliography entry in its profile.

            – jpb
            Apr 10 '16 at 13:42






          • 1





            @jpb Your situation is very tricky. You should probably want real refsections, because I assume the different sections/chapters are pretty much independent and have their own bibliography. But then the publication list can't be properly done because there is no way to get a meta-list of all the works by insert author here because everything is kept local.

            – moewe
            Apr 10 '16 at 13:52






          • 2





            @jpb I suppose the way to check if you want refsections or refsegments is to consider the following situation in an author year style. Suppose the first chapter refers to a work by Elk from 2012 titled "Brontosaurus" and the second refers to a work by Elk also from 2012 titled "Triceratops". Would you want both labels to read "Elk 2012", or would you want disambiguation across the sections: "Elk 2012a" and "Elk 2012b"? For disambiguation across sections, you need to use refsegments; if you prefer to keep each section local, use refsection.

            – moewe
            Apr 11 '16 at 6:11

















          Yes, sadly, there are some formal criterias that I cannot realize through refsections. Basically, each section is supposed to have its own bibliography (not necessarily at the end). However at the end of the document there is a list of academic profiles including a list of own publications and any reference to an "own" article should directly refer to the bibliography in the respective academic profile. It is related to this question: tex.stackexchange.com/questions/303054/…

          – jpb
          Apr 10 '16 at 13:25





          Yes, sadly, there are some formal criterias that I cannot realize through refsections. Basically, each section is supposed to have its own bibliography (not necessarily at the end). However at the end of the document there is a list of academic profiles including a list of own publications and any reference to an "own" article should directly refer to the bibliography in the respective academic profile. It is related to this question: tex.stackexchange.com/questions/303054/…

          – jpb
          Apr 10 '16 at 13:25




          1




          1





          Should the “own” article only appear in the author profiles? Or is the problem “only” where the citations links to?

          – Daniel
          Apr 10 '16 at 13:39





          Should the “own” article only appear in the author profiles? Or is the problem “only” where the citations links to?

          – Daniel
          Apr 10 '16 at 13:39













          Yes, the "own" article should only appear in the author's profile (e.g. not in the bibliographies at the end of the section) and any citation of that article anywhere should link to the respective bibliography entry in its profile.

          – jpb
          Apr 10 '16 at 13:42





          Yes, the "own" article should only appear in the author's profile (e.g. not in the bibliographies at the end of the section) and any citation of that article anywhere should link to the respective bibliography entry in its profile.

          – jpb
          Apr 10 '16 at 13:42




          1




          1





          @jpb Your situation is very tricky. You should probably want real refsections, because I assume the different sections/chapters are pretty much independent and have their own bibliography. But then the publication list can't be properly done because there is no way to get a meta-list of all the works by insert author here because everything is kept local.

          – moewe
          Apr 10 '16 at 13:52





          @jpb Your situation is very tricky. You should probably want real refsections, because I assume the different sections/chapters are pretty much independent and have their own bibliography. But then the publication list can't be properly done because there is no way to get a meta-list of all the works by insert author here because everything is kept local.

          – moewe
          Apr 10 '16 at 13:52




          2




          2





          @jpb I suppose the way to check if you want refsections or refsegments is to consider the following situation in an author year style. Suppose the first chapter refers to a work by Elk from 2012 titled "Brontosaurus" and the second refers to a work by Elk also from 2012 titled "Triceratops". Would you want both labels to read "Elk 2012", or would you want disambiguation across the sections: "Elk 2012a" and "Elk 2012b"? For disambiguation across sections, you need to use refsegments; if you prefer to keep each section local, use refsection.

          – moewe
          Apr 11 '16 at 6:11






          @jpb I suppose the way to check if you want refsections or refsegments is to consider the following situation in an author year style. Suppose the first chapter refers to a work by Elk from 2012 titled "Brontosaurus" and the second refers to a work by Elk also from 2012 titled "Triceratops". Would you want both labels to read "Elk 2012", or would you want disambiguation across the sections: "Elk 2012a" and "Elk 2012b"? For disambiguation across sections, you need to use refsegments; if you prefer to keep each section local, use refsection.

          – moewe
          Apr 11 '16 at 6:11


















          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%2f303503%2fhyperref-inside-refsegment-always-linking-to-first-bibliography-not-current-bib%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 should I use the fbox command correctly to avoid producing a Bad Box message?How to put a long piece of text in a box?How to specify height and width of fboxIs there an arrayrulecolor-like command to change the rule color of fbox?What is the command to highlight bad boxes in pdf?Why does fbox sometimes place the box *over* the graphic image?how to put the text in the boxHow to create command for a box where text inside the box can automatically adjust?how can I make an fbox like command with certain color, shape and width of border?how to use fbox in align modeFbox increase the spacing between the box and it content (inner margin)how to change the box height of an equationWhat is the use of the hbox in a newcommand command?

          Doxepinum Nexus interni Notae | Tabula navigationis3158DB01142WHOa682390"Structural Analysis of the Histamine H1 Receptor""Transdermal and Topical Drug Administration in the Treatment of Pain""Antidepressants as antipruritic agents: A review"

          Haugesund Nexus externi | Tabula navigationisHaugesund pagina interretialisAmplifica