Skip to content

arXiv 文献被要求使用 [EB/OL] 类型 #971

Answered by hushidong
LogCreative asked this question in 提问
Discussion options

You must be logged in to vote

尽量不改bib吧,麻烦。

把样式改一下就行,就不用动bib文件了,也不影响其他的

比如:


% !Mode:: "TeX:UTF-8"
% 用于测试gb7714-2015的标注样式,是否满足GB要求
\documentclass{article}
\usepackage{ctex}
\usepackage[backend=biber,style=gb7714-2015]{biblatex}%sorting=nyt


\DeclareStyleSourcemap{
  \maps[datatype=bibtex]{
  \map[overwrite]{
      \pertype{misc}
      \step[fieldsource=archivePrefix,match=arXiv,final]
      \step[fieldset=usera,fieldvalue={EB}]
      \step[fieldset=primaryClass,fieldvalue={}]
      \step[fieldset=url,fieldvalue={https://arxiv.org/abs/}]
      \step[fieldsource=eprint]
      \step[fieldset=url,origfieldval, append]
      \step[fieldset=urldate,fieldvalue={2023-02-03}]
      }
    }
}

%
%   备选类型驱动
%
%   利用biblatex的misc…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
7 replies
@hushidong
Comment options

@VoidXia
Comment options

@hushidong
Comment options

@hushidong
Comment options

@VoidXia
Comment options

Answer selected by LogCreative
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
提问
Labels
None yet
3 participants