First of all, I have tried Disabling URLs in bibliography and it does not work.
Secondly, I am not repeating Suppress certain URLS in bibliography as I prefer to not edit the bib file, which is automatically generated.
I am preparing a conference publication to be submitted to IEEE; so, please don't suggest editing the bibliography style file (IEEEtran.bst).
I have a .bib file generated from Mendeley which contains url fields. Currently, I manually delete them. However, in favor of efficiency, I would like either
- A way to export from Mendeley without urls
or
- A way to disable insertion of url in the bibliography, preferrably via a directive or a flag
preferably both!
A minimal example [source.tex]
\documentclass[conference]{IEEEtran}
\begin{document}
\bstctlcite{MyBSTcontrol}
\title{I need a vacation!}
\author{\IEEEauthorblockN{tokyo coder}
\IEEEauthorblockA{Institute of Random Stuff, A big University, Japan}}
\maketitle
\IEEEpeerreviewmaketitle
\section{Introduction}
kill me now \cite{Levecque2017} \\does happiness exist?
\bibliographystyle{IEEEtran}
\bibliography{science,disabl_url}
% that's all folks
\end{document}
The bib file is [science.bib]
@article{Levecque2017,
author = {Levecque, Katia and Anseel, Frederik and {De Beuckelaer}, Alain and {Van der Heyden}, Johan and Gisle, Lydia},
doi = {http://dx.doi.org/10.1016/j.respol.2017.02.008},
isbn = {3907},
issn = {0048-7333},
journal = {Research Policy},
keywords = {GHQ-12,Mental health,PhD students,Psychosocial working conditions,Work organization},
number = {4},
pages = {868--879},
publisher = {Elsevier B.V.},
title = {{Work organization and mental health problems in PhD students}},
url = {http://www.sciencedirect.com/science/article/pii/S0048733317300422},
volume = {46},
year = {2017}
}
Second bib file is [disabl_url.bib]
@IEEEtranBSTCTL{MyBSTcontrol,
CTLuse_url = "no",
}
sed 's/^\s*url.*,//' bibliography.bib >temp.bibwill delete lines starting "url" (it will leave a blank line but that doesn't matter). – Chris H Mar 17 '17 at 11:18\documentclassto\end{document}. – egreg Mar 17 '17 at 11:23IEEEtran.bstdo you use? The current one seems to beVersion 1.14 (2015/08/26), and it has the handling ofCTLuse_urlbuilt in. – gernot Apr 24 '17 at 16:54IEEEtran.bstfrom IEEE's conference web page http://www.ieee.org/conferences_events/conferences/publishing/templates.html . It isVersion 1.12UsingVersion 1.14from CTAN solved the issue. Thank you very much! – tokyoCoder Apr 25 '17 at 09:12