latex 参考文献没有显示_各位大佬, 参考文献不显示作者的问题哈

这是俺们的bbx文件,编译的时候有两个问题

其中一个就是说

Macro 'name:family-given' undefined.

下面就是包含"Macro 'name:family-given'"的文件

莫非不显示作者的原因在这里?

% -*- coding: utf-8 -*-

% copied from

%   caspervector.bbx

%

%

% vim:ft=tex:ts=2:sw=2

%

% Casper Ti. Vector's biblatex style

%

% Copyright (c) 2012 Casper Ti. Vector

%

% This work may be distributed and/or modified under the conditions of the

% LaTeX Project Public License, either version 1.3 of this license or (at

% your option) any later version.

% The latest version of this license is in

% and version 1.3 or later is part of all distributions of LaTeX version

% 2005/12/01 or later.

%

% This work has the LPPL maintenance status `maintained'.

% The current maintainer of this work is Casper Ti. Vector.

%

% This work consists of the following files:

%   caspervector.bbx

%   caspervector.cbx

%   biblatex-caspervector-gbk.def

%   biblatex-caspervector-utf8.def

\ProvidesFile{caspervector.bbx}%

[2012/05/31 v0.1.3 Casper Ti. Vector's biblatex bibliography style]

\RequireBibliographyStyle{numeric}

%\renewbibmacro*{name:andothers}{%

%  \ifboolexpr{

%    test {\ifnumequal{\value{listcount}}{\value{liststop}}}

%    and

%    test \ifmorenames

%  }

%    {\ifnumgreater{\value{listtotal}}{1}

%       {\finalandcomma}

%       {}%

%     \andothersdelim\bibstring{andothers}}

%    {}}

\renewbibmacro*{name:family-given}[4]{%

\setcounter{liststop}{3}%                             % !!!!!!!!!!!!!!!!

\ifuseprefix

{\usebibmacro{name:delim}{#3#1}%

\usebibmacro{name:hook}{#3#1}%

\ifblank{#3}{}{%

\ifcapital

{\mkbibnameprefix{\MakeCapital{#3}}\isdot}

{\mkbibnameprefix{#3}\isdot}%

\ifpunctmark{'}{}{\bibnamedelimc}}%

\mkbibnamefamily{#1}\isdot

\ifblank{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}%

\ifblank{#2}{}{\addcomma\bibnamedelimd\mkbibnamegiven{#2}\isdot}}

{\usebibmacro{name:delim}{#1}%

\usebibmacro{name:hook}{#1}%

\mkbibnamefamily{#1}\isdot

\ifblank{#4}{}{\bibnamedelimd\mkbibnamesuffix{#4}\isdot}%

%     \ifblank{#2#3}{}{\addcomma}%

\ifblank{#2}{}{\bibnamedelimd\mkbibnamegiven{#2}\isdot}%

\ifblank{#3}{}{\bibnamedelimd\mkbibnameprefix{#3}\isdot}}}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值