Biblatex 选项不起作用,参考书目不可定制

Biblatex 选项不起作用,参考书目不可定制

我目前正在撰写论文,遇到以下问题:

我想自定义参考书目,以便首先显示姓氏(并缩短名字),ISBN 和 DOI 应该被省略。

我读了以下文章:Biblatex:删除参考文献中的 ISSN、URL 和 DOI。因此,我根据此应用了建议的自定义,但似乎它们都不适用于我的文档。

这是我的代码:

\documentclass[a4paper,                         
               12pt,                            
               oneside,                         
               toc=listof,                     
               listof=entryprefix,              
               headings=normal                  
               ]{scrreprt}                 

  \usepackage[ngerman]{babel}                   
  \usepackage{blindtext}

 \usepackage[backend=biber,                      
             bibencoding=utf8,                      
             style=alphabetic,                  
             doi=false,                         
             isbn=false,
             dashed=false,                          
             uniquename=false,                  
             ]{biblatex}                            
 \addbibresource{bib/literatur.bib}     

 \begin{document}

 \blindtext \cite{Black.1973}

 \printbibliography

 \end{document}       

这是我的 bib 文件:

% This file was created with Citavi 5.5.0.1

@article{Black.1973,
 author = {Black, Fischer and Scholes, Myron},
 year = {1973},
 title = {The Pricing of Options and Corporate Liabilities},
 pages = {637--654},
 pagination = {page},
 volume = {81},
 number = {3},
 issn = {0022-3808},
 journal = {Journal of Political Economy},
 doi = {10.1086/260062}
}

以下是我得到的结果的截图:

文本 参考书目

.blg以下是我的文件中的代码:

[0] Config.pm:354> INFO - This is Biber 2.7
[0] Config.pm:357> INFO - Logfile is 'test.blg'
[43] biber-MSWIN32:303> INFO - === 
[79] Biber.pm:359> INFO - Reading 'test.bcf'
[184] Biber.pm:835> INFO - Found 1 citekeys in bib section 0
[200] Biber.pm:3670> INFO - Processing section 0
[222] Biber.pm:3840> INFO - Looking for bibtex format file 'bib/literatur.bib' for section 0
[230] bibtex.pm:1435> INFO - Decoding LaTeX character macros into UTF-8
[239] bibtex.pm:1292> INFO - Found BibTeX data source 'bib/literatur.bib'
[247] Utils.pm:164> WARN - BibTeX subsystem: C:\Users\FSCHAR~1\AppData\Local\Temp\tksrf7X3UK\literatur.bib_10088.utf8, line 3, warning: 45 characters of junk seen at toplevel
[258] UCollate.pm:68> INFO - Overriding locale 'de-DE' defaults 'normalization = NFD' with 'normalization = prenormalized'
[258] UCollate.pm:68> INFO - Overriding locale 'de-DE' defaults 'variable = shifted' with 'variable = non-ignorable'
[258] Biber.pm:3499> INFO - Sorting list 'anyt/global/' of type 'entry' with scheme 'anyt' and locale 'de-DE'
[259] Biber.pm:3505> INFO - No sort tailoring available for locale 'de-DE'
[261] bbl.pm:608> INFO - Writing 'test.bbl' with encoding 'ascii'
[261] bbl.pm:712> INFO - Output to test.bbl
[262] Biber.pm:109> INFO - WARNINGS: 1

答案1

样式alphabetic不知道选项dashed,因此调用该选项会导致错误。所以我们必须删除该选项。

uniquename=false,与您在此处使用的样式不符。

通过它giveninits=true您可以获得名字的首字母。

因此,您需要biblatex使用

\usepackage[backend=biber, style=alphabetic, doi=false, isbn=false, giveninits=true]{biblatex}    

最后你想要

\DeclareNameAlias{author}{family-given}
\DeclareNameAlias{edi‌​tor}{family-given}
\D‌​eclareNameAlias{tran‌​slator}{family-given‌​}

相关内容