1

I'm writing a document with two bibliographies, one for references and the other for links. My code is in this format:

\documentclass{article}

\usepackage{multibbl}
\newbibliography{R}
\newbibliography{L}

\begin{document}

Text, etc...

\bibliographystyle{R}{plain}
\bibliography{R}{References}{References}

\bibliographystyle{L}{plain}
\bibliography{L}{Links}{Links}

\end{document}

I would like the entries in the "Links" portion of the bibliography to have citation keys of the form [L1], [L2], [L3], and so on, while keeping entries in the References section with ordinary numbering. How can I do this? It seems that themultibib package allows for the style to be altered to accommodate this, but I was only able to get bibliography to compile the way I liked using multibbl.

2

First here is how to do it with multibib, followed by an approach with multibbl:

Sample output

\documentclass{article}

\usepackage[labeled,resetlabels]{multibib}
\newcites{L}{Links}

\begin{document}

Text, etc. \cite{art} and \citeL{link}

\bibliographystyle{plain}
\bibliography{References}

\bibliographystyleL{plain}
\bibliographyL{Links}

\end{document}

To do something similar with multibbl in your set-up you can redefine the \bibitem command in the second bibliography to print a different label. Here is one way:

Sample multibbl

\documentclass{article}

\usepackage{multibbl}
\newbibliography{R}
\newbibliography{L}

\begin{document}

Text, etc. \cite{R}{art}, \cite{L}{linka} and \cite{L}{linkb}.

\bibliographystyle{R}{plain}
\bibliography{R}{References}{References}

\makeatletter
\newcounter{mybibitem}
\def\bibitem#1{\stepcounter{mybibitem}\@lbibitem[L\the\value{mybibitem}]{#1}}
\makeatother

\bibliographystyle{L}{plain}
\bibliography{L}{Links}{Links}

\end{document}

However, I would prefer to use the multibib approach or better still use biblatex.

  • Thank you, this worked perfectly in multibib. – Mnifldz Jun 30 '15 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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