我正在用法语写一本学士学位论文,当我引用俄语和希腊语的书籍时,作者的姓氏并没有以小写字母显示在脚注和参考书目中,而在同一文本中,用拉丁字符显示姓氏则没有这样的问题。
我试图在序言中添加此代码:
...
\newfontfamily\greekfont[Script=Greek,Mapping=tex-text]{CMU Serif}
\newfontfamily\russianfont[Script=Cyrillic,Mapping=tex-text]{CMU Serif}
...
并在参考书目条目中像这样:
@Book{AlKarapan,
author = {{Α}λέξανδρος Κ. \textgreek{Καραπαναγοπούλου}},
title = {Η Μεγάλη Σύνοδος της Ορθοδόξου Ανατολικής Εκκλησίας},
publisher = {auto-édition},
year = {\hbox{1990--1998}},
volumes = {6},
address = {Αθήνα}
}
@Inbook{CypinIstorijaRPC,
author = {{В}ладислав \textrussian{Цыпин}},
title = {История Русской Церкви 1917--1997},
chapter = {VIII},
publisher = {Издательство Спасо-Преображенского Валаамского монастыря},
address = {Москва},
date = {1997},
urldate = {2010-10-25},
url = {http://old.pravoslavie.by/podpod.asp?id=135&Session=10}
}
我明白了: 我不知道这在技术上是否正确,但对我来说它有效。
有人有更好的想法吗?欢迎所有改进和创新。:)))
答案1
使用 biblatex,您可以通过重新定义命令 \mkbibnamelast 来改变姓氏的外观。
\renewcommand\mkbibnamelast[1]{\textsc{#1}}
xelatex 的完整示例:
\documentclass[a4paper]{article}
\usepackage{polyglossia}
\setmainlanguage{french}
\setotherlanguages{czech,greek,russian}
\usepackage[style=authoryear,babel=other,backend=biber]{biblatex}
\usepackage{fontspec}
\setmainfont[Mapping=tex-text]{CMU Serif}
\renewcommand\mkbibnamelast[1]{\textsc{#1}}
\bibliography{test}
\newfontfamily\greekfont[Script=Greek,Mapping=tex-text]{CMU Serif}
\newfontfamily\russianfont[Script=Cyrillic,Mapping=tex-text]{CMU Serif}
\begin{document}
Example one\footfullcite{AlKarapan}, example two\footfullcite{CypinIstorijaRPC} and latin surname\footfullcite{ooo}
\printbibliography
\end{document}
和 bib 文件:
@Book{AlKarapan,
author = {Καραπαναγοπούλου, Αλέξανδρος Κ.},
title = {Η Μεγάλη Σύνοδος της Ορθοδόξου Ανατολικής Εκκλησίας},
publisher = {auto-édition},
year = {\hbox{1990--1998}},
volumes = {6},
address = {Αθήνα},
hyphenation={greek}
}
@Inbook{CypinIstorijaRPC,
author = {Владислав Цыпин},
title = {История Русской Церкви 1917--1997},
chapter = {VIII},
publisher = {Издательство Спасо-Преображенского Валаамского монастыря},
address = {Москва},
date = {1997},
urldate = {2010-10-25},
url = {http://old.pravoslavie.by/podpod.asp?id=135&Session=10},
hyphenation={russian}
}
@Inbook{ooo,
author = {Petr Nikl},
title = {Nějaký titulek},
chapter = {VIII},
publisher = {Academia},
address = {Praha},
date = {1997},
hyphenation={czech}
}
结果: