ElegantPaper icon indicating copy to clipboard operation
ElegantPaper copied to clipboard

在cls中addbibresource会导致vscode无法对参考文献进行自动补全

Open Cadenzaaa opened this issue 2 years ago • 2 comments

无法对参考文献进行补全过于麻烦,例如bib文件中定义了

@article{rfc791,
  author    = {Jon Postel},
  title     = {Internet Protocol},
  journal   = {{RFC}},
  volume    = {791},
  pages     = {1--51},
  year      = {1981}
}

在tex中输入\cite{rfc仍然后无法补全到\cite{rfc791}

建议解决方案: 将cls文件中的:\addbibresource[location=local]{reference.bib} 移动到正文tex文件来。

Cadenzaaa avatar May 27 '22 05:05 Cadenzaaa

+1

BlueFisher avatar May 28 '22 01:05 BlueFisher

Same problem :(

hjnnjh avatar Jul 18 '22 11:07 hjnnjh

已经移出去了,见新版的 cls。

EthanDeng avatar Sep 18 '22 11:09 EthanDeng