I'm using BibTeX to cite the references in my LaTeX file. I have one entry (citing an url using the entrytype @misc
). The default style is the author-year mode using the apalike
style.
This is the entry \cite{url-1}.
The expected output is
This is the entry [url-1].
But, I get the output as
This is the entry [url-1, ].
The BibTeX entry does not have year
field. This is
@misc{url-1,
key={url-1},
url={some website},
}
How do I eliminate the extra spacing for the year field. Even if I add an empty field for year like year={}
, I still get the same format.
bibtex
? See the.blg
file? It may be that forapalike
year is actually expected, even formisc
fields.natbib
?