hushidong / biblatex-gb7714-2015

A biblatex implementation of the GB/T7714-2015 bibliography style || GB/T 7714-2015 参考文献著录和标注的biblatex样式包
771 stars 84 forks source link

关于article中的修改或更新或公告或公开日期 #64

Closed hushidong closed 1 year ago

hushidong commented 4 years ago

一般article中是没有修改或更新或公告或公开日期的,所以也不用特别关注。但实际上在国标例子中是有这样的输出的,尽管在例子的前面的文档说明中没有体现,比如:

图片

比如其中文献9的( 2014-06-19).

之前的实现是,若article有url,且date明确写道日,那么就输出他。

hushidong commented 4 years ago

比如:

\documentclass{article}
\usepackage{ctex}
\usepackage{hyperref}
\usepackage[backend=biber,style=gb7714-2015,%url=false,%
gbnamefmt=lowercase,backref=false,%
doi=false,isbn=false,gbnoauthor=true,%
maxnames=3,minnames=1]{biblatex}

\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{liu-2019-zh,
  title   = {湍流燃烧模拟中化学反应的加速算法研究进展},
  journal = {实验流体力学},
  author  ={刘再刚 and 孔文俊},
  year    = {2019},
  volume  = {33},
  number  = {4},
  pages   = {1-10}
}

@Article{liu-2019-en,
  title   = {progress on accleration algorithm of the coputattion for chemical reactions in turbulent comubstion simulation},
  journal = {Journal of Experiments in Fluid Mechanics},
  author  ={Liu, Zai Gang and Kong, Wen Jun},
  year    = {2019},
  volume  = {33},
  number  = {4},
  pages   = {1-10}
}

@Article{Myburg2014-356-362,
  author  = {Myburg, Alexander A. and Grattapaglia, Dario and Tuskan, Gerald A. and others},
  title   = {The genome of Eucalyptus grandis},
  journal = {Nature},
  year    = {2014},
  date    = {2014-06-19},
  volume  = {510},
  pages   = {356--362},
  doi     = {10.1038/nature13308},
  url     = {http://www.nature.com/nature/journal/v510/n7505/pdf/nature13308.pdf},
  urldate = {2014-06-25},
}

@article{choi_pricing_1985,
title = {Pricing options on agricultural futures: An application of the constant elasticity of variance option pricing model},
volume = {5},
rights = {Copyright © 1985 Wiley Periodicals, Inc., A Wiley Company},
issn = {1096-9934},
url = {https://onlinelibrary.wiley.com/doi/abs/10.1002/fut.3990050208},
doi = {10.1002/fut.3990050208},
shorttitle = {Pricing options on agricultural futures},
pages = {247--258},
number = {2},
journaltitle = {Journal of Futures Markets},
author = {Choi, Jin W. and Longstaff, Francis A.},
urldate = {2018-10-15},
date = {1985-06-01},
langid = {english},
file = {Choi_Longstaff_1985_Pricing options on agricultural futures.pdf:F\:\\research\\paper\\zotero\\files\\storage\\P7VXIY5I\\Choi_Longstaff_1985_Pricing options on agricultural futures.pdf:application/pdf}
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}

\cite{liu-2019-en,Myburg2014-356-362,choi_pricing_1985}

\printbibliography

\end{document} 

那么结果为:

图片

但如果,设置url为false时,结果会有问题,

比如:

图片

这显然是有问题的,所以还需要调整,将该日期的输出与url选项相关起来。所以,需要修改一下aritcle的driver

hushidong commented 4 years ago

见最新的commit:https://github.com/hushidong/biblatex-gb7714-2015/commit/7ce8959a2a9dc5d6c960de101a5a609d3021e113

hushidong commented 4 years ago

commit:7ce8959

修改后,即使用最新版的bbx,在使用url=false时,不再输出公开/更新日期。