zepinglee / gbt7714-bibtex-style

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

选项super设置以后报错 #71

Closed zoushucai closed 3 years ago

zoushucai commented 3 years ago

编译环境

宏包版本:gbt7714 v2.0.2 标注样式:super / numbers / authoryear

描述问题: 使用super选项以后,报错

\begin{filecontents}{example.bib}
  @Book{adams2003sobolev,
    title     = {Sobolev Spaces},
    publisher = {Academic Press},
    year      = {2003},
    author    = {Adams, R. A. and Fournier, J. J. F.},
    series    = {Pure and Applied Mathematics},
    address   = {New York},
    isbn      = {9780080541297},
  }
  @Book{xie2008san,
    title     = {三维涡流场的有限元分析},
    publisher = {机械工业出版社},
    year      = {2008},
    author    = {谢德馨 and 姚缨英 and 白保东 and 李锦彪},
    address   = {北京},
    isbn      = {9787111087045},
    language  = {chinese},
    key       = {xie4 de2 xin1   yao2 ying1 ying1   bai2 bao3 dong1   li3 jin3 biao1}
  }
\end{filecontents}
\documentclass{ctexart}
\usepackage{hologo}
\usepackage[super,sort&compress]{gbt7714}
\bibliographystyle{gbt7714-numerical}
\title{该怎么玩中文参考文献}
\author{啸行}
\date{today}
\begin{document}
  \maketitle
  其实玩中文参考文献没有什么难的, 只要你选择正确的宏包.
  如果用了 \hologo{BibTeX}, 那么可以调用 zepinglee 的 gbt7714 宏包, 最终参考文献的样式就是\cite{xie2008san,adams2003sobolev}.
  \bibliography{example}
\end{document}

报错结果为:

开始 : bibtex "document2".aux

This is BibTeX, Version 0.99d (TeX Live 2020)
The top-level auxiliary file: document2.aux
The style file: gbt7714-numerical.bst
Illegal, another \bibstyle command---line 3 of file document2.aux
 : \bibstyle
 :          {gbt7714-numerical}
I'm skipping whatever remains of this command
Database file #1: example.bib
(There was 1 error message)

出现错误

我最近更新了mactex才造成这个问题的,没更新之前,没有遇到这个问题,是能正常运行的,如果没有这个选项,则可以正常运行

zepinglee commented 3 years ago

v2.0 开始不再用 super 等选项,而是直接使用 \bibliographystyle{gbt7714-numerical},可以删掉 .aux 文件重新编译。

另外拼音 key = {xie4 de2 xin1 yao2 ying1 ying1 bai2 bao3 dong1 li3 jin3 biao1} 建议用 & 分隔姓名,三个空格可能会导致排序错误。

zoushucai commented 3 years ago

v2.0 开始不再用 super 等选项,而是直接使用 \bibliographystyle{gbt7714-numerical},可以删掉 .aux 文件重新编译。

另外拼音 key = {xie4 de2 xin1 yao2 ying1 ying1 bai2 bao3 dong1 li3 jin3 biao1} 建议用 & 分隔姓名,三个空格可能会导致排序错误。

原来如此, 谢谢,终于弄好了