Classificando a bibliografia por nome específico do primeiro autor e depois pelo ano

Classificando a bibliografia por nome específico do primeiro autor e depois pelo ano

Estou usando o pacote biblatex. Estou incluindo todos os bibitems em um documento. Quero classificar os itens primeiro pelo autor X quando ele for o primeiro autor, segundos etc. e depois por ano. Existe alguma maneira simples de fazer isso?

Atualizar:

Aqui está um código de exemplo

\documentclass{article}
\usepackage{filecontents}

\begin{filecontents*}{\jobname.bib}
@book{fruits,
  title = {The apple and the banana},
  publisher = {Tomatopress},
  editor = {Straw Berry},
  author = {Straw Berry and Annoying Orange},
  year = {2015}
}
@book{fruits2,
  title = {The pineapple and the banana},
  publisher = {Tomatopress},
  editor = {Straw Berry},
  author = {Annoying Orange, Straw Berry and Tom Ato},
  year = {2015}
}
@book{fruits3,
  title = {Thank your for your attention},
  publisher = {Tomatopress},
  editor = {Straw Berry},
  author = {Tom Ato, Annoying Orange and Peachy Pear},
  year = {2014}
}
@book{fruits4,
  title = {Advance title},
  publisher = {Tomatopress},
  editor = {Straw Berry},
  author = {Cu Cumber, Annoying Orange and Peachy Pear},
  year = {2014}
}
@book{fruits5,
  title = {Fancy title},
  publisher = {Tomatopress},
  editor = {Straw Berry},
  author = {Annoying Orange and Peachy Pear},
  year = {2013}
}
\end{filecontents*}


\usepackage[utf8]{inputenc}
\usepackage[backend=bibtex,maxbibnames=99,sorting=ydnt]{biblatex}
\addbibresource{\jobname.bib}


\begin{document}
Hello world 

\nocite{fruits,fruits2,fruits3,fruits4,fruits5}.
\printbibliography

\end{document}

Isto resulta em: Resultado do código acima

O que eu quero é primeiro classificar por quando Annoying Orange é o primeiro autor e depois classificar por anos, depois classificar por quando Annoying Orange é o segundo autor e depois por ano, etc.

para que os significados da autoria sejam enfatizados para um determinado autor.

Responder1

Não creio que uma solução totalmente automática para isso seja facilmente implementada, mas os assistentes regex-Biber podem me surpreender aqui. Portanto, esta solução exigirá algum trabalho manual.

Primeiro de tudo, você precisa inserir a lista de nomes corretamente. Isso é todos os nomes devem ser separados por um and. Não diga author = {Cu Cumber, Annoying Orange and Peachy Pear},, correto é author = {Cu Cumber and Annoying Orange and Peachy Pear},. VerComo escrever corretamente vários autores no arquivo bibtex?.

Então você precisaria adicionar sortname = {Annoying Orange}todos os campos.

Finalmente vem o truque. Adicione presort = {<n>},à entrada se "Annoying Orange" for on-º autor.

@book{fruits,
  title     = {The apple and the banana},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Straw Berry and Annoying Orange},
  year      = {2015},
  presort   = {2},
  sortname  = {Annoying Orange},
}
@book{fruits2,
  title     = {The pineapple and the banana},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Annoying Orange and Straw Berry and Tom Ato},
  year      = {2015},
  presort   = {1},
  sortname  = {Annoying Orange},
}
@book{fruits3,
  title     = {Thank your for your attention},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Tom Ato and Annoying Orange and Peachy Pear},
  year      = {2014},
  presort   = {2},
  sortname  = {Annoying Orange},
}
@book{fruits4,
  title     = {Advance title},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Cu Cumber and Annoying Orange and Peachy Pear},
  year      = {2014},
  presort   = {2},
  sortname  = {Annoying Orange},
}
@book{fruits5,
  title     = {Fancy title},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Annoying Orange and Peachy Pear},
  year      = {2013},
  presort   = {1},
  sortname  = {Annoying Orange},
}

Em seguida, todas as entradas são ordenadas primeiro pela posição Annoying Orangeocupada e depois por ano.

MWE

\documentclass{article}
\usepackage{filecontents}

\begin{filecontents*}{\jobname.bib}
@book{fruits,
  title     = {The apple and the banana},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Straw Berry and Annoying Orange},
  year      = {2015},
  presort   = {2},
  sortname  = {Annoying Orange},
}
@book{fruits2,
  title     = {The pineapple and the banana},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Annoying Orange and Straw Berry and Tom Ato},
  year      = {2015},
  presort   = {1},
  sortname  = {Annoying Orange},
}
@book{fruits3,
  title     = {Thank your for your attention},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Tom Ato and Annoying Orange and Peachy Pear},
  year      = {2014},
  presort   = {2},
  sortname  = {Annoying Orange},
}
@book{fruits4,
  title     = {Advance title},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Cu Cumber and Annoying Orange and Peachy Pear},
  year      = {2014},
  presort   = {2},
  sortname  = {Annoying Orange},
}
@book{fruits5,
  title     = {Fancy title},
  publisher = {Tomatopress},
  editor    = {Straw Berry},
  author    = {Annoying Orange and Peachy Pear},
  year      = {2013},
  presort   = {1},
  sortname  = {Annoying Orange},
}
@book{fruits6,
  title     = {Very Advance title},
  publisher = {Tomatopress},
  author    = {Cu Cumber and Peachy Pear and Annoying Orange},
  year      = {2015},
  presort   = {3},
  sortname  = {Annoying Orange},
}
\end{filecontents*}


\usepackage[utf8]{inputenc}
\usepackage[backend=bibtex,maxbibnames=99,sorting=ydnt]{biblatex}
\addbibresource{\jobname.bib}


\begin{document}
\nocite{*}
\printbibliography
\end{document}

insira a descrição da imagem aqui

informação relacionada