2

How do I remove "[Online]. Available:" from References in IEEETran.cls in Overleaf? I am currently using \def\url#1{} to disable the URL. Thank you for your help.

leandriis
  • 62,593
Rashed
  • 19
  • 1
    Welcome to TeX.SX! Could you please add a minimal working example with bibliography (MWEB) that allows others to reproduce the issue you describe? – leandriis Jul 15 '19 at 18:00
  • Did you mean IEEEtran.bst (the bibliography style file) or IEEEtran.cls (the LaTeX document class file)? I would be very surprised if it turns out that the document class governs the insertion of strings such as [Online]. Available: in the formatted bibliographic entries. That's usually the job of the bibliography style file. Please advise. – Mico Jul 15 '19 at 19:25
  • Please also clarify your actual typesetting objective? Is it to suppress the typesetting of URL strings in the bibliography? If that's not the case, what else are you trying to achieve? – Mico Jul 15 '19 at 19:27
  • I was wrong to assume that it was IEEEtran.cls. It should be IEEEtran.bst. Here is an example. https://www.overleaf.com/6133299219cjwsjhyzpbnb. Only the third reference shows the issue. – Rashed Jul 16 '19 at 17:30
  • The code is unavailable without an account ... – MS-SPO Jul 05 '22 at 08:18

2 Answers2

0

Solution here worked:

Disabling URLs in bibliography

The IEEEtran.bst v1.14 introduces a new option to disable URLs. Now you can create a bib file containing the following:

@IEEEtranBSTCTL{MyBSTcontrol,
    CTLuse_url = "no",
}

Include this bib file along with other bib files, and invoke it via bstctlcite

\begin{document}
\bstctlcite{MyBSTcontrol}
.
.

All URLs in the references will be gone.

Doctor
  • 1
  • 1
-2

Found a way around the issue: remove URL in Zotero (one-by-one, tedious) then export the bibLatex file. This may throw a couple of warnings in the overleaf which can be ignored.

Rashed
  • 19