zepinglee / gbt7714-bibtex-style

GB/T 7714-2015 BibTeX Style
LaTeX Project Public License v1.3c
1.15k stars 196 forks source link

参考文献无法自动排序 #143

Closed Stitchiey closed 8 months ago

Stitchiey commented 8 months ago

编译环境

宏包版本:gbt7714 v2.1.5 标注样式:super

描述问题

当我仅仅使用.bst文件而不引用gbt7714宏包时,参考文献不会自动排序、分行。 此时使用的.bst文件为修改了.btx文件之后生成的gbt7714-numerical.bst,修改部分如下: https://github.com/zepinglee/gbt7714-bibtex-style/blob/5ba4dcd8c4443a2cd0398897b5c5a7322a66db88/gbt7714.dtx#L946 修改为 #0 'uppercase.name := https://github.com/zepinglee/gbt7714-bibtex-style/blob/5ba4dcd8c4443a2cd0398897b5c5a7322a66db88/gbt7714.dtx#L1071 修改为 "none" 'component.part.label := bib 数据库代码:

@inproceedings{Opp,
  author={Wang, Shen and Li, Rihui and Han, Yongjian and Yao, Ming},
  booktitle={2021 Cross Strait Radio Science and Wireless Technology Conference (CSRSWTC)}, 
  title={Opportunities and Challenges of Antenna Design for Future 5G Mobile Terminals}, 
  year={2021},
  volume={},
  number={},
  pages={115-116},
  doi={10.1109/CSRSWTC52801.2021.9631562},
  publisher = {IEEE}
}
@article{Mas,
   author = {Li, Yixin and Sim, Chow-Yen-Desmond and Luo, Yong and Yang, Guangli},
   title = {12-Port 5G Massive MIMO Antenna Array in Sub-6GHz Mobile Handset for LTE Bands 42/43/46 Applications},
   journal = {IEEE Access},
   volume = {6},
   pages = {344-354},
   abstract = {A 12-port antenna array operating in the long term evolution (LTE) band 42 (3400-3600 MHz), LTE band 43 (3600-3800 MHz), and LTE band 46 (5150-5925 MHz) for 5G massive multiple-input multiple-output (MIMO) applications in mobile handsets is presented. The proposed MIMO antenna is composed of three different antenna element types, namely, inverted π-shaped antenna, longer inverted L-shaped open slot antenna, and shorter inverted L-shaped open slot antenna. In total, eight antenna elements are used for the 8×8 MIMO in LTE bands 42/43, and six antenna elements are designed for the 6×6 MIMO in LTE band 46. The proposed antenna was simulated, and a prototype was fabricated and tested. The measured results show that the LTE bands 42/43/46 are satisfied with reflection coefficient better than -6 dB, isolation lower than -12 dB, and total efficiencies of higher than 40%. In addition to that, the proposed antenna array has also shown good MIMO performances with an envelope correlation coefficient lower than 0.15, and ergodic channel capacities higher than 34 and 26.5 b/s/Hz in the LTE bands 42/43 and LTE band 46, respectively. The hand phantom effects are also investigated, and the results show that the proposed antenna array can still exhibit good radiation and MIMO performances when operating under data mode and read mode conditions.},
   ISSN = {2169-3536},
   DOI = {10.1109/ACCESS.2017.2763161},
   year = {2018},
   type = {Journal Article}
}

截图: image

Stitchiey commented 8 months ago

这个问题可以通过在导言区添加包\usepackage{gbt7714}而得到解决。

zepinglee commented 8 months ago

GB/T 7714 顺序编码制(numerical)本身就不排序,即按照被引的顺序。

gbt7714.bst 生成的 .bbl 文件是基于 natbib 的,与标准 LaTeX 略有差异。区别主要在于 \bibitem 的可选参数。如果你实在不需要 gbt714 至少要载入 natbib