Sjtuthesis: ERROR: Missing \begin{document}. \RequireBibliogr@thesis

Created on 24 Feb 2018  ·  15Comments  ·  Source: sjtug/SJTUThesis

I use Texlive2016+TEXstudio to compile thesis.tex file, but the message "Undefined control sequence. \RequireBibliogr@thesis". What should I do?

arebibliography platforTeXLive typquestion

All 15 comments

你好,请提供下面的信息

**系统信息**:

- OS版本(带版本号): macOS/Windows/Linux
- TeX 发行版(带版本号): TeX Live/MiKTeX/MacTeX

**日志信息**:

<!-- 请在 https://pastebin.ubuntu.com/ 中的 Content 处粘贴上 `thesis.log` 内全部内容, 并将生成的链接附在此处, 如 https://pastebin.ubuntu.com/26345571/ -->

@houruixiang 请提供下全部的日志信息

emmmmm 你发到 https://pastebin.ubuntu.com/ 然后发链接吧,GitHub 收不到附件

https://pastebin.ubuntu.com/p/c8ytMCnD2N/

Update: edited by @at15 to remove actual log content

我试了下直接用 compile.bat 也是不行的, 但是貌似是 bibtex 的问题

https://pastebin.ubuntu.com/p/xFhr9rKZCz/

````
Package biblatex Info: Trying to load bibliography style 'gb7714-2015'...
Package biblatex Info: ... file 'gb7714-2015.bbx' not found.

! Package biblatex Error: Style 'gb7714-2015' not found.

See the biblatex package documentation for explanation.
Type H for immediate help.
````

@at15 强制重新安装 https://ctan.org/pkg/biblatex-gb7714-2015?lang=en 试试

@gaocegege 我记得我写毕设的时候没有出过这个问题,这个是新加的包么?win 下 gui 看的话是没有安

image

(那么问题来了 ... win 下怎么装呢?

  • run cmd as admin

tlmgr update --self tlmgr install bibla­tex-gb7714-2015

@gaocegege 安装之后就 ok 了, 在我毕业之后改了参考文献 ...

2016 年 12 月 v0.9.5 发布,改用 GB7714-2015 参考文献风格

@houruixiang 你试试 compile.bat 我觉得是 texstudio 的锅

@at15 直接编译compile.bat 也报错

@gaocegege 我去把所有的包都更新一次,再看一下

@at15 TeX Live 2016 还没有 bibla­tex-gb7714-2015 包,TeX Live 2017 开始才包括这个包,跟 TeXstudio 没关系。

@gaocegege 这个问题貌似问的人挺多的,要不要加到常见问题里?

@AlexaraWu 直接说要求最低 texlive 2017 好了 (pt 上已经有了), @houruixiang 假如安了bibla­tex-gb7714-2015 compile.bat 还出问题应该就是 texstudio 或者字体的锅,记得贴一下 log

@AlexaraWu SGTM

@gaocegege @at15 @AlexaraWu 是的,就是版本的问题,我安装的是TeX Live 2016,然后把所有的package都更新一遍,编译正常了,谢谢你们。

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gaocegege picture gaocegege  ·  4Comments

gaocegege picture gaocegege  ·  12Comments

goodbest picture goodbest  ·  8Comments

Erich-Chen picture Erich-Chen  ·  6Comments

majestichou picture majestichou  ·  7Comments