# bibliography with per-author numbering (and author-year sort)

I'm working on a new edition of a book which uses a very unusual style of bibliography: Entries are sorted in author-year fashion, but then numbered per author or group of authors, e.g.:

Milnor, J.:
1. Construction of universal bundles: I, Ann. Math., (2)63:272-284 (1956).
2. Construction of universal bundles: II, Ann. Math., (2)63: 430-436 (1956).
3. On manifolds homeomorphic to the 7-sphere, Ann. Math., (2)64: 399-405
(1956).
4. The theory of characteristic classes, mimeographed, Princeton University,
Princeton, N.J., 1957.
Milnor, J., and M. A. Kervaire:
1. Bernoulli numbers, homotopy groups, and a theorem of Rohlin, Proc. Intern.
Congr. Math., 1958.
Milnor, J., and E. Spanier:
1. Two remarks on fibre homotopy type, Pacific J. Math., 10: 585-590 (1960).


Citations are formatted as Milnor [3], and so on.

Is there any bibtex style for something strange as this? Or can this type of bibliography be created with biblatex without too much coding?

-
@lockstep why not bibliographies or bibtex as tags for this question? The OP originally requested whether a bibtex for something like this is possible, and the OP requests a bibliography styles (and citation) which is no longer usual. – Guido Nov 23 '12 at 8:51
@Guido bibliographies has developed into a "general" tag that is only used if specific package tags do not apply (similar to diagrams vs. tikz-pgf). The bibtex tag would apply if the question is about the .bib format or specifically about compiling with BibTeX. – lockstep Nov 23 '12 at 8:57

Here is (rough) proof of concept using BibLaTeX (the documents requires to be compiled twice after the generation of the bibliography).

\documentclass{article}
\usepackage{filecontents}

\begin{filecontents*}{\jobname.bib}
@book{fruits,
title = {The apple and the banana},
publisher = {Tomatopress},
editor = {Straw Berry},
author = {Annoying Orange},
year = {1970}
}
@book{fruits2,
title = {The pineapple and the banana},
publisher = {Tomatopress},
editor = {Straw Berry},
author = {Annoying Orange},
year = {1971}
}
@book{fruits3,
title = {The mangos and the banana and other tropical fruits},
publisher = {Tomatopress},
editor = {Straw Berry},
author = {Annoying Orange and Peachy Pear},
year = {1970}
}
\end{filecontents*}

\usepackage[utf8]{inputenc}
\usepackage[firstinits]{biblatex}

\makeatletter
\newcommand{\@currentauthor}{}
\newcommand{\@current}{}
\newcounter{@mybibcounter}
\setcounter{@mybibcounter}{0}

\AtEveryBibitem{%
\savename{labelname}{\@current}%
\ifdefstrequal{\@currentauthor}{\@current}
{\par}
{\setcounter{@mybibcounter}{0}\item[]%
\printnames[last-first/first-last]{labelname}]\par}%
\usedriver{}{special}%
\refstepcounter{@mybibcounter}\expandafter\label{\thefield{entrykey}}%
\makebox[0em][r]{\the@mybibcounter.\ }%
}

\DeclareBibliographyDriver{special}{%
\savename{labelname}{\@currentauthor}%
}
\makeatother

\renewbibmacro{editor+others}{}
\renewbibmacro{author/translator+others}{}
\renewbibmacro{author/editor+others/translator+others}{}

\defbibenvironment{bibliography}
{\list
{}
{\setlength{\itemindent}{-3em}%
\setlength{\leftmargin}{3em}%
\setlength{\itemsep}{\bibitemsep}%
\setlength{\parsep}{\bibparsep}}}
{\endlist}
{}

\DeclareCiteCommand{\cite}
{}
{\printnames{labelname}~\mkbibbrackets{\ref{\thefield{entrykey}}}}
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 0, "mathjax_display_tex": 0, "mathjax_asciimath": 1, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0, "math_score": 0.6536455154418945, "perplexity": 6093.568231834782}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 15, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "plain"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "warc_path": "s3://commoncrawl/crawl-data/CC-MAIN-2016-26/segments/1466783396027.60/warc/CC-MAIN-20160624154956-00130-ip-10-164-35-72.ec2.internal.warc.gz"}