GeneralDocument including annotated bibliography and references

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
brennon
Posts: 10
Joined: Tue May 25, 2010 1:17 pm

Document including annotated bibliography and references

Post by brennon »

I know it's strange, but I need to include an annotated bibliography for selected sources in a document that also has a fully bibliography (unannotated) with all sources--both bibliographies need to use the ACM style. I'd like the annotated bibliography to pull the annotations from the annote field in my .bib file. I can find a few resources out there that show how to generate an annotated bibliography, but none at all that show what I'm attempting to do. Can anyone point me in the right direction?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

Document including annotated bibliography and references

Post by 5gon12eder »

If I get you right, you've already managed to include annotations but can't figure out how to place two bibliographies in one document. Is that right? If so, have you checked out the bibtopic package yet? I think it might help you.

In case I got you wrong: Could you please post a minimal example of what's already working?
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
brennon
Posts: 10
Joined: Tue May 25, 2010 1:17 pm

Re: Document including annotated bibliography and references

Post by brennon »

Thanks for the reply, but that's not what I'm looking for. I have just a standard bibliography working right now--easy stuff. What I want is an annotated bibliography for selected sources in the middle of the document, and then at the end of the document just a standard references section.
5gon12eder
Posts: 126
Joined: Sun Feb 13, 2011 8:36 pm

Document including annotated bibliography and references

Post by 5gon12eder »

I think the bibtopic package could indeed help you. See the following example I've made:

Put the literature that should be annotated into one file, say special_literature.bib like this

Code: Select all

@book{knuth1986,
  title     =  {The \TeX book},
  author    =  {Knuth, Donald Ervin},
  address   =  {Reading, Mass.},
  publisher =  {Addison-Wesley},
  year      =  {1986},
  annote    =  {This is	an annotation\dots}
}
put the remaining references in an separate file, say literature.bib

Code: Select all

@book{lamport1986,
  title     =  {\LaTeX: a document preparation system},
  author    =  {Lamport, Leslie},
  address   =  {Reading, Mass.},
  publisher =  {Addison-Wesley},
  year      =  {1986}
}
now you can write your document (I called it document.tex) as follows:

Code: Select all

\documentclass{article}
\usepackage{bibtopic}

\begin{document}

  There  are many  books  about \TeX{}  \cite{knuth1986} and  \LaTeX{}
  \cite{lamport1986}.

  % annotated bibliography                                             
  \begin{btSect}[alpha]{special_literature}
    \section*{Annotated Bibliography}
    \btPrintCited
  \end{btSect}

  % full bibliography                                                  
  \begin{btSect}[alpha]{literature,special_literature}
    \section*{Bibliography}
    \btPrintCited
  \end{btSect}

\end{document}
To typeset, run something like

Code: Select all

pdflatex document.tex
bibtex document1.aux
bibtex document2.aux
pdflatex document.tex
pdflatex document.tex
See the formatted example in the attachment.

The "only" thing left to do is to find a BibTeX style that supports annotations and use it for the annotated bibliography. Of course it must give the same names to the references. Therefore, plain and plain-annote unfortunately won't do the trick since they'll produce different numbers for identical references. If you can't find an appropriate style and don't want to write your own, you could try a dirty hack via defining a boolean switch and abuse the note field in the bibfile to include your annotations. But this shouldn't be your first idea.

Kind regards
Attachments
document.pdf
PDF output of the example document.
(56.89 KiB) Downloaded 452 times
I'm using pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian).
brennon
Posts: 10
Joined: Tue May 25, 2010 1:17 pm

Re: Document including annotated bibliography and references

Post by brennon »

Well, that's part of it--but that's the easy part... ;) I've just worked around it for now, but would be interested if anyone actually figures out how to do this. Thanks, though.
Post Reply