强制书目排序

强制书目排序

我有一个包含网站的参考书目。我想按字母顺序排序。因此我使用了简单的样式,效果很好。问题是网站不如其他参考资料重要,我想把它们放在最后。

可以强制这么做吗?

以下是 BibTex 文件的一部分:

@Misc{wikianglais,
title = {\url{http://www.wikipedia.org/wiki/Blackjack}},
month = {mai},
year = {2013}
}

@Book{Thorp,
author = {Edward O. Thorp},
ALTeditor = {},
title = {Beat the dealer},
publisher = {Vintage Books Edition},
year = {1966},
month = {février}
}

@Book{Braun,
author = {Julian H. Braun},
ALTeditor = {•},
title = {How to play winning Blackjack},
publisher = {Data House Pub. Co},
year = {1980}
}

我希望得到的顺序是:Braun、Thorp,然后是维基百科参考,但实际的顺序是:维基百科参考、Braun、Thorp。

答案1

这不是一个合适的解决方案,但它有效......

添加“假”key字段

key = {zzzz}

在您的所有@Misc条目中。

这样,该key字段就用于排序(zzzz我想它位于所有其他条目之后),但它不会打印在参考书目中。顺便说一句,我不知道任何ALTeditor字段。

因此,将您的参考书目 MWE 更改为

@Misc{wikianglais,
key = {zzzz},
title = {\url{http://www.wikipedia.org/wiki/Blackjack}},
month = {mai},
year  = {2013}
}

@Book{Thorp,
author = {Edward O. Thorp},
ALTeditor = {},
title = {Beat the dealer},
publisher = {Vintage Books Edition},
year = {1966},
month = {février}
}

@Book{Braun,
author = {Julian H. Braun},
ALTeditor = {•},
title = {How to play winning Blackjack},
publisher = {Data House Pub. Co},
year = {1980}
}

就足够了。

MWE 只是为了测试它:

\documentclass{report}
\usepackage[colorlinks]{hyperref}

\begin{filecontents}{\jobname.bib}
@Misc{wikianglais,
key = {zzzz},
title = {\url{http://www.wikipedia.org/wiki/Blackjack}},
month = {mai},
year  = {2013}
}

@Book{Thorp,
author = {Edward O. Thorp},
ALTeditor = {},
title = {Beat the dealer},
publisher = {Vintage Books Edition},
year = {1966},
month = {février}
}

@Book{Braun,
author = {Julian H. Braun},
ALTeditor = {•},
title = {How to play winning Blackjack},
publisher = {Data House Pub. Co},
year = {1980}
}
\end{filecontents}

\begin{document}

\cite{wikianglais} \cite{Thorp} \cite{Braun}

\bibliographystyle{plain}
\bibliography{\jobname}

\end{document} 

在此处输入图片描述

相关内容