Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

生成的PDF文件只有一级目录 #457

Closed
wxsthuee opened this issue Feb 2, 2020 · 4 comments
Closed

生成的PDF文件只有一级目录 #457

wxsthuee opened this issue Feb 2, 2020 · 4 comments
Labels

Comments

@wxsthuee
Copy link

wxsthuee commented Feb 2, 2020

编译环境

编译的系统:macOS 10.15
TeX 发行版:MacTeX 2019
模板版本:v6.0.0
模板类型:doctor

描述问题

生成的PDF文件只有一级目录,没有二级目录了。
之前版本的模版是有的。

截图:
Snipaste_2020-02-02_20-47-56

@zepinglee
Copy link
Contributor

可以复现你的问题

@zepinglee zepinglee added the bug label Feb 2, 2020
zepinglee added a commit that referenced this issue Feb 3, 2020
@zepinglee
Copy link
Contributor

这是因为附录中的节标题不加入目录,需要在附录处将 tocdepth 设为 0,然而 hyperref 的 pdf 书签也默认使用 tocdepth,所以导致全局的书签只有一级。

解决办法:手动设置 bookmarksdepth = 2

@zepinglee
Copy link
Contributor

@xueruini 我 push 到 v6.0.1-dev 了,建议尽快把两个 hot fix(还有 #453 的)merge 到 masterv6.0.1-dev 只保留实验性的内容。

@xueruini
Copy link
Contributor

xueruini commented Feb 3, 2020

看到了。6.0.1-dev 其它部分也没什么大改动,就一起合了

@xueruini xueruini mentioned this issue Feb 3, 2020
@xueruini xueruini closed this as completed Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants