zepinglee / gbt7714-bibtex-style

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

参考文献显示出不来? #140

Closed whfei561 closed 11 months ago

whfei561 commented 11 months ago

编译环境

宏包版本:gbt7714 v1.0 标注样式:numbers

描述问题

\documentclass{ctexart}

\usepackage[sort]{gbt7714}
\bibliographystyle{gbt7714-numerical}

\begin{document}

    \cite{Hodges}sfsfdsfdfssdf dsf 
    \bibliography{Refer}

\end{document}

以上是代码,我把.sty和.bst复制到同一目录下,但参考问显示不出来 bib 数据库代码:

@article{,
  title={Hodges-Lehmann Optimality for Testing Moment Conditions},
  author={ Canay, Ivan A  and  Otsu, Taisuke },
  journal={Journal of Econometrics},
  volume={171},
  number={1},
  year={2011},
}

截图: 1697359667010 1697359700043

sikouhjw commented 11 months ago
  1. 确保 bib 文件在工作目录下
  2. bib 数据库里的文献没有 label
  3. 你引用的是 Hodges,与 bib 的对不上
  4. 确保运行了 bibtex
zepinglee commented 11 months ago
@article{,

改成

@article{Hodges,
whfei561 commented 11 months ago

刚才我复制错了,bib没问题,@article{Hodges, title={Hodges-Lehmann Optimality for Testing Moment Conditions}, author={ Canay, Ivan A and Otsu, Taisuke }, journal={Journal of Econometrics}, volume={171}, number={1}, year={2011}, } 还是不行,是我没有安装gbt7714这个宏包吗?

1697361187335

zepinglee commented 11 months ago

刚才我复制错了,bib没问题,@Article{Hodges, title={Hodges-Lehmann Optimality for Testing Moment Conditions}, author={ Canay, Ivan A and Otsu, Taisuke }, journal={Journal of Econometrics}, volume={171}, number={1}, year={2011}, } 还是不行,是我没有安装gbt7714这个宏包吗?

1697361187335

Sorry---you've exceeded BibleX's single function space 100

旧版的 bibtex 没有分配足够的空间,建议用新版 MiKTeX 的 bibtex.