Open yangpuhai opened 1 month ago
之前有同学反映 www.overleaf.com 换成 cn.overleaf.com 就行,有没有试过呢?
之前有同学反映 www.overleaf.com 换成 cn.overleaf.com 就行,有没有试过呢?
感谢帮助,尝试了一下,还是出现了超时的情况。目前,我已经采用了Ruifeng Ma等同学在Overleaf上发布的新模板Beijing Institute of Technology (BIT) 2024 version thesis template(源于yang yating等维护的旧版本),该版本可以正常编译。
刚刚做了个十一万字的测试用例,还没有暴露问题。我之后加\cite
试一下。
另:Beijing Institute of Technology (BIT) 2024 version thesis template - Overleaf 与 https://github.com/RuifMaxx/LaTeX-template 并不完全相同,Overleaf上的BIT-thesis-grd.cls
似乎有更多刻意改动。
更新:加了十几个参考文献就会出现超时,但“从头开始重新编译”就不超了。
texpage https://www.texpage.com/pricing 提供了每次一分钟的免费编译时长。
减小包的依赖可能是唯一一个优化性能的手段。
texpage texpage.com/pricing 提供了每次一分钟的免费编译时长。
刚刚我在 #536 补充了一下各家情况。
WARNING: Overleaf reduced the compile time There is no way you can compile your thesis/dissertation (using this template) within the new (20 seconds) time limit. This means you have two options:
- Install LaTeX in your computer and use the template locally!
- Opt for a hassle-free solution and buy a (student) plan in Overleaf.
\frontmatter
等钩子,full 表示完整十一万字的文档。一些特殊情况:
\MakeCover
等命令 ctex 没有,测试时统一删去了,包括 full 版本。BIT-thesis-grd.cls
本身就引入了 natbib;而 bithesis 的*.cls
并不引入,在*.tex
中才引入。现象:
\usepackage[backend=biber]{biblatex}
远比\usepackage{natbib}
耗时。biblatex - Why is biber so slow? - TeX - LaTeX Stack Exchange
减小包的依赖可能是唯一一个优化性能的手段。
像这种\clist_item
其实每编译一页都运行了一遍,如果改改,应该可以总共只运行一遍。(肯定是从 O(n) 变成 O(1),但实际效果我就不清楚了。)
https://github.com/BITNP/BIThesis/issues/548#issuecomment-2310585967
减小包的依赖可能是唯一一个优化性能的手段。
像这种
\clist_item
其实每编译一页都运行了一遍,如果改改,应该可以总共只运行一遍。(肯定是从 O(n) 变成 O(1),但实际效果我就不清楚了。)
不过因为这个 list 非常小,性能提升肯定不明显。
发生了什么?
旧版本(yang yating等维护)在免费版本的Overleaf上可以正常完成编译。 而新版本(2024年推出,由Feng Kaiyu等维护)在Overleaf上内容较多(10万字,150+参考文献)时会造成超时,需要开通Overleaf会员才能完成编译,给学生带来了巨大困难。
你期望的结果
希望新版本可以适当改进以实现在内容较多时也可以在免费版本的Overleaf上完成编译
BIThesis 模板
graduate-thesis