单词结尾的撇号会保留到下一个单词

单词结尾的撇号会保留到下一个单词

我要引用的一部作品的标题有一个以撇号结尾的单词。鉴于这个帖子,我使用 ASCII 单引号 ( ') 来写入条目,但这会产生以下问题:

引文以撇号结尾,并粘贴到下一个单词

如您所见,“managers'”和“prior”这两个词被卡住了。我检查了这篇文章在 Google Scholars 上的引用方式。令我惊讶的是,他们使用了 Unicode“右单引号”()。我在我的.bib文件中使用了它,它成功了!

引用以撇号结尾的单词,不再坚持到下一个单词

为什么会发生这种情况?

提前致谢。

@article{sandor01_conjoint,
title   = "Designing conjoint choice experiments using managers' prior beliefs",
author  = "Zsolt Sándor and Michel Wedel",
year    = "2001",
journal = "Journal of Marketing Research",
volume  = "38",
number  = "4",
pages   = "430--444"
}

@article{sandor01_conjoint,
title   = "Designing conjoint choice experiments using managers’ prior beliefs",
author  = "Zsolt Sándor and Michel Wedel",
year    = "2001",
journal = "Journal of Marketing Research",
volume  = "38",
number  = "4",
pages   = "430--444"
}

编辑:我添加了一个 MWE。将语言修复为西班牙语的包是 mandaroty,因为引用必须使用西班牙语(例如,姓名姓氏 y 姓名姓氏,而不是姓名姓氏和姓名姓氏)。

\documentclass[letterpaper, 12pt, oneside]{book}

\usepackage[activeacute,spanish]{babel}
\usepackage[utf8]{inputenc}

\usepackage[fixlanguage]{babelbib}
\selectbiblanguage{spanish}

\begin{document}

Hello world \cite{sandor01_conjoint}

\bibliographystyle{babalpha-fl}
\bibliography{bibliografia}

\end{document}

答案1

删除该activeacute选项:如果您使用 UTF-8,则不需要它。

\begin{filecontents*}{\jobname.bib}
@article{test1,
title   = "Designing conjoint choice experiments using managers' prior beliefs",
author  = "Zsolt Sándor and Michel Wedel",
year    = "2001",
journal = "Journal of Marketing Research",
volume  = "38",
number  = "4",
pages   = "430--444"
}

@article{test2,
title   = "Designing conjoint choice experiments using managers’ prior beliefs",
author  = "Zsolt Sándor and Michel Wedel",
year    = "2001",
journal = "Journal of Marketing Research",
volume  = "38",
number  = "4",
pages   = "430--444"
}
\end{filecontents*}

\documentclass[letterpaper, 12pt, oneside]{book}

\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}

\usepackage[fixlanguage]{babelbib}
\selectbiblanguage{spanish}

\begin{document}

Hello world \cite{test1} and \cite{test2}

\bibliographystyle{babalpha-fl}
\bibliography{\jobname}

\end{document}

filecontents*环境仅用于使示例自成一体,而不会破坏我的文件。

在此处输入图片描述

如果你真的需要activeacute,请输入撇号

Designing conjoint choice experiments using managers'{} prior beliefs

答案2

各种各样的事情,比如managers{'} prior没有起作用,但managers'\ prior确实起作用了。

\documentclass[letterpaper, 12pt, oneside]{book}

\usepackage[activeacute,spanish]{babel}
\usepackage[utf8]{inputenc}

\usepackage[fixlanguage]{babelbib}
\selectbiblanguage{spanish}
\usepackage{filecontents}
\begin{filecontents*}{bibliografia.bib}
@article{sandor01_conjoint,
title   = "Designing conjoint choice experiments using managers'\ prior beliefs",
author  = "Zsolt Sándor and Michel Wedel",
year    = "2001",
journal = "Journal of Marketing Research",
volume  = "38",
number  = "4",
pages   = "430--444"
}
\end{filecontents*}

\begin{document}

Hello world \cite{sandor01_conjoint}

\bibliographystyle{babalpha-fl}
\bibliography{bibliografia}

\end{document}

在此处输入图片描述

相关内容