![与文档其他语言不同的参考书目](https://linux22.com/image/442266/%E4%B8%8E%E6%96%87%E6%A1%A3%E5%85%B6%E4%BB%96%E8%AF%AD%E8%A8%80%E4%B8%8D%E5%90%8C%E7%9A%84%E5%8F%82%E8%80%83%E4%B9%A6%E7%9B%AE.png)
我如何才能仅在参考文献列表中更改俄语?我想将“и”更改为“and”,将“с.”更改为“P”。
我有
S. Advani、J. Torok 和 J. Lee。多孔介质中可压缩流体活塞式位移的一般解//。能源技术杂志。– 1985 年。– V. 107。– N. 4。– с. 523—526。
我想
S. Advani、J. Torok 和 J. Lee。多孔介质中可压缩流体活塞式位移的一般解//。能源技术杂志。– 1985 年。– V. 107。– N. 4。– P. 523—526。
\documentclass[12pt,a4paper]{report}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage[dvips]{graphicx}
\usepackage{graphicx}
\usepackage{graphics}
\usepackage{cite}
\usepackage{graphicx}
\usepackage{geometry}
\usepackage{natbib}
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage{amsfonts}
\usepackage{mathrsfs}
\usepackage{upgreek}
\usepackage{graphics}
\usepackage{graphicx}
\usepackage{epstopdf}
\usepackage{epsfig}
\usepackage{amsbsy}
\usepackage{amsfonts}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{bm}
\usepackage{color}
\usepackage{setspace}
\large
\def\der#1#2{{\partial #1\over \partial #2}}
% Alternative geometry
\usepackage{geometry}
\geometry{left=2.5cm}
\geometry{right=1.cm}
\geometry{top=2cm}
\geometry{bottom=2cm}
\usepackage{setspace}
\onehalfspacing
\hyphenation{frame-work}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[c]{{\thepage}}
\fancyheadoffset{-87.5mm}
\fancyfootoffset{0mm}
\setlength{\headheight}{0pt}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\fancypagestyle{plain}{
\fancyhf{}
\rhead{\thepage}}
\RequirePackage{caption}
%\DeclareCaptionLabelSeparator{defffis}{ -- }
%\captionsetup[figure]{justification=centering, labelsep=defffis, format=plain}
%\captionsetup[table]{justification=raggedright, labelsep=defffis, format=plain, singlelinecheck=false}
\addto\captionsrussian{\renewcommand{\figurename}{Рисунок}}
\usepackage{titlesec}
\titleformat{\chapter}[display]
{\fontsize{14pt}{14pt}\bfseries\centering}
{ \chaptertitlename\ \thechapter }{14pt}{\large}
\titleformat{\section}{\normalfont\large\bfseries\centering}{\thesection}{1em}{}
\usepackage[
backend=biber,
style=numeric
]{biblatex}
%\usepackage[ngerman]{babel}
%\usepackage[babel, german=quotes]{csquotes}
\renewbibmacro{in:}{}
\ExecuteBibliographyOptions{%
bibencoding=utf8,
bibwarn=true,
sortlocale=de_DE,
isbn=false,
url=false,
doi=false,
eprint=false,
clearlang=true,
maxbibnames=99,
firstinits=true,
sorting=none,
}
\DeclareFieldFormat*{title}{#1 //\space}
%\DeclareDelimFormat[bib]{nametitledelim}{\space //\space}
\DeclareFieldFormat{date}{{#1}}
\DeclareFieldFormat[article,periodical]{number}{{--\addnbspace N.\addnbspace #1}}
\DefineBibliographyStrings{german}{%
page = {{}{}},
pages = {{}{}},
}
\renewbibmacro*{journal+issuetitle}{%
\usebibmacro{journal}%
\setunit*{\adddot \addspace \text{--} \addspace}%точка-тире после издателя
\iffieldundef{series}
{}
{\newunit
\printfield{series}%
\setunit{\addspace}}%
\usebibmacro{issue+date}%
\setunit{\adddot\space \text{--}\space \text{V.} }% точка-тире после года
\usebibmacro{volume+number+eid}%
\setunit{\addcolon\space }%
\usebibmacro{issue}%
\newunit}
\renewbibmacro*{volume+number+eid}{%
\printfield{volume}%
\newunit
\printfield{number}%
\newunit
\printfield{eid}%
}
\newbibmacro*{issue+date}{
\iffieldundef{issue}
{\usebibmacro{date}}
{\printfield{issue}%
\setunit*{\addspace}%
\usebibmacro{date}}%
\newunit}
\renewcommand*{\bibpagespunct}{\adddot \space \addperiod \space \text{--}\space }%
\addbibresource{mybib.bib}
\begin{document}
Text~
\cite{advani1985general}
\begingroup
\let\itshape\upshape
\printbibliography
\end{document}
。围兜:
@article{advani1985general,
title={General solutions for pistonlike displacement of compressible fluids in porous media},
author={Advani, SH and Torok, JS and Lee, JK},
journal={Journal of energy resources technology},
volume={107},
number={4},
pages={523--526},
year={1985},
publisher={American Society of Mechanical Engineers}
}
答案1
默认情况下,biblatex
其输出将适应文档中当前活动的语言。由于您的文档babel
以 的形式加载\usepackage[english,russian]{babel}
,因此文档的主要语言是俄语(图表/表格标题以及目录和表格/图表列表将使用俄语)。
当\printbibliography
您的示例中调用它时,它将适应活动语言并以俄语排版。
如果你想在俄语文档中添加英文参考书目,请切换语言
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[english,russian]{babel}
\usepackage{csquotes}
\usepackage[backend=biber, style=authoryear]{biblatex}
\addbibresource{biblatex-examples.bib}
\begin{document}
Lorem \autocite{sigfridsson}
{\begin{otherlanguage}{english}
\printbibliography
\end{otherlanguage}}
\end{document}