Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I have quite a lot of bibliography entries and I have to separate normal entries (e.g. @book, @article, etc.) from internet entries (@misc) due to formal requirements of my university.

I know it's somehow possible to do this using biblatex:

\chapter*{Bibliography}
\defbibheading{b}{\section{Books}}
\defbibheading{i}{\section{Internet}}
\printbibliography[heading=b,keyword=book]
\printbibliography[heading=i,keyword=internet]

I currently have a document of around 80 pages and I dont want to switch if possible. Are there any known approaches for BibTeX to do this?

share|improve this question
3  
The documentation of biblatex describes many incompatible (with biblatex) bibliography packages at the very start of its documentation (§ 1.5.4). I've used none of them, but it mentions: bibtopic, bibunits, chapterbib, multibib, splitbib. That said, do yourself a favour and switch now, rather than later when it is that much harder to do so. –  jon May 8 '12 at 14:30

1 Answer 1

up vote 7 down vote accepted

If you really don't want to switch to biblatex right now, here's an example how to split the bibliography using the splitbib package. It requires to set up bibliography categories and to assign entries to those categories in the document preamble. (Alternative solutions are bibtopic which requires different .bib files for the different categories and multibib which features category assignment via in-text citations.)

\documentclass{article}

\usepackage{url}

\usepackage{splitbib}

\begin{category}{Books}
\SBentries{A01}
\end{category}
\begin{category}{Internet}
\SBentries{B02}
\end{category}

\usepackage{filecontents}

\begin{filecontents}{\jobname.bib}
@misc{A01,
  author = {Author, A.},
  year = {2001},
  title = {Alpha},
}
@online{B02,
  author = {Buthor, B.},
  year = {2002},
  title = {Bravo},
  url = {tex.stackexchange.com},
}
\end{filecontents}

\begin{document}

\nocite{*}

\bibliographystyle{plainurl}
\bibliography{\jobname}

\end{document}

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.