参考文献中的语言错误(来自 .bib 文件)

参考文献中的语言错误(来自 .bib 文件)

在此处输入图片描述我为参考文献创建了一个 bib 文件。我的所有参考文献都是英文的。我的文档是希腊语-英语的。当我在文档末尾添加这些参考文献时,所有参考文献都在那里,但都是希腊文。所以我在添加参考书目之前将语言改为英语,现在参考书目没问题了,但它会产生错误,例如:...编码 T1 中不可用的编码...同时参考书目条目从目录中消失。我该如何修复?

\documentclass[11pt, a4paper,usenames,dvipsnames]{article} 
\usepackage{ucs} 
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[greek,english]{babel}
\usepackage{cite}
\usepackage[verbose, colorlinks=true, naturalnames=true, linkcolor=blue, 
unicode, bookmarks=true]{hyperref}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{bookmark}


\begin{document}
\selectlanguage{greek}

\mytitle

 abstract here
\newpage

\tableofcontents

\newpage

 a lot of text here with cites

 \newpage

 \cleardoublepage
 \phantomsection
 \addcontentsline{toc}{section}{Βιβλιογραφία}

 \selectlanguage{english}

 \bibliographystyle{ieeetr}
 \bibliography{bibfile}

\end{document}

参考文献:

@article{alsup2006state,
title={The state of English education and a vision for its future: A call to arms},
author={Alsup, Janet and Emig, Janet and Pradl, Gordon and Tremmel, Robert and Yagelski, Robert P and Alvine, Lynn and DeBlase, Gina and Moore, Michael and Petrone, Robert and Sawyer, Mary},
journal={English Education},
volume={38},
number={4},
pages={278--294},
year={2006},
publisher={JSTOR}}

@incollection{wilkinson2016brief,
title={A brief history of serious games},
author={Wilkinson, Phil},
booktitle={Entertainment computing and serious games},
pages={17--41},
year={2016},
publisher={Springer}}

@article{kirriemuir2004literature,
title={Literature review in games and learning},
author={Kirriemuir, John and McFarlane, Angela},
year={2004}}

@article{wu2012investigating,
title={Investigating the learning-theory foundations of game-based learning: 
a meta-analysis},
author={Wu, W-H and Hsiao, H-C and Wu, P-L and Lin, C-H and Huang, S-H},
journal={Journal of Computer Assisted Learning},
volume={28},
number={3},
pages={265--279},
year={2012},
publisher={Wiley Online Library}}

@misc{immunlab,
author = {Joseph Perpich, M.D., Ph.D., Jill Conley, Ph.D.},
title = {{The Virtual Immunology Lab}},
howpublished = 
"\url{http://media.hhmi.org/biointeractive/vlabs/immunology/index.html}",
year = {2018}, 
note = "[Online; accessed 28-March-2018]"}

@misc{caridolab,
author = {Joseph Perpich, M.D., Ph.D., Dennis Liu, Ph.D},
title = {{Cardiology Virtual Lab}},
howpublished = "\url{http://www.hhmi.org/biointeractive/cardiology-virtual-lab}",
year = {2018}, 
note = "[Online; accessed 28-March-2018]"}

@misc{caridolab2,
author = {Joseph Perpich, M.D., Ph.D., Dennis Liu, Ph.D},
title = {{Cardiology Virtual Lab}},
howpublished = "\url{http://www.bio-alive.com/laboratories/cardiology-lab.htm}",
year = {2018}, 
note = "[Online; accessed 28-March-2018]"}

答案1

我在您的代码中发现的唯一问题与参考书目无关,但这只对\addcontentsline{toc}{section}{Βιβλιογραφία}其他所有编译都有效 - 不确定为什么。

作为一种解决方法,我建议tocbibind改用以下包:

\documentclass[11pt, a4paper,usenames,dvipsnames]{article} 
\usepackage{ucs} 
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[greek,english]{babel}
\usepackage{cite}
\usepackage[verbose, colorlinks=true, naturalnames=true, linkcolor=blue, 
unicode, bookmarks=true]{hyperref}
\usepackage{caption}
\usepackage{subcaption}
\usepackage{bookmark}

\addto\captionsenglish{\renewcommand{\refname}{\foreignlanguage{greek}{Βιβλιογραφία}}}

\usepackage[nottoc]{tocbibind}

\usepackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@article{alsup2006state,
title={The state of English education and a vision for its future: A call to arms},
author={Alsup, Janet and Emig, Janet and Pradl, Gordon and Tremmel, Robert and Yagelski, Robert P and Alvine, Lynn and DeBlase, Gina and Moore, Michael and Petrone, Robert and Sawyer, Mary},
journal={English Education},
volume={38},
number={4},
pages={278--294},
year={2006},
publisher={JSTOR}}

@incollection{wilkinson2016brief,
title={A brief history of serious games},
author={Wilkinson, Phil},
booktitle={Entertainment computing and serious games},
pages={17--41},
year={2016},
publisher={Springer}}

@article{kirriemuir2004literature,
title={Literature review in games and learning},
author={Kirriemuir, John and McFarlane, Angela},
year={2004}}

@article{wu2012investigating,
title={Investigating the learning-theory foundations of game-based learning: 
a meta-analysis},
author={Wu, W-H and Hsiao, H-C and Wu, P-L and Lin, C-H and Huang, S-H},
journal={Journal of Computer Assisted Learning},
volume={28},
number={3},
pages={265--279},
year={2012},
publisher={Wiley Online Library}}

@misc{immunlab,
author = {Joseph Perpich, M.D., Ph.D., Jill Conley, Ph.D.},
title = {{The Virtual Immunology Lab}},
howpublished = 
"\url{http://media.hhmi.org/biointeractive/vlabs/immunology/index.html}",
year = {2018}, 
note = "[Online; accessed 28-March-2018]"}

@misc{caridolab,
author = {Joseph Perpich, M.D., Ph.D., Dennis Liu, Ph.D},
title = {{Cardiology Virtual Lab}},
howpublished = "\url{http://www.hhmi.org/biointeractive/cardiology-virtual-lab}",
year = {2018}, 
note = "[Online; accessed 28-March-2018]"}

@misc{caridolab2,
author = {Joseph Perpich, M.D., Ph.D., Dennis Liu, Ph.D},
title = {{Cardiology Virtual Lab}},
howpublished = "\url{http://www.bio-alive.com/laboratories/cardiology-lab.htm}",
year = {2018}, 
note = "[Online; accessed 28-March-2018]"}
\end{filecontents*}


\begin{document}
\selectlanguage{greek}


 abstract here
\newpage

\tableofcontents

\newpage

 a lot of text here with cites \nocite{*}

 \newpage

 \cleardoublepage
% \phantomsection
% \addcontentsline{toc}{section}{Βιβλιογραφία}

 \selectlanguage{english}

 \bibliographystyle{ieeetr}
 \bibliography{\jobname}

\end{document}

在此处输入图片描述

相关内容