zepinglee / gbt7714-bibtex-style

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

Overleaf无法使用 #158

Closed Mashirops closed 3 months ago

Mashirops commented 3 months ago

编译环境

宏包版本:gbt7714 v2.0 编译环境:Overleaf 标注样式:\textsuperscript{\cite{xxx}},顺序标注

描述问题

Overleaf编译之后不会出现对应的参考文献,我直接\usepackage{gbt7714},然后\bibliographystyle{gbt7714-numerical},但是最终没有任何参考文献出现,希望大佬指点一下,感谢!! 捕获1 捕获2 捕获3

sikouhjw commented 3 months ago

不需要 \textsuperscript{\cite{xxx}},仅需要 \cite

Mashirops commented 3 months ago

感谢及时回复,我用的编译器是XeLatex \textsuperscript是学校要求的格式,而且\cite也没有出来结果,我也很迷茫......

zepinglee commented 3 months ago

建议给出复现的代码 https://en.wikipedia.org/wiki/Minimal_reproducible_example

Mashirops commented 3 months ago

好的,我提供了一个Overleaf可编译的链接麻烦您帮忙看一下问题在哪里 https://cn.overleaf.com/8611865881hsqhvrkcgtmz#32dd28 main.tex里面简单的引用了一个文献,但是并没有显示出来 这是学校给出的模板,所以很多都是设定好的

zepinglee commented 3 months ago

https://cn.overleaf.com/8611865881hsqhvrkcgtmz#32dd28

natbib 使用了 natbib 宏包,跟你调用的 cite 宏包不兼容,已经注释掉。

另外还有一处报错,跟参考文献无关。

Mashirops commented 3 months ago

好的,非常感谢!!