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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

It seems that amsrefs strikes again! I'd like to have more than one bibliography, and in the first one, the entries should be marked, say, as [A1], [A2] etc., in the second, say, [B1], [B2] etc. and so on. I could use \BibLabel to modify the look of the entries in the bibliography, and modify \cite@somethings to modify the references, but this seems to be an ugly hack. Any better ideas?

share|improve this question
up vote 1 down vote accepted

OK, nobody took the challenge;), so I had to dig through some amsrefs code myself. (Not that I understand it completely - it seems to be rather a mess...) This code did the trick:

\usepackage{amsrefs}
\usepackage{etoolbox}
\makeatletter
\newcommand{\setbibprefix}[1]{\def\bib@prefix{#1}}
\pretocmd{\thebib}{\bib@prefix}{}{}
\setbibprefix{}
\makeatother
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.