Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

普通图书参考文献格式不对,缺少页码,需要修改bst文件 #38

Open
zxh804159854 opened this issue May 4, 2024 · 0 comments

Comments

@zxh804159854
Copy link

天大要求参考格式为:
(1) 普通图书:
作者.书名[文献类型标志].出版地:出版者,出版年:起止页码.
示例:
[1] 杜纲.管理数学基础[M].天津:天津大学出版社,2003:15-20.
[2] 昂温G,昂温 P S.外国出版史[M].陈生铮,译.北京:中国书籍出版社,1988:70-75.

现有格式没有页码,修改需要bst文件,在1917行。也就是增加

format.pages "pages" output.warn %add by zxh,添加图书页码

修改后如下

% 普通图书
FUNCTION {book} { 
  start.entry			% 开始

  author empty$			% 主要责任者
    { format.editors "author and editor" output.warn }
    { format.authors output.nonnull }
  if$		
  format.book.title "title"      output.warn	   % 题名项		
  format.translators             output		   % 其他责任者(可选)
  format.edition                 output		   % 版本项
  format.address.publisher.year  output.nonnull	   %
  format.reference.date          output		   % 
  format.url                     output		   % 获取或访问路径
  format.note                    output		   % 备注 
  format.pages "pages" output.warn    %add by zxh,添加图书页码

  fin.entry
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant