我需要使用 SBL biblatex 样式,但还需要对其进行修改以将标点符号移到引号之外,例如在书籍章节的标题中。这篇文章几乎给了我解决方案: 稍微定制一下 SBL,使用单引号代替双引号
问题是我使用 Polyglossia(主要用于希伯来语,但也用于希腊语),而 Babel 和 Polyglossia 似乎不兼容。
以下是我正在尝试进行的工作:
我的 paper.bib:
@collection{smith_tap_2013,
location = {Nottingham},
title = {Essays on Changing Taps},
shorttitle = {Taps},
publisher = {House},
editor = {Smith, John G.},
date = {2013-11-15}
}
@incollection{shead_psalter_2013,
location = {Nottingham},
title = {Modern Taps},
shorttitle = {Modern},
pages = {23--45},
booktitle = {Essays on Changing Taps},
publisher = {House},
author = {Johnson, James},
editor = {Smith, John G.},
date = {2013-11-15}
}
我的 paper.tex:
%!TEX TS-program = xelatex
% !TEX encoding = UTF-8 Unicode
\documentclass[12pt,a4paper,oneside]{article}
\usepackage{fontspec}
% Below: packages for \textgreek and \texthebrew
\usepackage{polyglossia}
\setdefaultlanguage[variant=british]{english}
\setotherlanguage{hebrew}
\newfontfamily\hebrewfont[Script=Hebrew]{SBL Hebrew}
\newcommand{\largeHeb}[1]{\large\texthebrew{#1}\normalsize}
\setotherlanguage{greek}
\newfontfamily\greekfont[Script=Greek]{SBL Greek}
\newcommand{\largeGk}[1]{\large\textgreek{#1}\normalsize}
\renewcommand\SepMark[1]{\def\@SepMark{#1}}\SepMark{.}
\usepackage[style=british]{csquotes} % recommended by biblatex
\usepackage[style=sbl,backend=biber,date=year]{biblatex}
\addbibresource{paper.bib}
\begin{document}
Test1 \\
\cite{smith_tap_2013}
Test2 \\
\cite{smith_modern_2013}
In Greek man is \textgreek{ἄνθρωπος},
but in Hebrew man is \texthebrew{אָדָם}, which is different of course!
\printbibliography
\end{document}
答案1
biblatex
无法检测语言变体polyglossia
。
在后面添加此行usepckage{biblatex}
:
\DeclareLanguageMapping{english}{sbl-english}
或者
\DeclareLanguageMapping{english}{sbl-british}
在中biblatex
,我认为第二个使用序数表示日期。
默认情况下,biblatex-sbl
首选美国语言设置,方法是添加如下行:
\DeclareLanguageMapping{english}{sbl-american}