Janus Sandsgaard wrote:

> On Thursday 12 May 2005 20:35, Juergen Spitzmueller wrote:
> 
>> Not strange at all. The problem is that apalike.bst has not been
>> designed for natbib, but for a different package (apacite.sty). So don't
>> expect it to work with natbib.
> 
> Ah. Thanks a lot. I was not aware of that. I guess I need to study a
> little on the basics of BiB and LaTeX to understand what I am doing. Can
> you recommend a (short) resource explaining me someting like:
> 
> - The difference between BiBteX, NatBib, JureBib etc.

The first time you run the latex compiler over your latex file,
your_file.tex, it will output among other things your_file.aux containing

\citation{Butler:Tsuda97}
\citation{Tsuda:etal99}
\bibstyle{plainnat}
\bibdata{your_bibtex_references}

If you now run "bibtex your_file", bibtex will interrogate this .aux file
and your_bibtex_references.bib to output your_file.bbl

\begin{thebibliography}{6}
\expandafter\ifx\csname natexlab\endcsname\relax\def\natexlab#1{#1}\fi
\expandafter\ifx\csname url\endcsname\relax
  \def\url#1{{\tt #1}}\fi

\bibitem[Butler and Tsuda(1997)]{Butler:Tsuda97}
J.P. Butler and A.~Tsuda.
\newblock {\em J.~Appl. Physiol.}, 83:\penalty0 800--809, 1997.

\bibitem[Tsuda et~al.(1999)Tsuda, Otani, and Butler]{Tsuda:etal99}
A.~Tsuda, Y.~Otani, and J.P. Butler.
\newblock {\em J.~Appl. Physiol.}, 86:\penalty0 977--984, 1999.

\end{thebibliography}

The style of these entries is dependent on the bibtex style file. Here
plainnat.bst.

The next time you run latex, it merges the contents of this .bbl file into
the .dvi file. You'll also find that the .aux file has some additional
entries:

\bibcite{Butler:Tsuda97}{{1}{1997}{{Butler and Tsuda}}{{}}}
\bibcite{Tsuda:etal99}{{5}{1999}{{Tsuda et~al.}}{{Tsuda, Otani, and
Butler}}}

The formatting of these entries is controlled by plainnat.sty. Ie, the .sty
file is used by latex and the .bst file is used by bibtex.

> - The function of .sty and .bst - and how they can be used.
> 
> Remember: I am a social scientist :-) The literature I have seen so far
> is often quite technical and all I need is to know the rules of the game
> and a little background.
> 
>> Try one of natbib's one style files or create one with custom-bib.
> 
> How can I tell if a style works with NatBib? Can you recommend a place to
> look for styles that work with NatBiB?

Read the natbib documentation?
Angus

> 
> Thanks a lot!
> 
> Janus
> 

-- 
Angus

Reply via email to