href를 사용하여 bibtex를 알파벳순으로 정렬

href를 사용하여 bibtex를 알파벳순으로 정렬

내 reference.bib 파일에 다음이 있습니다.

@Misc{ref1,
  Title                    = {\href{http://www.ref1.com}{aaa}}
}

@Misc{ref2,
  Title                    = {\href{http://www.ref2.com}{ccc}}
}

@Misc{ref3,
  Title                    = {\href{http://ref3.com}{bbb}}
}

bibtex의 참고문헌을 다음과 같이 정렬하려면 어떻게 해야 합니까?

[1] aaa
[2] bbb
[3] ccc

답변1

key정렬에 사용되는 필드를 추가할 수 있습니다 .

@Misc{ref1,
  key = {aaa},
  Title = {\href{http://www.ref1.com}{aaa}}
}
@Misc{ref2,
  key = {ccc},
  Title = {\href{http://www.ref2.com}{ccc}}
}
@Misc{ref3,
  key = {bbb},
  Title = {\href{http://ref3.com}{bbb}}
}

filecontents*다음은 독립형으로 만들기 위한 전체 예제입니다 .

\begin{filecontents*}{\jobname.bib}
@Misc{ref1,
  key = {aaa},
  Title = {\href{http://www.ref1.com}{aaa}}
}
@Misc{ref2,
  key = {ccc},
  Title = {\href{http://www.ref2.com}{ccc}}
}
@Misc{ref3,
  key = {bbb},
  Title = {\href{http://ref3.com}{bbb}}
}
\end{filecontents*}

\documentclass{article}
\usepackage{hyperref}

\begin{document}

\nocite{*}

\bibliographystyle{plain}
\bibliography{\jobname}

\end{document}

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

관련 정보