[OS X TeX] Multiple bibliographies

Johan Almqvist johan at almqvist.net
Fri May 27 10:03:02 CEST 2005


Hello

I am in the process of writing my Master's thesis, and for diverse  
reasons I would like to have several (two) bibliographies.

This works quite fine with multibib and some hacking (that is:

\usepackage[resetlabels]{multibib}
\makeatletter
\newcommand\biblabelprefix{}
\renewcommand\@biblabel[1]{[\biblabelprefix#1]}
\def\@bibitem#1{\item\if at filesw \immediate\write\@auxout{\string 
\bibcite{#1}{\biblabelprefix\the\value{\@listctr}}}\fi\ignorespaces}
\makeatother
\newcites{ref}{References}
\newcites{survey}{Surveyed articles}

...

\renewcommand\biblabelprefix{R-}
\bibliographystyleref{plain}
\bibliographyref{references}

\renewcommand\prebibhook{Below, the reader will find a list of the  
articles reviewed
as a basis for chapter \ref{an-eval}. They are listed separately  
because the creation
of this collection has been a significant investment in time and money.}
\renewcommand\biblabelprefix{S-}
\bibliographystylesurvey{plain}
\bibliographysurvey{secret}


However, I would like not only the numbers in the list of references  
to be prefixed by R- and S-, but also the actual references in the  
text [R-15] (they now just say [15]).

-Johan
-- 
Johan Almqvist
johan at almqvist.net


--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the macostex-archives mailing list