Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This is what one of my sources looks like

@misc{Madlena11, 
Author={Chavala Madlena},
Publisher={Guardian},   
Title = {Telecomix: tech support for the Arab spring}, 
url = {http://www.guardian.co.uk/technology/2011/jul/07/telecomix-arab-spring}
}

However, sometimes I have a source that doesn't have an Author such as:

@misc{RT12, 
%Author={},
Publisher={RT TV Network},   
Title = {Anti-ACTA day: Angry crowds take action}, 
url = {http://rt.com/news/acta-protests-rallies-europe-089/}
}

My problem is when the Author is not listed it doesn't sort by Publisher or even display the publisher in the references, nor the URL. How can I fix this?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

Use the key field:

@misc{RT12, 
key={some string reflecting how you wish the entry alphabetized},
Publisher={RT TV Network},   
Title = {Anti-ACTA day: Angry crowds take action}, 
url = {http://rt.com/news/acta-protests-rallies-europe-089/}
}

Assuming you want the entry to be sorted as "RT TV Network", then use

key={RT TV Network}

The url field is used only if the bibliography style knows about it. For example, with

\usepackage[numeric]{natbib}
\bibliographystyle{plainnat}

then URLs are showed. And the contents of key will be used in place of the author.

Example

\begin{filecontents*}{\jobname.bib}
@misc{Madlena11, 
Author={Chavala Madlena},
Publisher={Guardian},   
Title = {Telecomix: tech support for the {Arab} spring}, 
url = {http://www.guardian.co.uk/technology/2011/jul/07/telecomix-arab-spring}
}

@misc{RT12, 
key={aaaa},
Publisher={RT TV Network},   
Title = {{Anti}-{ACTA} day: {Angry} crowds take action}, 
url = {http://rt.com/news/acta-protests-rallies-europe-089/}
}

\end{filecontents*}

\documentclass{article}

\usepackage[numbers]{natbib}
\usepackage{url}

\begin{document}
\cite{Madlena11}, \cite{RT12}

\bibliographystyle{plainnat}
\bibliography{\jobname}
\end{document}

The filecontents* is just for having the .bib file inside the source. Note also the braces to force capitalization.

enter image description here

share|improve this answer
    
Can you be a little more specific what I can use as the string for the key. Also, why would the URL not get displayed in either situation? –  DomX23 May 4 '12 at 23:03
    
Also is there a similar way to display the publishers? –  DomX23 May 4 '12 at 23:07
    
Unfortunately, now I do not get any errors or warnings but it still does not display the publisher. THis is what it looks like @misc{RT12, key={RT TV Network}, Publisher={RT TV Network}, Title = {Anti-ACTA day: Angry crowds take action}, url = {rt.com/news/acta-protests-rallies-europe-089} } Also, urls are not displaying using what you have provided. What am I doing wrong? –  DomX23 May 4 '12 at 23:42

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.