我正在使用biblatex-gost
package, style gost-authoryear
。由于我有一个多语言书目,我需要根据特定书目项目的语言使引用看起来不同。
如您在下面的示例中看到的,无论文章语言如何,三位作者的文章的引文都具有相同的结构,即Author 1 [и др.]
。我需要的是,对于俄语项目,缩写保留为 и др.
,而对于英语项目,我需要将其更改为et al.
此外,我想摆脱方括号。换句话说,引文应该是这样的:Reverberi et al., 2012
和Лисанюк и др., 2015
。
这是 MWE
\documentclass[12pt,a4paper]{article}
\usepackage{cmap}
\usepackage{mathtext}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{indentfirst}
\frenchspacing
\usepackage[backend=biber,bibencoding=utf8,sorting=nyt,maxcitenames=2,maxbibnames=999,style=gost-authoryear]{biblatex}
\addbibresource{GOST.bib}
\usepackage[autostyle]{csquotes}
\begin{document}
Preserved defective offending he daughters on or (\cite{reverberi2012deduction}). Rejoiced prospect yet material servants out answered men admitted. Sportsmen certainty prevailed suspected am as (\cite{lisanyuketal}). Add stairs admire all answer the nearer yet length. Advantages prosperous remarkably my inhabiting so reasonably be if. Too any appearance announcing impossible one. Out mrs means heart ham tears shall power every.
\nocite{*}
\printbibliography
\end{document}
和bib.
文件
@article{reverberi2012deduction,
title={Deduction without awareness},
author={Reverberi, Carlo and Pischedda, Doris and Burigo, Michele},
journal={Acta psychologica},
volume={139},
number={1},
pages={244--253},
year={2012},
publisher={Elsevier}
}
@article{lisanyuketal,
title={From the neuron doctrine to neural networks},
author={Лисанюк, Елена Николаевна and Грфцова, Ирина Николаевна and Мигунов, Анатолий Иванович},
journal={Журнал по аргументации},
volume={16},
number={8},
pages={487--497},
year={2015}
}
答案1
请参阅下面的示例。您需要选项language=auto
,以便切换引文的语言,autolang=other
以便使用(此处为 babel)语言环境进行语言切换,然后您需要指定与默认文档语言不匹配的条目的语言,在此处添加到相应的条目。如果您只想切换引文的语言,但想要完整的俄语书目,langid={english}
则可以使用:language=autocite
\documentclass[12pt,a4paper]{article}
\begin{filecontents}{\jobname.bib}
@article{reverberi2012deduction,
langid = {english},
title={Deduction without awareness},
author={Reverberi, Carlo and Pischedda, Doris and Burigo, Michele},
journal={Acta psychologica},
volume={139},
number={1},
pages={244--253},
year={2012},
publisher={Elsevier}
}
@article{lisanyuketal,
title={From the neuron doctrine to neural networks},
author={Лисанюк, Елена Николаевна and Грфцова, Ирина Николаевна and Мигунов, Анатолий Иванович},
journal={Журнал по аргументации},
volume={16},
number={8},
pages={487--497},
year={2015}
}
\end{filecontents}
\usepackage{cmap}
\usepackage{mathtext}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{indentfirst}
\frenchspacing
\usepackage[backend=biber,bibencoding=utf8,sorting=nyt,maxcitenames=2,maxbibnames=999,style=gost-authoryear,language=auto,autolang=other]{biblatex}
\addbibresource{test3.bib}
\usepackage[autostyle]{csquotes}
\renewbibmacro*{name:andothers}{%
\ifboolexpr{
test {\ifnumequal{\value{listcount}}{\value{liststop}}}
and
test \ifmorenames
}
{\ifnumgreater{\value{liststop}}{1}
{\finalandcomma}
{}%
\andothersdelim\bibstring{andothers}}
{}}
\begin{document}
Preserved defective offending he daughters on or (\cite{reverberi2012deduction}). Rejoiced prospect yet material servants out answered men admitted. Sportsmen certainty prevailed suspected am as (\cite{lisanyuketal}). Add stairs admire all answer the nearer yet length. Advantages prosperous remarkably my inhabiting so reasonably be if. Too any appearance announcing impossible one. Out mrs means heart ham tears shall power every.
\nocite{*}
\printbibliography
\end{document}