在 biblatex 中作者打印定制,包 Biblatex-GOST

在 biblatex 中作者打印定制,包 Biblatex-GOST

我在 xelatex-biblatex-biber 中使用 gost-numeric 样式。至少在 @book 和 @article 类型中我需要有关作者的更改,但最好在所有类型中都看到它们。当作者有 4 个或更多时,一切都没问题。当作者有 1 个或 2 个或 3 个时,需要在标题之前打印第一作者(并且只有第一个作者)(没有 [et al.])。同样,当作者有 1 个或 2 个或 3 个时:标题后必须是符号 /,前后都有普通空格。之后必须打印所有作者,包括第一个作者。如果可能,请帮助我 现在的情况是:

\documentclass[a4paper,14pt,oneside]{book}
\usepackage[english]{babel}   
\usepackage[backend=biber,style=gost-numeric, 
sorting=none,     
language=auto, 
babel=other 
]{biblatex}
\NewBibliographyString{langjapanese}    
\NewBibliographyString{fromjapanese}    
\usepackage{filecontents}
\begin{filecontents}{comm.bib}
@book{forrest_2_2012,
    location = {London},
    title = {2 authors},
    pagetotal = {100},
    publisher = {Publishing House},
    author = {Forrest, T. and Ivvel, A.Q.},
    date = {2012},
    hyphenation={english}
}
@book{forrest_3_2012,
    location = {London},
    title = {3 authors},
    pagetotal = {100},
    publisher = {Publishing House},
    author = {Forrest, T. and Ivvel, A.Q. and Mongo, A.R.},
    date = {2012},
    hyphenation={english}
}
@book{forrest_4_2012,
    location = {London},
    title = {4 authors},
    pagetotal = {100},
    publisher = {Publishing House},
    author = {Forrest, T. and Ivvel, A.Q. and Mongo, A.R. and Grag, S.U.},
    date = {2012},
    hyphenation={english}
}
@book{forrest_1_2012,
    location = {London},
    title = {1 author},
    pagetotal = {100},
    publisher = {Publishing House},
    author = {Forrest, T.},
    date = {2012},
    hyphenation={english}
}
\end{filecontents}
\addbibresource{comm.bib} 
\begin{document} 
\nocite{*}
\printbibliography
\end{document} 

答案1

如果我理解正确的话,你只需要

\toggletrue{bbx:gostbibliography}

您所寻求的行为已在中实现biblatex-gost,但只能在

\printbibliography[env=gostbibliography]

这样\toggletrue{bbx:gostbibliography}我们就可以保留标准的书目环境。

不幸的是,我不会说俄语,但是biblatex-gost文档第 21 页第 5.5 节中似乎对此有所提及。

平均能量损失

\documentclass{article}
\usepackage[english]{babel}   
\usepackage[backend=biber,style=gost-numeric]{biblatex}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@book{forrest_2_2012,
    location = {London},
    title = {2 authors},
    pagetotal = {100},
    publisher = {Publishing House},
    author = {Forrest, T. and Ivvel, A.Q.},
    date = {2012},
    hyphenation={english}
}
@book{forrest_3_2012,
    location = {London},
    title = {3 authors},
    pagetotal = {100},
    publisher = {Publishing House},
    author = {Forrest, T. and Ivvel, A.Q. and Mongo, A.R.},
    date = {2012},
    hyphenation={english}
}
@book{forrest_4_2012,
    location = {London},
    title = {4 authors},
    pagetotal = {100},
    publisher = {Publishing House},
    author = {Forrest, T. and Ivvel, A.Q. and Mongo, A.R. and Grag, S.U.},
    date = {2012},
    hyphenation={english}
}
@book{forrest_1_2012,
    location = {London},
    title = {1 author},
    pagetotal = {100},
    publisher = {Publishing House},
    author = {Forrest, T.},
    date = {2012},
    hyphenation={english}
}
\end{filecontents}
\addbibresource{\jobname.bib} 


\toggletrue{bbx:gostbibliography}

\begin{document} 
\nocite{*}
\printbibliography
\end{document} 

示例输出

相关内容