hyperref link does not exist from cite












0















(I'm not sure the post title is good enough)



I'm using biblatex with biber and printing the bibliography by part with refsection=part.



The MWE below produces a warning from hyperref.



name{cite.0@foo} has been referenced but does not exist, replaced by a fixed one


I believe it is because there is no bibliography before the first part so the citation link points to nothing.



I'd like to solve that since it is the only warning in my document!!



MWE



% arara: pdflatex
% arara: biber
% arara: pdflatex
% arara: pdflatex
documentclass{report}
usepackage{filecontents}
begin{filecontents}{foo.bib}
@book{foo,
author = {author},
title = {title},
date = {2019},
}
end{filecontents}

usepackage[backend=biber, refsection=part, citestyle=alphabetic, backref=true, style=alphabetic]{biblatex}
addbibresource{foo.bib}

defbibheading{bibliography}{%
cleardoublepage
chapter*{bibname of thepart}%
thispagestyle{plain}%
}

usepackage{hyperref}

begin{document}
By cite{foo}
part{title}
Again by cite{foo}
printbibliography
end{document}









share|improve this question

























  • Note that the warning is a symptom of the underlying problem that your first part has no corresponding bibliography. That might not seem bad at first, but check out documentclass{report} usepackage[backend=biber, refsection=part, style=alphabetic]{biblatex} addbibresource{biblatex-examples.bib} begin{document} By cite{knuth:ct:b} part{title} Again by cite{knuth:ct:b,knuth:ct:c} printbibliography end{document}

    – moewe
    11 hours ago
















0















(I'm not sure the post title is good enough)



I'm using biblatex with biber and printing the bibliography by part with refsection=part.



The MWE below produces a warning from hyperref.



name{cite.0@foo} has been referenced but does not exist, replaced by a fixed one


I believe it is because there is no bibliography before the first part so the citation link points to nothing.



I'd like to solve that since it is the only warning in my document!!



MWE



% arara: pdflatex
% arara: biber
% arara: pdflatex
% arara: pdflatex
documentclass{report}
usepackage{filecontents}
begin{filecontents}{foo.bib}
@book{foo,
author = {author},
title = {title},
date = {2019},
}
end{filecontents}

usepackage[backend=biber, refsection=part, citestyle=alphabetic, backref=true, style=alphabetic]{biblatex}
addbibresource{foo.bib}

defbibheading{bibliography}{%
cleardoublepage
chapter*{bibname of thepart}%
thispagestyle{plain}%
}

usepackage{hyperref}

begin{document}
By cite{foo}
part{title}
Again by cite{foo}
printbibliography
end{document}









share|improve this question

























  • Note that the warning is a symptom of the underlying problem that your first part has no corresponding bibliography. That might not seem bad at first, but check out documentclass{report} usepackage[backend=biber, refsection=part, style=alphabetic]{biblatex} addbibresource{biblatex-examples.bib} begin{document} By cite{knuth:ct:b} part{title} Again by cite{knuth:ct:b,knuth:ct:c} printbibliography end{document}

    – moewe
    11 hours ago














0












0








0








(I'm not sure the post title is good enough)



I'm using biblatex with biber and printing the bibliography by part with refsection=part.



The MWE below produces a warning from hyperref.



name{cite.0@foo} has been referenced but does not exist, replaced by a fixed one


I believe it is because there is no bibliography before the first part so the citation link points to nothing.



I'd like to solve that since it is the only warning in my document!!



MWE



% arara: pdflatex
% arara: biber
% arara: pdflatex
% arara: pdflatex
documentclass{report}
usepackage{filecontents}
begin{filecontents}{foo.bib}
@book{foo,
author = {author},
title = {title},
date = {2019},
}
end{filecontents}

usepackage[backend=biber, refsection=part, citestyle=alphabetic, backref=true, style=alphabetic]{biblatex}
addbibresource{foo.bib}

defbibheading{bibliography}{%
cleardoublepage
chapter*{bibname of thepart}%
thispagestyle{plain}%
}

usepackage{hyperref}

begin{document}
By cite{foo}
part{title}
Again by cite{foo}
printbibliography
end{document}









share|improve this question
















(I'm not sure the post title is good enough)



I'm using biblatex with biber and printing the bibliography by part with refsection=part.



The MWE below produces a warning from hyperref.



name{cite.0@foo} has been referenced but does not exist, replaced by a fixed one


I believe it is because there is no bibliography before the first part so the citation link points to nothing.



I'd like to solve that since it is the only warning in my document!!



MWE



% arara: pdflatex
% arara: biber
% arara: pdflatex
% arara: pdflatex
documentclass{report}
usepackage{filecontents}
begin{filecontents}{foo.bib}
@book{foo,
author = {author},
title = {title},
date = {2019},
}
end{filecontents}

usepackage[backend=biber, refsection=part, citestyle=alphabetic, backref=true, style=alphabetic]{biblatex}
addbibresource{foo.bib}

defbibheading{bibliography}{%
cleardoublepage
chapter*{bibname of thepart}%
thispagestyle{plain}%
}

usepackage{hyperref}

begin{document}
By cite{foo}
part{title}
Again by cite{foo}
printbibliography
end{document}






biblatex hyperref warnings






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 12 hours ago









Ulrike Fischer

198k9305692




198k9305692










asked 12 hours ago









SigurSigur

26.2k457142




26.2k457142













  • Note that the warning is a symptom of the underlying problem that your first part has no corresponding bibliography. That might not seem bad at first, but check out documentclass{report} usepackage[backend=biber, refsection=part, style=alphabetic]{biblatex} addbibresource{biblatex-examples.bib} begin{document} By cite{knuth:ct:b} part{title} Again by cite{knuth:ct:b,knuth:ct:c} printbibliography end{document}

    – moewe
    11 hours ago



















  • Note that the warning is a symptom of the underlying problem that your first part has no corresponding bibliography. That might not seem bad at first, but check out documentclass{report} usepackage[backend=biber, refsection=part, style=alphabetic]{biblatex} addbibresource{biblatex-examples.bib} begin{document} By cite{knuth:ct:b} part{title} Again by cite{knuth:ct:b,knuth:ct:c} printbibliography end{document}

    – moewe
    11 hours ago

















Note that the warning is a symptom of the underlying problem that your first part has no corresponding bibliography. That might not seem bad at first, but check out documentclass{report} usepackage[backend=biber, refsection=part, style=alphabetic]{biblatex} addbibresource{biblatex-examples.bib} begin{document} By cite{knuth:ct:b} part{title} Again by cite{knuth:ct:b,knuth:ct:c} printbibliography end{document}

– moewe
11 hours ago





Note that the warning is a symptom of the underlying problem that your first part has no corresponding bibliography. That might not seem bad at first, but check out documentclass{report} usepackage[backend=biber, refsection=part, style=alphabetic]{biblatex} addbibresource{biblatex-examples.bib} begin{document} By cite{knuth:ct:b} part{title} Again by cite{knuth:ct:b,knuth:ct:c} printbibliography end{document}

– moewe
11 hours ago










1 Answer
1






active

oldest

votes


















2














A simpler example is the following. And yes you get the warning as the link has no target. One solution is to provide a target somewhere with hypertarget (or by adding a printbibliography in this refsection. Another solution would be a cite command that doesn't create a link.



documentclass{report}

usepackage{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{hyperref}

begin{document}
By cite{doody}

%hypertarget{cite.0@doody}{}
end{document}





share|improve this answer
























  • I searched a lot for this biblatex-examples.bib. I should record it somewhere.

    – Sigur
    12 hours ago











  • ...cite command that doesn't create a link. Does the biblatex package provide such command?

    – Sigur
    12 hours ago











  • I didn't see one, but imho it could be useful in certain places. Make a feature request or ask @moewe.

    – Ulrike Fischer
    12 hours ago











  • Thanks so much. hypertarget worked very well.

    – Sigur
    12 hours ago












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%2f483222%2fhyperref-link-does-not-exist-from-cite%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









2














A simpler example is the following. And yes you get the warning as the link has no target. One solution is to provide a target somewhere with hypertarget (or by adding a printbibliography in this refsection. Another solution would be a cite command that doesn't create a link.



documentclass{report}

usepackage{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{hyperref}

begin{document}
By cite{doody}

%hypertarget{cite.0@doody}{}
end{document}





share|improve this answer
























  • I searched a lot for this biblatex-examples.bib. I should record it somewhere.

    – Sigur
    12 hours ago











  • ...cite command that doesn't create a link. Does the biblatex package provide such command?

    – Sigur
    12 hours ago











  • I didn't see one, but imho it could be useful in certain places. Make a feature request or ask @moewe.

    – Ulrike Fischer
    12 hours ago











  • Thanks so much. hypertarget worked very well.

    – Sigur
    12 hours ago
















2














A simpler example is the following. And yes you get the warning as the link has no target. One solution is to provide a target somewhere with hypertarget (or by adding a printbibliography in this refsection. Another solution would be a cite command that doesn't create a link.



documentclass{report}

usepackage{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{hyperref}

begin{document}
By cite{doody}

%hypertarget{cite.0@doody}{}
end{document}





share|improve this answer
























  • I searched a lot for this biblatex-examples.bib. I should record it somewhere.

    – Sigur
    12 hours ago











  • ...cite command that doesn't create a link. Does the biblatex package provide such command?

    – Sigur
    12 hours ago











  • I didn't see one, but imho it could be useful in certain places. Make a feature request or ask @moewe.

    – Ulrike Fischer
    12 hours ago











  • Thanks so much. hypertarget worked very well.

    – Sigur
    12 hours ago














2












2








2







A simpler example is the following. And yes you get the warning as the link has no target. One solution is to provide a target somewhere with hypertarget (or by adding a printbibliography in this refsection. Another solution would be a cite command that doesn't create a link.



documentclass{report}

usepackage{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{hyperref}

begin{document}
By cite{doody}

%hypertarget{cite.0@doody}{}
end{document}





share|improve this answer













A simpler example is the following. And yes you get the warning as the link has no target. One solution is to provide a target somewhere with hypertarget (or by adding a printbibliography in this refsection. Another solution would be a cite command that doesn't create a link.



documentclass{report}

usepackage{biblatex}
addbibresource{biblatex-examples.bib}

usepackage{hyperref}

begin{document}
By cite{doody}

%hypertarget{cite.0@doody}{}
end{document}






share|improve this answer












share|improve this answer



share|improve this answer










answered 12 hours ago









Ulrike FischerUlrike Fischer

198k9305692




198k9305692













  • I searched a lot for this biblatex-examples.bib. I should record it somewhere.

    – Sigur
    12 hours ago











  • ...cite command that doesn't create a link. Does the biblatex package provide such command?

    – Sigur
    12 hours ago











  • I didn't see one, but imho it could be useful in certain places. Make a feature request or ask @moewe.

    – Ulrike Fischer
    12 hours ago











  • Thanks so much. hypertarget worked very well.

    – Sigur
    12 hours ago



















  • I searched a lot for this biblatex-examples.bib. I should record it somewhere.

    – Sigur
    12 hours ago











  • ...cite command that doesn't create a link. Does the biblatex package provide such command?

    – Sigur
    12 hours ago











  • I didn't see one, but imho it could be useful in certain places. Make a feature request or ask @moewe.

    – Ulrike Fischer
    12 hours ago











  • Thanks so much. hypertarget worked very well.

    – Sigur
    12 hours ago

















I searched a lot for this biblatex-examples.bib. I should record it somewhere.

– Sigur
12 hours ago





I searched a lot for this biblatex-examples.bib. I should record it somewhere.

– Sigur
12 hours ago













...cite command that doesn't create a link. Does the biblatex package provide such command?

– Sigur
12 hours ago





...cite command that doesn't create a link. Does the biblatex package provide such command?

– Sigur
12 hours ago













I didn't see one, but imho it could be useful in certain places. Make a feature request or ask @moewe.

– Ulrike Fischer
12 hours ago





I didn't see one, but imho it could be useful in certain places. Make a feature request or ask @moewe.

– Ulrike Fischer
12 hours ago













Thanks so much. hypertarget worked very well.

– Sigur
12 hours ago





Thanks so much. hypertarget worked very well.

– Sigur
12 hours ago


















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%2f483222%2fhyperref-link-does-not-exist-from-cite%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

Contact image not getting when fetch all contact list from iPhone by CNContact

count number of partitions of a set with n elements into k subsets

A CLEAN and SIMPLE way to add appendices to Table of Contents and bookmarks