[Tex/LaTex] How to cite online publication with address

bibtexciting

Code BibTeX entry

@misc{ stat_suomi_90_14, 
   author = "Tilastokeskus",
   title = "4. Vuosineljännes 2014, Liitekuvio 12. Sähkön tuonti ja vienti 1990–2014*", 
   address = "Helsinki", 
   url = "http://www.stat.fi/til/ehk/2014/04/ehk_2014_04_2015-03-23_kuv_012_fi.html", 
   note = "[Online; visited 6-May-2015]"
}

and in TeX document at the end

\bibliographystyle{ieeetr}
\bibliography{task}

which gives

enter image description here

where no fields address and url information.
I need the address and url pieces of information in the cite.

How can you cite better to this web publication?

Best Answer

The ieeetr bibliography style is one of the original BibTeX styles. It dates back to (at least) the early 1990s. As such, maybe unsurprisingly, it's not programmed to do anything with a url field.

I suggest you use the IEEEtranN bibliography style instead. It is much newer and does know how to process the url field. It also doesn't ignore the address field. If you follow this approach, you should load the natbib package with the option numbers. In addition, you may want to drop the string "Online" from the note field, since the string "[Online]. Available:" is prefixed to the url field by the IEEEtranN style.

A separate remark: I'm afraid I don't understand a single word of Finnish, but I suspect that one or more of the words Vuosineljännes, Liitekuvio, and Sähkön should not be converted to lowercase by BibTeX. If this hunch is correct, you should encase the words in curly braces, to exempt them from the "sentence style" conversion that's applied by the IEEEtranN bibliography style to the contents of title fields.

enter image description here

\documentclass{article}
\usepackage{filecontents}
\begin{filecontents}{task.bib}
@misc{ stat_suomi_90_14, 
   author = "Tilastokeskus",
   title = "4. Vuosineljännes 2014, Liitekuvio 12. Sähkön tuonti ja vienti 1990–2014*", 
   address = "Helsinki", 
   url = "http://www.stat.fi/til/ehk/2014/04/ehk_2014_04_2015-03-23_kuv_012_fi.html", 
   note = "visited 6-May-2015"
}
\end{filecontents}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{url}
\usepackage[numbers]{natbib}
\bibliographystyle{IEEEtranN}

\begin{document}
\nocite{*}
\bibliography{task}
\end{document}
Related Question