From 48c161d80b8979b8437feed75911bedfc63c467c Mon Sep 17 00:00:00 2001 From: beef_potato <95594775+beef-potato@users.noreply.github.com> Date: Tue, 16 Apr 2024 16:57:56 +0800 Subject: [PATCH 1/3] Update zjuthesis.tex add `\addbibresource{body\ref.bib}` in zjuthesis.tex, it can support cite suggestion of vscode --- zjuthesis.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zjuthesis.tex b/zjuthesis.tex index 127e2924..861b3afd 100644 --- a/zjuthesis.tex +++ b/zjuthesis.tex @@ -167,6 +167,9 @@ \begin{document} +\addbibresource{body\ref.bib} +% * add these line to enable ref suggest in vscode. + \ifthenelse{\equal{\Degree}{undergraduate}} { \inputundergraduate{} From d72cba87262b28fa574172337dc21a5b2d6ceccd Mon Sep 17 00:00:00 2001 From: beef_potato <95594775+beef-potato@users.noreply.github.com> Date: Tue, 16 Apr 2024 17:23:46 +0800 Subject: [PATCH 2/3] Update zjuthesis.tex vscode biber suggest support --- zjuthesis.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zjuthesis.tex b/zjuthesis.tex index 861b3afd..bb9f909b 100644 --- a/zjuthesis.tex +++ b/zjuthesis.tex @@ -167,7 +167,7 @@ \begin{document} -\addbibresource{body\ref.bib} +\addbibresource{body/ref.bib} % * add these line to enable ref suggest in vscode. \ifthenelse{\equal{\Degree}{undergraduate}} From ab02d167fc5f5be84e8b091afa14a5146241b2e2 Mon Sep 17 00:00:00 2001 From: beef_potato <95594775+beef-potato@users.noreply.github.com> Date: Wed, 17 Apr 2024 09:33:14 +0800 Subject: [PATCH 3/3] Update zjuthesis.tex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 把 \addbibresource 提到 \begin{document}之前 --- zjuthesis.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zjuthesis.tex b/zjuthesis.tex index bb9f909b..400527c0 100644 --- a/zjuthesis.tex +++ b/zjuthesis.tex @@ -165,11 +165,11 @@ \inputbody{post} } -\begin{document} - \addbibresource{body/ref.bib} % * add these line to enable ref suggest in vscode. +\begin{document} + \ifthenelse{\equal{\Degree}{undergraduate}} { \inputundergraduate{}