[Tex/LaTex] Multiple bibliographies with BibTeX

bibliographiesbibtex

I have a document with a bibliography and would like to print part of the bibliography twice. My *.tex file is:

\documentclass{article}
\begin{document}
Some Text...~\cite{doc1}

Here I would like to print some of bibliography, with possibly the same style as the normal bibliography.
Let's say I'd like to show here doc1 and doc2, i.e. some cited and some uncited ones.

Some more text...
\bibliography{texFiles/bibliography}
\end{document}

My *.bib file is

@misc{doc1,
    url = "http://tex.stackexchange.com/questions",
}
@misc{doc2,
    url = "http://tex.stackexchange.com/tags",
}
@misc{doc3,
    url = "http://tex.stackexchange.com/users",
}

How can I do that? I tried to have a separate *.bib file with all the files that I like to print, but then I need to define \nocite{*} and all other documents get printed in the normal bibliography as well.

Note that I cannot use biblatex, since I have a *.bst file I have to follow.

Best Answer

This is an example of how to use bibunits. It shows how to use different styles for different bibliographies but obviously you can use the same style instead. Note that these styles don't typeset the url so I've added authors to get things working:

\documentclass{article}
\usepackage{bibunits}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@misc{doc1,
  author = {Author, A. N.},
  year = 1066,
    url = "http://tex.stackexchange.com/questions",
}
@misc{doc2,
  author = {Author, A. Nother},
  year = 1543,
     url = "http://tex.stackexchange.com/tags",
}
@misc{doc3,
  author = {Author, A. Third},
  year = 3012,
     url = "http://tex.stackexchange.com/users",
}
\end{filecontents}

\begin{document}

\begin{bibunit}[plain]
  Some Text...~\cite{doc1}

  Here I would like to print some of bibliography, with possibly the same style as the normal bibliography.
  Let's say I'd like to show here doc1 and doc2, i.e. some cited and some uncited ones.\nocite{doc2}
  \putbib[\jobname]
\end{bibunit}

\begin{bibunit}[alpha]
    Some more text\dots \cite{doc3}
    \putbib[\jobname]
\end{bibunit}

\end{document}

Dual bibliographies

To compile:

pdflatex <filename>.tex
bibtex bu1.aux
bibtex bu2.aux
pdflatex <filename>.tex
pdflatex <filename>.tex

or latex in place of pdflatex or whatever if you prefer.