-
Notifications
You must be signed in to change notification settings - Fork 639
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
[BUG]图目录,表目录超链接无效 #54
Comments
如果只使用 diff --git a/page/graduate/toc.tex b/page/graduate/toc.tex
index 4657881..2ffcf16 100644
--- a/page/graduate/toc.tex
+++ b/page/graduate/toc.tex
@@ -2,9 +2,11 @@
\tableofcontents
\cleardoublepage
+\phantomsection
\marklof
\listoffigures
\cleardoublepage
+\phantomsection
\marklot
\listoftables 参考 或者,使用 |
另外,发现一处和 diff --git a/config/format/general/reference.tex b/config/format/general/reference.tex
index 2403083..f0576be 100644
--- a/config/format/general/reference.tex
+++ b/config/format/general/reference.tex
@@ -14,5 +14,5 @@
\def\appendixautorefname {附录}
\def\FancyVerbLineautorefname {行}
\def\theoremautorefname {定理}
-\def\listoffigures {代码}
+\def\listoffiguresname {代码}
\def\lstlistingname {代码} |
问题已解决,感谢! |
感谢 @qiaott 指出问题以及 @muzimuzhi 提供的代码,我已经将修复代码push到master。 目前的模板中似乎还没用到 |
会不会想修改的是 |
@muzimuzhi 我记得当初写初版模板时, listoffigures 是为了设置代码块名称的,可能后续更新了正确的设定之后忘记删掉这行了。 |
@muzimuzhi @TheNetAdmin 两位大神,麻烦再请教一个问题: |
新开一个issue并给一份可重现问题的代码吧 |
遇到的问题
图目录和表目录超链接无效,点击导航栏“图目录”和“表目录”,页面停留在abstract那一页,不会跳转。
重现步骤
下载Github原模版,zjuthesis.tex中是如下配置:
'''
\documentclass[
StudentName = 姓名,
StudentID = 学号,
AdvisorName = 指导教师,
Grade = 2014, % only the year, no '级'
Major = 专业,
Department = 学院,
Title = 毕业论文/设计题目,
SubmitDate = 递交日期,
MajorFormat = general,
Degree = graduate, % 'undergraduate' or 'graduate'
Type = thesis, % 'thesis' or 'design'
Period = final, % 'proposal' or 'final'
BlindReview = false, % 'false' or 'true'
Language = chinese, % 'chinese' or 'english'
% Below only for 'graduate'
GradLevel = master, % 'master' or 'doctor'
Topic = 研究方向,
ColaboratorName = 合作导师,
TitleEng = {{Graduation Thesis Title}}
]{./config/zjuthesis}
'''
同样,刚才试了一下,在GitHub上提供的zjuthesis-graduate-general-doctor-thesis-final-english.pdf文档,也有类似的问题,点那个表目录的时候,跳转到了Custom Page页面,而不是List of Tables页面:
不知道是什么原因,求更新和解答。 @TheNetAdmin
The text was updated successfully, but these errors were encountered: