From 1e5d483748d935d25005dde265996f65814e4c76 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Apr 2026 11:13:16 +0000 Subject: [PATCH 1/2] Initial plan From 6105a17a1acce6b3c725918d3b9499b9ef1cd54c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 27 Apr 2026 11:15:13 +0000 Subject: [PATCH 2/2] Fix TOC/bookmark hyperlink anchors for abstract and A1/A2/A4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add \phantomsection after \clearpage in \zhaiyao and \abstract so the TOC/bookmark links to the abstract pages land on the correct page. Add \cleardoublepage\phantomsection before \printbibliography (A1), \chapter*{致谢} (A2), and \chapter*{个人简历...} (A4) so the auto-generated TOC entries for those unnumbered chapters point to the right pages instead of the previous chapter. Agent-Logs-Url: https://github.com/NewFuture/NKThesis/sessions/8e9be925-c4b2-4a16-9c43-53e559ac53ce Co-authored-by: NewFuture <6290356+NewFuture@users.noreply.github.com> --- NKThesis.cfg | 2 ++ tex/A1_references.tex | 2 ++ tex/A2_acknowledgements.tex | 2 ++ tex/A4_resume.tex | 2 ++ 4 files changed, 8 insertions(+) diff --git a/NKThesis.cfg b/NKThesis.cfg index fd9830f..90244e5 100644 --- a/NKThesis.cfg +++ b/NKThesis.cfg @@ -5,6 +5,7 @@ \def\zhaiyao{ \clearpage + \phantomsection \vspace*{24pt} \centerline{\zihaoxiaoer\rmfamily\bfseries\jiacu 摘要} % 若目录中不需列出摘要,请在下行前添加百分号 @@ -16,6 +17,7 @@ \def\abstract{ \clearpage + \phantomsection \vspace*{24pt} \centerline{\zihaoxiaoer\usefont{OT1}{phv}{bx}{n}Abstract} % 若目录中不需列出摘要,请在下行前添加百分号 diff --git a/tex/A1_references.tex b/tex/A1_references.tex index a98c294..4032c4b 100644 --- a/tex/A1_references.tex +++ b/tex/A1_references.tex @@ -8,6 +8,8 @@ % 2020版标准4.8 % 参考文献:标题要求同各章标题。文字部分:宋体10.5磅(或五号),英文用Times New Roman字体10.5磅(或五号),固定值行距16磅,段前段后0磅 +\cleardoublepage +\phantomsection \printbibliography[title=\nkrefname] } diff --git a/tex/A2_acknowledgements.tex b/tex/A2_acknowledgements.tex index a3cc9ec..bff2c4b 100644 --- a/tex/A2_acknowledgements.tex +++ b/tex/A2_acknowledgements.tex @@ -2,6 +2,8 @@ % -*- coding: utf-8 -*- %\makeschapterhead{致谢} +\cleardoublepage +\phantomsection \chapter*{致谢} { \fangsong diff --git a/tex/A4_resume.tex b/tex/A4_resume.tex index 1149350..d073ef8 100644 --- a/tex/A4_resume.tex +++ b/tex/A4_resume.tex @@ -6,6 +6,8 @@ % 标题要求同各章标题。文字部分:宋体10.5磅(或五号),英文用Times New Roman字体10.5磅(或五号),固定值行距16磅,段前段后0磅,发表学术论文书写格式同参考文献 % 这一部分要求似乎较宽松,大小和行距或许可以不改。 +\cleardoublepage +\phantomsection \chapter*{个人简历、在学期间发表的学术论文与研究成果} \section*{\leftline{个人简历}}