Latex Bibliography 

Intro 

The bib file contains the bibliographic database, which could extend beyond one document.

*References*: [ASI] s3, p30.

Declaration 

At the end of your source file (where you want the bibliography to appear),

\bibliography{mybib,urls,general}

*References*: [ASI] s3.3, p40.

Citation 

To cite particular references, the LATEX command is "\cite{label [, … ]}, where label is what we put in our bib file entry.

Compilation 

The bibtex program that you apply to your source creates another file (which you need not examine), from which a second latex compilation causes the bibliography to be created. The execution looks like this:

latex myfile
bibtex myfile
latex myfile
Note be sure no .tex extension is used, esp. the second time!

*References*: [ASI] s3, p30.

cite the bibliography with page# 

\footnote{In the text book, the dataset is used for Naive Bayes learning algorithm which is described in Table 6.2

documented on: 2000.11.19

All BIBTEX references in document 

Newsgroups: comp.text.tex
Date: Fri, 3 Apr 1992
>>How do I include all entries from my bibliography file into my document
>>without using \cite{} on all of them?
>Try using \cite{*} --- I believe that it worked rather well for me.

You won't see a `huge list' if you use \cite{*}, just a persistent

LaTeX Warning: Citation `*' on page ... undefined.

Unless, that is, one of the entries in your .bib files is actually labelled `*', but that way madness lies.

\nocite{*} is the correct usage.

Chris Thompson

Getting caps in a bibliography 

Newsgroups: comp.text.tex
Date: Nov 13 1991
>... In the bibliography, the title of an article gets
>set entirely in lower case letters, except for the first letter.  This is
>not desireable at times, for instance, when MHz appears in a title.  How
>can I force it to make some letters upper case?

Use { and } around the part you want capitalized (actually, the part that you don't want case conversion done on. This is especially useful for acronyms.

eg:

Randy A. Coulman

URL in bibliographic references 

Newsgroups: comp.text.tex
Date: Thu, 16 Sep 2004
>could someone tell me how can I put in a bibliographic's
>reference file (.bib file) the reference to a web page ?

faq. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=citeURL

Robin Fairbairns

URL in bibliographic references 

> reference file (.bib file) the reference to a web page ?

I do it like so (note the “howpublished” field):

@Misc{uscensusbureau:02,
  Optkey =       {},
  author =       {{United States Census Bureau}},
  title =        {Reported Voting and Registration, by Sex and Single Years
of Age: November 2000},
  howpublished =
{http://www.census.gov/population/socdemo/voting/p20-542/tab01.txt},
  month =        {November},
  year =         {2002},
  OPTnote =      {},
  OPTannote =    {}
}%

To get this (APA style):

United States Census Bureau. (2002, November). Reported voting and registration, by sex and single years of age: November 2000. http://www.census.gov/population/socdemo/voting/p20-542/tab01.txt.

chris ciotti

Author entry 

Note Always use 'and' to separate authors in BibTeX entry.

Although shown in bibliography as

Jiawei Han, Yandong Cai and Nick Cercone

you have to put it as

Jiawei Han and Yandong Cai and Nick Cercone

as the authors in BibTeX entry.

Add Bibliography to toc 

Newsgroups: comp.text.tex
\cleardoublepage
\addcontentsline{toc}{chapter}{Bibliography}
\bibliography{tsd}

Or use (or create) a document class that make a toc entry for the bibliography. (The fact that the the default document classes make no entry is silly and annoying. Yes, I know why — it is easier to add an entry than prevent one — but how often do you need to prevent.)

Donald Arseneau

Chicago style solution 

> What is wrong with
>
> \usepackage{chicago}
> \bibliographystyle{chicago}

Not working, as I post in another thread.

>
> or
>
> \usepackage{natbib}
> \citestyle{chicago}
> \bibliographystyle{chicago}

<sigh> it might seem too trivial to you. But what I got is:

$ bibtex t-test
This is BibTeX, Version 0.99c (Web2C 7.3.1)
The top-level auxiliary file: t-test.aux
I couldn't open style file chicago.bst
---line 11 of file t-test.aux
 : \bibstyle{chicago
 :                  }
I'm skipping whatever remains of this command
I found no style file---while reading file t-test.aux
(There were 2 error messages)
> or even
>
> \usepackage{natbib}
> \citestyle{chicago}
> \bibliographystyle{someSelfdefinedChicagoLookalike}

Now, you might understand my problem. Asking for a chicago style *solution* as a newbie — nothing else and nothing more. This someSelfdefinedChicagoLookalike is beyond my request. I'd be much happy if the chicago style works for me.

Chicago style solution 

> This makes this package useless for me. Or can you explain me how, with a
> makebst generated bst, I can have citations like these:

> On the other hand, Smith (1999) claims that...

> On the other hand, Smith ( 1999b, p. 12) claims that...

> On the other hand, some scholars (Smith 1999; Jones et al. 2000) claim
> that...

\citep{Smith99,Jones00}

natbib allows you to modify the citation format with \bibpunct.

That's independent from your .bst file.

Robert Schlicht

BibTeX citation: [Author_Lastname Year] 

Newsgroups: comp.text.tex
> > How can I make my citations look like "[Author_Lastname Year]"
> > (eg. [Aha 86]) in the output?
> >
> You could use
>
> \bibitem[Aha86]{...}

hmmm, not automatically? hard to believe. I meant that the following BibTeX entry will show up as [Aha 90] both in of my citations and in my bibliography. How can I do that? never used bibitem before…

@misc{aha90study,
        title = {A study of instance-based learning algorithms for supervised learning tasks: Mathematical},
        year = {1990},
        author = {D. Aha},
        text = {Aha, D. W. (1990). A study of instance-based learning algorithms for supervised learning tasks: Mathematical, empirical, and psychological evaluations (TR 90-42). Irvine, CA: University of California, Department of Information and Computer Science.}
}

BibTeX citation: [Author_Lastname Year] 

> > I think this does what you want, but with () instead of [].
> >
> > \usepackage{apalike}
> >
> > \bibliographystyle{apalike}
>
>Unfortunately, no. even worse than simple:
>
>\bibliographystyle{plain}

Hmm. I tried a simple file using the above. If the latex file has

\usepackage{apalike}
\bibliographystyle{apalike}
Reference \cite{reflabel} looks right.

and the bibtex file has

@article{reflabel,
author = {John Smith},
year = 2001,
title = {A published article},
journal = {Journal}
}

I get

Reference (Smith, 2001) looks right.

Jeffrey Weiss

BibTeX citation: [Author_Lastname Year] 

> >> > How can I make my citations look like "[Author_Lastname Year]"
> >> > (eg. [Aha 86]) in the output?
>
> I think this does what you want, but with () instead of [].
>
> \usepackage{apalike}
>
> \bibliographystyle{apalike}

Just FYI for all people interested in this style. The APA style is meant for behavioral science. If you are writing thesis of social or natural science (as most of us do), you should use Chicago style to achieve the required result.

http://www.ctan.org/tex-archive/biblio/bibtex/contrib/chicago.sty

T

BibTeX citation: [Author_Lastname Year] 

There is another one:

http://www.ctan.org/tex-archive/biblio/bibtex/contrib/chicagoa.sty

They differenct in feature is that the latter:

% - supports an "annotation" field for annotated bibliographies.

sty:chicagoa 

Usage 

Source 

http://www.ctan.org/tex-archive/biblio/bibtex/contrib/chicago*

Installation 

Place it in a file called chicago.sty in the TeX search path. (Placing it in the same directory as the LaTeX document should also work.)

Comments 

! LaTeX Error: Two \documentclass or \documentstyle commands.
See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...
l.101 \documentstyle{
                     chicago}

achicago bibstyle 

Usage 

Source 

http://www.ctan.org/tex-archive/macros/latex/contrib/supported/frankenstein/

Comments 

Version 

Build & Installation 

Steps 
tfe .../latex/packages/frankenstein.tar.gz
chmod 664 *
chmod 775 .
gunzip *.gz
make | do_waitp
export MKTEXMF=/usr/share/texmf
make achicago.install.q achicago-bst.install.q
Help 

Simply run "make" and you will see a help message describing the things you can do.

Help 

From the []FRANKENSTEIN INSTALL http://www.ctan.org/tex-archive/macros/latex/contrib/supported/frankenstein/INSTALL

The following files compose the achicago bibstyle fileset:

achicago.bst       the bibstyle macros
achicago-bst.dvi   bibstyle documentation
achicago-bst.tex   may be used to regenerate achicago-bst.dvi from
                   achicago.bst and achicago-bst.ver
achicago-bst.ins   may be used to generate a fast-loading version
                   of achicago.bst (see below)
achicago-bst.ver   a file needed by achicago-bst.tex

The file achicago.bst may be used as it is; simply put it where BibTeX can find it. To use the bibstyle, you must load the achicago PACKAGE document.

Certain Frankenstein packages depend on packages that are not part of Frankenstein or the official LaTeX distribution:

abbrevs,
achicago,
blkcntrl,
and dialogue depend on "relsize.sty".

/usr/share/texmf/tex/latex/misc/relsize.sty

If you install the macro files of one fileset, you should also install all the macro files of the filesets it depends on:

Fileset       Depends on (directly or indirectly)
....................................................................
abbrevs       moredefs,relsize,slemph
achicago      blkcntrl,moredefs,relsize,slemph,titles
achicago-bst  achicago,blkcntrl,moredefs,relsize,slemph,titles