![按字母顺序排列书目时出现问题](https://linux22.com/image/331182/%E6%8C%89%E5%AD%97%E6%AF%8D%E9%A1%BA%E5%BA%8F%E6%8E%92%E5%88%97%E4%B9%A6%E7%9B%AE%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98.png)
我在按字母顺序对参考书目进行排序时遇到问题,我正在使用natbib
,这里是代码概述:
\usepackage[round]{natbib}
\bibliographystyle{plainnat}
\bibliography{allbiblio/allbiblio}
我在 Windows 7 上使用 TeXnicCenter/MiKTeX 发行版。
\documentclass[a4paper,french]{book}
%\usepackage[T1]{fontenc}
%\usepackage[latin1]{inputenc}
\usepackage[utf8]{inputenc}
\usepackage[francais]{babel}
\usepackage{lipsum}
\usepackage{graphicx}
\usepackage{float}
\usepackage{tabularx,booktabs}
\usepackage{caption}
\usepackage{wrapfig}
\usepackage{multirow}
\usepackage{pdfpages} \usepackage{amsmath,amsfonts,amssymb,amsthm,epsfig,epstopdf,titling,url,array}
\usepackage[round]{natbib}
\begin{document}
\bibliographystyle{plainnat}
\bibliography{allbiblio/allbiblio}
\end{document}
部分文件如下allbiblio.bib
:
@book{c1r1,
title={Should we be using learning styles? What research has to say to practice},
author={Coffield, Frank},
year={2004},
publisher={Learning and Skills Research Centre}
}
@book{c1r2,
title={The Myers-Briggs Type Indicator: Form G},
author={Briggs, Katharine Cook and Myers, Isabel Briggs},
year={1977},
publisher={Consulting Psychologists Press}
}
@book{c1r3,
title={Experiential learning: Experience as the source of learning and development},
author={Kolb, David A},
year={2014},
publisher={FT press}
}
答案1
嗯,您要求“按字母顺序对参考书目进行排序”。
如果我用我的当前的\nocite{*}
MiKTeX 2.9 发行版,添加获取印刷书目的 命令后,我得到了按字母顺序排列的顺序。
请参阅以下 MWE(我评论了所有不需要的包以显示问题):
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@book{c1r1,
title={Should we be using learning styles? What research has to say to practice},
author={Coffield, Frank},
year={2004},
publisher={Learning and Skills Research Centre},
}
@book{c1r2,
title={The Myers-Briggs Type Indicator: Form G},
author={Briggs, Katharine Cook and Myers, Isabel Briggs},
year={1977},
publisher={Consulting Psychologists Press},
}
@book{c1r3,
title={Experiential learning: Experience as the source of learning and development},
author={Kolb, David A},
year={2014},
publisher={FT press},
}
\end{filecontents*}
\documentclass[a4paper,french]{book}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[francais]{babel}
%\usepackage{lipsum}
%\usepackage{graphicx}
%\usepackage{float}
%\usepackage{tabularx,booktabs}
%\usepackage{caption}
%\usepackage{wrapfig}
%\usepackage{multirow}
%\usepackage{pdfpages}
%\usepackage{amsmath,amsfonts,amssymb,amsthm,epsfig,epstopdf,titling,url,array}
\usepackage[round]{natbib}
\begin{document}
\nocite{*} % <================================================== missing
\bibliographystyle{plainnat}
\bibliography{\jobname} % <======= to use bib file created with filecontents
\end{document}
这给出了以下结果:
如您所见,条目已排序:B、C、K
如果我误解了您的问题,请更新您的问题以澄清您的问题!