You need to use a modern .bst
file; plain.bst
is not going to cut it, I'm afraid. In plain
and the other "classic" BibTeX style files, the only fields contained in a misc
entry that are printed out are author
, title
, howpublished
, date
, and note
. All other fields -- including url
and accessed
-- are ignored. Hence the need for a more recent bibliography style.
Which bibliography style should you choose? Since you haven't indicated what your formatting requirements are, I can't give any definitive advice. You may want to start out with the plainnat
bibliography style. (This means, by the way, that you will also need to load the natbib
package, but you may be doing so already.) You should probably also be loading the url
package to let LaTeX find convenient line break points in a long URL string.
By the way, the date
field in a misc
entry is a bit unusual. (At least that's the case when it's processed by plainnat.
) For your purposes, I think it's best if you omit the date
field entirely and, instead, include the day-of-the-month information in the month
field; i.e., set month = "9 April"
for the entry at hand.
Be aware that the misc
entry (at least when used with the plainnat
style) does not recognize a field named accessed
. However, things will work out well if you (i) replace the accessed
field name with note
and (ii) place the word "Accessed" inside the note
field's argument. Assuming, then, that you go with plainnat
or a similar bibliography style, the bib entry should probably look something like this:
@misc{Peston2010,
author = "Peston, Robert",
title = "The Digital Economy Bill",
url = "www.news.bbc.co.uk/1/hi/technology/8604602.stm",
year = 2010,
month = "9 April",
note = "Accessed 8 February 2012",
}
With this entry stored in the file myref.bib
, say, the following MWE
\documentclass{article}
\usepackage{natbib}
\usepackage{url}
\bibliographystyle{plainnat}
\begin{document}
\citet{Peston2010}, \citep{Peston2010}
\bibliography{myref} % myref.bib contains the entry keyed to 'Peston2010'
\end{document}
produces this output:
![enter image description here](https://i.stack.imgur.com/rxH20.png)
Two final comments: (i) If you don't want BibTeX to lowercase the words in the title
field, you should enclose the words in question in curly braces. (ii) If you want the citations generated by natbib
's \citet
and \citep
commands to use round parentheses rather than square brackets, load the natbib
package with the option "round", as in \usepackage[round]{natbib}
.
Let's have a TeX and a BIB file:
Code
wiki.tex
\documentclass{article}
\usepackage{url,apacite} % package url to prevent horrible linebreaks
\bibliographystyle{apacite}
\begin{document}
\cite{wiki:xxx}
\bibliography{wiki}
\end{document}
wiki.bib
@misc{ wiki:xxx,
author = {{Estimation lemma}},
title = "Estimation lemma --- {W}ikipedia{,} The Free Encyclopedia",
year = "2010",
url = "http://en.wikipedia.org/w/index.php?title=Estimation_lemma&oldid=375747928",
note = "[Online; accessed 29-September-2012]"
}
Output
![compiled example](https://i.stack.imgur.com/foxKn.png)
Notes
Notice the use of double braces: {{Estimation lemma}}
.
The inner pair hides these two words from BibTeX so that it only "sees" one string.
Best Answer
(too long for comment)
With the following code, the website is displayed.
If this code doesn't work for you as such, you may have to provide your code for testing.