Re: bibliography question



Huub wrote:

> Hi,
>
> Reading the latex-lshort.pdf I can find a lot of info, but this doesn't
> get clear to me: if I use \cite{} in the text and bibitem{} in the
> bibliography, can I use e.g. \cite{P1} and bibitem{P1} or does this only
> work using [P1] and bibitem[P1]{}? Now I'm getting a lot of 'missing
> \item' messages when compiling the document.

You have the choice of using either \bibitem[x]{y} or \bibitem{y};
in both cases you refer to the bibliography item with \cite{y}.
The optional argument is the label that will appear for the citation;
if you don't use it, then the label will be the order number of
the item.

With \bibitem[P1]{} you won't be able to refer to the item in the text.
For example, with
=====
\begin{thebibliography}{P1}
\bibitem[P1]{} aaa
\bibitem[P2]{} bbb
\end{thebibliography}
=====
every \cite{} will be expanded like []. Instead you can use
=====
\begin{thebibliography}{P1}
\bibitem[P1]{P1} aaa
\bibitem[P2]{P2} bbb
\end{thebibliography}
=====
and a \cite{P2} would be expanded as [P2]. But the two arguments
are independent of each other, so you can use as "y" a more informative
label.

Thus an example such as
=====
.... \cite{author-1998} ... \cite{author-2005} ...
....
\begin{thebibliography}{P1}
\bibitem[P1]{author-1998} aaa
\bibitem[P2]{author-2005} bbb
\end{thebibliography}
=====
will result in something like
=====
.... [P1] ... [P2] ...
....
References
[P1] aaa
[P2] bbb
=====

The "missing \item" message is usually produced when you forget
the argument to \begin{thebibliography} which is compulsory anyway
and should be a string as wide as the largest label in the items.

Ciao
Enrico
.



Relevant Pages

  • Re: "Friendly Premises"
    ... >>>concepts do not refer to anything, ... have a technical meaning, that it's not a defined term, that there's ... nothing to which epistemologists attach the label 'sense'. ...
    (sci.logic)
  • Re: can not re-intsall my copy of office xp
    ... liable for installation of software he don't own). ... previous thread deserves a more decent answer like: ... label on the case of machine. ... printed on the box(I'm refer to the 3CD boxes for packing OS/Office OEM CDs) ...
    (microsoft.public.office.misc)
  • Re: Is everything object ?
    ... Smalltalk at least) one can refer to it using 'self'. ... The message name, source, and parsed representations of a method are not ... It is only a *label* used to refer to the ... As you can see, foo, bar, and baz all contain data that evaluates as ...
    (comp.lang.ruby)
  • Re: The roving thread.
    ... being "like regurgitating dreams". ... Sounds just like the way your mind is working, especially as you later refer to... ... They tried to label one of my kids as epileptic. ...
    (uk.rec.waterways)
  • 2 javascript questions
    ... I wanted to clear the contents of a label on the form when the ... It works fine and the page posts back as there are, of course, other ... I wanted to do "simple" validation of a asp.net1.1 textbox ... to refer to the text of a label it works, ...
    (microsoft.public.dotnet.framework.aspnet)