특정 첫 번째 저자 이름과 연도별로 참고문헌 정렬

특정 첫 번째 저자 이름과 연도별로 참고문헌 정렬

나는 biblatex 패키지를 사용하고 있습니다. 문서에 모든 bibitem을 포함하고 있습니다. 먼저 저자 X가 첫 번째 저자인 경우, 초 등으로 항목을 정렬한 다음 연도별로 정렬하고 싶습니다. 간단한 방법이 있나요?

업데이트:

다음은 예제 코드입니다.

\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}

그 결과는 다음과 같습니다. 위 코드의 결과

내가 원하는 것은 먼저 Annoying Orange가 첫 번째 저자일 때를 기준으로 정렬한 다음 연도별로 정렬하고, 추가로 Annoying Orange가 두 번째 저자일 때를 기준으로 정렬한 다음 연도별로 정렬하는 것입니다.

특정 저자에 대한 저자의 중요성이 강조됩니다.

답변1

나는 이것에 대한 완전 자동 솔루션이 쉽게 구현될 것이라고 생각하지 않지만 정규식-Biber 마법사는 여기에서 나를 놀라게 할 수 있습니다. 따라서 이 솔루션에는 약간의 수동 작업이 필요합니다.

먼저 이름 목록을 정확하게 입력해야 합니다. 즉, 모든 이름은 and. 말하지 마세요 author = {Cu Cumber, Annoying Orange and Peachy Pear},, 맞습니다 author = {Cu Cumber and Annoying Orange and Peachy Pear},. 보다bibtex 파일에 여러 작성자를 올바르게 작성하는 방법은 무엇입니까?.

sortname = {Annoying Orange}그런 다음 모든 필드에 추가해야 합니다 .

마침내 트릭이 나옵니다. presort = {<n>},"성가신 오렌지"가 다음 항목인 경우 항목에 추가하세요 .N-번째 저자.

@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},
}

그런 다음 모든 항목은 먼저 직위에 따라 정렬 Annoying Orange된 다음 연도별로 정렬됩니다.

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}

여기에 이미지 설명을 입력하세요

관련 정보