How to remove hyperlinks of citations (of publications) in LaTeX?











up vote
1
down vote

favorite












How can I remove hyperlinks of citations (of publications) in the pdf generated from my TeX? I notice that when some hyperlinks spill across multiple columns or pages, LaTeX compilation throws errors. I wish to avoid that.



I read this post from tex.stackexchange which speaks of similar things, but it appears slightly different to what I need.



This is the skeleton of my LaTeX document:



documentclass[a4paper,fleqn,usenatbib]{mnras}
usepackage[T1]{fontenc}
usepackage{ae,aecompl}

usepackage{graphicx} % Including figure files
usepackage{pdflscape} % Landscape pages
usepackage{hyperref}
usepackage{float}

title[heading]{Title}

author[Author et al.]{
Author1$^{1}$thanks{E-mail: author@univ.edu}
\
$^{1}$University 1
}

date{Accepted XXX. Received YYY; in original form ZZZ}

pubyear{2018}

begin{document}
label{firstpage}
pagerange{pageref{firstpage}--pageref{lastpage}}
maketitle

section{Introduction}
Some introduction. Papers: citep{Kolb2006, Haavard2006, Bene2006, Krasinski2010, Chatterjee2011, Celerier2014, Skarke2014, Mertens2016}

bibliographystyle{mnras}
bibliography{ref}

bsp % typesetting comment
label{lastpage}
end{document}


The ref.bib that I am using can be found here.



I will appreciate any help.










share|improve this question




















  • 1




    Welcome to TeX.SE! Please show us a short compilable code resulting in your issue ...
    – Kurt
    Dec 4 at 2:04










  • How are you putting them in? LaTeX doesn't hyperlink anything by default, so the truthful answer is 'you need do nothing', but presumably you are putting them in for some reason (probably as a side-effect of something you do want). The question is how.
    – cfr
    Dec 4 at 2:50










  • Thanks cfr, Kurt. I have edited my post. The new version of the post has more details of the options that I am using in my latex file.
    – Siddharth Satpathy
    Dec 4 at 3:52










  • @SiddharthSatpathy This isn't a compilable document. It needs to begin with documentclass{...} and end with end{document}. And it doesn't show anything do do with citations, which is the relevant part of the problem. So remove all the packages that aren't part of the problem, and show (e.g. multicol, bm, amsmath, etc.) and show us how you are producing a citation. You can include a single .bib file item as well.
    – Alan Munn
    Dec 4 at 3:55












  • Also, is the problem with the links from the text to the reference list, or is the problem with URLs in the reference list?
    – Alan Munn
    Dec 4 at 4:04















up vote
1
down vote

favorite












How can I remove hyperlinks of citations (of publications) in the pdf generated from my TeX? I notice that when some hyperlinks spill across multiple columns or pages, LaTeX compilation throws errors. I wish to avoid that.



I read this post from tex.stackexchange which speaks of similar things, but it appears slightly different to what I need.



This is the skeleton of my LaTeX document:



documentclass[a4paper,fleqn,usenatbib]{mnras}
usepackage[T1]{fontenc}
usepackage{ae,aecompl}

usepackage{graphicx} % Including figure files
usepackage{pdflscape} % Landscape pages
usepackage{hyperref}
usepackage{float}

title[heading]{Title}

author[Author et al.]{
Author1$^{1}$thanks{E-mail: author@univ.edu}
\
$^{1}$University 1
}

date{Accepted XXX. Received YYY; in original form ZZZ}

pubyear{2018}

begin{document}
label{firstpage}
pagerange{pageref{firstpage}--pageref{lastpage}}
maketitle

section{Introduction}
Some introduction. Papers: citep{Kolb2006, Haavard2006, Bene2006, Krasinski2010, Chatterjee2011, Celerier2014, Skarke2014, Mertens2016}

bibliographystyle{mnras}
bibliography{ref}

bsp % typesetting comment
label{lastpage}
end{document}


The ref.bib that I am using can be found here.



I will appreciate any help.










share|improve this question




















  • 1




    Welcome to TeX.SE! Please show us a short compilable code resulting in your issue ...
    – Kurt
    Dec 4 at 2:04










  • How are you putting them in? LaTeX doesn't hyperlink anything by default, so the truthful answer is 'you need do nothing', but presumably you are putting them in for some reason (probably as a side-effect of something you do want). The question is how.
    – cfr
    Dec 4 at 2:50










  • Thanks cfr, Kurt. I have edited my post. The new version of the post has more details of the options that I am using in my latex file.
    – Siddharth Satpathy
    Dec 4 at 3:52










  • @SiddharthSatpathy This isn't a compilable document. It needs to begin with documentclass{...} and end with end{document}. And it doesn't show anything do do with citations, which is the relevant part of the problem. So remove all the packages that aren't part of the problem, and show (e.g. multicol, bm, amsmath, etc.) and show us how you are producing a citation. You can include a single .bib file item as well.
    – Alan Munn
    Dec 4 at 3:55












  • Also, is the problem with the links from the text to the reference list, or is the problem with URLs in the reference list?
    – Alan Munn
    Dec 4 at 4:04













up vote
1
down vote

favorite









up vote
1
down vote

favorite











How can I remove hyperlinks of citations (of publications) in the pdf generated from my TeX? I notice that when some hyperlinks spill across multiple columns or pages, LaTeX compilation throws errors. I wish to avoid that.



I read this post from tex.stackexchange which speaks of similar things, but it appears slightly different to what I need.



This is the skeleton of my LaTeX document:



documentclass[a4paper,fleqn,usenatbib]{mnras}
usepackage[T1]{fontenc}
usepackage{ae,aecompl}

usepackage{graphicx} % Including figure files
usepackage{pdflscape} % Landscape pages
usepackage{hyperref}
usepackage{float}

title[heading]{Title}

author[Author et al.]{
Author1$^{1}$thanks{E-mail: author@univ.edu}
\
$^{1}$University 1
}

date{Accepted XXX. Received YYY; in original form ZZZ}

pubyear{2018}

begin{document}
label{firstpage}
pagerange{pageref{firstpage}--pageref{lastpage}}
maketitle

section{Introduction}
Some introduction. Papers: citep{Kolb2006, Haavard2006, Bene2006, Krasinski2010, Chatterjee2011, Celerier2014, Skarke2014, Mertens2016}

bibliographystyle{mnras}
bibliography{ref}

bsp % typesetting comment
label{lastpage}
end{document}


The ref.bib that I am using can be found here.



I will appreciate any help.










share|improve this question















How can I remove hyperlinks of citations (of publications) in the pdf generated from my TeX? I notice that when some hyperlinks spill across multiple columns or pages, LaTeX compilation throws errors. I wish to avoid that.



I read this post from tex.stackexchange which speaks of similar things, but it appears slightly different to what I need.



This is the skeleton of my LaTeX document:



documentclass[a4paper,fleqn,usenatbib]{mnras}
usepackage[T1]{fontenc}
usepackage{ae,aecompl}

usepackage{graphicx} % Including figure files
usepackage{pdflscape} % Landscape pages
usepackage{hyperref}
usepackage{float}

title[heading]{Title}

author[Author et al.]{
Author1$^{1}$thanks{E-mail: author@univ.edu}
\
$^{1}$University 1
}

date{Accepted XXX. Received YYY; in original form ZZZ}

pubyear{2018}

begin{document}
label{firstpage}
pagerange{pageref{firstpage}--pageref{lastpage}}
maketitle

section{Introduction}
Some introduction. Papers: citep{Kolb2006, Haavard2006, Bene2006, Krasinski2010, Chatterjee2011, Celerier2014, Skarke2014, Mertens2016}

bibliographystyle{mnras}
bibliography{ref}

bsp % typesetting comment
label{lastpage}
end{document}


The ref.bib that I am using can be found here.



I will appreciate any help.







pdftex hyperlink






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 4 at 21:01









Kurt

34.6k846157




34.6k846157










asked Dec 4 at 2:02









Siddharth Satpathy

1085




1085








  • 1




    Welcome to TeX.SE! Please show us a short compilable code resulting in your issue ...
    – Kurt
    Dec 4 at 2:04










  • How are you putting them in? LaTeX doesn't hyperlink anything by default, so the truthful answer is 'you need do nothing', but presumably you are putting them in for some reason (probably as a side-effect of something you do want). The question is how.
    – cfr
    Dec 4 at 2:50










  • Thanks cfr, Kurt. I have edited my post. The new version of the post has more details of the options that I am using in my latex file.
    – Siddharth Satpathy
    Dec 4 at 3:52










  • @SiddharthSatpathy This isn't a compilable document. It needs to begin with documentclass{...} and end with end{document}. And it doesn't show anything do do with citations, which is the relevant part of the problem. So remove all the packages that aren't part of the problem, and show (e.g. multicol, bm, amsmath, etc.) and show us how you are producing a citation. You can include a single .bib file item as well.
    – Alan Munn
    Dec 4 at 3:55












  • Also, is the problem with the links from the text to the reference list, or is the problem with URLs in the reference list?
    – Alan Munn
    Dec 4 at 4:04














  • 1




    Welcome to TeX.SE! Please show us a short compilable code resulting in your issue ...
    – Kurt
    Dec 4 at 2:04










  • How are you putting them in? LaTeX doesn't hyperlink anything by default, so the truthful answer is 'you need do nothing', but presumably you are putting them in for some reason (probably as a side-effect of something you do want). The question is how.
    – cfr
    Dec 4 at 2:50










  • Thanks cfr, Kurt. I have edited my post. The new version of the post has more details of the options that I am using in my latex file.
    – Siddharth Satpathy
    Dec 4 at 3:52










  • @SiddharthSatpathy This isn't a compilable document. It needs to begin with documentclass{...} and end with end{document}. And it doesn't show anything do do with citations, which is the relevant part of the problem. So remove all the packages that aren't part of the problem, and show (e.g. multicol, bm, amsmath, etc.) and show us how you are producing a citation. You can include a single .bib file item as well.
    – Alan Munn
    Dec 4 at 3:55












  • Also, is the problem with the links from the text to the reference list, or is the problem with URLs in the reference list?
    – Alan Munn
    Dec 4 at 4:04








1




1




Welcome to TeX.SE! Please show us a short compilable code resulting in your issue ...
– Kurt
Dec 4 at 2:04




Welcome to TeX.SE! Please show us a short compilable code resulting in your issue ...
– Kurt
Dec 4 at 2:04












How are you putting them in? LaTeX doesn't hyperlink anything by default, so the truthful answer is 'you need do nothing', but presumably you are putting them in for some reason (probably as a side-effect of something you do want). The question is how.
– cfr
Dec 4 at 2:50




How are you putting them in? LaTeX doesn't hyperlink anything by default, so the truthful answer is 'you need do nothing', but presumably you are putting them in for some reason (probably as a side-effect of something you do want). The question is how.
– cfr
Dec 4 at 2:50












Thanks cfr, Kurt. I have edited my post. The new version of the post has more details of the options that I am using in my latex file.
– Siddharth Satpathy
Dec 4 at 3:52




Thanks cfr, Kurt. I have edited my post. The new version of the post has more details of the options that I am using in my latex file.
– Siddharth Satpathy
Dec 4 at 3:52












@SiddharthSatpathy This isn't a compilable document. It needs to begin with documentclass{...} and end with end{document}. And it doesn't show anything do do with citations, which is the relevant part of the problem. So remove all the packages that aren't part of the problem, and show (e.g. multicol, bm, amsmath, etc.) and show us how you are producing a citation. You can include a single .bib file item as well.
– Alan Munn
Dec 4 at 3:55






@SiddharthSatpathy This isn't a compilable document. It needs to begin with documentclass{...} and end with end{document}. And it doesn't show anything do do with citations, which is the relevant part of the problem. So remove all the packages that aren't part of the problem, and show (e.g. multicol, bm, amsmath, etc.) and show us how you are producing a citation. You can include a single .bib file item as well.
– Alan Munn
Dec 4 at 3:55














Also, is the problem with the links from the text to the reference list, or is the problem with URLs in the reference list?
– Alan Munn
Dec 4 at 4:04




Also, is the problem with the links from the text to the reference list, or is the problem with URLs in the reference list?
– Alan Munn
Dec 4 at 4:04










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










You can add hypersetup{nolinks=true} to get rid of all hyperlinks in your document.



As far as I can see there are some errors in your bib file, for example in entry



@article{White2011,
author={Martin White and M. Blanton and A. Bolton and D. Schlegel and J. Tinker and A. Berlind and L. da Costa and E. Kazin and Y.-T. Lin and M.
Maia and C. K. McBride and N. Padmanabhan and J. Parejko and W. Percival and F. Prada and B. Ramos and E. Sheldon and F.
de Simoni and R. Skibba and D. Thomas and D. Wake and I. Zehavi and Z. Zheng and R. Nichol and Donald P. Schneider and Michael A.
Strauss and B. A. Weaver and David H. Weinberg},
title={The Clustering of Massive Galaxies at z ~ 0.5 from the First Semester of BOSS Data},
journal={The Astrophysical Journal},
volume={728},
number={2},
pages={126},
url={http://stacks.iop.org/0004-637X/728/i=2/a=126},
year={2011},
abstract={We calculate the real- and redshift-space clustering of massive galaxies at z ~ 0.5 using the first semester of data by the Baryon Oscillation Spectroscopic Survey (BOSS). We study the correlation functions of a sample of 44,000 massive galaxies in the redshift range 0.4 < z < 0.7. We present a halo-occupation distribution modeling of the clustering results and discuss the implications for the manner in which massive galaxies at z ~ 0.5 occupy dark matter halos. The majority of our galaxies are central galaxies living in halos of mass 10 13 h –1 M ☉ , but 10% are satellites living in halos 10 times more massive. These results are broadly in agreement with earlier investigations of massive galaxies at z ~ 0.5. The inferred large-scale bias ( b ##IMG## [http://ej.iop.org/icons/Entities/sime.gif] {sime} 2) and relatively high number density ( ##IMG## [http://ej.iop.org/images/0004-637X/728/2/126/apj378616ieqn1.gif] {$bar{n}=3times 10^{-4},h^3,{rm Mpc}^{-3}$} ) imply that BOSS galaxies are excellent tracers of large-scale structure, suggesting BOSS will enable a wide range of investigations on the distance scale, the growth of large-scale structure, massive galaxy evolution, and other topics.}
}


To get correct syntax for LaTeX you need to change 10% to 10%. But at last I think you can delete all abstracts in your bib file, they are not printed ...



If I compile the following MWE I get only some warnings regarding that for example for bib entry Amendola2017 an resulting empty hperlink is suppressed:



Bib entry:



@ARTICLE{Amendola2017,
author = {{Amendola}, L. and {Kunz}, M. and {Saltas}, I.~D. and {Sawicki}, I.},
title = "{The fate of large-scale structure in modified gravity after GW170817 and GRB170817A}",
journal = {ArXiv e-prints},
archivePrefix = "arXiv",
eprint = {1711.04825},
keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics,
General Relativity and Quantum Cosmology,
High Energy Physics - Theory},
year = 2017,
month = nov,
adsurl = {http://adsabs.harvard.edu/abs/2017arXiv171104825A},
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
}


bibitem in *.bbl file:



bibitem[protectciteauthoryear{{Amendola}, {Kunz}, {Saltas}  &
{Sawicki}}{{Amendola} et~al.}{2017}]{Amendola2017}
{Amendola} L., {Kunz} M., {Saltas} I.~D., {Sawicki} I., 2017, preprint,
href {http://adsabs.harvard.edu/abs/2017arXiv171104825A} {} % <=========================
(mn@eprint {arXiv} {1711.04825})


Could it be that there is some information in the bib entry missing? Sorry, I do not know class mras and its spezifications ...



The complete MWE



documentclass[%
% a4paper,
fleqn,usenatbib
]{mnras}
usepackage[T1]{fontenc}
%usepackage{ae,aecompl} % <============================================obsolete

usepackage{graphicx} % Including figure files
usepackage{pdflscape} % Landscape pages
usepackage{float}
usepackage{hyperref} % <===============================================last called
%hypersetup{nolinks=true} % <==========================================

title[heading]{Title}

author[Author et al.]{
Author1$^{1}$thanks{E-mail: author@univ.edu}
\
$^{1}$University 1
}

date{Accepted XXX. Received YYY; in original form ZZZ}

pubyear{2018}

begin{document}
label{firstpage}
pagerange{pageref{firstpage}--pageref{lastpage}}
maketitle

section{Introduction}
Some introduction.
Papers: citep{Kolb2006, Haavard2006, Bene2006, Krasinski2010,
Chatterjee2011, Celerier2014, Skarke2014, Mertens2016}
nocite{*}

bibliographystyle{mnras}
bibliography{ref}

bsp % typesetting comment
label{lastpage}
end{document}


results in the following page without compiling errors, only some warnings!



enter image description here



After uncomenting the hypersetup I get the following result, without warnings:



enter image description here



Please note that packages ae and aecompl are obsolete, do not use them any longer!






share|improve this answer























  • Thanks Kurt, this is really helpful! =)
    – Siddharth Satpathy
    Dec 4 at 20:56










  • @SiddharthSatpathy you are welcome!
    – Kurt
    Dec 4 at 21:04


















up vote
0
down vote













I think the hyperref package is creating the links in your document. I could not find
an option to switch this off in their options summary or in their documentation, but from what I have found, the cite package is not compatible with the hyperref package so if you add the cite package to your preamble the links should disappear.



I know that this is a somewhat hacky solution, but it seems like those links cannot be switched off with options in hyperref.






share|improve this answer





















  • Many thanks Patrick. Your comment is very helpful. I appreciate your help. =)
    – Siddharth Satpathy
    Dec 4 at 20:57











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',
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%2f463079%2fhow-to-remove-hyperlinks-of-citations-of-publications-in-latex%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








up vote
1
down vote



accepted










You can add hypersetup{nolinks=true} to get rid of all hyperlinks in your document.



As far as I can see there are some errors in your bib file, for example in entry



@article{White2011,
author={Martin White and M. Blanton and A. Bolton and D. Schlegel and J. Tinker and A. Berlind and L. da Costa and E. Kazin and Y.-T. Lin and M.
Maia and C. K. McBride and N. Padmanabhan and J. Parejko and W. Percival and F. Prada and B. Ramos and E. Sheldon and F.
de Simoni and R. Skibba and D. Thomas and D. Wake and I. Zehavi and Z. Zheng and R. Nichol and Donald P. Schneider and Michael A.
Strauss and B. A. Weaver and David H. Weinberg},
title={The Clustering of Massive Galaxies at z ~ 0.5 from the First Semester of BOSS Data},
journal={The Astrophysical Journal},
volume={728},
number={2},
pages={126},
url={http://stacks.iop.org/0004-637X/728/i=2/a=126},
year={2011},
abstract={We calculate the real- and redshift-space clustering of massive galaxies at z ~ 0.5 using the first semester of data by the Baryon Oscillation Spectroscopic Survey (BOSS). We study the correlation functions of a sample of 44,000 massive galaxies in the redshift range 0.4 < z < 0.7. We present a halo-occupation distribution modeling of the clustering results and discuss the implications for the manner in which massive galaxies at z ~ 0.5 occupy dark matter halos. The majority of our galaxies are central galaxies living in halos of mass 10 13 h –1 M ☉ , but 10% are satellites living in halos 10 times more massive. These results are broadly in agreement with earlier investigations of massive galaxies at z ~ 0.5. The inferred large-scale bias ( b ##IMG## [http://ej.iop.org/icons/Entities/sime.gif] {sime} 2) and relatively high number density ( ##IMG## [http://ej.iop.org/images/0004-637X/728/2/126/apj378616ieqn1.gif] {$bar{n}=3times 10^{-4},h^3,{rm Mpc}^{-3}$} ) imply that BOSS galaxies are excellent tracers of large-scale structure, suggesting BOSS will enable a wide range of investigations on the distance scale, the growth of large-scale structure, massive galaxy evolution, and other topics.}
}


To get correct syntax for LaTeX you need to change 10% to 10%. But at last I think you can delete all abstracts in your bib file, they are not printed ...



If I compile the following MWE I get only some warnings regarding that for example for bib entry Amendola2017 an resulting empty hperlink is suppressed:



Bib entry:



@ARTICLE{Amendola2017,
author = {{Amendola}, L. and {Kunz}, M. and {Saltas}, I.~D. and {Sawicki}, I.},
title = "{The fate of large-scale structure in modified gravity after GW170817 and GRB170817A}",
journal = {ArXiv e-prints},
archivePrefix = "arXiv",
eprint = {1711.04825},
keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics,
General Relativity and Quantum Cosmology,
High Energy Physics - Theory},
year = 2017,
month = nov,
adsurl = {http://adsabs.harvard.edu/abs/2017arXiv171104825A},
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
}


bibitem in *.bbl file:



bibitem[protectciteauthoryear{{Amendola}, {Kunz}, {Saltas}  &
{Sawicki}}{{Amendola} et~al.}{2017}]{Amendola2017}
{Amendola} L., {Kunz} M., {Saltas} I.~D., {Sawicki} I., 2017, preprint,
href {http://adsabs.harvard.edu/abs/2017arXiv171104825A} {} % <=========================
(mn@eprint {arXiv} {1711.04825})


Could it be that there is some information in the bib entry missing? Sorry, I do not know class mras and its spezifications ...



The complete MWE



documentclass[%
% a4paper,
fleqn,usenatbib
]{mnras}
usepackage[T1]{fontenc}
%usepackage{ae,aecompl} % <============================================obsolete

usepackage{graphicx} % Including figure files
usepackage{pdflscape} % Landscape pages
usepackage{float}
usepackage{hyperref} % <===============================================last called
%hypersetup{nolinks=true} % <==========================================

title[heading]{Title}

author[Author et al.]{
Author1$^{1}$thanks{E-mail: author@univ.edu}
\
$^{1}$University 1
}

date{Accepted XXX. Received YYY; in original form ZZZ}

pubyear{2018}

begin{document}
label{firstpage}
pagerange{pageref{firstpage}--pageref{lastpage}}
maketitle

section{Introduction}
Some introduction.
Papers: citep{Kolb2006, Haavard2006, Bene2006, Krasinski2010,
Chatterjee2011, Celerier2014, Skarke2014, Mertens2016}
nocite{*}

bibliographystyle{mnras}
bibliography{ref}

bsp % typesetting comment
label{lastpage}
end{document}


results in the following page without compiling errors, only some warnings!



enter image description here



After uncomenting the hypersetup I get the following result, without warnings:



enter image description here



Please note that packages ae and aecompl are obsolete, do not use them any longer!






share|improve this answer























  • Thanks Kurt, this is really helpful! =)
    – Siddharth Satpathy
    Dec 4 at 20:56










  • @SiddharthSatpathy you are welcome!
    – Kurt
    Dec 4 at 21:04















up vote
1
down vote



accepted










You can add hypersetup{nolinks=true} to get rid of all hyperlinks in your document.



As far as I can see there are some errors in your bib file, for example in entry



@article{White2011,
author={Martin White and M. Blanton and A. Bolton and D. Schlegel and J. Tinker and A. Berlind and L. da Costa and E. Kazin and Y.-T. Lin and M.
Maia and C. K. McBride and N. Padmanabhan and J. Parejko and W. Percival and F. Prada and B. Ramos and E. Sheldon and F.
de Simoni and R. Skibba and D. Thomas and D. Wake and I. Zehavi and Z. Zheng and R. Nichol and Donald P. Schneider and Michael A.
Strauss and B. A. Weaver and David H. Weinberg},
title={The Clustering of Massive Galaxies at z ~ 0.5 from the First Semester of BOSS Data},
journal={The Astrophysical Journal},
volume={728},
number={2},
pages={126},
url={http://stacks.iop.org/0004-637X/728/i=2/a=126},
year={2011},
abstract={We calculate the real- and redshift-space clustering of massive galaxies at z ~ 0.5 using the first semester of data by the Baryon Oscillation Spectroscopic Survey (BOSS). We study the correlation functions of a sample of 44,000 massive galaxies in the redshift range 0.4 < z < 0.7. We present a halo-occupation distribution modeling of the clustering results and discuss the implications for the manner in which massive galaxies at z ~ 0.5 occupy dark matter halos. The majority of our galaxies are central galaxies living in halos of mass 10 13 h –1 M ☉ , but 10% are satellites living in halos 10 times more massive. These results are broadly in agreement with earlier investigations of massive galaxies at z ~ 0.5. The inferred large-scale bias ( b ##IMG## [http://ej.iop.org/icons/Entities/sime.gif] {sime} 2) and relatively high number density ( ##IMG## [http://ej.iop.org/images/0004-637X/728/2/126/apj378616ieqn1.gif] {$bar{n}=3times 10^{-4},h^3,{rm Mpc}^{-3}$} ) imply that BOSS galaxies are excellent tracers of large-scale structure, suggesting BOSS will enable a wide range of investigations on the distance scale, the growth of large-scale structure, massive galaxy evolution, and other topics.}
}


To get correct syntax for LaTeX you need to change 10% to 10%. But at last I think you can delete all abstracts in your bib file, they are not printed ...



If I compile the following MWE I get only some warnings regarding that for example for bib entry Amendola2017 an resulting empty hperlink is suppressed:



Bib entry:



@ARTICLE{Amendola2017,
author = {{Amendola}, L. and {Kunz}, M. and {Saltas}, I.~D. and {Sawicki}, I.},
title = "{The fate of large-scale structure in modified gravity after GW170817 and GRB170817A}",
journal = {ArXiv e-prints},
archivePrefix = "arXiv",
eprint = {1711.04825},
keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics,
General Relativity and Quantum Cosmology,
High Energy Physics - Theory},
year = 2017,
month = nov,
adsurl = {http://adsabs.harvard.edu/abs/2017arXiv171104825A},
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
}


bibitem in *.bbl file:



bibitem[protectciteauthoryear{{Amendola}, {Kunz}, {Saltas}  &
{Sawicki}}{{Amendola} et~al.}{2017}]{Amendola2017}
{Amendola} L., {Kunz} M., {Saltas} I.~D., {Sawicki} I., 2017, preprint,
href {http://adsabs.harvard.edu/abs/2017arXiv171104825A} {} % <=========================
(mn@eprint {arXiv} {1711.04825})


Could it be that there is some information in the bib entry missing? Sorry, I do not know class mras and its spezifications ...



The complete MWE



documentclass[%
% a4paper,
fleqn,usenatbib
]{mnras}
usepackage[T1]{fontenc}
%usepackage{ae,aecompl} % <============================================obsolete

usepackage{graphicx} % Including figure files
usepackage{pdflscape} % Landscape pages
usepackage{float}
usepackage{hyperref} % <===============================================last called
%hypersetup{nolinks=true} % <==========================================

title[heading]{Title}

author[Author et al.]{
Author1$^{1}$thanks{E-mail: author@univ.edu}
\
$^{1}$University 1
}

date{Accepted XXX. Received YYY; in original form ZZZ}

pubyear{2018}

begin{document}
label{firstpage}
pagerange{pageref{firstpage}--pageref{lastpage}}
maketitle

section{Introduction}
Some introduction.
Papers: citep{Kolb2006, Haavard2006, Bene2006, Krasinski2010,
Chatterjee2011, Celerier2014, Skarke2014, Mertens2016}
nocite{*}

bibliographystyle{mnras}
bibliography{ref}

bsp % typesetting comment
label{lastpage}
end{document}


results in the following page without compiling errors, only some warnings!



enter image description here



After uncomenting the hypersetup I get the following result, without warnings:



enter image description here



Please note that packages ae and aecompl are obsolete, do not use them any longer!






share|improve this answer























  • Thanks Kurt, this is really helpful! =)
    – Siddharth Satpathy
    Dec 4 at 20:56










  • @SiddharthSatpathy you are welcome!
    – Kurt
    Dec 4 at 21:04













up vote
1
down vote



accepted







up vote
1
down vote



accepted






You can add hypersetup{nolinks=true} to get rid of all hyperlinks in your document.



As far as I can see there are some errors in your bib file, for example in entry



@article{White2011,
author={Martin White and M. Blanton and A. Bolton and D. Schlegel and J. Tinker and A. Berlind and L. da Costa and E. Kazin and Y.-T. Lin and M.
Maia and C. K. McBride and N. Padmanabhan and J. Parejko and W. Percival and F. Prada and B. Ramos and E. Sheldon and F.
de Simoni and R. Skibba and D. Thomas and D. Wake and I. Zehavi and Z. Zheng and R. Nichol and Donald P. Schneider and Michael A.
Strauss and B. A. Weaver and David H. Weinberg},
title={The Clustering of Massive Galaxies at z ~ 0.5 from the First Semester of BOSS Data},
journal={The Astrophysical Journal},
volume={728},
number={2},
pages={126},
url={http://stacks.iop.org/0004-637X/728/i=2/a=126},
year={2011},
abstract={We calculate the real- and redshift-space clustering of massive galaxies at z ~ 0.5 using the first semester of data by the Baryon Oscillation Spectroscopic Survey (BOSS). We study the correlation functions of a sample of 44,000 massive galaxies in the redshift range 0.4 < z < 0.7. We present a halo-occupation distribution modeling of the clustering results and discuss the implications for the manner in which massive galaxies at z ~ 0.5 occupy dark matter halos. The majority of our galaxies are central galaxies living in halos of mass 10 13 h –1 M ☉ , but 10% are satellites living in halos 10 times more massive. These results are broadly in agreement with earlier investigations of massive galaxies at z ~ 0.5. The inferred large-scale bias ( b ##IMG## [http://ej.iop.org/icons/Entities/sime.gif] {sime} 2) and relatively high number density ( ##IMG## [http://ej.iop.org/images/0004-637X/728/2/126/apj378616ieqn1.gif] {$bar{n}=3times 10^{-4},h^3,{rm Mpc}^{-3}$} ) imply that BOSS galaxies are excellent tracers of large-scale structure, suggesting BOSS will enable a wide range of investigations on the distance scale, the growth of large-scale structure, massive galaxy evolution, and other topics.}
}


To get correct syntax for LaTeX you need to change 10% to 10%. But at last I think you can delete all abstracts in your bib file, they are not printed ...



If I compile the following MWE I get only some warnings regarding that for example for bib entry Amendola2017 an resulting empty hperlink is suppressed:



Bib entry:



@ARTICLE{Amendola2017,
author = {{Amendola}, L. and {Kunz}, M. and {Saltas}, I.~D. and {Sawicki}, I.},
title = "{The fate of large-scale structure in modified gravity after GW170817 and GRB170817A}",
journal = {ArXiv e-prints},
archivePrefix = "arXiv",
eprint = {1711.04825},
keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics,
General Relativity and Quantum Cosmology,
High Energy Physics - Theory},
year = 2017,
month = nov,
adsurl = {http://adsabs.harvard.edu/abs/2017arXiv171104825A},
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
}


bibitem in *.bbl file:



bibitem[protectciteauthoryear{{Amendola}, {Kunz}, {Saltas}  &
{Sawicki}}{{Amendola} et~al.}{2017}]{Amendola2017}
{Amendola} L., {Kunz} M., {Saltas} I.~D., {Sawicki} I., 2017, preprint,
href {http://adsabs.harvard.edu/abs/2017arXiv171104825A} {} % <=========================
(mn@eprint {arXiv} {1711.04825})


Could it be that there is some information in the bib entry missing? Sorry, I do not know class mras and its spezifications ...



The complete MWE



documentclass[%
% a4paper,
fleqn,usenatbib
]{mnras}
usepackage[T1]{fontenc}
%usepackage{ae,aecompl} % <============================================obsolete

usepackage{graphicx} % Including figure files
usepackage{pdflscape} % Landscape pages
usepackage{float}
usepackage{hyperref} % <===============================================last called
%hypersetup{nolinks=true} % <==========================================

title[heading]{Title}

author[Author et al.]{
Author1$^{1}$thanks{E-mail: author@univ.edu}
\
$^{1}$University 1
}

date{Accepted XXX. Received YYY; in original form ZZZ}

pubyear{2018}

begin{document}
label{firstpage}
pagerange{pageref{firstpage}--pageref{lastpage}}
maketitle

section{Introduction}
Some introduction.
Papers: citep{Kolb2006, Haavard2006, Bene2006, Krasinski2010,
Chatterjee2011, Celerier2014, Skarke2014, Mertens2016}
nocite{*}

bibliographystyle{mnras}
bibliography{ref}

bsp % typesetting comment
label{lastpage}
end{document}


results in the following page without compiling errors, only some warnings!



enter image description here



After uncomenting the hypersetup I get the following result, without warnings:



enter image description here



Please note that packages ae and aecompl are obsolete, do not use them any longer!






share|improve this answer














You can add hypersetup{nolinks=true} to get rid of all hyperlinks in your document.



As far as I can see there are some errors in your bib file, for example in entry



@article{White2011,
author={Martin White and M. Blanton and A. Bolton and D. Schlegel and J. Tinker and A. Berlind and L. da Costa and E. Kazin and Y.-T. Lin and M.
Maia and C. K. McBride and N. Padmanabhan and J. Parejko and W. Percival and F. Prada and B. Ramos and E. Sheldon and F.
de Simoni and R. Skibba and D. Thomas and D. Wake and I. Zehavi and Z. Zheng and R. Nichol and Donald P. Schneider and Michael A.
Strauss and B. A. Weaver and David H. Weinberg},
title={The Clustering of Massive Galaxies at z ~ 0.5 from the First Semester of BOSS Data},
journal={The Astrophysical Journal},
volume={728},
number={2},
pages={126},
url={http://stacks.iop.org/0004-637X/728/i=2/a=126},
year={2011},
abstract={We calculate the real- and redshift-space clustering of massive galaxies at z ~ 0.5 using the first semester of data by the Baryon Oscillation Spectroscopic Survey (BOSS). We study the correlation functions of a sample of 44,000 massive galaxies in the redshift range 0.4 < z < 0.7. We present a halo-occupation distribution modeling of the clustering results and discuss the implications for the manner in which massive galaxies at z ~ 0.5 occupy dark matter halos. The majority of our galaxies are central galaxies living in halos of mass 10 13 h –1 M ☉ , but 10% are satellites living in halos 10 times more massive. These results are broadly in agreement with earlier investigations of massive galaxies at z ~ 0.5. The inferred large-scale bias ( b ##IMG## [http://ej.iop.org/icons/Entities/sime.gif] {sime} 2) and relatively high number density ( ##IMG## [http://ej.iop.org/images/0004-637X/728/2/126/apj378616ieqn1.gif] {$bar{n}=3times 10^{-4},h^3,{rm Mpc}^{-3}$} ) imply that BOSS galaxies are excellent tracers of large-scale structure, suggesting BOSS will enable a wide range of investigations on the distance scale, the growth of large-scale structure, massive galaxy evolution, and other topics.}
}


To get correct syntax for LaTeX you need to change 10% to 10%. But at last I think you can delete all abstracts in your bib file, they are not printed ...



If I compile the following MWE I get only some warnings regarding that for example for bib entry Amendola2017 an resulting empty hperlink is suppressed:



Bib entry:



@ARTICLE{Amendola2017,
author = {{Amendola}, L. and {Kunz}, M. and {Saltas}, I.~D. and {Sawicki}, I.},
title = "{The fate of large-scale structure in modified gravity after GW170817 and GRB170817A}",
journal = {ArXiv e-prints},
archivePrefix = "arXiv",
eprint = {1711.04825},
keywords = {Astrophysics - Cosmology and Nongalactic Astrophysics,
General Relativity and Quantum Cosmology,
High Energy Physics - Theory},
year = 2017,
month = nov,
adsurl = {http://adsabs.harvard.edu/abs/2017arXiv171104825A},
adsnote = {Provided by the SAO/NASA Astrophysics Data System},
}


bibitem in *.bbl file:



bibitem[protectciteauthoryear{{Amendola}, {Kunz}, {Saltas}  &
{Sawicki}}{{Amendola} et~al.}{2017}]{Amendola2017}
{Amendola} L., {Kunz} M., {Saltas} I.~D., {Sawicki} I., 2017, preprint,
href {http://adsabs.harvard.edu/abs/2017arXiv171104825A} {} % <=========================
(mn@eprint {arXiv} {1711.04825})


Could it be that there is some information in the bib entry missing? Sorry, I do not know class mras and its spezifications ...



The complete MWE



documentclass[%
% a4paper,
fleqn,usenatbib
]{mnras}
usepackage[T1]{fontenc}
%usepackage{ae,aecompl} % <============================================obsolete

usepackage{graphicx} % Including figure files
usepackage{pdflscape} % Landscape pages
usepackage{float}
usepackage{hyperref} % <===============================================last called
%hypersetup{nolinks=true} % <==========================================

title[heading]{Title}

author[Author et al.]{
Author1$^{1}$thanks{E-mail: author@univ.edu}
\
$^{1}$University 1
}

date{Accepted XXX. Received YYY; in original form ZZZ}

pubyear{2018}

begin{document}
label{firstpage}
pagerange{pageref{firstpage}--pageref{lastpage}}
maketitle

section{Introduction}
Some introduction.
Papers: citep{Kolb2006, Haavard2006, Bene2006, Krasinski2010,
Chatterjee2011, Celerier2014, Skarke2014, Mertens2016}
nocite{*}

bibliographystyle{mnras}
bibliography{ref}

bsp % typesetting comment
label{lastpage}
end{document}


results in the following page without compiling errors, only some warnings!



enter image description here



After uncomenting the hypersetup I get the following result, without warnings:



enter image description here



Please note that packages ae and aecompl are obsolete, do not use them any longer!







share|improve this answer














share|improve this answer



share|improve this answer








edited Dec 4 at 21:04

























answered Dec 4 at 20:18









Kurt

34.6k846157




34.6k846157












  • Thanks Kurt, this is really helpful! =)
    – Siddharth Satpathy
    Dec 4 at 20:56










  • @SiddharthSatpathy you are welcome!
    – Kurt
    Dec 4 at 21:04


















  • Thanks Kurt, this is really helpful! =)
    – Siddharth Satpathy
    Dec 4 at 20:56










  • @SiddharthSatpathy you are welcome!
    – Kurt
    Dec 4 at 21:04
















Thanks Kurt, this is really helpful! =)
– Siddharth Satpathy
Dec 4 at 20:56




Thanks Kurt, this is really helpful! =)
– Siddharth Satpathy
Dec 4 at 20:56












@SiddharthSatpathy you are welcome!
– Kurt
Dec 4 at 21:04




@SiddharthSatpathy you are welcome!
– Kurt
Dec 4 at 21:04










up vote
0
down vote













I think the hyperref package is creating the links in your document. I could not find
an option to switch this off in their options summary or in their documentation, but from what I have found, the cite package is not compatible with the hyperref package so if you add the cite package to your preamble the links should disappear.



I know that this is a somewhat hacky solution, but it seems like those links cannot be switched off with options in hyperref.






share|improve this answer





















  • Many thanks Patrick. Your comment is very helpful. I appreciate your help. =)
    – Siddharth Satpathy
    Dec 4 at 20:57















up vote
0
down vote













I think the hyperref package is creating the links in your document. I could not find
an option to switch this off in their options summary or in their documentation, but from what I have found, the cite package is not compatible with the hyperref package so if you add the cite package to your preamble the links should disappear.



I know that this is a somewhat hacky solution, but it seems like those links cannot be switched off with options in hyperref.






share|improve this answer





















  • Many thanks Patrick. Your comment is very helpful. I appreciate your help. =)
    – Siddharth Satpathy
    Dec 4 at 20:57













up vote
0
down vote










up vote
0
down vote









I think the hyperref package is creating the links in your document. I could not find
an option to switch this off in their options summary or in their documentation, but from what I have found, the cite package is not compatible with the hyperref package so if you add the cite package to your preamble the links should disappear.



I know that this is a somewhat hacky solution, but it seems like those links cannot be switched off with options in hyperref.






share|improve this answer












I think the hyperref package is creating the links in your document. I could not find
an option to switch this off in their options summary or in their documentation, but from what I have found, the cite package is not compatible with the hyperref package so if you add the cite package to your preamble the links should disappear.



I know that this is a somewhat hacky solution, but it seems like those links cannot be switched off with options in hyperref.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 4 at 8:38









Patrick

467




467












  • Many thanks Patrick. Your comment is very helpful. I appreciate your help. =)
    – Siddharth Satpathy
    Dec 4 at 20:57


















  • Many thanks Patrick. Your comment is very helpful. I appreciate your help. =)
    – Siddharth Satpathy
    Dec 4 at 20:57
















Many thanks Patrick. Your comment is very helpful. I appreciate your help. =)
– Siddharth Satpathy
Dec 4 at 20:57




Many thanks Patrick. Your comment is very helpful. I appreciate your help. =)
– Siddharth Satpathy
Dec 4 at 20:57


















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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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%2f463079%2fhow-to-remove-hyperlinks-of-citations-of-publications-in-latex%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

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

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?